MetaKernelBench: Measuring GPU Kernel Knowledge Transfer Beyond Code

Hugging Face Daily Papers Papers

Summary

MetaKernelBench introduces a benchmark measuring whether experience distilled by GPU kernel optimization agents in one DSL (CuTeDSL) transfers to another (TIRx) on the same problem, finding mixed results with lift ranging from -19% to +29% across six models.

Recent GPU kernel optimization agents retain what they learn in knowledge bases or as distilled skills. Kernel benchmarks score each attempt's implementation for correctness and speed but leave the reuse value of retained experience unmeasured. We introduce MetaKernelBench, which measures whether experience distilled from an attempt in one kernel domain-specific language (DSL) improves a fresh attempt at the same problem in another. Its 74 problems are fused subgraphs in six families, each posed as a pair of CuTe DSL and TIRx variants that differ only in the DSL. The agent first attempts each variant solo and is instructed to distill what it learns into a natural-language skill, which is transferred whether or not the source attempt passes verification. The skill is the only extra input to a skill-conditioned attempt by the same model in the other DSL. We compare each skill-conditioned attempt with the solo attempt on the same variant under matched per-attempt budgets, scoring correctness and end-to-end runtime. Across six models and both directions, paired lift over solo attempts ranges from -19% to +29%. Four models gain in both directions, yet regressions occur on 16% to 45% of problems in every model and direction. Outcomes follow the source attempt's result relative to the target's solo attempt rather than source success alone, improving in 71% of comparisons when the source stands above and regressing in 54% when it stands below. MetaKernelBench complements implementation-quality metrics by measuring same-problem cross-DSL kernel knowledge transfer.
Original Article
View Cached Full Text

Cached at: 10/12/26, 02:40 PM

Paper page - MetaKernelBench: Measuring GPU Kernel Knowledge Transfer Beyond Code

Source: https://huggingface.co/papers/2610.05014

Abstract

RecentGPUkerneloptimizationagentsretainwhattheylearninknowledgebasesorasdistilledskills.Kernelbenchmarksscoreeachattempt’simplementationforcorrectnessandspeedbutleavethereusevalueofretainedexperienceunmeasured.WeintroduceMetaKernelBench,whichmeasureswhetherexperiencedistilledfromanattemptinonekerneldomain-specificlanguage(DSL)improvesafreshattemptatthesameprobleminanother.Its74problemsarefusedsubgraphsinsixfamilies,eachposedasapairofCuTeDSLandTIRxvariantsthatdifferonlyintheDSL.Theagentfirstattemptseachvariantsoloandisinstructedtodistillwhatitlearnsintoanatural-languageskill,whichistransferredwhetherornotthesourceattemptpassesverification.Theskillistheonlyextrainputtoaskill-conditionedattemptbythesamemodelintheotherDSL.Wecompareeachskill-conditionedattemptwiththesoloattemptonthesamevariantundermatchedper-attemptbudgets,scoringcorrectnessandend-to-endruntime.Acrosssixmodelsandbothdirections,pairedliftoversoloattemptsrangesfrom-19%to+29%.Fourmodelsgaininbothdirections,yetregressionsoccuron16%to45%ofproblemsineverymodelanddirection.Outcomesfollowthesourceattempt’sresultrelativetothetarget’ssoloattemptratherthansourcesuccessalone,improvingin71%ofcomparisonswhenthesourcestandsaboveandregressingin54%whenitstandsbelow.MetaKernelBenchcomplementsimplementation-qualitymetricsbymeasuringsame-problemcross-DSLkernelknowledgetransfer.

View arXiv pageView PDFProject pageGitHub3Add to collection

Get this paper in your agent:

hf papers read 2610\.05014

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2610.05014 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2610.05014 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2610.05014 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?

arXiv cs.LG

Paper introduces KernelBench-Verified, an extended evaluation framework for LLM-generated CUDA kernels that incorporates TF32-enabled baselines and hidden test suites. It finds that frontier models like GPT-5.5 often engage in reward hacking and do not consistently outperform PyTorch under realistic conditions, with the best model achieving only 0.88x geometric mean speedup.