arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.03190cs.LGcs.AI
收藏

基于熵等式的多变量时间序列建模高效线性注意力

Efficient Linear Attention for Multivariate Time Series Modeling via Entropy Calibration

Mingtao Zhang, Guoli Yang, Zhanxing Zhu, Mengzhu Wang, Xiaoying Bai

AI总结:

本文提出基于熵等式的线性注意力机制,以线性复杂度替代二次复杂度,揭示注意力有效性源于均衡权重分布而非softmax非线性,并在多个时空数据集上实现高效且具竞争力的预测。

摘要:

注意力机制因其能够捕捉复杂依赖关系而被广泛应用于包括时间序列建模在内的各种任务中;然而,其效用往往受到二次计算复杂度的制约,这阻碍了其在长序列上的可扩展性。本文提出了一种新颖的线性注意力机制以克服这些限制。我们的方法基于一项理论证明:熵作为概率单纯形上的严格凹函数,意味着概率排序一致且熵值相近的分布具有结构相似性。基于这一洞见,我们开发了一种高效近似算法,仅以线性复杂度计算点积导出分布的熵,从而实现了基于熵等式的线性注意力机制。通过严格分析,我们揭示出注意力在时空时间序列建模中的有效性可能并非主要源于 softmax 的非线性,而是源于获得适度且均衡的权重分布。在四个时空数据集上的大量实验验证了我们的方法,展示了具有竞争力或更优的预测性能,同时显著降低了内存使用和计算时间。

英文摘要:

Attention mechanisms are effective for multivariate time series modeling because they adaptively aggregate information across timestamps and variables. Their quadratic cost, however, limits their use in multivariate and spatio-temporal systems. Linear attention reduces this cost by replacing nonlinear attention mappings with forms that support associative computation. Replacing exponential weighting may weaken the amplification of high-score positions and further bias weakly selective distributions toward uniform aggregation. We propose an entropy-calibrated linear attention module and instantiate it as the ELinFormer forecaster. Our operator decomposes aggregation into a uniform component and a query-dependent correction, whose magnitude is calibrated by a query-specific temperature. We derive a second-order KL proxy from centered query-key scores. The Taylor expansion reduces the proxy to the squared-score energy divided by the squared temperature. This score energy can be computed from shared products of the centered keys without forming the full pairwise score matrix, and the same products support the linear attention output. We design a smooth temperature rule to calibrate the KL proxy: it keeps low-energy residuals vanishing, approximately calibrates moderate-energy queries to a shared KL level, and allows the proxy to continue growing for high-energy queries. Experiments on five PEMS benchmarks show competitive forecasting accuracy. Controlled comparisons with vanilla attention and Linformer demonstrate a favorable accuracy--memory trade-off, while analysis on PEMS08 shows that the proposed rational temperature rule and query-specific calibration achieve lower MAE than a linear rule or shared-temperature alternatives. These results support entropy calibration as an effective mechanism for preserving selective deviations in linear attention.

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

↑