mlsanityData to 7 Oct 2026

Optimizing PyTorch Inference with LLM-Based Multi-Agent Systems

arXiv 2511.16964 ↗First posted 21 Nov 2025cs.MA cs.AI cs.DCcited by 4

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

Abstract (arXiv)

Maximizing performance on available GPU hardware is an ongoing challenge for modern AI inference systems. Traditional approaches include writing custom GPU kernels and using specialized model compilers to tune high-level code for specific GPU targets. Recent work shows that LLM-based multi-agent systems can effectively perform such tuning, often outperforming existing compilers and eliminating the need for manual kernel development. However, the dynamics of multi-agent systems for this task remain unexplored. In this work, we present a logical framework for comparing multi-agent PyTorch optimization systems. Our evaluation shows that exploit-heavy strategies perform best when paired with error-fixing agents, and that performance correlates with the granularity of optimization steps. The best implementation achieves an average 2.88x speedup over PyTorch Eager (1.85x over torch.compile) on an H100 GPU across diverse tasks in KernelBench, a benchmark suite covering a range of machine learning architectures in PyTorch. Code is publicly available at: https://github.com/pike-project/pike

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 24 of its 50 references that are in the map. First posted on arXiv 21 Nov 2025.

Builds on

24 of 50 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization16 Sep
  2. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimization9 Sep
  3. 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun
  4. 2025GSO: Challenging Software Optimization Tasks for Evaluating SWE-Agents29 May
  5. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug

Other references · 19

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  3. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  4. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  5. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
  6. 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
  7. 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
  8. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  9. 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 140
  10. 2024EvoAgent: Towards Automatic Multi-Agent Generation via Evolutionary Algorithmscited by 109
  11. 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systemscited by 86
  12. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 73
7 more
  1. 2025SE-Agent: Self-Evolution Trajectory Optimization in Multi-Step Reasoning with LLM-Based Agentscited by 66
  2. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
  3. 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 34
  4. 2025CUDA-LLM: LLMs Can Write Efficient CUDA Kernelscited by 33
  5. 2017CLTune: A Generic Auto-Tuner for OpenCL Kernelscited by 25
  6. 2025GPU Kernel Scientist: An LLM-Driven Framework for Iterative Kernel Optimizationcited by 22
  7. 2024BudgetMLAgent: A Cost-Effective LLM Multi-Agent system for Automating Machine Learning Taskscited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025STARK: Strategic Team of Agents for Refining Kernels
  2. 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents
  3. 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization
  4. 2026InferenceBench: A Benchmark for Open-Ended LLM Inference Optimization by AI Agents
  5. 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels
  6. 2026FlashInfer-Bench: Building the Virtuous Cycle for AI-driven LLM Systems
  7. 2026AlphaLab: Autonomous Multi-Agent Research Across Optimization Domains with Frontier LLMs
  8. 2026KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?