Less is more: learning what to profile for GPU kernel optimization
Not on the map. Why?
Abstract (arXiv)
Large language models have recently shown strong potential for automatically optimizing GPU kernels, yet their effectiveness depends critically on the hardware information available to the kernel optimization model. Existing systems typically rely on predefined profiling strategies, leaving what to profile largely outside the optimization process. We show that effective profiling is not simply about collecting more information: increasing the number of profiling metrics does not monotonically improve kernel optimization, while the most useful profiling information varies across kernels. Our theoretical analysis further shows that, under such heterogeneous profiling utility, kernel-conditioned selection can outperform any single fixed profiling configuration. Motivated by this observation, we propose AutoProfiler, a feedback-driven framework for learning a deterministic profiling tree from optimization feedback. The tree is iteratively refined through REWRITE and SPLIT operations, with an LLM generating candidate modifications and empirical evaluation determining their acceptance. Once constructed, the tree quickly gathers the required profiling information for any kernel, allowing the LLM rewriter to be invoked only once. Experiments on KernelBench show that our approach improves kernel optimization over fixed profiling configurations under constrained profiling budgets. These results suggest that hardware profiling should evolve from static metric collection toward profiling reasoning, making profiling itself a new dimension for improving kernel optimization. The codes are available at https://github.com/Satissss/AutoProfiler.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 12 of its 17 references that are in the map. Submitted 27 Oct 2026.
Builds on
12 of 17 references.
References · 12
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 280
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 219
- 2018Learning to Optimize Tensor Programscited by 146
- 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 96
- 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 63
- 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generationcited by 60
- 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 59
- 2022Tensor Program Optimization with Probabilistic Programscited by 37
- 2026AutoKernel: Autonomous GPU Kernel Optimization via Iterative Agent-Driven Searchcited by 24
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?cited by 12
- 2026Optimizing CUDA like a Human: Micro-Profiling Tools as Expert Surrogates for LLM-Based GPU Kernel Optimizationcited by 6
- 2026KernelArc: A Multi-Agent Framework for GPU Kernel Optimizationcited by 5
Built on by
Not cited yet.