GRAM: Correcting Frozen Time-Series Foundation Models via Graph-Retrieved Amplitude Memory
Anonymous authors
ICLR 2027
Abstract. Time-series foundation models (TSFMs) enable zero-shot forecasting through large-scale cross-domain pretraining, while retrieval augmentation further improves their performance by leveraging historical information. However, existing methods typically correct TSFM forecasts using the ground-truth futures of similar historical windows, which contain both predictive components already captured by the foundation model and sample-specific random fluctuation that is difficult to transfer. In contrast, recurring systematic model bias within prediction errors more directly characterizes the failure modes of a frozen TSFM and therefore provides more valuable correction signals. Effectively exploiting such model bias, however, poses two challenges: prediction errors at different numerical levels are difficult to compare due to scale differences, and the recurring bias must be extracted from prediction errors contaminated by random fluctuation. To address these challenges, we propose GRAM, a general retrieval-augmented framework for frozen TSFMs. GRAM first introduces an Amplitude Memory Module (AMM) that scales prediction errors by amplitude and aggregates them into retrievable prototypes. It then employs a Prototype Graph Module (PGM) to model relations among prototypes to aggregate consistent bias information while suppressing random fluctuation. During online forecasting, GRAM retrieves and expands prototypes relevant to the current query and generates per-horizon corrections to refine the original TSFM forecast. Experiments across multiple datasets and foundation models demonstrate consistent forecasting improvements.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:33 UTC.
- Rating
- 3/4
- Confidence
- 4/4
- Soundness
- 3/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper introduces a foundation model forecast correction framework based on prediction error retrieval. The framework comprises a core Amplitude Memory Module (AMM) and a Prototype Graph Module (PGM), which work together to generate per-horizon corrections aimed at refining the original predictions of the base foundation model.
Strengths
(1) Unlike conventional RAG methods that directly reuse raw historical ground-truth trajectories, the proposed method strategically targets prediction errors for retrieval. This design choice is insightful and well-motivated.
(2) The designed gating mechanism exhibits good robustness. When no useful bias evidence is retrieved, the model gracefully falls back to the original foundation model's prediction (a safe identity mapping), preventing harmful corrections.
(3) The authors extensively evaluated the proposed method across four distinct foundation models and seven datasets, demonstrating consistent overall performance improvements.
Weaknesses
(1) The framework explicitly models bias as an amplitude scaling error. Consequently, if the base model correctly captures the temporal pattern but suffers from temporal shifts (e.g., the predicted pattern is "early", "delayed", or "misaligned" along the time axis), the proposed amplitude-scaling mechanism seems fundamentally unequipped to directly handle or correct such phase offsets.
(2) As observed in the actual forecasting curves (e.g., Figure 3), although GRAM reduces the quantitative prediction error, the corrected curves largely retain the main trends and localized fluctuations of the original base model's predictions. Given this constrained behavior, have the authors considered applying GRAM as an enhancement plugin for supervised forecasting?
(3) The paper states that the Graph Fusion Module (GFM) is fitted once on the LOTSA corpus. Since the LOTSA dataset inherently contains noise, how do the authors ensure that the GFM learns a robust mapping rather than overfitting to the corpus noise? What criteria or validation strategies are used to determine that the GFM is robustly and sufficiently trained?
Minor Comments:
(1) The paper lacks evaluation on common, higher-dimensional multivariate datasets, such as the Traffic dataset, which are standard in the field.
(2) In the results tables, when the baseline and the proposed model achieve the exact same optimal result, only the proposed model is highlighted (marked in red). This formatting convention does not strictly align with academic norms; all best results should be equally highlighted.
Questions for the authors
no additional question
5 comments
Response to Reviewer ZqsG (Part I)
Table 2: GRAM and the additive residual correction.
| TSFM | Dataset | GRAM | Additive residual | Ori | |||
|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | |
| Sundial | ETTh1 | 0.389 | 0.408 | 0.397 | 0.412 | ||
| ETTh2 | 0.339 | 0.379 | 0.343 | 0.383 | |||
| ETTm1 | 0.360 | 0.367 | 0.366 | 0.370 | |||
| ETTm2 | 0.264 | 0.313 | 0.275 | 0.321 | |||
| ECL | 0.147 | 0.242 | 0.242 | ||||
| Weather | 0.236 | 0.269 | 0.244 | 0.275 | |||
| Exchange | 0.439 | 0.440 | 0.558 | 0.499 | |||
| Chronos | ETTh1 | 0.436 | 0.414 | 0.448 | 0.418 | ||
| ETTh2 | 0.362 | 0.377 | 0.367 | 0.380 | |||
| ETTm1 | 0.411 | 0.379 | 0.421 | 0.383 | |||
| ETTm2 | 0.287 | 0.315 | 0.291 | ||||
| ECL | 0.159 | 0.244 | 0.159 | 0.244 | |||
| Weather | 0.257 | 0.273 | 0.263 | 0.276 | |||
| Exchange | 0.358 | 0.402 | 0.371 | 0.412 | |||
| TimesFM | ETTh1 | 0.417 | 0.407 | 0.421 | 0.409 | ||
| ETTh2 | 0.369 | 0.385 | 0.372 | 0.388 | |||
| ETTm1 | 0.378 | 0.370 | 0.370 | 0.381 | |||
| ETTm2 | 0.285 | 0.315 | 0.291 | 0.318 | |||
| ECL | 0.164 | 0.249 | 0.164 | 0.249 | 0.164 | 0.249 | |
| Weather | 0.253 | 0.264 | 0.263 | 0.268 | |||
| Exchange | 0.379 | 0.410 | 0.404 | 0.420 | |||
| Moirai | ETTh1 | 0.530 | 0.473 | 0.620 | 0.504 | ||
| ETTh2 | 0.405 | 0.415 | 0.451 | 0.438 | |||
| ETTm1 | 0.617 | 0.485 | 0.740 | 0.523 | |||
| ETTm2 | 0.344 | 0.360 | 0.404 | 0.388 | |||
| ECL | 0.391 | 0.407 | 0.520 | 0.446 | |||
| Weather | 0.315 | 0.310 | 0.374 | 0.333 | |||
| Exchange | 0.463 | 0.443 | 0.601 | 0.488 |
Response to Reviewer ZqsG (Part II)
W2: Have the authors considered applying GRAM as an enhancement plugin for supervised forecasting?
Thank you for your suggestions! GRAM only requires a frozen forecaster: it records that forecaster's prediction bias and adds the correction to its forecast, so it can be attached directly to supervised models. We attach GRAM as an enhancement plugin to MixLinear [1], xPatch [2], DUET [3], PDF [4], SparseTSF [5] and Pathformer [6], each trained with its official code and officially recommended hyperparameters on the training split of each dataset. The table reports H=96: over the 36 settings, GRAM reduces MSE by 0.95% and MAE by 0.80% on average, and improves the original forecaster in the large majority of settings. Even after supervised training, the backbone still shows recurring pattern-conditioned scaling biases on certain local patterns; GRAM captures and corrects these systematic residual errors without changing any parameter of the backbone. Only H=96 is reported here; the trend is consistent at longer horizons.
[1] MixLinear: Extreme Low Resource Multivariate Time Series Forecasting with 0.1K Parameters. ICLR 2026.
[2] xPatch: Dual-Stream Time Series Forecasting with Exponential Seasonal-Trend Decomposition. AAAI 2025.
[3] DUET: Dual Clustering Enhanced Multivariate Time Series Forecasting. KDD 2025.
[4] Periodicity Decoupling Framework for Long-term Series Forecasting. ICLR 2024.
[5] SparseTSF: Modeling Long-term Time Series Forecasting with 1k Parameters. ICML 2024.
[6] Pathformer: Multi-scale Transformers with Adaptive Pathways for Time Series Forecasting. ICLR 2024.
| Model | Dataset | Ori | +GRAM | ||
|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | |
| MixLinear | ETTh1 | 0.351 | 0.383 | 0.351 | 0.383 |
| ETTh2 | 0.283 | 0.340 | 0.278 | 0.336 | |
| ETTm1 | 0.333 | 0.375 | 0.327 | 0.370 | |
| ETTm2 | 0.180 | 0.271 | 0.176 | 0.266 | |
| Weather | 0.179 | 0.237 | 0.168 | 0.225 | |
| Exchange | 0.084 | 0.203 | 0.083 | 0.202 | |
| xPatch | ETTh1 | 0.366 | 0.392 | 0.370 | 0.393 |
| ETTh2 | 0.275 | 0.334 | 0.274 | 0.332 | |
| ETTm1 | 0.289 | 0.336 | 0.289 | 0.336 | |
| ETTm2 | 0.160 | 0.246 | 0.160 | 0.244 | |
| Weather | 0.144 | 0.183 | 0.143 | 0.182 | |
| Exchange | 0.084 | 0.200 | 0.082 | 0.199 | |
| DUET | ETTh1 | 0.352 | 0.384 | 0.353 | 0.384 |
| ETTh2 | 0.273 | 0.337 | 0.271 | 0.336 | |
| ETTm1 | 0.278 | 0.333 | 0.276 | 0.330 | |
| ETTm2 | 0.161 | 0.249 | 0.161 | 0.247 | |
| Weather | 0.148 | 0.193 | 0.147 | 0.192 | |
| Exchange | 0.079 | 0.197 | 0.079 | 0.197 | |
| ETTh1 | 0.360 | 0.391 | 0.360 | 0.390 | |
| ETTh2 | 0.277 | 0.341 | 0.273 | 0.337 | |
| ETTm1 | 0.286 | 0.340 | 0.286 | 0.339 | |
| ETTm2 | 0.163 | 0.251 | 0.162 | 0.249 | |
| Weather | 0.147 | 0.197 | 0.146 | 0.195 | |
| Exchange | 0.084 | 0.201 | 0.083 | 0.200 | |
| SparseTSF | ETTh1 | 0.360 | 0.386 | 0.360 | 0.386 |
| ETTh2 | 0.273 | 0.334 | 0.270 | 0.331 | |
| ETTm1 | 0.305 | 0.346 | 0.302 | 0.344 | |
| ETTm2 | 0.165 | 0.255 | 0.164 | 0.252 | |
| Weather | 0.173 | 0.225 | 0.164 | 0.216 | |
| Exchange | 0.084 | 0.201 | 0.083 | 0.200 | |
| Pathformer | ETTh1 | 0.372 | 0.392 | 0.372 | 0.392 |
| ETTh2 | 0.277 | 0.336 | 0.274 | 0.333 | |
| ETTm1 | 0.290 | 0.335 | 0.289 | 0.334 | |
| ETTm2 | 0.158 | 0.246 | 0.157 | 0.244 | |
| Weather | 0.146 | 0.190 | 0.145 | 0.189 | |
| Exchange | 0.088 | 0.208 | 0.087 | 0.207 |
- Rating
- 2/4(+1)
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
To address the issue of zero-shot prediction correction for frozen TSFMs (Time-Series Foundation Models), this paper proposes a framework based on amplitude memory and prototype graph retrieval. The core idea is to shift the retrieval target from the "actual future trajectory" to "recurrent model biases within the prediction residuals," while employing amplitude-scaling errors to enable scale-invariant comparisons across different time windows.
Strengths
1、Existing retrieval-augmented methods directly reuse the actual future outcomes from similar windows, which introduces stochastic fluctuations specific to individual examples. This paper shifts the retrieval objective toward predicting the recurring bias within the residuals—a well-motivated approach.
2、Offers high efficiency; requires training only a lightweight GFM, entails minimal memory overhead, and holds potential for practical deployment.
Weaknesses
1、GFM is trained on LOTSA; however, the relationship between LOTSA and the evaluation datasets is not sufficiently clarified. Given that LOTSA serves as the pre-training corpus for Moirai, it remains unclear whether there is any overlap with the evaluation datasets, such as those for Weather, Electricity, and ETT.
2、In the graph fusion module, how exactly are Q, K, and V calculated within the MHA (Multi-Head Attention) operation? Given that each node contains five elements, which specific element is used to derive K and V?
3、The results from Table 1 and Table 2 can be consolidated. Fundamentally, this paper aims to demonstrate that the proposed plug-in is both efficient (low-overhead) and effective; therefore, comparing the "original base model + GRAM" against a fine-tuned version of the original base model is more meaningful.
4、The main text lacks a direct comparison with other RAG strategies found in related work. While Table 7 in the appendix provides a comparison with TS-RAG, this is far from sufficient. Furthermore, it is worth considering why the gains achieved by GRAM on the Exchange dataset are significantly smaller than those of TS-RAG. Given the non-stationary nature of the Exchange dataset, could it be that the GRAM method is constrained by such data, thereby revealing certain limitations?
5、This paper involves numerous hyperparameters—such as the number of prototypes , the number of retrieved items , and the number of neighbors —which significantly influence model performance. However, the absence of ablation studies regarding these components diminishes the completeness of the paper.
6、This text contains a large number of scattered symbols and formulas, which hinders readability—for instance, regarding the composition of node elements and the functions of various components within the gating networks. It is recommended to use pseudocode to improve clarity.
Questions for the authors
See Weaknesses.
7 comments
Response to Reviewer NwVQ (Part I)
Dear Reviewer NwVQ, we are deeply grateful for your careful and insightful review, which has helped us strengthen the paper.
W1: The relationship between LOTSA and the evaluation datasets is not sufficiently clarified, i.e., whether there is any overlap.
Thank you for your valuable feedback! The original LOTSA paper [1] states that the seven evaluation datasets used here are not part of the LOTSA dataset list, so the fitting corpus of the GFM does not overlap with our evaluation datasets. The amplitude memory and the prototype graph are built only from the historical observations of each target dataset, and the GFM is a generic read-out fitted once and then frozen; even if a boundary case exists in the pre-training corpus, no future information of the evaluation sets is leaked. The list of pretraining sub-corpora we select is given in (Appendix A.3).
To further rule out any effect of the training corpus, we refit the GFM on the UTSD corpus released with Timer [2], using exactly the same configuration as in the paper; this subset contains none of the evaluation datasets. Averaged over H=96, 192, 336 and 720, the GFM trained on UTSD still lets GRAM reduce MSE by 6.24% and MAE by 2.77% relative to the frozen backbones, improving both metrics in 27 of the 28 dataset-backbone pairs (the remaining one, Sundial on ECL, is tied). The table below also lists the LOTSA-trained version of GRAM used in the paper as a reference. The two read-outs differ by 0.002 in average MSE and 0.002 in average MAE over the 28 pairs, with maximum differences of 0.006 and 0.007, so the results are essentially the same. Our method therefore does not depend on one particular training corpus.
[1] Unified Training of Universal Time Series Forecasting Transformers. ICML 2024.
[2] Timer: Generative Pre-trained Transformers Are Large Time Series Models. ICML 2024.
| TSFM | Dataset | Ori | GRAM (UTSD) | GRAM (LOTSA) | |||
|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | |
| Sundial | ETTh1 | 0.397 | 0.412 | 0.389 | 0.408 | ||
| ETTh2 | 0.343 | 0.383 | 0.339 | 0.379 | |||
| ETTm1 | 0.366 | 0.370 | 0.360 | 0.367 | |||
| ETTm2 | 0.275 | 0.321 | 0.263 | 0.312 | |||
| ECL | 0.147 | 0.242 | |||||
| Weather | 0.244 | 0.275 | 0.235 | 0.268 | |||
| Exchange | 0.558 | 0.499 | 0.438 | 0.439 | |||
| Chronos | ETTh1 | 0.448 | 0.418 | 0.436 | 0.414 | ||
| ETTh2 | 0.367 | 0.380 | 0.362 | 0.377 | |||
| ETTm1 | 0.421 | 0.383 | 0.411 | 0.379 | |||
| ETTm2 | 0.291 | 0.317 | 0.287 | 0.315 | |||
| ECL | 0.158 | 0.243 | |||||
| Weather | 0.263 | 0.276 | 0.257 | 0.273 | |||
| Exchange | 0.371 | 0.412 | 0.358 | 0.402 | |||
| TimesFM | ETTh1 | 0.421 | 0.409 | 0.416 | 0.404 | ||
| ETTh2 | 0.388 | 0.369 | 0.384 | 0.369 | |||
| ETTm1 | 0.381 | 0.372 | 0.376 | 0.368 | |||
| ETTm2 | 0.291 | 0.318 | 0.285 | 0.315 | |||
| ECL | 0.163 | 0.248 | |||||
| Weather | 0.263 | 0.268 | 0.251 | 0.262 | |||
| Exchange | 0.404 | 0.420 | 0.379 | 0.410 | |||
| Moirai | ETTh1 | 0.504 | 0.530 | 0.530 | 0.473 | ||
| ETTh2 | 0.451 | 0.438 | 0.405 | 0.415 | |||
| ETTm1 | 0.740 | 0.523 | 0.617 | 0.485 | |||
| ETTm2 | 0.404 | 0.388 | 0.343 | 0.357 | |||
| ECL | 0.520 | 0.446 | 0.391 | 0.407 | |||
| Weather | 0.374 | 0.333 | 0.315 | 0.310 | |||
| Exchange | 0.601 | 0.488 | 0.461 | 0.439 |
Response to Reviewer NwVQ (Part II)
W2: How exactly are Q, K, and V calculated within the MHA operation, and which of the five elements of each node is used to derive K and V?
Thank you for your question! In the MHA, Q, K and V are obtained by linear projections of different inputs.
Q comes from the query window. The query feature is formed by concatenating the scale-normalized excursion with its log scale, standard deviation and maximum, and is encoded by a two-layer MLP into the query vector (Section 3.3.2):
K and V come from the subgraph nodes. Each node corresponds to one five-element record; the features fed to the GNN are the amplitude curve , the spread curve , the coherence and the support , together with the retrieval similarity . The GNN block first encodes these node inputs with a shared two-layer MLP, then performs two layers of relation-aware message passing along the shape and bias edges (Section 3.3.2). Writing this block as , K and V are projected from the resulting node representation :
K and V are projected from the same node representation and differ only in the projection matrix. All notation is consistent with Section 3 of the paper; the node inputs and the computation of Q, K and V are now given in .
W3: The results from Table 1 and Table 2 can be consolidated, and comparing against a fine-tuned version of the original base model is more meaningful.
We thank you for this valuable suggestion. Table 1 and Table 2 concern two different ways of improving a frozen TSFM: retrieval augmentation keeps the backbone frozen and only corrects its forecast, whereas fine-tuning updates the model parameters. The table below places the four settings (Ori, Ori+GRAM, FT and FT+GRAM) side by side for a direct comparison.
Reading Table 1 and Table 2 together, GRAM averages 0.348 / 0.361 MSE / MAE over the 28 pairs, better than the 0.356 / 0.363 of FT. Without using any target-domain labels, a read-out fitted once on an unrelated corpus already outperforms per-dataset fine-tuning on average.
The comparison is not strictly symmetric: GRAM performs no gradient update on any target dataset, whereas FT is fine-tuned separately on each target dataset and uses target-domain labels; prior work also reports catastrophic forgetting after fine-tuning on a specialized dataset [1]. In terms of efficiency, the computation and memory overhead of GRAM is very low: the entire correction costs only 7.7-12.2 s per window (; see also ), whereas FT requires a separate training run for every target dataset.
GRAM can also be combined with fine-tuning. Attaching GRAM to a fine-tuned TSFM improves it further: Moirai at H=720 improves from 1.077 to 0.753 MSE, a 30.1% reduction. GRAM is thus both a low-cost alternative to fine-tuning and a plug-in that can be stacked on a fine-tuned model.
[1] MEMTS: Internalizing Domain Knowledge via Parameterized Memory for Retrieval-Free Domain Adaptation of Time Series Foundation Models. KDD 2026.
Response to Reviewer NwVQ (Part II)
| TSFM | Dataset | Ori | Ori+GRAM | FT | FT+GRAM | ||||
|---|---|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | |
| Sundial | ETTh1 | 0.389 | 0.408 | 0.403 | 0.415 | 0.411 | 0.417 | ||
| ETTh2 | 0.343 | 0.383 | 0.339 | 0.379 | 0.335 | 0.374 | |||
| ETTm1 | 0.366 | 0.370 | 0.360 | 0.367 | 0.343 | 0.361 | |||
| ETTm2 | 0.275 | 0.321 | 0.274 | 0.319 | 0.262 | 0.311 | |||
| ECL | 0.148 | 0.242 | 0.146 | 0.242 | 0.146 | 0.242 | |||
| Weather | 0.244 | 0.269 | 0.249 | 0.279 | 0.235 | 0.269 | |||
| Exchange | 0.558 | 0.499 | 0.496 | 0.462 | 0.432 | 0.432 | |||
| Chronos | ETTh1 | 0.436 | 0.414 | 0.461 | 0.421 | 0.452 | 0.422 | ||
| ETTh2 | 0.362 | 0.377 | 0.375 | 0.384 | 0.370 | 0.383 | |||
| ETTm1 | 0.421 | 0.383 | 0.411 | 0.379 | 0.341 | 0.352 | |||
| ETTm2 | 0.291 | 0.317 | 0.287 | 0.315 | 0.274 | 0.307 | |||
| ECL | 0.157 | 0.243 | 0.157 | 0.243 | |||||
| Weather | 0.263 | 0.276 | 0.257 | 0.273 | 0.229 | 0.245 | |||
| Exchange | 0.412 | 0.358 | 0.402 | 0.396 | 0.420 | 0.375 | |||
| TimesFM | ETTh1 | 0.417 | 0.407 | 0.489 | 0.438 | 0.489 | 0.438 | ||
| ETTh2 | 0.372 | 0.388 | 0.369 | 0.385 | 0.388 | 0.365 | |||
| ETTm1 | 0.381 | 0.372 | 0.378 | 0.370 | 0.303 | 0.354 | |||
| ETTm2 | 0.291 | 0.318 | 0.285 | 0.305 | 0.268 | 0.305 | |||
| ECL | 0.159 | 0.246 | 0.159 | 0.246 | |||||
| Weather | 0.263 | 0.268 | 0.253 | 0.250 | 0.228 | 0.250 | |||
| Exchange | 0.404 | 0.379 | 0.410 | 0.423 | 0.426 | 0.435 | |||
| Moirai | ETTh1 | 0.620 | 0.504 | 0.594 | 0.493 | 0.505 | 0.462 | ||
| ETTh2 | 0.451 | 0.438 | 0.432 | 0.422 | 0.394 | 0.404 | |||
| ETTm1 | 0.740 | 0.523 | 0.617 | 0.485 | 0.477 | 0.422 | |||
| ETTm2 | 0.404 | 0.388 | 0.344 | 0.360 | 0.293 | 0.329 | |||
| ECL | 0.520 | 0.446 | 0.467 | 0.430 | 0.376 | 0.402 | |||
| Weather | 0.374 | 0.333 | 0.315 | 0.310 | 0.256 | 0.275 | |||
| Exchange | 0.601 | 0.488 | 0.463 | 0.443 | 0.599 | 0.487 | |||
| Avg | 0.381 | 0.374 | 0.356 | 0.362 | 0.335 | 0.354 |
- Rating
- 2/4
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
GRAM aims to improve the forecasting performance of frozen time-series foundation models by identifying recurring prediction errors in historical data and using them to correct future forecasts. It represents these errors through amplitude-based scaling, making them comparable across different time-series windows. The method is evaluated on seven benchmark datasets, four forecasting horizons, and four foundation models, showing improvements in both MSE and MAE across all datasets. The reported maximum reductions are 34.5% in MSE and 16.7% in MAE, with an additional computational cost of only 7.7–12.2 microseconds per window.
Strengths
1- The idea of retrieving model-specific forecasting errors rather than historical future trajectories is interesting and well motivated. Since the base TSFM already generates predictions, using historical residual errors to refine these forecasts provides a reasonable way to avoid reusing information that the model has already captured.
2- The formulation distinguishes the magnitude of the predicted change from the relative error associated with it. This allows the method to correct the frozen model’s forecast by adjusting its predicted deviation, rather than generating an entirely new prediction.
3- The approach is evaluated on four different TSFMs, demonstrating its applicability across multiple foundation models. The evaluation is further extended to LoRA-adapted models to examine its effectiveness in parameter-efficient fine-tuning settings.
Weaknesses
1- The prototype graph is one of the main contributions of the paper, based on the idea that similar historical patterns may share common forecasting biases. While this motivation is reasonable, the current results do not clearly show how much improvement comes specifically from the graph component rather than simply combining residual information from multiple prototypes. Although Table 3 and Section 4.2 provide relevant ablation studies, a more direct comparison that separates the contribution of graph propagation from the learned fusion mechanism would better justify the importance of the proposed graph structure.
2- The proposed amplitude-based correction mainly focuses on adjusting the magnitude of predicted changes. However, not all forecasting errors can be addressed through scaling, as some may result from systematic shifts or biases. For example, when the predicted change is very small or close to zero, the correction may not work effectively even if the model has a consistent prediction error. It would be helpful if the authors could clarify how the approach handles such cases and provide a comparison with a simple additive residual-correction method to better demonstrate the advantage of the proposed formulation.
3- The main experiments compare the original frozen TSFMs with their GRAM-enhanced versions, showing that the proposed approach can improve forecasting performance across different models. However, the paper also emphasizes its advantages over existing retrieval-based methods, such as TS-RAG and TimeRAF, which use historical future trajectories for forecasting. Although Appendix B.4 compares GRAM with TS-RAG, the methods are evaluated using different foundation models, making it difficult to judge whether the improvements come from the proposed retrieval strategy or the underlying model. The results in Table 7 are also mixed. GRAM achieves lower MSE on six datasets, while TS-RAG performs better in MAE on two datasets and achieves a considerably lower MSE on Exchange (0.332 vs. 0.439). I think a fairer comparison using the same frozen TSFM and experimental settings would strengthen the evaluation. In particular, comparing future-trajectory retrieval, direct residual retrieval, and the proposed amplitude-based graph retrieval would help better demonstrate the actual contribution of the proposed approach.
Questions for the authors
Please address my all concerns raised in the weaknesses section.
7 comments
Response to Reviewer 4ZDs (Part I)
Dear Reviewer 4ZDs, we are deeply grateful for your exceptionally thorough review and for the constructive suggestions that helped us sharpen the evaluation.
W1: The current results do not clearly show how much improvement comes specifically from the graph component rather than from the learned fusion mechanism.
Thank you for your valuable feedback! We add a direct comparison between the complete GRAM (+GRAM) and a variant without graph propagation (w/o prop.), so that the contribution of graph propagation is isolated. The two settings share the same prototype memory, test windows and labels, and have identical fusion, attention, gate and GFM parameters; the only difference is whether nodes exchange information along the prototype graph. In the complete method, node representations are propagated along the shape and bias edges, whereas each node of w/o prop. is read out from its own record alone. The table below reports four TSFMs on seven datasets, averaged over the four horizons, with the frozen backbone Ori listed as a reference; the best value in each row is bold and the second best underlined.
The complete GRAM outperforms w/o prop. throughout, confirming the effectiveness of graph propagation. Over all 28 pairs, it reduces MSE by 2.21% and MAE by 1.59% on average. The gain follows the error of the backbone: Moirai, the weakest frozen model, benefits most (4.77% MSE on average; on ECL, 0.430 / 0.422 improves to 0.391 / 0.407), while TimesFM, the strongest, still improves by 0.93% MSE. Bias evidence recorded on related prototypes is thus pooled along the graph, providing information beyond the fusion mechanism.
| TSFM | Dataset | Ori | w/o prop. | GRAM | |||
|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | |
| Sundial | ETTh1 | 0.397 | 0.412 | 0.389 | 0.408 | ||
| ETTh2 | 0.383 | 0.339 | 0.379 | ||||
| ETTm1 | 0.366 | 0.370 | 0.360 | 0.367 | |||
| ETTm2 | 0.275 | 0.321 | 0.264 | 0.313 | |||
| ECL | 0.244 | 0.147 | 0.242 | ||||
| Weather | 0.244 | 0.275 | 0.236 | 0.269 | |||
| Exchange | 0.558 | 0.499 | 0.439 | 0.440 | |||
| Chronos | ETTh1 | 0.448 | 0.418 | 0.436 | 0.414 | ||
| ETTh2 | 0.367 | 0.380 | 0.362 | 0.377 | |||
| ETTm1 | 0.421 | 0.383 | 0.411 | 0.379 | |||
| ETTm2 | 0.291 | 0.287 | 0.315 | ||||
| ECL | 0.159 | 0.244 | 0.159 | 0.244 | |||
| Weather | 0.263 | 0.257 | 0.273 | ||||
| Exchange | 0.371 | 0.412 | 0.358 | 0.402 | |||
| TimesFM | ETTh1 | 0.421 | 0.410 | 0.417 | 0.407 | ||
| ETTh2 | 0.372 | 0.388 | 0.369 | 0.385 | |||
| ETTm1 | 0.381 | 0.378 | 0.370 | ||||
| ETTm2 | 0.291 | 0.318 | 0.285 | 0.315 | |||
| ECL | 0.164 | 0.249 | 0.164 | 0.249 | |||
| Weather | 0.263 | 0.253 | 0.264 | ||||
| Exchange | 0.404 | 0.420 | 0.379 | 0.410 | |||
| Moirai | ETTh1 | 0.620 | 0.504 | 0.530 | 0.473 | ||
| ETTh2 | 0.451 | 0.438 | 0.405 | 0.415 | |||
| ETTm1 | 0.740 | 0.523 | 0.617 | 0.485 | |||
| ETTm2 | 0.404 | 0.388 | 0.344 | 0.360 | |||
| ECL | 0.520 | 0.446 | 0.391 | 0.407 | |||
| Weather | 0.374 | 0.333 | 0.315 | 0.310 | |||
| Exchange | 0.601 | 0.488 | 0.463 | 0.443 |
Response to Reviewer 4ZDs (Part II)
W2: Can the amplitude-based correction handle systematic shifts and predicted changes close to zero, and how does it compare with a simple additive residual-correction method?
We thank you for the question. The near-zero case is handled explicitly in the design. As stated in , when the memory is built, the amplitudes of the member windows are aggregated by a weighted median whose weights are the absolute excursions. Windows whose excursion is close to zero receive very small weights, so their numerically unstable ratios do not enter the memory. When the predicted excursion is close to zero, the ratio is numerically unstable and the weighted median automatically down-weights those windows, keeping noisy corrections out of the memory.
Second, to test whether an additive correction is better suited to systematic shifts, we add a controlled additive residual-correction baseline. Under exactly the same retrieval pipeline, we only replace the quantity stored in each prototype with the mean of the member-window residuals and add the retrieved residual directly to the forecast. The frozen backbone Ori is listed as a reference. The table averages over horizons 96, 192, 336 and 720. Averaged over the 28 pairs, GRAM reduces MSE by 5.63% and MAE by 2.45% relative to the additive residual correction.
| TSFM | Dataset | GRAM | Additive residual | Ori | |||
|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | |
| Sundial | ETTh1 | 0.389 | 0.408 | 0.397 | 0.412 | ||
| ETTh2 | 0.339 | 0.379 | 0.343 | 0.383 | |||
| ETTm1 | 0.360 | 0.367 | 0.366 | 0.370 | |||
| ETTm2 | 0.264 | 0.313 | 0.275 | 0.321 | |||
| ECL | 0.147 | 0.242 | 0.242 | ||||
| Weather | 0.236 | 0.269 | 0.244 | 0.275 | |||
| Exchange | 0.439 | 0.440 | 0.558 | 0.499 | |||
| Chronos | ETTh1 | 0.436 | 0.414 | 0.448 | 0.418 | ||
| ETTh2 | 0.362 | 0.377 | 0.367 | 0.380 | |||
| ETTm1 | 0.411 | 0.379 | 0.421 | 0.383 | |||
| ETTm2 | 0.287 | 0.315 | 0.291 | ||||
| ECL | 0.159 | 0.244 | 0.159 | 0.244 | |||
| Weather | 0.257 | 0.273 | 0.263 | 0.276 | |||
| Exchange | 0.358 | 0.402 | 0.371 | 0.412 | |||
| TimesFM | ETTh1 | 0.417 | 0.407 | 0.421 | 0.409 | ||
| ETTh2 | 0.369 | 0.385 | 0.372 | 0.388 | |||
| ETTm1 | 0.378 | 0.370 | 0.370 | 0.381 | |||
| ETTm2 | 0.285 | 0.315 | 0.291 | 0.318 | |||
| ECL | 0.164 | 0.249 | 0.164 | 0.249 | 0.164 | 0.249 | |
| Weather | 0.253 | 0.264 | 0.263 | 0.268 | |||
| Exchange | 0.379 | 0.410 | 0.404 | 0.420 | |||
| Moirai | ETTh1 | 0.530 | 0.473 | 0.620 | 0.504 | ||
| ETTh2 | 0.405 | 0.415 | 0.451 | 0.438 | |||
| ETTm1 | 0.617 | 0.485 | 0.740 | 0.523 | |||
| ETTm2 | 0.344 | 0.360 | 0.404 | 0.388 | |||
| ECL | 0.391 | 0.407 | 0.520 | 0.446 | |||
| Weather | 0.315 | 0.310 | 0.374 | 0.333 | |||
| Exchange | 0.463 | 0.443 | 0.601 | 0.488 |
Response to Reviewer 4ZDs (Part III)
W3: A fairer comparison using the same frozen TSFM: future-trajectory retrieval, direct residual retrieval and the proposed amplitude-based graph retrieval, as well as existing RAG methods.
We thank you for this valuable suggestion, which has helped us improve the paper.We agree that a comparison under the same backbone is more convincing, and add two sets of experiments. All new results use the same test windows, labels and preprocessing, with the read-out and the TSFM frozen throughout.
(1) Comparison with existing RAG methods. Taking Sundial as the unified backbone, we compare GRAM with TS-RAG [1], TimeRAF [2] and SARAF [3]. Table 1 averages over the four horizons, Ori is the frozen Sundial, and the best and second best values in each row are bold and underlined. GRAM is better than all existing RAG methods, confirming the value of targeting model bias for retrieval. Averaged over the seven datasets, it reduces MSE by 2.4% and MAE by 1.3% relative to the three RAG baselines. Details are in and .
(2) Stored quantity under the same retrieval pipeline. The frozen TSFM, encoder, prototype partition and retrieval pipeline are all unchanged; we only replace what the memory stores: the dimensionless amplitude scaling error of GRAM, the direct residuals of the member windows, and the normalized ground-truth future trajectories. The frozen backbone Ori is listed as a reference. Table 2 averages over the four horizons, with the best value bold and the second best underlined. GRAM is no worse than future-trajectory retrieval in all 56 cells, reducing MSE by 5.73% and MAE by 2.58% on average over the 28 pairs; relative to direct residual retrieval, it reduces MSE by 5.63% and MAE by 2.45%. A dimensionless amplitude therefore transfers more readily between windows at different numerical levels.
[1] TS-RAG: Retrieval-Augmented Generation based Time Series Foundation Models are Stronger Zero-Shot Forecaster. NeurIPS 2025.
[2] TimeRAF: Retrieval-Augmented Foundation Model for Zero-Shot Time Series Forecasting. IEEE TKDE 2025.
[3] Stationarity-Aware Retrieval-Augmented Time Series Forecasting. KDD 2026.
Table 1: Fair comparison with existing RAG methods.
| Dataset | GRAM | TS-RAG | TimeRAF | SARAF | Ori | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| ETTh1 | 0.389 | 0.408 | 0.411 | 0.394 | 0.410 | 0.395 | 0.397 | 0.412 | ||
| ETTh2 | 0.339 | 0.379 | 0.382 | 0.342 | 0.381 | 0.341 | 0.343 | 0.383 | ||
| ETTm1 | 0.360 | 0.367 | 0.364 | 0.369 | 0.365 | 0.369 | 0.366 | 0.370 | ||
| ETTm2 | 0.264 | 0.313 | 0.319 | 0.273 | 0.272 | 0.315 | 0.275 | 0.321 | ||
| ECL | 0.147 | 0.242 | 0.149 | 0.245 | 0.151 | 0.249 | ||||
| Weather | 0.236 | 0.269 | 0.239 | 0.274 | 0.238 | 0.272 | 0.244 | 0.275 | ||
| Exchange | 0.439 | 0.440 | 0.479 | 0.462 | 0.518 | 0.460 | 0.558 | 0.499 |
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Reviewer ZqsG (Part I)
Dear Reviewer ZqsG, we sincerely appreciate your attentive reading and your insightful suggestions, which have helped us broaden the evaluation.
W1: The framework explicitly models bias as an amplitude scaling error; can it handle temporal shifts of the forecast along the time axis?
Thank you for your valuable feedback on our work! Your suggestions have played a significant role in improving the quality of our paper.A frozen TSFM shows systematic errors of several kinds, and a temporal shift is one of them. GRAM records one amplitude scaling error at each forecast lead. Whether the predicted pattern is "early", "delayed" or "misaligned", the shift appears as a prediction error at every lead, and when such errors recur under similar patterns they are recorded and corrected lead by lead.
To verify this, we label as temporal-shift windows those test windows whose correlation with the ground truth increases markedly after the forecast is shifted in time, and evaluate them separately on each dataset. As Table 1 shows, averaged over H=96, 192, 336 and 720, GRAM is better than or equal to the frozen TSFM in all 28 pairs, reducing MSE by 2.71% and MAE by 1.39% on average, so the amplitude correction remains effective on temporal-shift windows. This experiment and the criterion for labelling such windows are added in Appendix B.5 in lines 1130–1165 of the revised paper and Table 9 in lines 1097–1111 of the revised paper.
The prediction bias of a TSFM can also be represented by additive residuals instead of an amplitude scaling error. Compared with additive residuals, the amplitude scaling error is dimensionless, independent of the local numerical level of the series, and therefore transferable across windows. Table 2 compares GRAM with an additive residual correction under the same retrieval pipeline, with the frozen TSFM (Ori) as a reference, again averaged over the four horizons. Averaged over the 28 pairs, GRAM reduces MSE by 5.63% and MAE by 2.45% relative to the additive residual correction, and its MSE is no worse in all 28 pairs.
Table 1: Frozen TSFMs and GRAM on temporal-shift windows.