---
title: "Towards Robust Agentic CUDA Kernel Benchmarking,"
description: "The paper introduces robust-kbench, a harness for testing GPU programs written in CUDA, NVIDIA’s platform for GPU and parallel computing ."
canonical: "https://research.elamur.ai/free/en/papers/lange-2025-towards-robust-agentic-cuda-kernel/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/lange-2025-towards-robust-agentic-cuda-kernel/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization

# Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization

Paper · 2025 · Robert Tjarko Lange, Qi Sun, Aaditya Prasad et al.

**Authors:** [Robert Tjarko Lange](https://md.research.elamur.ai/free/en/authors/robert-tjarko-lange/), Qi Sun, Aaditya Prasad, [Maxence Faldor](https://md.research.elamur.ai/free/en/authors/maxence-faldor/), [Yujin Tang](https://md.research.elamur.ai/free/en/authors/yujin-tang/) and [David Ha](https://md.research.elamur.ai/free/en/authors/david-ha/) · **Year:** 2025 · **Venue:** arXiv:2509.14279 · **Licence:** [CC BY 4.0 (arXiv)](http://creativecommons.org/licenses/by/4.0/)

Cited by **49** papers in our library of the 163,136 papers whose bibliographies we read · [licence](http://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2509.14279)
- [arXiv 2509.14279](https://arxiv.org/abs/2509.14279)

## Summary

A replacement for a PyTorch operation can look faster simply because the test lets it do less work. If the inputs barely affect the expected output, a shortcut can pass. If the reference implementation spends time on avoidable work, beating it can produce a striking speedup with limited practical meaning. The authors demonstrate the size of this problem on the 200 tasks in levels 1 and 2 of KernelBench. Their search achieves an average speedup of 3.13x on the full set. With tasks that their audit flags as compromised removed, the average is 1.49x. The change shows how much a benchmark’s design can affect the apparent success of an automated optimizer.

The paper introduces robust-kbench, a harness for testing GPU programs written in CUDA, NVIDIA’s platform for [GPU and parallel computing](https://md.research.elamur.ai/free/en/topics/gpu-parallel-computing/). The harness varies input sizes, initialization states, and random seeds. It also supports both the forward computation that produces a result and the backward computation that supplies gradients for training. An automated workflow first translates a PyTorch reference into working CUDA. It then proposes faster versions using successful earlier attempts as examples. Before committing GPU time to a candidate, specialized reviewers make preliminary judgments about compilation, memory access, and numerical behavior. Actual compilation and execution determine whether a selected candidate passes the benchmark.

On robust-kbench, the search finds forward implementations with reported speedups up to 2.5x. Improvements are generally smaller for backward computations. The preliminary reviewers also make GPU testing more productive. Across the forward operations in the verifier comparison, the reported share of valid candidates rises from 55-70% without screening to 80-85% with it. Examples of successful implementations include a fused convolution, activation, and pooling operation, as well as a backward implementation that routes the gradient through a max-pooling window.

The authors also test whether a kernel stays fast when its input dimensions change. The optimized LayerNorm and MNIST Linear-ReLU implementations lose performance on shapes excluded from the search, while the tested ResNet block retains its advantage across the shapes examined. These results distinguish passing a range of correctness tests from preserving a speed advantage across that range. The authors release robust-kbench and a dataset containing discovered kernels, timing information, profiles, and verification results.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

## Cite

Cite as Robert Tjarko Lange, Qi Sun, Aaditya Prasad, Maxence Faldor, Yujin Tang and David Ha. 2025. Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization. arXiv:2509.14279.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2509.14279](https://doi.org/10.48550/arxiv.2509.14279) · [arXiv 2509.14279](https://arxiv.org/abs/2509.14279)

```bibtex
@misc{lange2025robust,
  title = {{Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization}},
  author = {Robert Tjarko Lange, Qi Sun, Aaditya Prasad, Maxence Faldor, Yujin Tang and David Ha},
  year = {2025},
  doi = {10.48550/arxiv.2509.14279},
  eprint = {2509.14279},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2509.14279}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
