Source-linked AI summary

Progress-Aware Distillation for Mitigating Stagnation in Small Language Model Agents

Yuanpu Cao, Saket Sathe, Hanyu Wang, Ziyi Yin, Fenglong Ma, Jinghui Chen

arXiv:2610.19439v1cs.LG

TL;DR

Large-model agents have high token consumption and inference latency, while SFT-distilled students can stagnate in unproductive loops as interaction trajectories grow. ProD uses an adaptive student–teacher stagnation margin during distillation; experiments across eight SLMs report reduced stagnation and improved success and completion efficiency.

  • Problem

    SFT-distilled students can repeat failed strategies and stall as reasoning-action histories and environmental feedback accumulate.

    Source: §2.2 · p. 3
  • Method

    ProD detects and penalizes stagnation in student trajectories by adaptively encoding the student–teacher stagnation gap into an optimization margin.

    Source: §1 · p. 2, §3 · p. 5
  • Results

    Across eight SLMs, ProD mitigates stagnation and improves success rates and task-completion efficiency; average accuracy gains over SFT are 4.7% in-domain and 4.9% out-of-domain.

    Source: §1 · p. 2, §4.2 · p. 7
  • Takeaways & Limitations

    Iterative optimization enables students to progressively approximate teacher behavior while addressing stagnation in distilled SLM agents.

    Source: §1 · p. 2

    Trajectory-level scores identify broad teacher–student behavioral gaps but do not distinguish the root causes of stagnation.

    Source: L Discussion · p. 21

Abstract

from arXiv · show

While LLM-based agent systems have demonstrated remarkable proficiency in reasoning and solving complex real-world tasks, they also come with substantial token consumption and inference latency, limiting their practical deployment. To enhance the efficiency of agent systems, recent efforts have focused on transferring agentic capabilities from large-scale models to small language models (SLMs) via supervised fine-tuning-based distillation. Nevertheless, as interaction trajectories grow longer, involving extended reasoning-action chains and extensive environmental feedback, distilled student agents tend to experience progress stagnation: becoming trapped in unproductive loops characterized by persistent failed strategies and difficulty making meaningful progress. Our systematic analysis shows that this phenomenon consistently occurs across diverse SLMs and task domains. To address this issue, we propose Progress-Aware Distillation (ProD), which explicitly detects and penalizes stagnation in student-generated trajectories. ProD encodes the stagnation gap between student and teacher into an adaptive margin for dynamically penalizing possible stagnation. By iteratively applying this procedure, ProD enables student agents to progressively approximate teacher behavior. Extensive experiments involving 8 SLMs, ranging from 0.6B to 8B parameters, on both in-domain and out-of-domain benchmarks, demonstrate that ProD substantially mitigates progress stagnation while enhancing both the success rates and task-completion efficiency of distilled SLM agents.

1 Introduction

Large-model agents can solve demanding tasks, but their token consumption and inference latency hinder practical deployment; SFT distillation transfers agentic capabilities to smaller models. Those students can stagnate in unproductive loops, motivating ProD’s adaptive correction and evaluation across eight SLMs.

1 Introduction

  • Large-backbone agents achieve high task success, but their token consumption and inference latency pose barriers to practical deployment.Agent distillation transfers capabilities from large models to SLMs through supervised fine-tuning on teacher trajectories.Source: §1 · pp. 1–2
  • SFT-distilled agents can repeat failed strategies in unproductive loops, a problem that worsens with longer trajectories and smaller models.The analysis reports stagnation across model families and task domains.Source: §1 · p. 2
  • ProD detects and penalizes stagnation in student-generated trajectories, encoding the student–teacher stagnation gap as an adaptive margin.The margin strengthens correction for stagnant behavior while limiting intervention when student progress aligns with the teacher.Source: §1 · p. 2
  • Across in-domain and out-of-domain benchmarks, ProD mitigates stagnation while improving success rates and task-completion efficiency for distilled SLM agents.Experiments cover eight SLMs ranging from 0.6B to 8B parameters.Source: §1 · p. 2

2 Progress Stagnation Analysis

This section describes SFT-based agent distillation and analyzes progress stagnation in distilled students. It defines turn-level stagnation measures and compares student behavior with the teacher across tasks and models.

2.1 Preliminaries: Agent Distillation via SFT

  • SFT distillation trains a student on successful teacher trajectories of thoughts, actions, and observations, calculating loss on teacher-generated tokens while masking observations.The teacher trajectories are collected from teacher-model interactions with a user query and agent instruction.Source: §2.1 · pp. 2–3

2.2 Progress Stagnation in SFT-Distilled Agents

  • Turn-level stagnation scores measure whether a thought–action pair revisits earlier turns, using lexical overlap, semantic similarity, or an LLM judge.Lexical and semantic scores compare each turn against all previous turns; analysis focuses on the teacher–student gap because tasks can have different benign overlap.Source: §2.2 · pp. 3–4
  • Distilled SLMs stagnate more than the teacher, with the disparity growing as model scale decreases or trajectory length increases.The analysis reports lexical, semantic, and judgment scores; lexical stagnation approaches 0.9, and the three metrics correlate at r > 0.92. The trend also appears across model families, under full-parameter fine-tuning, and on distillation training data.Source: §2.2 · p. 4, Figure 2 · p. 4, Table 2 · p. 4

3 Progress-Aware Distillation for SLM Agents

ProD starts from an SFT student and penalizes stagnant student trajectories using an adaptive margin based on student–teacher stagnation differences. It combines progress-aware optimization with SFT training and can repeat the procedure with fresh student trajectories.

  • Starting from an SFT student, ProD generates student trajectories for dataset queries and compares their progress with teacher trajectories.Source: §3 · p. 5
  • The adaptive margin encodes the student–teacher stagnation gap, increasing corrective updates for pronounced stagnation while limiting intervention as student progress approaches the teacher’s.Source: §3 · p. 5
  • ProD combines stagnation severity with answer correctness, assigning the largest margins to student trajectories that are both highly stagnant and incorrect.Source: §3 · p. 5
  • ProD retains the SFT loss to preserve teacher-trajectory likelihood and can iteratively recompute penalties from fresh student generations.Source: §3 · p. 5

4 Experiments

The experiments evaluate ProD across eight student backbones, in-domain and out-of-domain tasks, and several stagnation and efficiency measures. They report improvements over SFT and examine repetition-control baselines, iterative optimization, and objective components.

4.1 Experimental Settings

  • Eight student models from 0.6B to 8B parameters are evaluated on MATH and HotpotQA in-domain, with additional out-of-domain benchmarks and stagnation measures.Experiments use CodeAct, LoRA, greedy decoding, and a 10-turn inference horizon; Figure 3 compares turn-level lexical stagnation and average semantic and judgment stagnation.Source: §4.1 · pp. 6–7, Figure 3 · p. 7

4.2 Main Results

  • 4.7% in-domain and 4.9% out-of-domain accuracy gains over SFT accompany reduced stagnation and interaction length across benchmarks.ProD also improves average accuracy over base models by 29.2% in-domain and 18.5% out-of-domain.Source: §4.2 · p. 7, Table 4 · p. 7

4.3 Comparison with Repetition-Control Methods

  • ProD outperforms decoding-time repetition penalties and shortened teacher demonstrations; the latter reduce average trajectory steps from 4.98 to 2.65 but yield minimal gains over SFT.The comparison indicates that these approaches do not constrain the student's own behavior during optimization.Source: §4.3 · pp. 7–8, Table 5 · p. 8

4.4 Effects of Iterative ProD Optimization

  • Two ProD iterations further reduce stagnation and improve final-answer accuracy, bringing student progress dynamics closer to the teacher when one round leaves a gap.Each iteration uses the previous student as the new base, regenerates trajectories, and recomputes stagnation gaps and adaptive margins.Source: §4.4 · p. 8, Figure 4 · p. 8

4.5 Ablation Studies

  • Removing both SFT loss and adaptive margin produces unstable results and underperforms SFT on Qwen3-4B and Gemma3-4B-it; fixed-margin ProD beats SFT but trails full ProD.The results support complementary roles for teacher-trajectory anchoring and adaptive correction.Source: §4.5 · pp. 8–9, Figure 5 · p. 9
  • The best average accuracy is consistently achieved at α = 0.5, which balances stagnation gap and answer correctness; using the stagnation gap alone still improves over SFT.The study compares α = 1, which uses only the stagnation gap, with α = 0, which uses only answer correctness.Source: §4.5 · pp. 8–9, Table 6 · p. 9

5 Related Work

The related work covers distillation of reasoning chains and interactive agent behavior. The paper positions its contribution as addressing stagnation in agent distillation with a training-time intervention.

Chain-of-Thought Distillation

Agent Distillation

  • Agent distillation trains students on interactive teacher trajectories, but the SFT paradigm does not adequately address stagnation during student interactions.The cited paradigm masks environmental observations in the training loss to encourage coherent student thoughts and actions.Source: §5 · p. 9

6 Conclusion

The conclusion identifies progress stagnation as a limitation of SFT-based agent distillation and presents ProD as a way to reduce it. The appendix describes an LLM judge that scores stagnation turn by turn.

6 Conclusion

  • ProD measures student–teacher behavioral discrepancies and adaptively penalizes stagnation; experiments report higher task success and execution efficiency, while future work targets finer progress metrics and stagnant-action localization.The conclusion states that stagnation worsens with longer interaction horizons and smaller model scales.Source: §6 · p. 9

A LLM-as-Judge Setup for Progress Stagnation

  • GPT-4.1 trajectories are scored by an LLM judge from 0.0 to 1.0 starting at turn two, with stagnation defined by repeated failed strategies lacking meaningful progress.The appendix identifies GPT-5.4 as the evaluator and describes score levels from new directions to near-identical repeated actions.Source: A LLM-as-Judge Setup for Progress… · p. 13

B Additional Experimental Details

The appendix reports the implementation environment, training and hyperparameter-selection procedures for SFT and ProD, and answer-evaluation prompts for factual and mathematical reasoning.

B Additional Experimental Details

B.1 Hyperparameters

  • SFT checkpoints are selected by in-domain accuracy after evaluating up to five epochs; a learning rate of 2 × 10−4 performs best across models and tasks.Three epochs suffice for most models, while Llama3.1-8B and Llama3.2-3B peak after two epochs on MATH and degrade with further training.Source: §B.1 · p. 14
  • ProD uses β = 2.5, λ = 1, and default α = 0.5, with its learning rate and initial margin c0 selected using in-domain results.Out-of-domain evaluations use the selected models without additional training.Source: §B.1 · p. 14

B.2 Evaluation Prompts

  • For factual and mathematical reasoning, an LLM judge evaluates answer correctness to handle equivalent answers and surface-form variation that strict string matching may miss.The factual prompt accepts meaning-preserving phrasing and aliases but treats verbose answers missing key information as incorrect; the prompts return a JSON explanation and binary score.Source: §B.2 · p. 15

C Evaluation of Progress Stagnation under Full-Parameter Fine-Tuning

Full-parameter fine-tuning does not eliminate progress stagnation in SFT-distilled agents; it remains pronounced and can be worse than LoRA for Qwen models.

C Evaluation of Progress Stagnation under Full-Parameter Fine-Tuning

  • FFT-distilled agents still show pronounced progress stagnation, and Qwen agents sometimes stagnate more than their LoRA-trained counterparts.The authors suggest unrestricted parameter updates may amplify imitation bias and exacerbate unproductive interaction loops.Source: C Evaluation of Progress Stagnation… · p. 15, Figure 6 · p. 16

D Evaluation of Progress Stagnation on the Distillation Training Data

SFT-distilled students exhibit severe stagnation even on the dataset used to train them, supporting the use of ProD to penalize stagnation during distillation.

D Evaluation of Progress Stagnation on the Distillation Training Data

  • Students show stagnation on 1,000 sampled training queries at levels similar to those on held-out evaluation sets, while teacher trajectories are compared alongside them.This indicates SFT alone does not give students the teacher’s ability to avoid stagnation, even on distillation data.Source: D Evaluation of Progress Stagnation on… · p. 16, Figure 7 · p. 16

E Gradient Analysis of the ProD Objective

The ProD gradient analysis links update strength to an adaptive margin based on student stagnation and final-answer correctness, focusing optimization on unproductive behavior while limiting over-correction.

E Gradient Analysis of the ProD Objective

  • More-stagnant student trajectories with incorrect answers receive larger margins and gradient weights, while comparable-progress trajectories with correct answers receive smaller weights.The margin captures the student–teacher stagnation gap and directs updates toward unproductive student behavior.Source: E Gradient Analysis of the ProD… · pp. 16–17

F ProD with Alternative Progress Metrics

On HotpotQA, ProD with a semantic stagnation signal achieves performance comparable to ProD, supporting robustness to the choice of stagnation metric.

F ProD with Alternative Progress Metrics

G Additional Results on Gemma 3 Models

ProD reduces stagnation in Gemma3 student agents, extending the reported findings across model families. Figure 8 presents lexical, semantic, and judgment-based stagnation comparisons.

G Additional Results on Gemma 3 Models

H Training Overhead

This section outlines ProD’s training costs and inference-token usage, along with related objective comparisons, qualitative behavior, limitations, safeguards, and reporting choices. It also covers checklist disclosures on societal impact, asset use, human-subject research, and LLM use.

H Training Overhead

  • ProD atop SFT incurs additional cost mainly from student rollout generation, lexical stagnation-score computation and ProD training; one rollout per training question is preprocessed once, while inference token usage drops 20.7%.The main experiments use the lexical stagnation-score variant, and all experiments run on a single H200 GPU; Table 10 reports component wall-clock times for two representative models.Source: H Training Overhead · p. 17, Table 10 · p. 18

I Prompt for Concise-Trajectory SFT

  • For teacher trajectories with at least four interaction steps, the concise-trajectory SFT procedure prompts the teacher to solve the question again using its successful trajectory as context.The prompt encourages avoiding redundant searches, combining information, and skipping unnecessary steps while requiring at least one tool-based search.Source: I Prompt for Concise-Trajectory SFT · p. 18

J Comparison with Preference-Based Objectives

  • Both on-policy SimPO and DPO underperform ProD, with DPO also below SFT; ProD’s adaptive margin accounts for teacher–student stagnation gaps and trajectory severity.The authors attribute the difference to fixed-margin or margin-free objectives’ inability to account for trajectory-specific stagnation, risking overcorrection or under-optimization.Source: J Comparison with Preference-Based… · p. 18, Table 11 · p. 19

K Qualitative Study

  • In two HotpotQA cases, SFT agents persist with near-duplicate failed searches, while ProD agents use intermediate evidence or change strategy to escape stagnation and solve the questions.Figure 9 shows a two-hop search guided by intermediate observations; in Figure 10, the ProD agent changes strategy after two unsuccessful trials.Source: K Qualitative Study · p. 19, Figure 9 · p. 19, Figure 10 · p. 20

L Discussion

  • The trajectory-level stagnation scores identify teacher–student behavioral gaps but do not distinguish causes such as misread observations, failure to update plans, over-trusting failed tool calls, or insufficient task knowledge.The authors propose finer-grained progress metrics and targeted corrective signals as future work.Source: L Discussion · p. 21
  • The implementation uses CodeAct sandboxing with restricted tool access as a basic safeguard, while acknowledging that sandboxing is incomplete and promising usage guidelines and safeguards at release.The discussion notes that smaller, locally deployable agents may interact with external tools, execute code, or retrieve web information.Source: L Discussion · p. 21

NeurIPS Paper Checklist

  • The authors report no experimental error bars, citing the high computational and evaluation costs involved.Source: NeurIPS Paper Checklist · p. 25
  • The checklist marks societal-impact discussion and responsible-release safeguards as addressed in Appendix L.The checklist answers yes to both questions but does not specify the discussion or safeguards in these passages.Source: NeurIPS Paper Checklist · p. 26
  • The paper reports that creators and original owners of used assets are credited, and that it releases no new assets.The checklist marks the existing-assets credit and licensing question yes, and the new-assets documentation question N/A because no new assets are released.Source: NeurIPS Paper Checklist · p. 27
  • The paper states that it involves no crowdsourcing experiments or research with human subjects.Source: NeurIPS Paper Checklist · p. 28
  • LLMs are used as teacher agents to collect training data and as judges to evaluate task-execution outcomes, with details in Appendix B.Source: NeurIPS Paper Checklist · p. 28
Loading 2610.19439v1…