EdgeKernelBench: Unified LLM-Driven Kernel Generation for Edge Backends
Yuhua Zheng, Xueyi Chen, Xinze Zou, Xin Li, Haoji Hu, Huan Wang
Westlake University · Zhejiang University
Published October 17, 2026 · on the feed October 21, 2026 · ▲ 16 · arXiv 2610.24648
The abstract
Recent works show that LLMs can generate kernels with strong performance on server GPUs. Edge deployment presents distinct challenges because the hardware is heterogeneous, the software stacks are fragmented, and the resource budgets are tight. LLM kernel generation across diverse edge backends has yet to be studied systematically. We introduce EdgeKernelBench, which combines a unified IR deployment framework with a hierarchical benchmark for edge workloads. The unified IR captures reusable computation, scheduling, and memory decisions and connects to each target backend through a compiler interface. The benchmark spans progressively larger program scopes, from individual operators to compact model graphs, across representative edge application domains. We instantiate the design with TVM as a reference compiler and validate it across heterogeneous edge backends. With a single generation attempt, the best model achieves 64.5% Correct@1 but only 25.5% [email protected]. This gap shows that functional correctness does not consistently translate into performance gains. We therefore introduce the Layered Edge Kernel Agent (LEKA), which organizes optimization through a layered IR. On the agent evaluation subset, LEKA achieves 43.5% [email protected], compared with 13.0% for direct generation and 26.1% for Claude Code. LEKA and Claude Code use the same base model and optimization budget. Together, EdgeKernelBench and LEKA support unified evaluation and layered optimization of kernels generated by LLMs across edge backends.
The Brief
2:49A short podcast summary of the paper. Written and voiced by AI.
Transcript
EdgeKernelBench. Unified LLM-Driven Kernel Generation for Edge Backends. By Yuhua Zheng and five others, from Westlake University and Zhejiang University. Published on the seventeenth of October. Its code repository is worked out: about ninety-five source files, with a readme and a licence.
Recent work shows that large language models can generate kernels with strong performance on server GPUs. Edge deployment is a different situation. The hardware is heterogeneous, the software stacks are fragmented, and the resource budgets are tight. Across that diversity of edge backends, kernel generation by language models has not yet been studied systematically, so there is no common ground on which to say how well it works.
EdgeKernelBench is meant to supply that ground. It measures two things that a single pass rate would merge: whether a generated kernel is functionally correct, reported as Correct at one, and whether it is actually fast, reported as Fast at one point zero. The benchmark is hierarchical, spanning progressively larger program scopes, from individual operators up to compact model graphs, drawn from representative edge application domains. A small operator and a whole compact model are very different jobs, and laying them out as levels lets the difficulty grow with the scope of the program.
Underneath the benchmark sits a unified IR deployment framework. The unified IR captures computation, scheduling and memory decisions in a reusable form, and it reaches each target backend through a compiler interface, so one representation can be deployed to many kinds of hardware. The authors instantiate the design with TVM as the reference compiler, and validate it across heterogeneous edge backends. The point of the shared layer is that the same generated decisions can be judged on every backend in the same way.
With a single generation attempt, the best model reaches sixty-four point five percent Correct at one. Its Fast at one point zero is only twenty-five point five percent. That gap is the central finding: functional correctness does not consistently translate into performance gains. Most of the kernels that work are not kernels that run faster, and a benchmark that counted only correctness would never have shown it.
In response, the authors introduce the Layered Edge Kernel Agent, LEKA, which organizes optimization through a layered IR. On the agent evaluation subset, LEKA reaches forty-three point five percent Fast at one point zero. Direct generation reaches thirteen percent, and Claude Code reaches twenty-six point one percent. LEKA and Claude Code share the same base model and the same optimization budget, so the difference sits in how the optimization is organized.
A kernel that compiles and returns the right numbers has passed one test, and EdgeKernelBench insists on a second. Scored that way, most generated edge kernels clear the first bar and fall at the next, and the benchmark and LEKA together are offered as a shared place to measure, and to narrow, that distance.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free