arXiv cs.AI· Yihan Wang, Peiyu Liu, Runyu Chen, Wei Xu·· 13 小时前AI 评分31
AutoProfiler:用反馈学习为 GPU kernel 优化选择性能分析指标
Less is more: learning what to profile for GPU kernel optimization
AI 导读
研究者提出 AutoProfiler,一个从优化反馈中学习确定性 profiling 树的反馈驱动框架,通过 REWRITE 和 SPLIT 操作迭代精炼,由 LLM 生成候选修改、实证评估决定是否采纳。
正文 · 原文
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 this https URL.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.36576 [cs.LG] |
| (or arXiv:2610.36576v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2610.36576 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yihan Wang [view email]
[v1]
Tue, 27 Oct 2026 03:31:23 UTC (2,012 KB)
来源:arXiv cs.AI · arxiv.org