mlsanityData to 7 Oct 2026

Learning to Query History: Nonstationary Classification via Learned Retrieval

arXiv 2604.07027 ↗First posted 8 Apr 2026cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Nonstationarity is ubiquitous in practical classification settings, leading deployed models to perform poorly even when they generalize well to holdout sets available at training time. We address this by reframing nonstationary classification as time series prediction: rather than predicting from the current input alone, we condition the classifier on a sequence of historical labeled examples that extends beyond the training cutoff. To scale to large sequences, we introduce a learned discrete retrieval mechanism that samples relevant historical examples via input-dependent queries, trained end-to-end with the classifier using a score-based gradient estimator. This enables the full corpus of historical data to remain on an arbitrary filesystem during training and deployment. Experiments on synthetic benchmarks and Amazon Reviews '23 (electronics category) show improved robustness to distribution shift compared to standard classifiers, with VRAM scaling predictably as the length of the historical data sequence increases.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 13 of its 20 references that are in the map. First posted on arXiv 8 Apr 2026.

Builds on

13 of 20 references.

References · 13

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  4. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  5. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  6. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  7. 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
  8. 2016Deep Networks with Stochastic Depthcited by 973
  9. 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 860
  10. 2016Self-critical Sequence Training for Image Captioningcited by 544
  11. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
  12. 2022Matryoshka Representation Learningcited by 268
1 more
  1. 2023Adapt in Contexts: Retrieval-Augmented Domain Adaptation via In-Context Learningcited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.