Progressive Memory Transformer: Memory-Aware Attention for Time-Series
Tord S Stangeland, Andreas Köhler, Steffen Maeland, Adín Ramírez Rivera
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Time Series, PDEs & Probabilistic ML › Time Series Foundation Models · Type: new method · Keywords: multi-scale time-series representation, self-supervised learning, memory-augmented transformer, hierarchical objectives, time-series classification
Areas: Memory › Memory mechanisms › Memory Augmentation; Model Architectures & Sequence Modeling › Dynamic and relational architectures › Time Series Forecasting
Summary
Progressive Memory Transformer introduces a memory-augmented transformer that provides multi-scale representations for time-series via independent local, mid-range, and global objectives.
Explained to a 5-year-old
Computers sometimes have trouble understanding long sequences of data like time measurements. This paper helps them by looking at the data in three different sizes: tiny pieces, medium pieces, and big pieces. It adds a special memory that remembers the medium-size patterns. By training the computer to match these pieces together, it learns useful information. This makes the computer better at tasks like recognizing patterns and predicting what comes next.
Explained to a 5-year-old, longer
Computers can look at lots of numbers that change over time, like temperature readings. These numbers have patterns that happen at different speeds, like a quick blink or a slow season change. The paper wants the computer to see these patterns at three sizes: very small changes, medium changes, and big changes. To do this, they give the computer a special place to keep a short-term memory of the medium-size patterns. The computer is trained to make the tiny pieces match, the medium pieces match, and the big pieces match. This helps the computer understand both the quick details and the overall story. It also lets the computer remember important motifs, like a repeated rhythm in music. With this help, the computer can classify data even when only a few examples are shown. It can also forecast future values, like predicting the next day's temperature. The method works well on many real-world datasets used for time-series tasks. Overall, it makes the computer smarter at handling time-based information. This can be useful for many applications, from health monitoring to financial analysis.
For a technical reader
The paper addresses the challenge of learning multi-scale representations from time-series data, which is needed for tasks ranging from classification to forecasting. It augments a standard transformer backbone with a writable, window-aligned memory module that provides an intermediate-scale representation alongside the token-level and sequence-level outputs. Training uses three independent self-supervised objectives: a local continuity loss on individual tokens, a mid-range motif loss on sliding windows, and a global agreement loss on the whole sequence. Empirically, the approach achieves strong performance with very few labeled examples (1-5 % of data) on seven benchmark time-series datasets and on forecasting tasks, and it qualitatively shows that the memory captures meaningful motifs. The design is modular and can be integrated into existing transformer pipelines to improve multi-scale understanding without requiring extensive labeled data.
Problem
Learning effective representations for time-series that capture structure at multiple temporal scales (local, mid-range, and global) is challenging because existing self-supervised methods focus on global or limited local supervision and do not explicitly model hierarchical temporal structure.
Method
The approach augments a transformer with writable, window-aligned memory to provide representations at local, mid-range, and global scales. It then applies three independent objectives: a local token continuity loss, a mid-range window motif loss, and a global sequence agreement loss. This enforces a structural hierarchy across scales during self-supervised learning.
Results
The approach achieves strong low-label classification with only 1-5 % labeled data, competitive forecasting across multiple horizons, and demonstrates that memory states capture mid-range motifs.
Contributions
It introduces a framework that explicitly enforces a structural hierarchy across three temporal scales via independent objectives and provides a memory-augmented transformer that yields multi-scale representations. It also shows empirical gains on classification, probing, and forecasting tasks with limited labels.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction