A coding agent can tune training recipes while checks guard correctness
ATTUNE: Agentic Throughput Tuning for LLM Training · arXiv:2610.17528
In plain words
ATTUNE is a method that uses a coding agent to adjust settings in a large language model training recipe, aiming to make each training step process more tokens per second.
A separate control plane checks proposed settings and compares a candidate's loss curve with the starting recipe before a recipe can ship.
Across three GLM-4.5 campaigns, shipped recipes averaged 33.9% more throughput than that model's public recipe on the study workload using 128 B200 GPUs. For Mixtral-8x22B, ATTUNE kept the public recipe when its best candidate's measured gain fell within the noise band.
The research
Training teams often have to retune a recipe for each model and hardware setup. But can an automated search improve speed while ensuring that a successful run still trains the model as intended? ATTUNE addresses both concerns by pairing recipe search with checks outside the agent.
ATTUNE uses a diagnosis-led coding agent to search training settings, while a separate control plane checks candidates before a recipe ships.
For a given model and training environment, can an automated tuner improve a working recipe without changing what the model learns? ATTUNE has a coding agent diagnose runs and search settings, while a separate control plane checks candidates and the final recipe before shipping.
Researchers compared its shipped recipes with adapted public recipes on each model's workload. Final measurements showed higher mean throughput for MiniMax-M2, GLM-4.5 and Llama-3.1-405B; for Mixtral-8x22B, the best candidate's gain stayed within the noise band, so the public recipe remained. The evidence supports gains in three tested cases, not a universal improvement.
The evaluation held-out models from ATTUNE's development, but used the same software stack, accelerators and agent model. ATTUNE searches settings exposed by the framework and training image, and the study does not show that it finds the fastest possible recipe or works in other environments.
What the evidence shows
- A tuning problem with two risks
ATTUNE is a method that uses a coding agent to tune large language model training recipes. The best settings vary with a model and its training environment, while fixed lists can miss useful combinations.
A job can also complete successfully while a setting changes what the model learns, so checking speed alone is not enough.
- Search paired with independent checks
The agent starts from a working recipe, examines run metrics and logs, and can profile a run or inspect a setting's implementation before changing it. A separate control plane checks proposed settings and decides which measurements count.
Before shipping, it compares the candidate's loss curve with the starting recipe; if no candidate clears the noise band, it keeps the starting recipe.
- Gains varied across models
Researchers compared ATTUNE with adapted public recipes on four models, measuring tokens processed per second per GPU. Across three campaigns, the mean gain was 164.2% for MiniMax-M2, 33.9% for GLM-4.5 and 6.8% for Llama-3.1-405B.
On Mixtral-8x22B, the best candidate's measured gain was within the noise band, so ATTUNE kept the public recipe. The results show improvements on three tested recipes, not a gain in every case.
- Comparison with other tuners
On GLM-4.5 and MiniMax-M2, the researchers compared ATTUNE with four automated tuners under the same model-specific GPU-hour budgets, starting recipes and correctness gate. ATTUNE had the largest mean throughput gain among the five tuners on both models.
On GLM-4.5 its mean gain was 33.9%, compared with 7.8% for the strongest alternative, random search. This advantage is bounded to those tested models and conditions.
- What the component checks show
A separate GLM-4.5 comparison removed ATTUNE's catalog of tuning settings while keeping its loop, rules and scripts. Full ATTUNE's mean throughput was 2.8% higher, within the model's 3% noise band, so the study judged the versions tied.
The gate's separate known-answer test accepted all 132 legitimate runs and rejected 15 of 24 faulty runs. Those findings describe the catalog comparison and tested gate runs, not universal reliability.
Deep
- Original paper authors
- Leo Fan, Hongyang Wang, Wenbo Chen, Jingguo Liu, Xian Li
- Submitted to arXiv
- License
- arXiv non-exclusive