Forecasting the future is a bit like trying to read a book where the font size changes on every page. Some patterns are massive "global" trends that span years, while others are tiny "local" flickers that happen in seconds. Most current AI models struggle because they try to read the whole book with one magnifying glass.
A new paper, PRISM: A Hierarchical Multiscale Approach for Time Series Forecasting, introduces a method that uses a whole set of lenses at once, organized into a clever "tree" structure.
TL;DR
PRISM (Partitioned Representation for Iterative Sequence Modeling) is a new forecasting architecture that jointly learns a hierarchical decomposition of time series in both time and frequency domains. By recursively splitting signals into a binary tree and weighting frequency bands at each level, it achieves state-of-the-art accuracy while being significantly faster and more memory-efficient than previous heavyweights.
What Problem Does This Paper Address?
Real-world time series—whether they are stock prices, heart rates, or weather patterns—are "multiscale." A daily temperature cycle (seasonal) sits on top of a decade-long warming trend (global), punctuated by a sudden afternoon thunderstorm (local).
The challenge is that most existing models are specialized. Some are great at picking up periodic "frequency" cues (like Fourier transforms), while others are better at "temporal" hierarchy (coarse-to-fine views). However, they rarely link the two in a unified, reconstructable way. Without this link, models often miss how long-term context shapes short-term variability, or they become computationally bloated trying to process everything at once.
Methods
The authors propose PRISM, which treats a time series like a fractal to be unfolded. Its architecture rests on four main pillars:
- Temporal Binary Tree: The model recursively bisects the input signal into overlapping segments. The root represents the "big picture," while the leaves represent localized "snapshots."
- Multiresolution Frequency Encoding: At every node in this tree, the segment is projected onto a time-frequency basis—most effectively Haar wavelets. This breaks the segment into different frequency bands (low, medium, high).
- Learnable Importance Routing: Not all frequencies matter at every scale. PRISM uses a lightweight "router" (a small MLP) to assign importance scores to these bands. It essentially learns to "turn up the volume" on predictive signals and "mute" the noise.
- Joint Loss Function: The model isn't just trained to predict the future; it’s also trained to reconstruct the past. This "auxiliary reconstruction loss" ensures the hierarchical representations stay grounded in the actual structure of the signal.
Datasets
The researchers put PRISM through a gauntlet of tests:
- Standard Benchmarks: The "ETT" family (Electricity Transformer Temperature), plus Electricity, Traffic, Exchange, and Weather datasets.
- The GIFT Dataset: A massive collection of nearly 100 datasets designed to test specific "edge cases" like irregular timestamps, missing data, non-stationary trends (where the rules change over time), and anomalies.
Key Insights and Ideas
- The "Aha" Moment for Wavelets: The authors found that Haar wavelets are the "perfect partner" for a binary tree. Because Haar wavelets are naturally hierarchical and exponentially spaced in frequency, they align perfectly with the recursive temporal splits of the tree.
- Less is More: By using a router to select only the most important frequency bands, PRISM actually uses fewer parameters than models that try to process the entire frequency spectrum.
- Reconstruction as a Stabilizer: Including a reconstruction task acts like a "sanity check" for the model. It prevents the forecasting head from over-focusing on random noise, leading to much more stable learning.
- Heuristics for Design: The paper suggests that for most forecasting tasks, you only need about 2 levels of temporal splitting and a number of frequency filters roughly equal to $\log_2(\text{context length})$.
Key Results
PRISM didn't just compete; it often dominated:
- Accuracy: On standard benchmarks, PRISM achieved the best MSE (Mean Squared Error) in 17 out of 32 tested scenarios, consistently outperforming recent SOTA models like D-PAD and TimeMixer.
- Robustness: On the GIFT dataset, it showed superior performance on "messy" data—ranking first on 61 out of 100 datasets for MSE.
- Efficiency: This is perhaps the biggest win for engineers. PRISM was 2x faster to train than its closest competitor (D-PAD), taking only 65 seconds for 10 epochs on the ETTh1 dataset compared to 141 seconds. It also maintains a much smaller memory footprint.
Limitations and Future Work
While PRISM is a major step forward, the authors note a few areas for growth:
- Fixed Bases: Currently, the model uses predefined filters (like Haar wavelets). Future versions could learn "adaptive" frequency bases tailored to specific, weird signals.
- Temporal Splits: The binary tree uses equal, fixed splits. Exploring "irregular" partitions—where the model decides exactly where to cut the time axis—could help with bursty or event-driven data.
- Multivariate Complexity: While it handles multivariate data, deeper exploration into how different channels interact across the hierarchy is a promising next step.
In short, PRISM proves that you don't need a massive, "black-box" Transformer to solve complex forecasting. Sometimes, a well-structured tree and a few sharp lenses are all you need to see the future clearly.
Summary updated