首页 > AI前沿 > AdaOPD: Multi-Turn Adaptive On-Policy Distillation of LLM Agents with Prefix Replay

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

arXiv机器学习 2026-12-02 13:00 7 阅读 查看原文

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 replay