Beyond On-Policy vs. Off-Policy: At What Level Should LLM Agent Distillation Follow the Student?

Ya Gao, Zhengtao Zou, Pekka Marttinen
10/22/2026
cs.AI
distillation

No confident code implementation found for this paper.

Abstract

Distilling interactive LLM agents requires choosing between teacher-generated demonstrations and student-generated experience, corresponding broadly to off-policy and on-policy distillation. While both have proven effective, we argue that this distinction is inherently hierarchical: the policy that induces an interaction history need not be the same as the policy that generates the token prefix of the current action.

Show full abstract

We introduce a hierarchical agent distillation framework that formalizes these two levels of on-policiness and enables explicit control over their pairing, mixture proportions, and training schedule. We study this problem through self-distillation, where a frozen teacher has access to task guidance unavailable to the student, and conduct a three-stage controlled study across three models and four interactive environments. We find that student-induced histories paired with teacher-generated action prefixes generally provide the strongest standalone training signal, whereas following the student at both levels generally performs worst. Nevertheless, fully on-policy data becomes beneficial when incorporated into a mixture with other configurations. Moreover, mixtures with identical teacher/student proportions at each level can yield substantially different performance, showing that how the two levels are paired matters beyond the overall amount of on-policy data. Finally, front-loading fully teacher-generated contexts and delaying fully on-policy contexts improves over a static mixture. These findings provide practical principles for deciding where, how much, and when agent distillation should follow the student.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2026beyond,
  title  = {Beyond On-Policy vs. Off-Policy: At What Level Should LLM Agent Distillation Follow the Student?},
  author = {Ya Gao and Zhengtao Zou and Pekka Marttinen},
  year   = {2026},
  eprint = {2610.31918},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.31918v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.31918.svg)](https://codeofpaper.com/paper/2610.31918)

Discussion