Rust in Everything
← Papers

Agentic On-Policy Distillation Implicitly Reshapes LLMs' ReAct Patterns

Deyang Kong, Zhaoyi Li, Sijian Ren, Yuan Wei, Ying Wei, Defu Lian et al.

2026-11-18▲ 7arXiv 2611.19244v2Hugging Face

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

The paper finds that on-policy distillation from domain-specialized teachers reshapes LLM agents' ReAct reasoning, action, and observation patterns across domains, causing both positive and negative transfer, and tests token-selective supervision to reduce negative transfer.

Problem

On-policy distillation transfers specialized capabilities to language-model agents, but its cross-domain effects on interaction remain unclear. The authors investigate how OPD reshapes ReAct patterns across mathematics, ALFWorld, and tau2-bench, focusing on reasoning, actions, and observation acquisition. They identify both positive cross-domain transfer and severe negative transfer, including ALFWorld supervision causing tau2-bench failures.

Method

Students initialize from Qwen3-4B-Instruct-2507 and are trained by OPD from frozen domain teachers, including CI, ALF, tau2, and GR teachers; ALF and tau2 teachers initialize from Qwen3-30B-A3B-Instruct-2507 and undergo domain-specific agentic RL. Evaluation covers tool-enabled and no-tool mathematics, ALFWorld, and tau2-bench, with task scores and trajectory-level behavioral metrics such as tool-attempt rate, calls, ask-call co-occurrence, and dependency violations. The authors analyze ReAct trajectories for route shifts in mathematics and for action and observation timing, including semantic review of dependency violations. For mitigation, they propose selective OPD: for student rollouts they score tokens with teacher checkpoints before and after domain-specific RL, compute signed Delta as the log-probability difference, rank positions by Delta, and retain the top fraction rho such as Top95 for the OPD loss. They compare selective supervision with Full OPD, Random95, structural masking, and negative masking, and extend the test from ALF-to-tau2 to GR-to-CI.

Results

  • General-reasoning OPD reduces mathematical tool attempts and increases accuracy. §Abstract
  • CI-only OPD raises ALFWorld accuracy and tau2 accuracy. §4
  • ALF-only OPD drastically lowers tau2 accuracy. §4
  • Semantic review identifies ALF-supervised trajectories containing calls that depend on unavailable user information or authorization. §1
  • Task-matched MOPD with ALF and tau2 raises tau2 accuracy, lowers same-turn ask-call co-occurrence, and keeps ALFWorld accuracy high. §4.3
  • Selective OPD retaining the top 95% of positions raises tau2 accuracy with a source-learning trade-off. §Abstract
  • GR-to-CI Top95 increases CI tool attempts but lowers overall CI accuracy. §5.3

Limitations

  • The paper states that experiments focus on the Qwen3 model family with 4B students and mathematical and interactive tasks, leaving larger students, other model families, and broader agent environments for future work.
  • The paper states that the effects of supervision selection may depend on the training recipe and interaction protocol, motivating further study across additional configurations.
  • Selective OPD alleviates target-domain negative transfer but the paper reports a source-learning trade-off.
  • In the GR-to-CI extension, Top95 preserves more tool-assisted behavior without improving aggregate CI accuracy, with lower CI accuracy than Full OPD; the paper leaves open whether selection can improve aggregate target accuracy.

Key points

  • The authors train students by OPD on individual domains and by MOPD on mixtures, then evaluate each student across tool-enabled and no-tool mathematics, ALFWorld, and tau2-bench. §4
  • OPD can shift the route to a mathematical answer: GR and ALF supervision move students toward natural-language derivations, while CI supervision favors Python tool calls. §4.1
  • Code-interpreter supervision improves household actions and retail queries in cross-domain evaluation. §Abstract
  • ALF supervision causes negative transfer to tau2; the student frequently generates request-like text alongside tool calls without yielding the turn, and semantic review finds dependency violations in 55.8% of trajectories. §1
  • Task-matched MOPD can remove the specific harmful timing pattern when tau2 supervision is included, but ALF+CI still leaves a tau2 drop and ask-call co-occurrence, showing coverage is limited to training sources. §4.3
  • Selective OPD uses the signed log-probability difference between pre-RL and post-RL teacher checkpoints to rank tokens and retain high-Delta positions, aiming to keep generic agentic abilities and discard task-specific ReAct patterns. §5.1
  • Top95 excludes 41.02% of ordinary absolute coefficient mass versus 5.56% for Random95, and the excluded mass is mostly negative advantages. §11.1
  • Structural masks change call construction; Delimiter masking produces 4,424 invalid-JSON spans among 15,441 complete tau2 calls, versus 33 among 11,905 for Full-block. §12.2

Mind map

Agentic OPD reshapes ReAct patterns
Study scope
Mathematics GR and CI
ALFWorld
tau2-bench
Qwen3-4B students
Frozen domain teachers
Behavioral metrics
Observed ReAct shifts
GR shifts math to no-tool
CI favors Python calls
CI improves ALF and tau2
ALF harms tau2
Ask-call timing failures
Selective OPD
Pre/post RL teacher Delta
Rank tokens by signed Delta
Retain Top95 positions
Random95 baseline
Source-learning trade-off
MOPD findings
Task-matched teachers recover tau2
ALF+tau2 lowers ask-call
ALF+CI still drops 7%
Held-out ask-call 25.6%
Token analysis
Top95 excludes 41.02% mass
Random95 excludes 5.56%
Mostly negative advantages
Context-dependent exclusions
Tool-call onset excluded
Limitations
Qwen3 4B students only
Math and interactive tasks
Recipe dependence possible
GR-to-CI CI accuracy lower