AutoMaster: Autonomous Post-Training by Making the Same Model a Better Teacher

Guoxin Chen, Shuang Sun, Fanzhe Meng, Xinyu Tang, Ruihua Song, Wayne Xin Zhao

TL;DR

AutoMaster is an autonomous post-training system that uses an LLM agent to design natural-language "skills" that shape teacher behavior during data generation. By guiding a teacher model to demonstrate robust reasoning rather than just correct answers—and retaining that instructional context during fine-tuning—AutoMaster significantly outperforms standard supervised fine-tuning (SFT) across complex reasoning tasks.

AutoMaster improves student performance by shaping teacher behavior beyond simple task success.

What Problem Does This Paper Address?

The standard recipe for improving LLMs via Supervised Fine-Tuning (SFT) is to collect "successful" trajectories from a stronger teacher model and train a student to mimic them. However, the authors argue that task success is a noisy signal.

A teacher might reach the correct answer through "unproductive" means: lucky guesses, redundant repetitions, or superficial verification. If a student model mimics these successful but flawed trajectories, it internalizes bad habits. The core challenge is: how can we ensure a teacher model demonstrates high-quality behavior that is actually worth imitating, even on tasks it can already solve?

Methods

The researchers introduce Skill-FT (Skill-Guided Fine-Tuning) and the AutoMaster framework to orchestrate it.

  1. Skill-FT: Instead of unguided rollouts, the teacher is given specific natural-language "skills" (e.g., "verify your solution with different worker counts" or "trace failures to their source") appended to its system prompt. This actively suppresses undesirable habits and elicits effective, underrepresented behaviors.
  2. The AutoMaster Agent: An autonomous agent (powered by GPT-6 Astra) manages two nested loops:
  3. Inner Loop: Analyzes teacher/student trajectories to identify "bad patterns," designs new skills to counter them, runs pilot rollouts to test these skills, and curates the final training set.
  4. Outer Loop: Executes the SFT process and uses evaluation feedback to inform the next round of skill design.
  5. Skill Context Retention: Uniquely, the skill instructions used to guide the teacher are retained in the student's training data. Even though these skills are removed during final evaluation, keeping them during training helps the student better internalize the "why" behind the teacher's actions.
The AutoMaster framework uses an LLM agent to autonomously design, test, and refine behavioral interventions.

Datasets

The system was evaluated on three diverse domains using a fixed pool of 1,000 training tasks per domain:

  • Terminal-Bench 2.1: Command-line interface tasks requiring tool use and system interaction.
  • BrowseComp (Lite-185): Web-based information retrieval and browsing tasks.
  • Doc2Repo: Software engineering tasks involving mapping documentation to repository structures.

Key Insights and Ideas

  • Behavioral Shaping > Raw Success: A fixed model can be made a significantly better teacher just by changing its instructions. Figure 5 illustrates this: an unguided teacher might guess an answer repeatedly, while a skill-guided teacher is forced to verify evidence from episode credits, leading to a much higher-quality demonstration.
  • Prompts as Training Scaffolds: Retaining skill instructions during SFT acts as a "behavioral rule" that makes the conditions of application explicit. The authors found that students perform better when they see the "hint" during training, even if they have to fly solo at test time.
  • Closing the Loop: AutoMaster demonstrates that LLM agents can autonomously diagnose model weaknesses and engineer their own training data interventions, moving us closer to self-improving AI systems.
Qualitative examples showing how skill guidance transforms "lucky" successes into robust, verifiable reasoning.

Key Results

AutoMaster consistently outperformed "Vanilla SFT" (which uses randomly sampled successful but unguided teacher trajectories) across all settings:

  • Performance Gains: Mean performance improved by 1.42 to 8.99 percentage points.
  • Model Scaling: The 9B student model saw larger gains than the 4B model, suggesting that higher-capacity models are better at internalizing the complex behaviors elicited by Skill-FT.
  • Ablation Success: Both skill guidance and agent-directed data selection were found to be critical. Removing either component led to a drop in performance.
  • Internalization: Retaining skill instructions during SFT provided a consistent boost of 2.15–4.01 percentage points over training on the same trajectories without the instructions.
Retaining skill instructions during training consistently improves performance, even when those instructions are absent at evaluation.

Limitations and Future Work

  • Agent Dependency: The system currently relies on a very high-capability agent (GPT-6 Astra) to perform trajectory analysis and skill design. It remains to be seen if smaller, open-source models can effectively play the role of the "AutoMaster."
  • SFT Focus: This work focuses on supervised learning. A promising future direction is applying these behavioral skills to guide exploration in Reinforcement Learning (RL) settings.
  • Skill Generalization: Currently, many skills are task-specific. Developing a more generalized, evolving "skill library" could improve the efficiency of the autonomous agent.

Summary updated

Abstract

Task success alone does not specify which behaviors post-training should reinforce. Even successful teacher trajectories can contain unsupported assumptions, unproductive repetition, or superficial verification. We propose Skill-FT (Skill-Guided Fine-Tuning), which uses natural-language skills to suppress undesirable habits and elicit underrepresented effective behaviors during teacher rollouts, then fine-tunes a target model on the resulting trajectories. We introduce AutoMaster, an autonomous post-training system in which an LLM agent develops these interventions through trajectory analysis, skill design, data selection, and feedback from rollouts and target-model evaluation. Across Terminal, Search, and software engineering tasks with 4B and 9B target models, AutoMaster improves mean performance over Vanilla SFT on successful unguided teacher trajectories by 1.42-8.99 percentage points, with the teacher, task pool, training set size, and SFT recipe held fixed. Together with the ablations and trajectory analyses, these results suggest that behavioral shaping can make a fixed model a more effective teacher. We further find that retaining skill instructions during SFT yields higher mean performance than removing them across all six settings, despite their absence at evaluation and identical supervised outputs. These findings suggest that preserving skill context as part of a training demonstration can support better behavioral internalization.
BibTeX
@misc{chen2026automaster,
  author = {Guoxin Chen and Shuang Sun and Fanzhe Meng and Xinyu Tang and Ruihua Song and Wayne Xin Zhao},
  title = {{AutoMaster: Autonomous Post-Training by Making the Same Model a Better Teacher}},
  year = {2026},
  eprint = {2611.26510},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26510},
}
Figure