mlsanityData to 7 Oct 2026

Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariants

arXiv 2604.18616 ↗First posted 16 Apr 2026cs.DC cs.AI cs.PLcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

LLM coding agents can generate correct GPU kernels, but their performance still trails expert libraries. Reaching peak throughput requires coordinating low-level optimizations such as shared-memory staging, software pipelining, and instruction scheduling. Yet unit tests and profiles provide only sparse end-to-end feedback, making it difficult for agents to identify which global constraints an optimization violates. We present Ave, an agentic framework that uses data-flow invariants as compile-time guardrails for GPU kernel optimization. Ave provides a tile-based Pythonic DSL that exposes hardware instructions and compiler policies while abstracting complex memory layouts. Tag functions assign symbolic labels to data, the compiler propagates them through data and control flow, and tag assertions enforce required relationships at use sites. A flow-sensitive, path-insensitive analysis with an SMT solver checks these assertions and returns concrete counterexamples for violations, with no runtime overhead. An in-context reinforcement learning planner proposes optimizations from a curated knowledge base, while a lowering agent implements them and instantiates the required invariants. We evaluate Ave on AMD MI300X across GEMM, flash attention, and MoE, which together account for up to 90% of GPU time in LLM inference. With GPT-5.6 Sol, Ave achieves 89-99% of the effective throughput of state-of-the-art hand-optimized libraries and improves geometric-mean throughput by 1.62-1176x over uncontaminated agentic baselines. On 200 KernelBench tasks, Ave produces valid kernels within three attempts for 100% of Level 1 and 88% of Level 2 problems.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 25 of its 83 references that are in the map. First posted on arXiv 16 Apr 2026.

Builds on

25 of 83 references.

Closest ancestors · 7

Same direction, newest first

  1. 2026Improving Efficiency of GPU Kernel Optimization Agents using a Domain-Specific Language and Speed-of-Light Guidance30 Mar
  2. 2026CUCo: An Agentic Framework for Compute and Communication Co-design2 Mar
  3. 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation27 Feb
  4. 2026KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learning15 Feb
  5. 2025ProofWright: Towards Agentic Formal Verification of CUDA15 Nov
  6. 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimization23 Oct
  7. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization16 Sep

Other references · 18

  1. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  4. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  5. 2024TextGrad: Automatic "Differentiation" via Textcited by 250
  6. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  7. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  8. 2018Online normalizer calculation for softmaxcited by 154
  9. 2025Comet: Fine-grained Computation-communication Overlapping for Mixture-of-Expertscited by 46
  10. 2024Mirage: A Multi-Level Superoptimizer for Tensor Programscited by 39
  11. 2024LLMs Are In-Context Bandit Reinforcement Learnerscited by 27
  12. 2024Benchmarking and Dissecting the Nvidia Hopper GPU Architecturecited by 23
6 more
  1. 2026AVO: Agentic Variation Operators for Autonomous Evolutionary Searchcited by 19
  2. 2026K-Search: LLM Kernel Generation via Co-Evolving Intrinsic World Modelcited by 17
  3. 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 14
  4. 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computationcited by 3
  5. 2025Analyzing Modern NVIDIA GPU corescited by 1
  6. 2025HipKittens: Fast and Furious AMD Kernelscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026StitchCUDA: An Automated Multi-Agents End-to-End GPU Programing Framework with Rubric-based Agentic Reinforcement Learning
  2. 2026Agentic Kernel Optimization: Generating State-of-the-Art GPU Kernels Without Hand-Written CUDA
  3. 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents
  4. 2025STARK: Strategic Team of Agents for Refining Kernels
  5. 2026AsmEvo: Agentic Assembly-Level Optimization of AMD GPU Kernels with Functional Equivalence Verification
  6. 2026KernelArc: A Multi-Agent Framework for GPU Kernel Optimization
  7. 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization
  8. 2026A Two-Stage GPU Kernel Tuner Combining Semantic Refactoring and Search-Based Optimization