arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07244cs.LGcs.AIstat.ML
收藏

线性变换器作为VAR模型:将自回归注意力机制与自回归预测对齐

Linear Transformers as VAR Models: Aligning Autoregressive Attention Mechanisms with Autoregressive Forecasting

Georgia Institute of Technology(佐治亚理工学院)

Jiecheng Lu, Shihao Yang

AI总结:

本文提出SAMoVAR,一种将Transformer架构与自回归目标对齐的线性变换器变体,通过整合可解释的动态VAR权重,提升时间序列预测的性能和可解释性。

摘要:

自回归注意力机制的时间序列预测(TSF)近年来受到越来越多的关注,其中线性注意力机制有时甚至优于传统的注意力机制。然而,更深层的Transformer架构经常与自回归目标不一致,模糊了线性注意力中嵌入的VAR结构,阻碍了其捕捉TSF数据生成过程的能力。在本工作中,我们首先证明单个线性注意力层可以被解释为动态向量自回归(VAR)结构。然后我们解释现有多层Transformer在结构上与自回归预测目标不匹配,这会损害可解释性和泛化能力。为了解决这个问题,我们展示通过重新排列MLP、注意力和输入输出流程,多层线性注意力也可以对齐为VAR模型。然后我们提出了结构对齐的VAR混合模型(SAMoVAR),这是一种线性变换器变体,集成了可解释的动态VAR权重用于多变量TSF。通过将Transformer架构与自回归目标对齐,SAMoVAR在性能、可解释性和计算效率方面均优于最先进的TSF模型。

英文摘要:

Autoregressive attention-based time series forecasting (TSF) has drawn increasing interest, with mechanisms like linear attention sometimes outperforming vanilla attention. However, deeper Transformer architectures frequently misalign with autoregressive objectives, obscuring the underlying VAR structure embedded within linear attention and hindering their ability to capture the data generative processes in TSF. In this work, we first show that a single linear attention layer can be interpreted as a dynamic vector autoregressive (VAR) structure. We then explain that existing multi-layer Transformers have structural mismatches with the autoregressive forecasting objective, which impair interpretability and generalization ability. To address this, we show that by rearranging the MLP, attention, and input-output flow, multi-layer linear attention can also be aligned as a VAR model. Then, we propose Structural Aligned Mixture of VAR (SAMoVAR), a linear Transformer variant that integrates interpretable dynamic VAR weights for multivariate TSF. By aligning the Transformer architecture with autoregressive objectives, SAMoVAR delivers improved performance, interpretability, and computational efficiency, comparing to SOTA TSF models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑