Skip to main navigation Skip to search Skip to main content

Learning Temporal Features With Alternated Similarity and Proximity Attention for Time-Series Prediction

  • Jingyang Chen
  • , Ping Li
  • , Jiancheng Lv
  • , Hongyuan Zha
  • , Kai Zhang*
  • , Jie Zhang*
  • *Corresponding author for this work
  • Fudan University
  • Southwest Petroleum University China
  • Sichuan Univ.
  • The Chinese University of Hong Kong, Shenzhen

Research output: Contribution to journalArticlepeer-review

Abstract

Time-series prediction is a fundamental problem in various scientific and engineering domains. Recently, attention-based models have shown great promise in long-term time-series forecasting. However, we prove that vanilla attention is equivalent to a one-step random walk on a bipartite graph between the query and the keys, in which the limited number of walks and simplified graph structure could make it less powerful in capturing complex, high-order featural and temporal dependencies. Inspired by how human brains iteratively reactivate memories through reminding, we propose 'Alternated Similarity And Proximity Attention,' or ASAP-attention. ASAP-attention employs a random walk on two concurrent views (graphs) that, respectively, capture the featural similarity and the temporal proximity between time points. In particular, the random walk alternately visits the two graphs, each time remembering the previous probability configuration to build a coherent chain of distributions to retrieve useful historical data. This dynamic interplay between temporal and featural clues enhances the model's ability to capture implicit and heterogeneous data dependencies without using positional encoding. When incorporating ASAP-attention with encoder-only Transformer architecture, we observed highly promising results against a wide collection of state-of-the-art methods on various benchmark datasets for long time-series forecasts (e.g., weather, electricity, illness, and exchange-rate data). Our source code is available at https://github.com/jychen01/ASAP-attention.

Original languageEnglish
Pages (from-to)16339-16350
Number of pages12
JournalIEEE Transactions on Neural Networks and Learning Systems
Volume36
Issue number9
DOIs
StatePublished - 2025

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Keywords

  • Memory-retrieval mechanism
  • Transformer
  • random walk as positional encoding
  • times-series prediction

Fingerprint

Dive into the research topics of 'Learning Temporal Features With Alternated Similarity and Proximity Attention for Time-Series Prediction'. Together they form a unique fingerprint.

Cite this