A-Train: Agentic End-to-End Optimization for Efficient ML Training
Hao Mark Chen, Jiakun Fan, Dongsheng Yang, Neiwen Ling, Yufa Zhou, Yuxuan Xia, Hongxiang Fan, Qing Xiao
Abstract
General purpose ML training frameworks separate systems engineering from the learning algorithm, leaving large speedups unrealized while manual specialization across shifting models, devices, and datasets does not scale. As AI systems accelerate research on their successors toward recursive self improvement (RSI), training compute is becoming a primary bottleneck. We present A-Train, an autonomous agentic system where a single coding agent co designs the learning algorithm and systems implementation end to end to minimize time to a fixed quality target. To balance verification cost against reuse, A-Train combines a minimal agent loop, regularized search with evaluator controlled recipes and hidden validation traces, and an asynchronous, layered evaluator. Across six language and speech settings spanning datacenter GPUs, a consumer GPU, and a CPU, frozen trainers from the four fixed model, fixed device searches meet all main held out targets after recipe refitting, delivering 3.77-14.10x speedups over tuned PyTorch references, 3.51x over tuned torchtitan on HBM3, and up to 5.59x over systems only search. When hardware or models vary, agents embed runtime self calibration and correctness guards to transfer within validation coverage; more importantly, during search and discovery, they also invent methods including permutation sorted FP4 gradients, scale folding FP8 gradients, and zero weight compile twins. These results establish reusable, end to end workload specialization as a scalable alternative to hand tuned training frameworks.
Create a lesson
Related papers
Borrowed Models & Synthetic Pre-Training: Efficient Alternatives to Domain-Specific Foundation Models
Shared title terminologycs.LGJianhao Wu, Vinicius Mikuni, Benjamin Nachman et al.
SpecZip: Efficient Speculative Drafter Training on Compressed Hidden-State Caches
Shared title terminologycs.LGMinsub Kim, Jaeeun Kil, Sungjae Lee et al.
Multimodal Scaling Laws for Task & Data-Optimized Models of Visual Cortex
Shared title terminologycs.LGAbdulkadir Gokce, Yingtian Tang, Martin Schrimpf
Sample Efficient Ranking of Language Models Using Pairwise Comparisons
Shared title terminologycs.LGSomnath Basu Roy Chowdhury, Rahul Kidambi, Avinava Dubey et al.
Minimax Optimal Regret Bound for Adversarial MDPs with Unknown Transitions
Shared title terminologycs.LGMingyi Li, Taira Tsuchiya
Auditing Adversarial Robustness with Training-time Canaries
Shared title terminologycs.LGYoojin Jung, Sebastian Szyller