Online Label-Free Gradient Matching for Continual Language Model Training
Not on the map. Why?
Abstract (arXiv)
Language models in customer-facing products must be continually updated, since the data they serve shifts over time. As retraining on the full accumulated data is impractical, each update should instead run on a small set of examples carrying the training signal of all data seen so far. The strongest current methods build this set by gradient matching, which synthesizes examples whose training gradients match those of the full data. However, they require ground-truth labels, run once on a fixed snapshot rather than on a growing stream, and are slow on large data. We introduce OLGA, which lifts these limitations. It distills unlabeled data by drawing the gradient matching targets from the model's own next-token predictions. Across five text classification benchmarks with phi-1.5, it improves accuracy by 10 percentage points over the strongest selection baseline using as few as five examples. OLGA also distills online data streams by keeping a running rehearsal memory of synthetic examples, which is re-distilled together with each new batch as it arrives. In the online setting, it outperforms the strongest selection-based continual baseline by 6.6 stream-AUC percentage points. Finally, our method scales to large data by pairing distillation with selection in a hybrid pipeline, letting selection handle the mild stage of compression and distillation the extreme one. It cuts runtime by 30% versus distillation alone at similar accuracy, and beats the best selection-only pipeline by up to 12.6 percentage points.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 29 of its 47 references that are in the map. Submitted 2 Nov 2026.
Builds on
29 of 47 references.
References · 29
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,990
- 2017Prototypical Networks for Few-shot Learningcited by 3,087
- 2016Learning without Forgettingcited by 2,595
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,384
- 2016Progressive Neural Networkscited by 1,424
- 2017PackNet: Adding Multiple Tasks to a Single Network by Iterative Pruningcited by 921
- 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 710
- 2019Three scenarios for continual learningcited by 636
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 592
- 2019Gradient based sample selection for online continual learningcited by 582
- 2021Deep Learning on a Data Diet: Finding Important Examples Early in Trainingcited by 564
- 2020Dataset Condensation with Gradient Matchingcited by 538
17 more
- 2022Dataset Distillation by Matching Training Trajectoriescited by 455
- 2021Dataset Condensation with Distribution Matchingcited by 374
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 240
- 2024Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsalcited by 137
- 2021GCR: Gradient Coreset Based Replay Buffer Selection For Continual Learningcited by 98
- 2021Distilled Replay: Overcoming Forgetting through Synthetic Samplescited by 37
- 2024TnT-LLM: Text Mining at Scale with Large Language Modelscited by 32
- 2024DiLM: Distilling Dataset into Language Model for Text-level Dataset Distillationcited by 22
- 2023Summarizing Stream Data for Memory-Constrained Online Continual Learningcited by 21
- 2025TiC-LM: A Web-Scale Benchmark for Time-Continual LLM Pretrainingcited by 18
- 2025Synthetic Text Generation for Training Large Language Models via Gradient Matchingcited by 12
- 2023Self-Supervised Dataset Distillation for Transfer Learningcited by 11
- 2024Dataset Distillation via Knowledge Distillation: Towards Efficient Self-Supervised Pre-Training of Deep Networkscited by 8
- 2024Hybrid Memory Replay: Blending Real and Distilled Data for Class Incremental Learningcited by 3
- 2025Data-Distill-Net: A Data Distillation Approach Tailored for Reply-based Continual Learningcited by 1
- 2025Technical Report on Text Dataset Distillationcited by 1
- 2026Memory-efficient Continual Learning with Prototypical Exemplar Condensationcited by 1
Built on by
Not cited yet.