KACoBench: Kernel-Algorithm Co-Optimization for Neural Network Inference

Neural network inference can be accelerated through kernel--algorithm co-optimization. Algorithms determine what to compute, while kernel implementations determine how efficiently the computation runs. Evaluating LLM agents on this task requires specifying what they can optimize, what information they can use, and what quality their implementations must achieve. We introduce \textbf{KACoBench}, a benchmark for evaluating kernel--algorithm co-optimization under these conditions. KACoBench comprises 203 cases at three levels: models, modules, and local operations. Each case provides a problem definition and inputs that preserve numerical and structural properties. Agents can inspect these properties to guide algorithm and kernel design. Model-level cases primarily require comparable downstream task performance, while module and local-operation cases limit numerical error relative to reference outputs. We evaluate agents powered by five frontier LLMs, obtaining overall benchmark scores ranging from $2.42$ to $5.43$. Our case studies illustrate the benefits of kernel--algorithm co-optimization. In a Stable Diffusion submission from Seed-Evolving, co-optimization achieves greater speedup than changing either the algorithm or the kernel implementation alone. Project Page: https://kacobench.github.io/

Link
https://arxiv.org/abs/2612.05286
Found by
arXiv
Authors
Heshen Zhan, Ziwei Zhu, Jiahao Li, Size Zheng, Jialun Cao, Haorui Guo, Youhan Huang, Yufan Song, Hanshi Sun, Ruoyu Sun
Categories
benchmark, evaluation, agentic
Published
2026-12-04
Last seen by the radar
2026-12-04
Radar score
59.98 / 100 (how it is scored)
Why it scored so
Matched: agents~evaluating, benchmark, evaluat; Primary record: arXiv
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by arXiv