AutoTrainess: Teaching Language Models to Improve Language Models Autonomously

Zhaojian Yu, Penghao Yin, Shuzheng Gao, Shilin He, Kai Cai +1 more
6/30/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Training language models (LMs) remains a highly human-intensive process, even as frontier language model agents become increasingly capable at software engineering and other long-horizon tasks. A central challenge is that autonomous post-training is not just a coding problem: it requires the agent to repeatedly plan iterations, construct benchmark-aligned data, run stable training jobs, evaluate checkpoints, and preserve experiment state across many hours of interaction. We present AutoTrainess, a LM agent that exposes these operations as a repository of agent-computer interfaces for planning, data preparation, training, evaluation, and logging. Rather than leaving the agent to operate in a raw CLI environment with an underspecified action space, AutoTrainess externalizes prior human experience as explicit workflows, rules, and execution constraints that guide the agent toward effective and reliable training behavior. On PostTrainBench, AutoTrainess consistently outperforms CLI-only baselines, achieving 26.94 average score with GPT-5.4 (Codex) versus 23.21 for CLI-only. It also generalizes across models and harnesses, improving DeepSeek-V4-Flash (OpenCode) from 12.13 to 19.58.

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{yu2026autotrainess,
  title  = {AutoTrainess: Teaching Language Models to Improve Language Models Autonomously},
  author = {Zhaojian Yu and Penghao Yin and Shuzheng Gao and Shilin He and Kai Cai and Xiao-Ping Zhang},
  year   = {2026},
  eprint = {2606.31551},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.31551v1}
}

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/2606.31551.svg)](https://codeofpaper.com/paper/2606.31551)

Discussion