mlsanityData to 24 Nov 2026

Learning to Formulate: Agentic Hardware-Software Co-Design of AI Infrastructure through Progressive Optimization and Verification

arXiv 2610.39380 ↗Submitted 29 Oct 2026cs.AR cs.AI cs.DCcited by 0

On the map: LLM agents and tool use → Software engineering coding agents also fits: General LLM agent frameworks and benchmarks

Abstract (arXiv)

AI infrastructure, the chips and software that train and serve AI models, is designed in layers. Layers make the system manageable, but they also fix which choices an optimizer can consider. Gains that need the chip and its software to change together are excluded before optimization begins: the formulation leaves them out. Language-model agents make it possible to revisit these boundaries, but an agent's proposal cannot show by itself that a design is correct or optimal. We present Formulaic, a flow that divides the work. The agent writes the formulation, a mathematical solver optimizes within it, and verification and measurement check its assumptions and results. The agent refines the problem step by step, from the computation graph toward the chip. Each step is a template: a family of programs with the conditions under which they are correct. Wall relaxation searches the chip by pricing the hardware limits that bind the software. This paper takes a first step, through separate studies rather than one end-to-end run. On NVIDIA GB10, templates the agent wrote run complete Qwen3-8B layers 1.075× faster than SGLang. In a simulated Ventus GPU study, joint design cuts the worst-scenario cycles of Qwen2.5-0.5B to 0.428 of the reference, against 0.934 for software alone. On a five-step GEMM refinement chain, reusing proofs makes checking 2.51× faster.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 44 of its 91 references that are in the map. Submitted 29 Oct 2026.

Builds on

44 of 91 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026Evolving Ensemble of Agents9 May
  2. 2026Dr. RTL: Autonomous Agentic RTL Optimization through Tool-Grounded Self-Improvement16 Apr
  3. 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun
  4. 2025Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning30 May

Other references · 40

  1. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
  3. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
  4. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
  5. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  6. 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 683
  7. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 609
  8. 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 502
  9. 2015Illuminating search spaces by mapping elitescited by 470
  10. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 457
  11. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 330
  12. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 279
28 more
  1. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 219
  2. 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 213
  3. 2015Parallelizing the dual revised simplex methodcited by 107
  4. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 96
  5. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 96
  6. 2025TritonBench: Benchmarking Large Language Model Capabilities for Generating Triton Operatorscited by 87
  7. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 73
  8. 2019Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integrationcited by 67
  9. 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Codecited by 57
  10. 2025TileLang: A Composable Tiled Programming Model for AI Systemscited by 50
  11. 2024Mirage: A Multi-Level Superoptimizer for Tensor Programscited by 47
  12. 2024OptiMUS-0.3: Using Large Language Models to Model and Solve Optimization Problems at Scalecited by 44
  13. 2020AutoDSE: Enabling Software Programmers to Design Efficient FPGA Acceleratorscited by 29
  14. 2021CoSA: Scheduling by Constrained Optimization for Spatial Acceleratorscited by 24
  15. 2021ScaleHLS: A New Scalable High-Level Synthesis Framework on Multi-Level Intermediate Representationcited by 24
  16. 2025EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulationscited by 12
  17. 2022DiGamma: Domain-aware Genetic Algorithm for HW-Mapping Co-optimization for DNN Acceleratorscited by 9
  18. 2024CompilerDream: Learning a Compiler World Model for General Code Optimizationcited by 8
  19. 2016Verifying Integer Programming Resultscited by 6
  20. 2026LLM4Branch: Large Language Model for Discovering Efficient Branching Policies of Integer Programscited by 6
  21. 2024Exo 2: Growing a Scheduling Languagecited by 5
  22. 2025DOSA: Differentiable Model-Based One-Loop Search for DNN Acceleratorscited by 5
  23. 2026FLARE: Verifying MILP Reformulations with LLM-Based Theorem Provingcited by 5
  24. 2026FormuEvo: LLM-Guided Evolution for Discovering Solver-Efficient Mixed-Integer Programming Formulationscited by 3
  25. 2023Combined Scheduling, Memory Allocation and Tensor Replacement for Minimizing Off-Chip Data Accesses of DNN Acceleratorscited by 2
  26. 2026Prism: Symbolic Superoptimization of Tensor Programscited by 2
  27. 2026Axon: A Synthesizing Superoptimizer for Tensor Programscited by 1
  28. 2026Exo-GPU: Safe, Imperative, User-schedulable Programming for Tensor Corescited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025David vs. Goliath: Can Small Models Win Big with Agentic AI in Hardware Design?
  2. 2026Coco: An Agentic Copilot for the Hardware--Software Co-Design Lifecycle
  3. 2026Agentic Architect: An Agentic AI Framework for Architecture Design Exploration and Optimization
  4. 2026From Pragmas to Partners: A Symbiotic Evolution of Agentic High-Level Synthesis
  5. 2026Is Agentic AI Ready for Real-World Hardware Engineering? A Deep Dive with Phoenix-bench
  6. 2025Towards Understanding, Analyzing, and Optimizing Agentic AI Execution: A CPU-Centric Perspective
  7. 2026Agentic Hardware Design as Repository-Level Code Evolution
  8. 2026SiliconGym: A Versatile Reinforcement Learning Environment for Agentic EDA