Stop Hand-Designing Heuristics: Let Agents Evolve Code Autonomously
Based on research by Terry Chen, Zhifan Ye, Bing Xu, Zihao Ye, Timmy Liu
Traditional software development relies on human experts to manually tune complex algorithms such as multi-head attention kernels. However, a new method called Agentic Variation Operators is transforming this paradigm by replacing fixed mutation and crossover strategies with autonomous coding agents. These self-directed loops continuously consult knowledge bases and execution feedback to propose, repair, and verify code changes without human intervention.
In a remarkable demonstration of performance, these agents were deployed on NVIDIA Blackwell GPUs for over seven days of continuous evolution. The resulting kernels not only kept pace with the best existing solutions but significantly outperformed them. AVO discovered optimizations that surpassed industry-standard cuDNN by up to 3.5% and FlashAttention-4 by a staggering 10.5%. Furthermore, these breakthroughs adapted quickly to grouped-query attention formats in just thirty minutes, delivering additional gains of over 7% and 9.3% respectively. This proves that AI agents can now serve as true variation operators rather than mere candidate generators, autonomously unlocking micro-architectural efficiency on today's most advanced hardware that previously required years of expert engineering.