Replay for LLM Continual Learning with Multi-Teacher On-Policy Distillation
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
Multi-teacher on-policy distillation (MOPD) distills several domain experts into one student and is used in the post-training of recent large language models. It trains on all domains at once, so every expert must be available at the same time. In practice, capabilities often arrive one after another, and the experts of earlier domains may be gone when a new domain is learned. Distilling the experts in sequence then suffers from catastrophic forgetting of the earlier domains. Some recent pipelines store a snapshot after every stage and end with a multi-teacher recovery stage taught by all snapshots. The number of stored models then grows with the number of stages. Different from these pipelines, this paper formulates continual MOPD by what is kept from earlier stages and studies replay toward the previous student. Inside every stage, prompts of earlier domains are replayed with the student of the previous stage as their teacher, so neither earlier experts nor stage snapshots are kept. Two design choices of replay are explored. The replay budget of a stage is either shared among the earlier domains or fixed per earlier domain. Replay steps either distill the token distribution alone or add alignment of hidden states, region-pooled self-attention scores and value relations. A five-domain benchmark of logic, math, code, safety and instruction following is built from public experts of one 1.5B student. Experiments on its 14 benchmarks show that, without storing any snapshot, replay toward the previous student closes most of the gap between sequential distillation and joint MOPD. With a fixed replay share per earlier domain, it performs on par with recovery from all stored snapshots.
Results and benchmarks
Multi-teacher on-policy distillation (MOPD) distills several domain experts into one student and is used in the post-training of recent large language models.
| Task | Dataset | Metric | Value | Source |
|---|---|---|---|---|
| Computer science | MATH | AIME24 | 51.04 | paper-derived |
Audit each benchmark finding before selecting an implementation path. Evidence refs map to the disclosure below.
Evidence graph: 3 refs, 2 links.
Utility signals: depth 100/100, grounding 78/100, status high.
Implementation
No direct paper-linked artifacts found; showing strongest related artifacts
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Start from related paper: Latent-MOPD: Latent Multi-Teacher On-Policy Distillation.
- Start from this likely method family: self-attention.
Time to first repro: a few days · Best available artifact: farbodtavakkoli/OTel-2.0-LLM-31B-IT
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Framework baselines
- Hugging Face Transformers training guide
Modern transformer training baseline.
- PyTorch nn.Transformer docs
Reference transformer building block implementation.
Hugging Face artifacts
No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.
Models
- farbodtavakkoli/OTel-2.0-LLM-31B-IT
816,721 downloads · 32 likes
Datasets
No trustworthy datasets matches right now.
Search datasets on Hugging FaceSpaces
No trustworthy spaces matches right now.
Search spaces on Hugging FaceResearch context
0
Citations
130
References
Tasks
Computer science, Polling, Domain (mathematical analysis), Sequence (biology), Schedule, Bridging (networking), Chunking (psychology), Subject-matter expert
Methods
Leverage (statistics), large language models, self-attention, multistage distillation
Domains
Artificial intelligence, Security token
Related papers
- Latent-MOPD: Latent Multi-Teacher On-Policy DistillationSearch on Paper2Code
2026 · Semantic similarity
- Learn from Whoever Is Right: Answer-Verified Multi-Teacher Distillation for Multi-Domain LLMsSearch on Paper2Code
2026 · Semantic similarity
- Counteraction-Aware Multi-Teacher On-Policy Distillation for General Capability Recovery with Domain PreservationSearch on Paper2Code
2026 · Semantic similarity
- MOPD: Multi-Teacher On-Policy Distillation for Capability Integration in LLM Post-TrainingSearch on Paper2Code
2026 · Semantic similarity
- Beyond Teacher Assignment: Domain-Normalized Multi-Teacher On-Policy DistillationSearch on Paper2Code
2026 · Semantic similarity
- Multi-Turn On-Policy Distillation with Prefix ReplaySearch on Paper2Code
2026 · Semantic similarity
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.