cs.LGSep 15, 2025

Dynamic Relational Priming Improves Transformer in Multivariate Time Series

Authors: Hunjae Lee, Corey Clark

Organizations: Department of Computer Science, Southern Methodist University, Dallas TX USA · SMU Guildhall

Abstract

Standard attention mechanisms in transformers employ static token representations that remain unchanged across all pair-wise computations in each layer. This limits their representational alignment with the potentially diverse relational dynamics of each token-pair interaction. While they excel in domains with relatively homogeneous relationships, standard attention's static relational learning struggles to capture the diverse, heterogeneous inter-channel dependencies of multivariate time series (MTS) data--where different channel-pair interactions within a single system may be governed by entirely different physical laws or temporal dynamics. To better align the attention mechanism for such domain phenomena, we propose attention with dynamic relational priming (prime attention). Unlike standard attention where each token presents an identical representation across all of its pair-wise interactions, prime attention tailors each token dynamically (or per interaction) through learnable modulations to best capture the unique relational dynamics of each token pair, optimizing each pair-wise interaction for that specific relationship. This representational plasticity of prime attention enables effective extraction of relationship-specific information in MTS while maintaining the same asymptotic computational complexity as standard attention. Our results demonstrate that prime attention consistently outperforms standard attention across benchmarks, achieving up to 6.5% improvement in forecasting accuracy. In addition, we find that prime attention achieves comparable or superior performance using up to 40% less sequence length compared to standard attention, further demonstrating its superior relational modeling capabilities.

Figures & tables

Appendix figures & tables14 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Signed Dual Attention: Capturing Signed Dependencies in Time Series Forecasting

    Jun 3, 2026Balthazar Courvoisier, Tristan CazenaveTime Series ForecastingTransformer Attention

  2. Beyond Similarity: Temporal Operator Attention for Time Series Analysis

    May 11, 2026Jevon Twitty, Vinh Pham, Nitiwith Rotchanarak +4Time Series ClassificationTime Series Forecasting

  3. Beyond Static Positional Encoding: Bayesian Time-aware Attention for Non-Stationary Long-term Time Series Forecasting

    Oct 14, 2026Xinjie Lan, Yunbo Mei, Leheng Zhou +1Long-Term Time Series ForecastingNon-Stationary Time Series Forecasting