mlsanityData to 7 Oct 2026

PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimization

arXiv 2511.06345 ↗First posted 9 Nov 2025cs.DC cs.AIcited by 11

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Designing high-performance kernels requires expert-level tuning and a deep understanding of hardware characteristics. Recent advances in large language models (LLMs) have enabled automated kernel generation, yet most existing systems rely solely on correctness or execution time feedback, lacking the ability to reason about low-level performance bottlenecks. In this paper, we introduce PRAGMA, a profile-guided AI kernel generation framework that integrates execution feedback and fine-grained hardware profiling into the reasoning loop. PRAGMA enables LLMs to identify performance bottlenecks, preserve historical best versions, and iteratively refine code quality. We evaluate PRAGMA on KernelBench, covering GPU and CPU backends. Results show that PRAGMA consistently outperforms baseline AIKG without profiling enabled and achieves 2.81× and 2.30× averaged speedups against Torch on CPU and GPU platforms, respectively.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 9 of its 22 references that are in the map. First posted on arXiv 9 Nov 2025.

Builds on

9 of 22 references.

References · 9

  1. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  3. 2023ChatDev: Communicative Agents for Software Developmentcited by 893
  4. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  5. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 46
  6. 2025SwizzlePerf: Hardware-Aware LLMs for GPU Kernel Performance Optimizationcited by 11
  7. 2025MARCO: Multi-Agent Code Optimization with Real-Time Knowledge Integration for High-Performance Computingcited by 5
  8. 2025QiMeng-TensorOp: Automatically Generating High-Performance Tensor Operators with Hardware Primitivescited by 5
  9. 2025QiMeng-Attention: SOTA Attention Operator is generated by SOTA Attention Algorithmcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 11.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Optimizing CUDA like a Human: Micro-Profiling Tools as Expert Surrogates for LLM-Based GPU Kernel Optimization
  2. 2025STARK: Strategic Team of Agents for Refining Kernels
  3. 2026Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Experts
  4. 2026SpecGen: Accelerating Agentic Kernel Optimization with Speculative Generation ↗
  5. 2026FastKernels: Benchmarking GPU Kernel Generation in Production
  6. 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe
  7. 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware
  8. 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization