cs.LGSep 28, 2026

GNA: Granular Neighbor Assembly for Retrieval-Augmented Multivariate Time-Series Forecasting

Authors: Vincent Uhse

Organizations: CERN

Abstract

Deep forecasters predict from a fixed-length lookback window, and lengthening it gives diminishing returns at a growing cost. Retrieval augmentation instead shows the model how similar past situations continued. Retrieving a whole past window gives every variate the continuation of the same past moment. In multivariate series, however, the best past match differs from variate to variate. We present GNA (Granular Neighbor Assembly), a retrieval layer for forecasting backbones that assembles neighbors at two granularities: whole past windows, which keep the variates coherent, and per-variate neighbors, in which each variate takes its future from its own best-matching past. A learned gate decides, per forecast step and variate, how much to trust these futures against a persistence forecast, next to the backbone's own forecast. Candidates come from an embedding trained to predict each window's future, and retrieval is strictly causal: a past window is used only once its future has been observed. With the same lookback for every model and the same retrieval constants for all datasets, GNA improves two Transformer backbones in 85 of 96 dataset-horizon settings, gives the lowest MSE on 8 of 12 standard benchmarks and beats its backbone in every seed on 10 of them. Both granularities are needed, and neighbors of mismatched queries are worse than none. Retrieval helps most where the lookback says least: the gate shifts trust to retrieved futures further ahead. Where it fails, on hourly non-stationary series at long horizons, the loss is consistent with a drifting level of the retrieved futures.

Explore similar work

CardsList
  1. Retrieval Is Not Enough: Refreshing Memory for Frozen Time-Series Forecasters

    Oct 6, 2026Chao He, Jianyu Xu, Xinyi Guo +5Non-Stationary Time Series ForecastingRetrieval-Augmented Time Series Forecasting

  2. RATL: Learning from Retrieved Residuals for Robust Multivariate Time-Series Forecasting

    Sep 3, 2026Yuchen He, Yueyang Cang, Zhiyuan Ning +2Multivariate Time Series ForecastingResidual Learning

  3. Align-RAG: Alignment Is All You Need for TSFM In-Context Learning

    Aug 6, 2026Mohammad Asadi, Soheil Hor, Bardiya Akhbari +6Zero-Shot Time Series ForecastingRetrieval-Augmented ICL