AdaOPD: Multi-Turn Adaptive On-Policy Distillation of LLM Agents with Prefix Replay

On-policy distillation (OPD) trains a student on its own samples with dense supervision from a teacher, but for multi-turn agents every update must interact with the environment. Prefix replay avoids this cost. It replays histories recorded by the teacher, lets the student generate output for the current turn only, and queries the teacher at each token position. Each replayed state, however, joins two segments from different sources: the replayed history may be one the student would rarely reach, and the teacher may assign low probability to the tokens the student has already generated in that turn. We propose AdaOPD, an adaptive on-policy distillation method for multi-turn agents trained with prefix replay. Its adaptivity has two components: adaptive history sampling decides which replayed histories the student trains on, and adaptive token weighting scales supervision at each position in the student's output for the current turn. Both components follow from a KL projection over states that pair a replayed history with the tokens already generated in the current turn, whose solution factorizes into a history weight, a tempered student-to-teacher likelihood ratio on recorded teacher outputs, and a token-prefix weight, a tempered teacher-to-student ratio on the student's preceding tokens. The history weight decides which records are replayed and the token-prefix weight scales per-token KL supervision. We evaluate AdaOPD on mathematical reasoning with a Python interpreter, distilling Qwen3-30B-A3B-Instruct into Qwen3-8B. AdaOPD achieves a state-of-the-art macro-average accuracy across six benchmarks. Including the amortized cost of replay-pool scoring, AdaOPD reduces rollout time per update by an estimated 75% compared with fully online OPD.

Authors

Publication Details

Journal
arXiv
Published
2026-11-30
Primary Topic
Reinforcement Learning in Robotics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

AdaOPD: Multi-Turn Adaptive On-Policy Distillation of LLM Agents with Prefix Replay

Zheng Luo, Xiyang Hu, Jinbo Liu, Xiaolin Zhou
arXiv
Reinforcement Learning in Robotics
preprint

AdaOPD: Multi-Turn Adaptive On-Policy Distillation of LLM Agents with Prefix Replay

Zheng Luo, Xiyang Hu, Jinbo Liu, Xiaolin Zhou
preprint en

Abstract

On-policy distillation (OPD) trains a student on its own samples with dense supervision from a teacher, but for multi-turn agents every update must interact with the environment. Prefix replay avoids this cost. It replays histories recorded by the teacher, lets the student generate output for the current turn only, and queries the teacher at each token position. Each replayed state, however, joins two segments from different sources: the replayed history may be one the student would rarely reach, and the teacher may assign low probability to the tokens the student has already generated in that turn. We propose AdaOPD, an adaptive on-policy distillation method for multi-turn agents trained with prefix replay. Its adaptivity has two components: adaptive history sampling decides which replayed histories the student trains on, and adaptive token weighting scales supervision at each position in the student's output for the current turn. Both components follow from a KL projection over states that pair a replayed history with the tokens already generated in the current turn, whose solution factorizes into a history weight, a tempered student-to-teacher likelihood ratio on recorded teacher outputs, and a token-prefix weight, a tempered teacher-to-student ratio on the student's preceding tokens. The history weight decides which records are replayed and the token-prefix weight scales per-token KL supervision. We evaluate AdaOPD on mathematical reasoning with a Python interpreter, distilling Qwen3-30B-A3B-Instruct into Qwen3-8B. AdaOPD achieves a state-of-the-art macro-average accuracy across six benchmarks. Including the amortized cost of replay-pool scoring, AdaOPD reduces rollout time per update by an estimated 75% compared with fully online OPD.

arXiv
Reinforcement Learning in Robotics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon