Skip to main content
QUICK REVIEW

[论文解读] Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecasting

Bryan Lim, Sercan Ö. Arık|arXiv (Cornell University)|Dec 19, 2019
Energy Load and Power ForecastingEngineering被引用 83
一句话总结

Introduces the Temporal Fusion Transformer (TFT), an attention-based architecture that jointly achieves high multi-horizon forecasting performance and interpretable insights, handling static covariates, known future inputs, and past-observed inputs with gating and variable selection.

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.

研究动机与目标

  • 动机:在多源异构输入(静态协变量、已知未来输入、过去观测输入)下进行多步预测的挑战。
  • 提出 TFT,在实现高预测准确性的同时,使时间动态具有可解释性。
  • 展示可解释性用例,并在真实世界数据集上证明对基准方法的改进。
  • 提供一个实用、可扩展的架构,具备特征选择、门控和基于分位数的预测区间等组件。

提出的方法

  • 提出带有基于 GLU 的门控的 Gated Residual Networks (GRNs),用于控制非线性处理。
  • 引入 Variable Selection Networks,以在每个时间步选择显著的静态输入和时间变化输入。
  • 使用 Static Covariate Encoders 通过上下文向量(c_s, c_e, c_c, c_h)将静态元数据中的上下文注入。
  • 使用可解释的多头注意力解码器来建模长期依赖,具有跨头的共享值权重以实现可解释性。
  • 应用序列到序列局部处理层以增强局部性,以及 Static Enrichment 层将静态上下文与时间特征融合。
  • 使用 Temporal Self-Attention Layer (InterpretableMultiHead),带解码器掩码以保持因果性并捕捉长程模式。
  • 通过线性输出层产生分位数预测(例如第10、第50、第90百分位),用于预测区间。
  • 使用跨越不同步长和分位数的分位损失进行训练,以优化 P50、P90 的表现及不确定性估计。

实验结果

研究问题

  • RQ1如何设计一种架构,有效处理静态协变量、已知未来输入和过去观测输入,以实现多步预测?
  • RQ2基于注意力的机制是否能够在达到或超过最先进性能的同时,为时间动态提供可解释的洞察?
  • RQ3哪些架构组件(例如门控、变量选择、静态编码器)在不同现实世界数据集上最能提升准确性和可解释性?
  • RQ4TFT 的可解释性特征如何帮助用户识别全球重要变量、持久的时间模式和重要事件?

主要发现

  • TFT 在多个真实世界数据集(Electricity、Traffic、Retail、Volatility)上显著优于基线。
  • 该模型支持三种可解释性用例:识别全球重要变量、持续的时间模式和重要事件。
  • 分位数预测支持多步预测的预测区间(例如 P50 和 P90)。
  • 门控和变量选择网络有助于抑制不相关输入并使模型复杂度适应数据。
  • 静态协变量编码器有效地调控时间动力学,提升局部处理和长程注意力。
  • 序列到序列局部处理层和可解释的多头注意力解码器实现对短期和长期依赖的稳健学习。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。