LGPFMay 6

KernelBench-X: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernels

arXiv:2605.0495699.0Has Code
Predicted impact top 1% in LG · last 90 daysOriginality Incremental advance
AI Analysis

Provides a systematic benchmark to identify bottlenecks in LLM-based kernel generation for GPU computing practitioners.

KernelBench-X evaluates LLM-generated GPU kernels across 176 tasks, finding that task structure explains more correctness variance than method design (9.4% vs 3.3%), iterative refinement improves compilation but degrades speedup (from 1.58× to 1.44×), and 46.6% of correct kernels are slower than baseline, with quantization entirely unsolved (0/30 successes).

LLM-based Triton kernel generation has attracted significant interest, yet a fundamental empirical question remains unanswered: where does this capability break down, and why? We present KernelBench-X, a benchmark designed to answer this question through category-aware evaluation of correctness and hardware efficiency across 176 tasks in 15 categories. Our systematic comparison of five representative methods yields three main findings. First, task structure determines correctness more than method design. Category explains nearly three times more variance in semantic correctness than method (9.4% vs 3.3% explained deviance), and 72% of Fusion tasks fail across all five methods while Math tasks are solved consistently. Second, iterative refinement improves correctness, but not performance. Across GEAK iterations, compile rate rises from 52.3% to 68.8% while average speedup declines from $1.58\times$ to $1.44\times$; newly rescued kernels consistently underperform persistently correct ones ($1.16\times$ vs $1.58\times$ speedup in round~0$\to$1). Third, correctness does not imply efficiency. 46.6% of correct kernels are slower than the PyTorch eager baseline, and cross-hardware speedup variance reaches $21.4\times$. Besides, quantization remains completely unsolved (0/30 successes) despite non-trivial compilation rates, revealing systematic misunderstanding of numerical computation contracts rather than surface-level syntax errors. These findings suggest that future progress depends on handling global coordination, explicitly modeling numerical precision, and incorporating hardware efficiency into generation. The code is available at https://github.com/BonnieW05/KernelBenchX

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes