Skip to main content

> ML_ALGORITHM // TEMPORAL-FUSION-TRANSFORMER-TFT_v1.0

Temporal Fusion Transformer (TFT)

State-of-the-art attention-based deep architecture for multi-horizon time series forecasting combining high performance with interpretable variable selection.

Attention-Based Forecastingtime-series-forecastinghigh-intrinsiclarge (>100k)
Back to All Algorithms
Computational Complexity
Training Complexity:O(epochs * batch_size * (seq_len^2 * d + variables * GRN))
Inference Complexity:O(seq_len^2 * d)
Hardware Profile
CPU Friendly:No
Requires GPU:Yes
Memory Footprint:high
Interpretability & Data
Interpretability Tier:high-intrinsic
Training Data Needs:large (>100k)

Interpretability Assessment

Variable Selection Networks yield explicit feature importance weights for static, past, and future inputs, while attention heads reveal temporal dynamics.

Suitable Tasks & Supported Modalities

Suitable Tasks:
multi horizon forecastingcomplex exogenous forecasting
Supported Modalities:
time-seriestabular

Implementing Libraries

pytorch-forecasting
GluonTSAmazon Web Services (AWS) · v0.15.1
View Spec

Foundational Literature

Common Pitfalls & Warnings
  • TFT contains massive parameter overhead and will severely overfit if trained on single or small collections of time series