HackerPapers

arXiv:1912.09363stat.ML

Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecasting

Bryan Lim, Sercan O. Arik, Nicolas Loeff, Tomas Pfister

Abstract

Multi-horizon forecasting problems often contain a complex mix of inputs -- including static (i.e. time-invariant) covariates, known future inputs, and other exogenous time series that are only observed historically -- without any prior information on how they interact with the target. While several deep learning models have been proposed for multi-step prediction, they typically comprise black-box models which do not account for the full range of inputs present in common scenarios. In this paper, we introduce the Temporal Fusion Transformer (TFT) -- a novel attention-based architecture which combines high-performance multi-horizon forecasting with interpretable insights into temporal dynamics. To learn temporal relationships at different scales, the TFT utilizes recurrent layers for local processing and interpretable self-attention layers for learning long-term dependencies. The TFT also uses specialized components for the judicious selection of relevant features and a series of gating layers to suppress unnecessary components, enabling high performance in a wide range of regimes. On a variety of real-world datasets, we demonstrate significant performance improvements over existing benchmarks, and showcase three practical interpretability use-cases of TFT.

arXiv comments
Journal reference
DOI
Subjects
stat.MLMachine Learning (Statistics) cs.LGMachine Learning

On Hacker News

Linked by 4 identifiable commenters in 4 comments across 4 threads, from Jul 2021 to Sep 2024.

Comments linking this paper, per year.

Discussed in comments4 threads

    • I was surprised: https://arxiv.org/abs/1912.09363 It's not exactly an LLM but it works in a similar fashion.

      gardnrView on HNParent context

    • I can't speak for all use cases, but I've done a great deal of work in the space of using deep learning approaches for anomaly detection in network device telemetry. In particular with high resolution univariate time series of latency measurements, we saw success using…

      spmurrayzzzView on HNParent context

    • Temporal Fusion Transformers look very cool: accepts timeseries vectors but also categoricals and numerical features, outputs distribution using quintile regression. https://arxiv.org/pdf/1912.09363v2.pdf Available as pytorch implementation…

      isoprophlexView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.