# Less is more: learning what to profile for GPU kernel optimization

DevFeed: [Less is more: learning what to profile for GPU kernel optimization](<https://devfeed.tech/articles/less-is-more-learning-what-to-profile-for-gpu-kernel-optimization-103156.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.36576>)

Author: Yihan Wang, Peiyu Liu, Runyu Chen, Wei Xu

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>)

Tags: [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [learning](<https://devfeed.tech/tags/learning.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [profiling](<https://devfeed.tech/tags/profiling.md>)

## AI overview

The paper reports that collecting more GPU profiling metrics does not consistently improve kernel optimization, and the most useful metrics vary by kernel. AutoProfiler learns a deterministic profiling tree from optimization feedback: an LLM proposes REWRITE or SPLIT changes, and empirical evaluation decides whether to accept them. The resulting tree selects profiling information for each kernel, after which the LLM rewriter is invoked once. On KernelBench, AutoProfiler reportedly improves optimization over fixed profiling configurations under constrained profiling budgets. The supplied abstract does not provide quantitative results or further details about the experiments.

## Source excerpt

arXiv:2610.36576v1 Announce Type: cross Abstract: 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.