Paper · Kernels and compilers
A-Train
A-Train: Agentic End-to-End Optimization for Efficient ML TrainingAn autonomous agentic system optimizes ML training algorithms and their system implementations end to end, achieving up to 14x speedups over tuned PyTorch references.

The loop
A coding agent co-designs the learning algorithm and systems implementation end to end to minimize training time. This accelerates the training compute bottleneck for subsequent models, speeding up the research cycle.
The loop
A-Train- Coding agent optimizes learning algorithm
- Agent optimizes system implementation
- Accelerates training compute
- Speeds up successor model training
- Coding agent optimizes learning algorithm
- Agent optimizes system implementation
- Accelerates training compute
- Speeds up successor model training
↻ The improved system does the next round, and the loop turns again.
Why it is a road to recursion
Training compute is a primary bottleneck for recursive self-improvement, and automating the end-to-end co-design of learning algorithms and systems removes the human engineering limit.
Evidence
Delivered 3.77-14.10x speedups over tuned PyTorch references and 3.51x over tuned torchtitan on HBM3.
training-efficiencyagentic-optimizationco-design
Related loops
More kernels and compilers →
AlphaEvolve
- Gemini models propose code changes
- Evaluators keep best scoring versions
- Finds better Gemini training kernels
- Lowers cost to train next Gemini models
- repeat
Kernels and compilersGoogle DeepMind · 2025

KernelEvolve
- LLM agents write and benchmark kernels
- Kernels speed up AI model training
- Session data post-trains smaller kernel models
- repeat
Kernels and compilersMeta · 2025

TPU autoresearch
- Coding agent edits LLM training code
- Agent benchmarks code on TPU hardware
- Verdict becomes context for next hypothesis
- Wins raise training throughput for same models
- repeat
Kernels and compilersAleksey Vlasenko · 2026