AVO: Agentic Variation Operators for Autonomous Evolutionary Search

Terry Chen, Zhifan Ye, Bing Xu, Zihao Ye, Timmy Liu, Ali Hassani, Tianqi Chen, Andrew Kerr, Haicheng Wu, Vedaanta Agarwalla, Fengzhe Zhou, Shangda Li, Yang Xu, Yu-Jung Chen, Hanfeng Chen, Aditya Kane, Ronny Krashinsky, Ming-Yu Liu, Vinod Grover, Luis Ceze, Roger Bringmann, John Tran, Wei Liu, Feng Xie, Michael Lightstone, Humphrey ShiNeurIPS 2026

TL;DR

What happens when you stop treating a Large Language Model like a blindfolded slot machine inside an evolutionary algorithm, and instead let an autonomous coding agent run the entire show? Researchers at NVIDIA introduced Agentic Variation Operators (AVO), giving an AI agent a manual, a profiler, and a week of uninterrupted time on their newest Blackwell GPUs. By reasoning through hardware bottlenecks just like a human systems engineer, the agent evolved attention kernels that beat the world's best human-tuned libraries—including NVIDIA’s own cuDNN and FlashAttention-4.

What Problem Does This Paper Address?

Using LLMs to evolve code isn't new—systems like FunSearch and AlphaEvolve have already used them to discover clever mathematical algorithms. However, these classical evolutionary frameworks keep the LLM on a tight leash. A rigid, pre-programmed outer loop picks "parent" code, hands it to the LLM for a single-shot mutation, and evaluates the output. The LLM can’t pause to read documentation, run a diagnostic test, or fix a silly compiler error before submitting its work.

That single-shot setup falls apart when you try to optimize the absolute bleeding edge of AI infrastructure: GPU attention kernels. Attention is the computational heartbeat of Transformers, and libraries like FlashAttention-4 and cuDNN represent months of grueling manual optimization by elite hardware engineers. Squeezing even 1% more speed out of a brand-new chip like the NVIDIA Blackwell (B200) requires deep, iterative engineering—juggling memory bandwidth, instruction pipelines, and register budgets all at once. Blindly guessing code mutations won't cut it.

Methods

Instead of confining the LLM to a "generate" step inside a fixed pipeline, the authors elevate a deep, general-purpose coding agent (powered by Claude Opus 4.6) to be the variation operator—calling this Agentic Variation Operators (AVO).

The AVO Main Agent Loop

Here is how AVO replaces standard heuristics with autonomous engineering:

  • Rich Inputs: Rather than just seeing a couple of sampled parent programs, the agent gets unrestricted access to the entire historical lineage of past code versions (stored as git commits), a scoring utility (checking numerical correctness and TFLOPS throughput), and a Knowledge Base containing CUDA guides, PTX instruction docs, Blackwell hardware specs, and reference codebases.
  • Self-Directed Loop: Within a single variation step, the agent plans, edits CUDA/PTX code, compiles, profiles bottlenecks, and debugs correctness failures in a continuous cycle. It only commits a new version to the lineage once it works and matches or beats the current best score.
  • Supervisor Agent: Left alone for days, agents can get stuck in rabbit holes or repetitive loops. AVO pairs the main worker with a lightweight supervisor mechanism that monitors for stagnation and nudges the agent toward fresh optimization strategies when progress plateaus.

Datasets

Because this is a pure systems-optimization paper rather than a model-training study, traditional datasets do not apply. Instead, no training data is used, and the system is evaluated on live hardware execution benchmarks on NVIDIA B200 GPUs (measuring BF16 forward-pass prefilling throughput across sequence lengths from 4K to 32K tokens):

  • Multi-Head Attention (MHA): 16 heads, head dimension 128 (causal and non-causal).
  • Grouped-Query Attention (GQA): Configurations mirrored from the Qwen3 model family (group sizes 4 and 8).
  • Additional Kernels: GatedDeltaNet (linear attention) and Triangle Attention (a core AlphaFold operator) to test generalization.

Key Insights and Ideas

  • Genuine Hardware Reasoning, Not Lucky Hacks: Examining the 40 committed versions from a 7-day run (out of 500+ internal attempts) shows the agent making holistic micro-architectural breakthroughs. For instance, it replaced a conditional branch in online softmax rescaling with speculative branchless math—sacrificing tiny compute cycles to eliminate warp divergence and unlock lighter memory fences (+8.1% non-causal speedup). In another step, it noticed warp groups spilling data to slow local memory and carefully rebalanced hardware registers from 192/80/48 to 184/88/56 (+2.1% speedup).
  • Evolution Moves in Punctuated Leaps: Performance didn't creep up smoothly; it jumped at distinct architectural "aha" moments separated by flat plateaus where the agent quietly tidied up code structure, setting the stage for the next breakthrough.
  • Lightning-Fast Transfer: Hardware insights aren't brittle. Once AVO spent 7 days evolving an elite MHA kernel, the authors asked it to adapt that code for Grouped-Query Attention (GQA). Without human help, the agent generalized its optimizations to GQA's distinct memory patterns in just 30 minutes.

Key Results

Across evaluated configurations on NVIDIA B200 GPUs, AVO surpassed state-of-the-art human-engineered baselines:

  • Multi-Head Attention: Achieved up to 1668 TFLOPS, outperforming closed-source cuDNN by up to 3.5% and open-source FlashAttention-4 (FA4) by up to 10.5% on causal attention.
  • Grouped-Query Attention: After just 30 minutes of autonomous adaptation, AVO beat cuDNN by up to 7.0% and FA4 by up to 9.3%.
Grouped-query attention throughput across group sizes
  • Beyond Standard Attention: Achieved up to a 4.1× speedup over Flash Linear Attention on GatedDeltaNet, consistent gains over NVIDIA's cuEquivariance on Triangle Attention, and a ~31% improvement over traditional LLM-evolutionary baselines given the same wall-clock budget.

Limitations and Future Work

To isolate the power of the agentic operator itself, the authors restricted AVO in this study to a single-lineage setup—essentially evolving one continuous git branch of improvements. While effective, classical evolution thrives on population diversity. Integrating AVO into multi-branching, archive-based, or "island-model" evolutionary populations—where multiple autonomous agents explore different architectural philosophies in parallel and cross-pollinate ideas—remains a rich open frontier, alongside applying AVO to broader scientific and systems software domains.

Summary updated

Abstract

Agentic Variation Operators (AVO) are a new family of evolutionary variation operators that replace the fixed mutation, crossover, and hand-designed heuristics of classical evolutionary search with autonomous coding agents. Rather than confining a language model to candidate generation within a prescribed pipeline, AVO instantiates variation as a self-directed agent loop that can consult the current lineage, a domain-specific knowledge base, and execution feedback to propose, repair, critique, and verify implementation edits. We evaluate AVO on attention, among the most aggressively optimized kernel targets in AI, on NVIDIA Blackwell (B200) GPUs. Over 7 days of continuous autonomous evolution on multi-head attention, AVO discovers kernels that outperform cuDNN by up to 3.5% and FlashAttention-4 by up to 10.5% across the evaluated configurations. The discovered optimizations transfer readily to grouped-query attention, requiring only 30 minutes of additional autonomous adaptation and yielding gains of up to 7.0% over cuDNN and 9.3% over FlashAttention-4. Together, these results show that agentic variation operators move beyond prior LLM-in-the-loop evolutionary pipelines by elevating the agent from candidate generator to variation operator, and can discover performance-critical micro-architectural optimizations that produce kernels surpassing state-of-the-art expert-engineered attention implementations on today’s most advanced GPU hardware.
BibTeX
@inproceedings{chen2026avo,
  author = {Terry Chen and Zhifan Ye and Bing Xu and Zihao Ye and Timmy Liu and Ali Hassani and Tianqi Chen and Andrew Kerr and Haicheng Wu and Vedaanta Agarwalla and Fengzhe Zhou and Shangda Li and Yang Xu and Yu-Jung Chen and Hanfeng Chen and Aditya Kane and Ronny Krashinsky and Ming-Yu Liu and Vinod Grover and Luis Ceze and Roger Bringmann and John Tran and Wei Liu and Feng Xie and Michael Lightstone and Humphrey Shi},
  title = {{AVO: Agentic Variation Operators for Autonomous Evolutionary Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MFTuhhh6v1},
}
Figure