Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization
Paper · 2025 · Robert Tjarko Lange, Qi Sun, Aaditya Prasad et al.
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. 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.
Deep dive: Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization
How robust-kbench tests CUDA kernels for correctness and speed, and how an automated search uses those tests to improve PyTorch operations. · about 33 minutes to read
The problem and its context
What a kernel has to preserve
PyTorch lets a programmer describe a computation in terms of operations on tensors, which are arrays with dimensions such as batch size, channels, and spatial extent. A CUDA implementation exposes more decisions about how the GPU carries out the work. It specifies how threads share the computation, how they access memory, and when they must synchronize. CUDA groups threads into warps, blocks, and grids. This hierarchy gives programmers ways to coordinate nearby threads and distribute work across a device. An implementation’s performance depends in part on how well those choices fit the operation and the hardware.
The same PyTorch expression can admit several GPU implementations. A sequence of operations might be carried out separately, with an intermediate tensor produced along the way. A fused implementation can combine stages and reuse intermediate values while they are available. Within a stage, an implementation can also adjust how threads divide the output or how they fetch input values. These are different avenues for improvement. Fusion changes which stages execute together. Thread assignment and memory access change how a particular stage is executed. The benchmark has to check that the final observable computation still agrees with the reference.
That requirement applies separately to a forward pass and a backward pass. The forward pass computes an operation’s output from its inputs and parameters. The backward pass receives information about how the loss changes with the output and computes the corresponding gradients with respect to inputs or parameters. The output of a forward linear layer and the gradients for its inputs, weights, and bias present different workloads. An efficient implementation of the forward calculation therefore establishes performance for that calculation. Backward performance requires its own implementation and measurement.
The authors situate this problem in the rising demand for computation in deep learning. They describe specialized hardware and software efficiency as complementary responses. The paper cites data-center work on the tensor processing unit as an example of specialization, while CUDA libraries such as cuBLAS and cuDNN illustrate what optimized software already offers for common operations. Those libraries form part of the setting in which a generated kernel has to be useful. A comparison with a framework operation measures an advantage relative to the execution path that the experiment actually uses. In-Datacenter Performance Analysis of a Tensor Processing Unit · cuDNN
The paper also describes programming systems that ease parts of the engineering burden. Triton offers a Python-based way to express low-level GPU computations. ThunderKittens emphasizes developer usability and integration with machine learning libraries. The authors’ project addresses another part of the workload. Given a computation described in PyTorch, they ask whether an automated search can come up with CUDA implementations, recognize which ones merit testing, and learn from the ones that run successfully. Triton
Why a program that passes can give a misleading result
The authors describe KernelBench v0 as the prevailing benchmark for generated CUDA at the time of their study. It contains 250 neural network tasks expressed as PyTorch modules. Level 1 covers operators, level 2 combines operations in ways that offer opportunities for fusion, and level 3 asks for a larger network. This progression matters because improving a single operator exercises a different skill from recognizing that several operators can share computations or avoid storing intermediate results. The benchmark made those skills accessible to systematic evaluation.
The paper discusses an earlier audit that identified approximately 40 KernelBench tasks with problematic properties. Some reference implementations did extra work, some expected outputs were small enough to make numerical checks less informative, and some tasks produced nearly the same outputs under different random seeds. The last two problems concern the strength of the correctness evidence. A test can compare the output successfully while giving little information about whether the candidate follows the inputs. An inefficient reference creates a different problem. A replacement can genuinely compute the tested result and still owe much of its apparent advantage to the choice of comparison.
A fixed input configuration makes several of these issues harder to disentangle. A generated implementation can exploit a fact about the specific shape or weights it sees. Some such facts are valid premises for specialized kernels. A workload that explicitly guarantees a shape can benefit from an implementation designed for it. The concern arises when the test accepts a premise that the wider operation never promised. An implementation may then satisfy the tested case while computing a narrower function than the PyTorch code describes. A benchmark whose tasks use a single configuration gives limited evidence about where that boundary lies.
Timing creates a related measurement problem. A very short GPU computation can appear expensive if its timing includes a substantial contribution from CPU-side overhead. The measured speed can then be driven by how an operation is invoked or observed. This matters during optimization as well as in the final report. If measurements reward changes that affect the overhead around the computation, a search can concentrate its proposals on those changes. A speed figure is consequently easier to interpret when the benchmark identifies the reference, the measurement procedure, and the conditions under which the comparison was made.
How earlier work used extra attempts
The paper draws on work that spends more computation when answering a request. The term test-time compute refers here to additional computation used to generate, assess, or revise answers for the task at hand. In a coding task, one approach is to draw many candidate programs independently and select one after testing. Another uses successive attempts so that the next proposal can respond to a failure. The paper also describes voting, debate, and verifiers that rate a result or an intermediate step. These lines of work establish several ways to use multiple responses from large language models. Scaling LLM Test-Time Compute Optimally · Multiagent Debate
The authors place their optimizer in the evolutionary branch of that work. In evolutionary code search, earlier programs supply material for later proposals. A candidate may modify an existing program or combine ideas that appeared in different programs. The paper describes prompting as the mechanism for this recombination. The generator can see code alongside descriptions of the design choices that produced it. The authors relate this to earlier program search in mathematics and automated experiments, as well as to retrieval systems that bring relevant earlier material into the current request. Mathematical Discoveries from Program Search · The AI Scientist · Retrieval-Augmented Generation
Within software engineering, the paper distinguishes standalone programming questions from tasks such as resolving an issue in a real repository. It also describes approaches that improve coding through training and approaches that spend extra computation at the time of a request. The CUDA problem has a particularly concrete target for the latter strategy. A proposed program can be compiled, run against a reference, and timed on a device. Passing those stages produces evidence that can guide the next attempt. The paper cites kernel-specific efforts as well, including work using DeepSeek-R1 to optimize attention and reinforcement learning for multi-turn CUDA generation. Its own question is how to join generation, screening, profiling, and repeated hardware evaluation in one search. Program Synthesis · SWE-bench · DeepSeek-R1
The method, step by step
Define the operation and its tests
The workflow starts with a task that gives meaning to both correctness and speed. A robust-kbench task describes the PyTorch computation, its input configurations, its initialization settings, and the passes supported for evaluation. The paper illustrates the arrangement with MNIST cross-entropy. The task directory separates the forward and backward reference functions and their configurations, and it can include a CUDA implementation for each direction. A Python interface computes the PyTorch reference, checks supplied kernel candidates, and evaluates their performance. The same interface handles compilation and can distribute candidates across multiple GPUs.
This organization makes the reference useful at several points in the process. The translator reads its functional implementation to understand the task. The evaluator runs it to obtain expected outputs or gradients under the chosen settings. Timing the relevant PyTorch implementation then produces the denominator’s counterpart in the speed comparison: the reference runtime against which the candidate runtime is judged. A changed shape or initialization can be introduced through the task configuration, so those variations need not be written independently into each proposed implementation.
Tests vary conditions for distinct reasons. Changing random inputs probes whether the implementation responds to the actual data. Changing initialization can expose a dependence on incidental parameter values. Changing the shape exercises choices about how work is divided and how the code handles different tensor dimensions. The benchmark applies numerical comparison under these conditions and accepts a kernel as correct when it passes the complete test collection for its task. For floating-point comparisons the authors set both the absolute and relative tolerances to 1e-5. The absolute tolerance covers a fixed scale of discrepancy, while the relative comparison takes the scale of the values into account.
Correctness testing and performance measurement use the configuration information differently. The evaluation can check agreement over multiple settings even when the optimizer seeks the smallest runtime for a single target setting. The target tells the search where speed matters for that experiment. The other tests help establish the behavioral scope of the resulting implementation. A separate timing evaluation on shapes outside the search is needed to see whether the same performance advantage travels with it.
From a PyTorch operation to optimized CUDA
The steps in order.
Translate before searching for speed
The first generation stage takes the functional PyTorch code and requests a CUDA implementation of the same operation. The prompts specify the callable interface because the evaluator needs to load and invoke the generated program as a PyTorch extension. For a forward task the entry point exposes the operation’s result. For a backward task it implements the corresponding gradient computation described by the reference. The response supplies CUDA source in a recognizable format so the workflow can extract it and pass it to PyTorch’s C++ extension-loading utilities.
There are several ways an initial translation can fail. The response may be difficult to parse, the extracted program may fail to compile, or the resulting function may produce values outside the allowed tolerance. A successful compilation establishes that the code can be built in the configured environment. The reference comparison then tests whether the callable implementation does the work the task asks of it. Each stage supplies a different kind of feedback. A compiler diagnostic concerns the construction of the program, while a numerical discrepancy concerns what the program actually returns.
If the translation fails compilation or the numerical check, an additional call summarizes the error information. The next translation attempt receives that summary. This gives the generator an opportunity to attend to the issue that stopped the preceding attempt, such as a problem with the extension or a difference from the reference result. The paper compares this use of sequential feedback with best-of-N sampling, in which separate attempts are drawn and the available tests are used to find a successful one. Both strategies spend a budget on translation proposals. Only the iterative one gives a later attempt the evidence generated by an earlier failure.
A working translation is the starting point for optimization. At this stage the search has code that conforms to the task interface and a measured example of the requested computation. The search can explore changes to this implementation, retain it as an example, and compare new timings with previous ones. The separation also makes translation success a distinct experimental outcome. Getting a usable kernel answers whether the task can be expressed and executed by the workflow. Speed improvement answers what the optimizer can do once it has a working implementation to build on.
Train the reviewers by revising their prompts
The authors call preliminary screening soft verification. Its purpose is to rank candidates for hardware testing, which requires compilation and access to a GPU. Each specialist reads a task description and the proposed CUDA code, then gives a binary judgment. One asks whether the program is likely to compile. Another examines memory use. A third examines numerical correctness. The optimizer uses the reviewers’ votes to prioritize candidates. At this point a positive judgment gives a proposal a stronger claim on a testing slot. The outcome of compilation and execution supplies the empirical verdict.
The paper describes iterative prompt tuning for these reviewers. Each specialist is tuned with a balanced collection of 30 kernels containing examples of correct and incorrect implementations. A separate prompt-writing agent proposes both the system instructions, which set the reviewer’s role, and the task instructions, which tell it what to look for in a candidate. The framework evaluates the proposed wording on labeled examples. Summaries of review errors give the prompt-writing agent material for its next revision. The authors connect this use of past mistakes to self-reflection in Reflexion.
The item being optimized in this procedure is the reviewer’s instructions. The paper distinguishes this operation from the later possibility of training on the released examples. In the experiment, a generator can propose a revised explanation of what a compilation, memory, or numerical reviewer should examine. Applying that wording to known cases reveals whether the new prompt makes the right decisions more often. Because the wording is separable from the reviewer that receives it, the authors can also try the tuned instructions with another underlying system.
The compilation prompt asks its reviewer to reason through the sorts of issues that a CUDA toolchain would encounter, from preprocessing and declaration lookup to template use and device resource constraints. The memory prompt asks about indices, alignment, and whether buffers are large enough for accesses made by the launched kernel. The numerical prompt includes coverage of work across threads, correct use of shared data, synchronization, and the stability of arithmetic used in reductions. These are instructions for inspecting the code. Actual loads, compiler diagnostics, and comparisons with PyTorch come from the execution stage.
The memory prompt gives a concrete example of the reasoning it requests when inspecting a declared array.
capacityBytes = N × sizeof(T)
Here capacityBytes is the storage required by the declaration, expressed in bytes. N in this formula is the number of elements declared in the array, T is the element type, and sizeof(T) is the number of bytes occupied by an element of that type. The multiplication combines the element count and the size per element. The resulting quantity can be compared with the capacity of the relevant memory region.
For an array placed in dynamically allocated shared memory, the prompt also asks the reviewer to derive the byte requirement from the largest index reached.
requiredBytes = (maxIndex + 1) × sizeof(T)
Here requiredBytes is the space the accesses require. maxIndex is the largest array index used, 1 accounts for indexing from zero, and sizeof(T) again gives the byte size of an element of type T. The parentheses group the index and the added element into a count before multiplication. The reviewer is supposed to compare this requirement with the space provided at launch. In the numerical reviewer, a corresponding concern is whether the shared locations a thread reads have already been written. An address can fall inside its allocated region and still fail the computation if the intended value has yet to be stored.
The categories therefore overlap in useful ways. A synchronization error can affect which values are available, and a missing tail in a tiled loop can leave part of an output unwritten. Both can lead to disagreement with the reference. The distinct prompts give reviewers different starting points for inspecting such code. The optimization experiment measures whether voting on the resulting judgments improves the mix of candidates sent to the GPU.
Generate from a history of measured implementations
Once the initial kernel works, the optimizer selects examples from previous evaluations. It filters the history for correct implementations and supplies a subset of up to five, arranged from the slowest to the fastest within the selected group. This order shows a progression among runnable programs for the same operation. The generator can compare how the implementations divide work or use memory and associate those differences with the relative timings. The paper draws on least-to-most prompting for the idea of ordering the examples.
The optimizer asks for whole candidate implementations with a short name and a description of the design. A new candidate can retain an effective part of an earlier kernel, alter another part, or combine techniques that previously appeared separately. In this sense the search is evolutionary. The population consists of earlier programs with measured outcomes, and each round produces variations using those programs as context. The mechanism for producing variation is a generation request informed by the source, its description, and the available evaluation feedback.
The main setup draws proposals from GPT-4.1, o3, Claude Sonnet 3.7, and o4-mini. The mix includes systems that use different approaches to generating a response. Where applicable, the authors also vary sampling temperature, which affects how much the responses can vary. They sample higher-level suggestions, such as trying different block sizes or considering stride loops, to steer individual proposals towards different approaches. Those suggestions diversify the search while leaving the generator to produce the actual implementation. The paper identifies AlphaCode as the inspiration for that part of the prompting.
The number of proposals drawn in a generation is written as follows.
N = 8
Here N counts the new kernel proposals sampled for one optimization generation and 8 is the configured count. This use of N is specific to the search procedure. Its meaning is independent of the element count in the array-capacity expression above.
After the reviewers screen those proposals, the hardware evaluation uses a smaller batch.
N⋆ = 4
Here N⋆ counts the proposals advanced to hardware evaluation in the generation. The star distinguishes the selected batch from the generated batch, and 4 is the configured number of candidates sent on. The candidates with the strongest consensus proceed to actual compilation and correctness testing. The reviewer votes determine which code is worth attempting under the hardware budget. Runtime comes from timing the candidates that pass.
Return performance evidence to the next round
The evaluator collects several kinds of information on successful candidates. The PyTorch profiler supplies a view at the framework level. NVIDIA’s Compute Profiler, abbreviated NCU, provides measurements about behavior on the GPU. Clang-tidy contributes static analysis of the source. Together these sources can help explain why a version runs as it does. A runtime identifies which candidate is faster in the chosen setting. A profile can give the next generator something more specific to investigate about the implementation that produced that runtime.
One experimental setting includes summaries of these reports in the prompts. The summarizer takes the collected material and produces a more compact account of potentially relevant findings. This turns profiling into feedback for subsequent proposals. The search can connect a measured weakness with a part of the implementation and ask for a change that addresses it. Another setting provides the input shape in the system prompt, giving the generator the dimensions of the workload it is asked to accelerate. The authors vary these sources of information to see how they affect the search.
This closes the loop between program generation and hardware evidence. An implementation that passes contributes its code and measured runtime to the history. Its profile can also inform future requests. The next generation then has access to examples produced during the current search as well as the originally translated kernel. The practical distinction between translation and optimization carries through the feedback. Translation failure is information for repairing a candidate into a usable program. Optimization feedback helps steer a collection of usable designs towards better performance.
Experiments and results
Re-examining the conventional benchmark
The KernelBench experiments cover the 200 tasks in levels 1 and 2. These levels give the authors a mixture of single operators and combinations of operations. They run their translation and evolutionary search and compare the optimization results with the published Kevin-32B results, which also cover the full 200 tasks. The paper describes that baseline as a dedicated QwQ-32B system adapted with reinforcement learning for multi-turn CUDA generation. This comparison places the authors’ search against a method designed specifically for the same application.
The translation workflow produces working CUDA implementations for 95% of the KernelBench level 1 and level 2 tasks. The iterative approach with summarized failure information does better than parallel sampling at a similar proposal budget. Increasing the number of translation proposals generally raises the chance of success. The paper likewise reports that the optimization search finds better speedups as it makes more attempts. These results concern different endpoints. Translation asks whether a valid implementation is found. Optimization measures the runtime advantage achieved by the successful implementations.
On the full KernelBench subset the authors’ optimization approach outperforms the reported Kevin-32B results. They then examine how much confidence that comparison deserves. The audit removes tasks with suspiciously narrow output magnitudes, including outputs lying between -0.01 and 0.01. It also checks for an output standard deviation below 0.01 across parameter and input seeds, for excessive uniformity across tensor axes, and for output variation below 0.01 when the random inputs change. These checks cover different ways that an operation’s response to the supplied data can be weak or difficult to distinguish.
An additional screening step uses Sonnet-3.7 to identify unhelpful baselines, including those with unnecessary computations. This criterion concerns comparative performance. If the baseline performs work that can be eliminated while preserving the computation, the result can reveal a weakness in the reference implementation. The variation criteria concern how well the outputs discriminate among candidates. The authors combine those criteria to produce a filtered task set, then report the search’s average speedup on both task selections.
Average speedup of the authors’ search on full and filtered KernelBench tasks
The reported average falls when the audit removes compromised tasks.
The numbers
| System or setting | average speedup factor |
|---|---|
| All level 1 and level 2 tasks (this paper) | 3.13 |
| Level 1 and level 2 tasks retained after filtering | 1.49 |
The mean speedup is 3.13x before filtering and 1.49x after filtering. Both settings concern results from the authors’ workflow. They differ in which tasks enter the average. The change therefore measures the sensitivity of the reported figure to task selection. In particular, the full-set advantage over Kevin-32B should be read in the context of the authors’ evidence that some accepted speedups came from weak comparisons or unusually permissive tasks.
The appendix’s examples help explain why the aggregate changes. A level 1 diagonal matrix multiplication task yields a 51.159x speedup against PyTorch eager, with an inefficient use of broadcasting in the reference. Here the choice of reference is central to interpreting the improvement. A level 2 task ending in softmax yields a reported 123.603x against PyTorch eager. Its fixed configuration permits a constant result for the final operation. The paper treats that result as an illustration of what the test accepts under its specific assumptions. Together, the examples show how a large reported speedup can originate in the reference computation or in the narrow scope of the tested function.
Datasets, baselines, and timing on robust-kbench
The new tasks represent several kinds of deep learning work. The MNIST convolutional training tasks cover computations such as convolution, pooling, linear layers, activations, and cross-entropy. ResNet-18 inference contributes a residual block, for which work from different paths is combined. Llama inference contributes normalization and feedforward work from a transformer. These families give the experiment examples of small operations and composite computations. They also provide a context for backward evaluations in which the requested output is a gradient instead of the forward result.
The main timing environment uses individual H100 GPUs with CUDA 12.4 and cuDNN 8.9.7. The appendix specifies 25 warmup runs before timings are collected. The authors then run the measured computation 2000 times and average the runtimes. Warmup gives the execution a chance to settle before the measurements that enter the result. Repetition gives each speed comparison a measured average rather than a single duration. The speedup indicates how the runtime of the chosen PyTorch implementation compares with the runtime of the candidate at the measured input setting.
Native PyTorch is the reference for the reported speedups, with LayerNorm compared against Torch Compile. The distinction matters because the speedup has a different reference in that task. The authors also re-evaluate discovered kernels under different measurement methods, with comparisons against native PyTorch and Torch Compile. They describe the qualitative performance picture as consistent while the numerical values change. Thus an advantage can persist through changes in evaluation while the reported magnitude remains tied to the measurement setup.
The appendix also describes a comparison between best-of-40 approaches and an evolutionary run with 40 proposals. A best-of setting asks what performance can be found by evaluating a collection of independently generated candidates. An evolutionary setting can use the selected results of earlier proposals to shape later ones. The common proposal count gives the comparison a shared unit of search effort. Proposal count and hardware effort are distinct, however, because screening influences which proposals advance. The paper’s findings about iterative translation, verifier yield, and runtime optimization therefore give complementary views of where additional attempts can help.
What the optimizer finds
The forward and backward results span twelve robust-kbench tasks in the paper’s optimization figure. The search achieves forward speedups up to 2.5x under the reported comparisons. The authors also find positive but smaller gains for backward computation. They describe making progress on backward kernels as harder and suggest two possible contributors: fewer useful examples encountered during prior training and the difficulty of combining fusion with recomputing activations for the backward calculation. The forward and backward experiments establish a difference in the observed ease of optimization. Those explanations remain hypotheses.
The appendix’s kernel descriptions show the range of changes behind the timing results. For the MNIST convolution, activation, and pooling task, the generated implementation fuses the stages and assigns threads to output tiles. It caches weights for an output channel in shared memory and unrolls parts of the computation for the small fixed convolution. The relevant advantage is that the stages can share work and data within an implementation. The task still checks the output of the whole computation, including the effect of pooling after the activation.
The linear examples make another aspect of the search concrete. In the forward MNIST linear kernel, a warp computes an output value by accumulating pieces of a dot product and combining them with a warp reduction. The fused linear and ReLU variant places the activation in the same implementation and uses a grid-stride loop to cover the output. In the linear backward example, the separate gradients call for different mappings: work on the input gradients is divided by row, work on the weight gradients by tile, and the bias gradient uses a reduction over outputs for each channel. The descriptions make clear why a forward optimization is only a partial guide to a backward one.
Other examples show how generated code can organize reductions and memory traffic. The LayerNorm implementation obtains the mean and variance for each instance with vectorized loads and warp-level reductions, then applies normalization and the affine transformation in a separate vectorized stage. This is an example of optimizing the phases within an operation while retaining a boundary between statistics and transformation. The Llama RMSNorm implementation also distributes normalization work by row and combines partial results with warp-level and shared-memory reductions. It then applies the learned scaling to the output.
In the Llama feedforward example, fusion is concentrated in the SiLU activation and multiply within a larger calculation that uses matrix multiplications. The ResNet block example uses vectorized operations and stores per-channel affine parameters in constant memory. Its specialized affine kernels combine work associated with normalization, bias, and activation, with optional residual addition. These implementations show several levels at which the search can intervene. It can change the implementation of a normalization, fuse neighboring elementwise operations, or improve a portion of a larger block whose other stages still have their own roles.
The backward max-pooling example has a different structure. The kernel identifies the maximal input within each pooling window and sends the incoming gradient to the corresponding input location. The highlighted implementation uses a grid-stride loop and performs the routing without atomic operations. The cross-entropy backward implementation instead combines a softmax calculation with gradient computation and uses different paths for small and large class counts. These examples show how the choice of optimization depends on what information the backward rule needs and how the output work can be partitioned across threads.
Correctness screening and unseen shapes
The three specialized reviewers achieve reported accuracies of 0.82 for compilation, 0.80 for memory access, and 0.73 for numerical correctness in the verifier-tuning results. These are accuracies for the specialists’ binary decisions. They measure agreement with the labels used for the evaluation. The paper separately describes a check on roughly 20 previously unseen kernels and says the tuned wording retained effectiveness when used with different underlying reviewers. The exact values in the tuning results and the transfer evidence answer separate questions about the prompts.
Specialist accuracy in the CUDA verifier prompt-tuning evaluation
The compilation specialist has the highest reported classification accuracy.
The numbers
| System or setting | classification accuracy |
|---|---|
| Compilation verifier (this paper) | 0.82 |
| Memory access verifier | 0.80 |
| Numerical correctness verifier | 0.73 |
In the optimization experiment, the screening step changes the validity rate of the proposals that reach downstream testing. The paper reports a range of 55-70% valid kernels for forward passes without verifier assistance and 80-85% with it. This is a measure of candidate yield during search. The accuracy figures above describe individual reviewers on labeled decisions. The yield figures describe what happens when the workflow uses reviewer decisions to choose which programs to compile and test. An imperfect reviewer can improve that choice if its judgments steer enough failing candidates away from the available slots.
To study performance generalization, the authors measure optimized kernels on input shapes withheld from the evolutionary search. LayerNorm and MNIST Linear-ReLU lose performance on unseen shapes and show signs of tuning to their target dimensions. The ResNet block keeps its performance benefit across the tested alternative dimensions. The comparison is valuable because the search optimizes the runtime on a selected shape even when it checks correctness on varied inputs. A kernel can implement the requested function under several conditions while its chosen division of work remains best suited to the one used in the search.
The appendix additionally describes timing discovered forward and backward kernels on different GPUs, using PyTorch implementations as the comparison. This addresses a separate axis of transfer. Changing an input shape tests the fit between the design and the workload. Changing the device tests the fit between the design and a different execution environment. The headline optimization gains come from the H100 setup, and the paper cautions that the speedup estimates vary with evaluation conditions.
Search cost and elapsed time
For a run measured over 40 proposals, the appendix estimates API charges of approximately 4 to 5 dollars per benchmark task. Both CUDA generation and reviewer calls contribute, with generation generally accounting for the larger share. The more expensive cases include backward optimization tasks approaching 5 dollars. These estimates cover the reported search activity. The authors discuss GPU allocation and elapsed time separately, since a workflow can make inexpensive individual requests and still require substantial testing when many variants pass through the loop.
Initial translation can take up to 10 sequential attempts and averages about 15 minutes on a single GPU. The optimization schedule in the runtime discussion uses 10 generations on 4 GPUs. In each generation it samples 8 proposals, screens them, and compiles the 4 highest-scoring candidates. The reported stage times are roughly 1.5 minutes for proposal sampling with reasoning systems, 1.5 minutes for screening, 1 minute for compilation, 2 minutes for correctness checking, and 3 minutes for runtime estimation. The paper gives an overall optimization average of 1.5 hours on the 4 devices.
The authors’ discussion gives a broader estimate of about 5 dollars in API credits per optimized kernel and less than 2 hours on 4 GPUs for work including generation, verification, and profiling. They compare the up-front wait to accepting compilation time in exchange for faster later execution. This analogy frames a practical question about repeated use. The search expense is paid before deployment, while any benefit accrues as the kernel runs in training or inference. The reported costs and runtimes quantify the search side of that tradeoff for the workloads studied.
What the ablations show
Screening improves the yield of hardware tests
The verifier ablation covers eight CUDA operations and includes both forward and backward computations. The authors compare optimization runs with and without the preliminary reviewers. They inspect errors that occur at different stages, including compilation failures, invalid memory accesses, and numerical errors. The strongest quantified yield result is for the forward passes, where the range of valid candidates moves from 55-70% to 80-85%. The reported improvement is particularly noticeable for compilation failures, which account for many rejected forward implementations in the comparison.
This matters because failure at compilation consumes part of the budget before the workflow obtains a useful runtime or a profile. A screening method can improve the search simply by putting more executable kernels into those testing slots. Among the survivors, some may still fail the numerical comparison, and valid candidates can differ greatly in speed. The direct finding is about the proportion that passes the hardware checks. The optimization curves also show greater stability with screening, which is consistent with subsequent rounds having more usable examples to draw on.
The paper observes improved parsing of candidate responses and suggests that extra in-context examples may have helped. Parsing is an upstream condition for compiling a response. An intact implementation in the expected response format gives the loader something it can use. Because the parsing observation accompanies changes to the broader workflow, the authors present the explanation as probable. The verifier ablation gives much firmer evidence about the changed yield of the system as configured than about the specific cause of every change in the error distribution.
Proposal diversity helps on the tested tasks
The ensembling comparison uses GPT-4.1 alone, GPT-4.1 with Claude Sonnet 3.7, and a larger group that adds o4-mini, o3, and Gemini 2.5 Pro to the pair. This configuration comparison is separate from the main proposal setup. By varying the group, the authors test whether drawing ideas from a wider set of generators helps find candidates that both pass and improve performance. Across the ablation tasks they describe a positive trend as the group becomes more diverse.
An ensemble can affect what reaches the GPU even when the selection procedure stays the same. If different generators propose different ways to partition an operation or use its data, the verifier can choose among a broader range of designs. A good optimization may then appear among the candidates earlier in the search. The ablation compares concrete groups, so the result shows which configurations worked more consistently in this study. Group size, membership, and the strengths of the additional generators change together in the comparison.
That distinction is also relevant to the proposal temperature and high-level suggestions used in the main workflow. There are several ways to introduce variety, and they can produce different kinds of variation. Sampling can change the details of a candidate under the same request. Suggesting an optimization idea can point a proposal toward a particular family of implementations. Drawing from another generator can change the way the task is approached more broadly. The ensembling experiment measures the combined effect of its chosen configurations.
An ordered set of usable examples works consistently
The context experiment compares the best current kernel alone, the top five ordered from slower to faster, and ten earlier kernels selected at random. The sorted set tends to yield the most consistent gains. The strongest example on its own provides a useful implementation but little evidence of how performance changed across designs. A group of successful implementations shows several choices for the same computation, together with an empirical ordering. This is one way the context can make past search progress available to a subsequent generation.
The random-history condition tests whether simply including more prior attempts provides the same benefit. Its examples are chosen using a different rule and are more numerous. The comparison therefore supports the authors’ curated ordering as a package. It leaves open how much of the improvement comes from the selection rule, the number of examples, or the order in which they appear. For interpreting the optimizer, the central observation is that the contents and construction of the prompt affect the value obtained from prior evaluations.
The context experiment also clarifies what evolutionary search contributes beyond accumulating candidates. The stored history is useful only insofar as the next request can present relevant portions of it. The process needs an estimate of candidate quality, a way to choose representative implementations, and enough detail for a new proposal to build on them. The measured ordering supplies an accessible comparison within a task. It leaves the generator to infer which design changes produced the improvement.
Profiles give the search a more specific signal
The profiling ablation compares a setup with no explicit profiling feedback against one using summaries of PyTorch profiler, NCU, and Clang-tidy information. The authors report better performance with the summaries and describe the resulting modifications as more targeted. The figure presents this alongside the ensembling and context experiments across 4 tasks. Timing tells the search whether a change helped under the target conditions. The extra feedback gives it information about the implementation’s execution or source that can guide what to change next.
The comparison evaluates the combination of collecting those reports, summarizing them, and making the summary available during optimization. It does not isolate the contribution of an individual profiler. A framework-level measurement, a device-level observation, and a static source diagnostic supply different kinds of information, so the observed benefit could depend on their combination. The paper also varies whether input shape information appears in the prompts and finds improvement in some settings. Shape information is available before a candidate runs. Profiling feedback describes how a candidate that has already passed behaves in execution.
The earlier translation comparison adds a complementary result about feedback. When a candidate fails, a summary of the failure helps the next proposal recover a working implementation more frequently than an independent draw at a similar budget. When a candidate works, runtime and profiles can help the optimizer decide how to improve it. The paper tests these at different stages, where the relevant evidence differs. Their joint contribution is a workflow that uses the result of an attempt to shape what it tries next.
Limitations
Limits the authors identify
The authors describe their strongest results as improvements targeted to specific inference settings. They report that backward optimization is harder and that widely transferable speedups across shapes remain elusive. The shape experiments make that limitation visible. The LayerNorm and MNIST Linear-ReLU results show diminished performance away from their optimization configurations, while the ResNet block performs better across the tested shape changes. The two outcomes leave the behavior of a newly optimized operation an empirical question. A successful transfer for one block gives evidence about that block and those shapes.
The authors also identify room for better targeting of particular hardware features and instructions. The main measurements are anchored to H100 GPUs and the stated software environment. Their re-evaluation with other measurement procedures shows how the numerical size of a gain can change with the comparison. A favorable result can therefore be meaningful for the evaluated workload even when another device or another PyTorch execution path changes its value. The scope of such a result includes the hardware, software stack, baseline implementation, and input setting.
Search resources are another limitation the authors discuss. Greater budgets may improve translation, increase the chance of finding a fast kernel, or make it feasible to tackle more complex tasks. They also require accelerator capacity and additional requests for generation and review. The authors argue that efficient kernels could reduce recurring computation and energy use and acknowledge that access to powerful systems and GPUs can widen the resource gap among organizations. The paper estimates search cost and duration. Realized savings depend on how the resulting kernel is used.
The release of programs, measured speedups, profiles, and error messages is intended to support work on improving generation and verification through further training. The authors mention supervised fine-tuning and off-policy reinforcement learning as future directions. The experiments reported here tune reviewer prompts and perform an iterative search. The release offers examples from which subsequent training could learn, including both useful designs and evidence about failures. The paper leaves the effect of training on that material to later experiments.
Limits visible in the experimental setup
The correctness criterion is empirical agreement with a PyTorch reference across the configured test suite. Varying inputs, initializations, and seeds increases the kinds of mistakes that a test can reveal. The suite remains finite. Layouts, numerical edge cases, shapes, and other operating conditions outside the configurations are outside the scope of the test result. This matters especially for specialized programs, where a thread assignment, buffered access, or reduction can depend on a dimension. A compiled and passing implementation has demonstrated the behavior exercised by its tests.
Soft verification has a corresponding limit as a classifier. A review can favor a candidate that fails later or deprioritize a valid candidate. The reported classification accuracies and hardware yield show that the screening strategy can allocate tests more effectively for these workloads. They do not give the missed opportunity cost of screening. In particular, the reported validity of the selected batch does not reveal how often a screened-out candidate would have passed and become the fastest implementation. Establishing that would require evidence about candidates excluded by the ranking.
The evaluation of the reviewers also covers a small collection of programs. A balanced tuning set of 30 kernels per specialist supplies examples of both outcomes, and the check on approximately 20 unseen kernels gives evidence that the prompts can transfer beyond the tuning examples. Accuracy on balanced examples is tied to that mix of cases. The mix of errors during a search can change with the target operation, available proposals, and stage of optimization. The hardware-yield experiment gives a view of the practical effect under the authors’ search conditions, where that mix is part of the system being tested.
The audit of KernelBench likewise changes the population being summarized. Its criteria focus on task properties that can make a result easier to obtain or harder to interpret, and the appendix provides examples of why those properties matter. The filtered mean applies to the subset selected by those criteria. The comparison shows that conclusions drawn from the original aggregate are sensitive to what the benchmark includes. It leaves open how the same methods would rank under other defensible task selections or under an independently designed test suite.
Performance results also have a granularity limit. The experiment measures operations and blocks against their PyTorch references. A faster kernel can be a useful component in training or inference, but the improvement at application level depends on how much time the application spends in that component and on the conditions at integration. The paper’s examples are drawn from practical workloads, which makes the operations recognizable and the timing relevant. An end-to-end result for a full application would require timing that application with the replacement in place.
Finally, the search ablations vary particular configurations across a small group of tasks. They show that the tested ensemble, context construction, and profiling choices can improve the workflow. Some comparisons change several properties at the same time. Ordered context varies both selection and ordering relative to random history, and adding generators changes the membership of the group along with its size. The findings therefore describe how the chosen combinations behave. The independent effects of those design decisions, and their interaction at other budgets or on other kernels, remain open.
What came after
There is no documented follow-up to describe for this paper. The authors’ proposed next step was to use the released search records to improve future kernel generators and reviewers. The dataset associates proposed implementations with outcomes such as timing, profiling information, and verification results. Those records could support different forms of learning. A generator could learn from implementations that passed and performed well, while a reviewer could learn from labeled failures and their diagnostics. Whether either use improves results on new workloads, input configurations, or hardware remains an open empirical question.
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.
@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}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/lange-2025-towards-robust-agentic-cuda-kernel/
References
- Shubham Agarwal, Issam H Laradji, Laurent Charlin, and Christopher Pal. Litllm: A toolkit for scientific literature review. arXiv preprint arXiv:2402.01788, 2024. our card
- Nurshat Fateh Ali, Md Mahdi Mohtasim, Shakil Mosharrof, and T Gopi Krishna. Automated literature review using nlp techniques and llm-based retrieval-augmented generation. arXiv preprint arXiv:2411.18583, 2024. our card
- AlphaProof and AlphaGeometry teams. AI Achieves Silver-Medal Standard Solving International Mathematical Olympiad Problems. https://deepmind.google/discover/blog/ai-solves-imo-problems-at-silver-medal-level/, July 2024. Accessed: 2025-02-08. OpenAlex ↗ · Scholar ↗
- Anthropic. Model card and evaluations for claude models, 2023. URL https://www-files.anthropic.com/production/images/Model-Card-Claude-2.pdf. OpenAlex ↗ · Scholar ↗
- Anthropic. The claude 3 model family: Opus, sonnet, haiku, 2024. URL https://www-cdn.anthropic.com/de8ba9b01c9ab7cbabf5c33b80b7bbc618857627/Model_Card_Claude_3.pdf. OpenAlex ↗ · Scholar ↗
- Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, et al. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021. our card
- Carlo Baronio, Pietro Marsella, Ben Pan, and Silas Alberti. Multi-turn training for cuda kernel generation. https://cognition.ai/blog/kevin-32b. OpenAlex ↗ · Scholar ↗
- Jeremy Berman. How i got a record 53.6% on arc-agi. https://jeremyberman.substack.com/p/how-i-got-a-record-536-on-arc-agi, 2025. Accessed: 2025-02-08. OpenAlex ↗ · Scholar ↗
- Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258, 2021. our card
- Bradley Brown, Jordan Juravsky, Ryan Ehrlich, Ronald Clark, Quoc V Le, Christopher Ré, and Azalia Mirhoseini. Large language monkeys: Scaling inference compute with repeated sampling. arXiv preprint arXiv:2407.21787, 2024. our card
- Terry Chen, Bing Xu, and Kirthi Devleker. Automating gpu kernel generation with deepseek-r1 and inference time scaling, February 2025. URL https://developer.nvidia.com/blog/automating-gpu-kernel-generation-with-deepseek-r1-and-inference-time-scaling/?ncid=so-twit-997075&linkId=100000338909937. OpenAlex ↗ · Scholar ↗
- Sharan Chetlur, Cliff Woolley, Philippe Vandermersch, Jonathan Cohen, John Tran, Bryan Catanzaro, and Evan Shelhamer. cudnn: Efficient primitives for deep learning. arXiv preprint arXiv:1410.0759, 2014. our card
- Debajyoti Dasgupta, Arijit Mondal, and Partha Pratim Chakrabarti. Empowering AI as autonomous researchers: Evaluating LLMs in generating novel research ideas through automated metrics. In 2nd AI4Research Workshop: Towards a Knowledge-grounded Scientific Research Lifecycle, 2024. URL https://openreview.net/forum?id=12T3Nt22av. OpenAlex ↗ · Scholar ↗
- Yilun Du, Shuang Li, Antonio Torralba, Joshua B Tenenbaum, and Igor Mordatch. Improving factuality and reasoning in language models through multiagent debate. arXiv preprint arXiv:2305.14325, 2023. our card
- Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun, and Haofen Wang. Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997, 2023. our card
- Michael Garland, Scott Le Grand, John Nickolls, Joshua Anderson, Jim Hardwick, Scott Morton, Everett Phillips, Yao Zhang, and Vasily Volkov. Parallel computing experiences with cuda. IEEE micro, 280 (4):0 13–27, 2008. OpenAlex ↗ · Scholar ↗
- Paul Gauthier. aider, 2024. URL https://github.com/paul-gauthier/aider. OpenAlex ↗ · Scholar ↗
- Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Ruoyu Zhang, Runxin Xu, Qihao Zhu, Shirong Ma, Peiyi Wang, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025. our card
- Danny Hernandez and Tom B Brown. Measuring the algorithmic efficiency of neural networks. arXiv preprint arXiv:2005.04305, 2020. OpenAlex ↗ · Scholar ↗
- Binyuan Hui, Jian Yang, Zeyu Cui, Jiaxi Yang, Dayiheng Liu, Lei Zhang, Tianyu Liu, Jiajun Zhang, Bowen Yu, Keming Lu, et al. Qwen2. 5-coder technical report. arXiv preprint arXiv:2409.12186, 2024. our card
- Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, et al. Openai o1 system card. arXiv preprint arXiv:2412.16720, 2024. our card
- Carlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik R Narasimhan. SWE-bench: Can language models resolve real-world github issues? In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=VTF8yNQM66. our card
- Norman P Jouppi, Cliff Young, Nishant Patil, David Patterson, Gaurav Agrawal, Raminder Bajwa, Sarah Bates, Suresh Bhatia, Nan Boden, Al Borchers, et al. In-datacenter performance analysis of a tensor processing unit. In Proceedings of the 44th annual international symposium on computer architecture, pages 1–12, 2017. our card
- David B Kirk and W Hwu Wen-Mei. Programming massively parallel processors: a hands-on approach. Morgan kaufmann, 2016. OpenAlex ↗ · Scholar ↗
- Robert Lange, Tom Schaul, Yutian Chen, Tom Zahavy, Valentin Dalibard, Chris Lu, Satinder Singh, and Sebastian Flennerhag. Discovering evolution strategies via meta-black-box optimization. In Proceedings of the Companion Conference on Genetic and Evolutionary Computation, pages 29–30, 2023. OpenAlex ↗ · Scholar ↗
- Robert Tjarko Lange, Yingtao Tian, and Yujin Tang. Large language models as evolution strategies. arXiv preprint arXiv:2402.18381, 2024. our card
- Robert Tjarko Lange, Aaditya Prasad, Qi Sun, Maxence Faldor, Yujin Tang, and David Ha. The ai cuda engineer: Agentic cuda kernel discovery, optimization and composition. 2025. OpenAlex ↗ · Scholar ↗
- Joel Lehman, Jonathan Gordon, Shawn Jain, Kamal Ndousse, Cathy Yeh, and Kenneth O. Stanley. Evolution through large models, 2022. URL https://arxiv.org/abs/2206.08896. OpenAlex ↗ · Scholar ↗
- Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, et al. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems, 33:0 9459–9474, 2020. our card
- Wen-Ding Li, Keya Hu, Carter Larsen, Yuqing Wu, Simon Alford, Caleb Woo, Spencer M. Dunn, Hao Tang, Wei-Long Zheng, Yewen Pu, and Kevin Ellis. Combining induction and transduction for abstract reasoning. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=UmdotAAVDe. OpenAlex ↗ · Scholar ↗
- Yujia Li, David Choi, Junyoung Chung, Nate Kushman, Julian Schrittwieser, Rémi Leblond, Tom Eccles, James Keeling, Felix Gimeno, Agustin Dal Lago, et al. Competition-level code generation with alphacode. Science, 3780 (6624):0 1092–1097, 2022. our card
- Shalev Lifshitz, Sheila A McIlraith, and Yilun Du. Multi-agent verification: Scaling test-time compute with multiple verifiers. arXiv preprint arXiv:2502.20379, 2025. OpenAlex ↗ · Scholar ↗
- Aixin Liu, Bei Feng, Bing Xue, Bingxuan Wang, Bochao Wu, Chengda Lu, Chenggang Zhao, Chengqi Deng, Chenyu Zhang, Chong Ruan, et al. Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437, 2024. OpenAlex ↗ · Scholar ↗
- Ryan Liu and Nihar Shah. Reviewergpt? an exploratory study on using large language models for paper reviewing. arXiv preprint arXiv:2306.00622, 2023. our card
- Chris Lu, Samuel Holt, Claudio Fanconi, Alex James Chan, Jakob Nicolaus Foerster, Mihaela van der Schaar, and Robert Tjarko Lange. Discovering preference optimization algorithms with and for large language models. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024a. URL https://openreview.net/forum?id=erjQDJ0z9L. our card
- Chris Lu, Cong Lu, Robert Tjarko Lange, Jakob Foerster, Jeff Clune, and David Ha. The ai scientist: Towards fully automated open-ended scientific discovery. arXiv preprint arXiv:2408.06292, 2024b. our card
- Liangchen Luo, Yinxiao Liu, Rosanne Liu, Samrat Phatale, Harsh Lara, Yunxuan Li, Lei Shu, Yun Zhu, Lei Meng, Jiao Sun, et al. Improve mathematical reasoning in language models by automated process supervision. arXiv preprint arXiv:2406.06592, 2024. our card
- Yecheng Jason Ma, William Liang, Guanzhi Wang, De-An Huang, Osbert Bastani, Dinesh Jayaraman, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Eureka: Human-level reward design via coding large language models. arXiv preprint arXiv:2310.12931, 2023. our card
- METR. Measuring automated kernel engineering, February 2025. URL https://metr.org/blog/2025-02-14-measuring-automated-kernel-engineering/. OpenAlex ↗ · Scholar ↗
- Elliot Meyerson, Mark J Nelson, Herbie Bradley, Adam Gaier, Arash Moradi, Amy K Hoover, and Joel Lehman. Language model crossover: Variation through few-shot prompting. arXiv preprint arXiv:2302.12170, 2023. OpenAlex ↗ · Scholar ↗
- John Nickolls, Ian Buck, Michael Garland, and Kevin Skadron. Scalable parallel programming with cuda: Is cuda the parallel programming model that application developers have been waiting for? Queue, 60 (2):0 40–53, 2008. OpenAlex ↗ · Scholar ↗
- Alexander Novikov, Ngân Vũ, Marvin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt Wagner, Sergey Shirobokov, Borislav Kozlovskii, Francisco J. R. Ruiz, Abbas Mehrabian, M. Pawan Kumar, Abigail See, Swarat Chaudhuri, George Holland, Alex Davies, Sebastian Nowozin, Pushmeet Kohli, and Matej Balog. Alphaevolve: A coding agent for scientific and algorithmic discovery. Technical report, Google DeepMind, 2025. our card
- Anne Ouyang, Simon Guo, Simran Arora, Alex L. Zhang, William Hu, Christopher Ré, and Azalia Mirhoseini. Kernelbench: Can llms write efficient gpu kernels?, 2025. URL https://arxiv.org/abs/2502.10517. our card
- Shanghaoran Quan, Jiaxi Yang, Bowen Yu, Bo Zheng, Dayiheng Liu, An Yang, Xuancheng Ren, Bofei Gao, Yibo Miao, Yunlong Feng, et al. Codeelo: Benchmarking competition-level code generation of llms with human-comparable elo ratings. arXiv preprint arXiv:2501.01257, 2025. our card
- Matthew Renze and Erhan Guven. The effect of sampling temperature on problem solving in large language models. arXiv preprint arXiv:2402.05201, 2024. our card
- Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M Pawan Kumar, Emilien Dupont, Francisco JR Ruiz, Jordan S Ellenberg, Pengming Wang, Omar Fawzi, et al. Mathematical discoveries from program search with large language models. Nature, 6250 (7995):0 468–475, 2024. our card
- Baptiste Roziere, Jonas Gehring, Fabian Gloeckle, Sten Sootla, Itai Gat, Xiaoqing Ellen Tan, Yossi Adi, Jingyu Liu, Romain Sauvestre, Tal Remez, et al. Code llama: Open foundation models for code. arXiv preprint arXiv:2308.12950, 2023. our card
- Jaime Sevilla, Lennart Heim, Anson Ho, Tamay Besiroglu, Marius Hobbhahn, and Pablo Villalobos. Compute trends across three eras of machine learning. In 2022 International Joint Conference on Neural Networks (IJCNN), pages 1–8. IEEE, 2022. OpenAlex ↗ · Scholar ↗
- Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. Advances in Neural Information Processing Systems, 36, 2024. our card
- Chenglei Si, Diyi Yang, and Tatsunori Hashimoto. Can llms generate novel research ideas? arXiv preprint arXiv:2409.04109, 2024. OpenAlex ↗ · Scholar ↗
- Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. Scaling llm test-time compute optimally can be more effective than scaling model parameters. arXiv preprint arXiv:2408.03314, 2024. our card
- Xingyou Song, Yingtao Tian, Robert Tjarko Lange, Chansoo Lee, Yujin Tang, and Yutian Chen. Position paper: Leveraging foundational models for black-box optimization: Benefits, challenges, and future directions. arXiv preprint arXiv:2405.03547, 2024. OpenAlex ↗ · Scholar ↗
- Benjamin F Spector, Simran Arora, Aaryan Singhal, Daniel Y Fu, and Christopher Ré. Thunderkittens: Simple, fast, and adorable ai kernels. arXiv preprint arXiv:2410.20399, 2024. OpenAlex ↗ · Scholar ↗
- Teo Susnjak, Peter Hwang, Napoleon H. Reyes, Andre L. C. Barczak, Timothy R. McIntosh, and Surangika Ranathunga. Automating research synthesis with domain-specific large language model fine-tuning. ACM Trans. Knowl. Discov. Data, January 2025. ISSN 1556-4681. . URL https://doi.org/10.1145/3715964. Just Accepted. OpenAlex ↗ · Scholar ↗
- Kimi Team, Angang Du, Bofei Gao, Bowei Xing, Changjiu Jiang, Cheng Chen, Cheng Li, Chenjun Xiao, Chenzhuang Du, Chonghua Liao, et al. Kimi k1. 5: Scaling reinforcement learning with llms. arXiv preprint arXiv:2501.12599, 2025. our card
- Philippe Tillet, Hsiang-Tsung Kung, and David Cox. Triton: an intermediate language and compiler for tiled neural network computations. In Proceedings of the 3rd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages, pages 10–19, 2019. our card
- Fouad Trad and Ali Chehab. To ensemble or not: Assessing majority voting strategies for phishing detection with large language models. arXiv preprint arXiv:2412.00166, 2024. OpenAlex ↗ · Scholar ↗
- Junlin Wang, Jue WANG, Ben Athiwaratkun, Ce Zhang, and James Zou. Mixture-of-agents enhances large language model capabilities. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=h0ZfDIrj7T. our card
- Yuxi Xie, Kenji Kawaguchi, Yiran Zhao, Xu Zhao, Min-Yen Kan, Junxian He, and Qizhe Xie. Self-evaluation guided beam search for reasoning. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=Bw82hwg5Q3. our card
- Yutaro Yamada, Robert Tjarko Lange, Cong Lu, Shengran Hu, Chris Lu, Jakob Foerster, Jeff Clune, and David Ha. The ai scientist-v2: Workshop-level automated scientific discovery via agentic tree search. arXiv preprint arXiv:2504.08066, 2025. our card
- Zonglin Yang, Xinya Du, Junxian Li, Jie Zheng, Soujanya Poria, and Erik Cambria. Large language models for automated open-domain scientific hypotheses discovery. arXiv preprint arXiv:2309.02726, 2023. our card
- Dan Zhang, Sining Zhoubian, Ziniu Hu, Yisong Yue, Yuxiao Dong, and Jie Tang. ReST-MCTS*: LLM self-training via process reward guided tree search. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=8rcFOqEud5. our card
- Genghan Zhang, Weixin Liang, Olivia Hsu, and Kunle Olukotun. Adaptive self-improvement llm agentic system for ml library development. arXiv preprint arXiv:2502.02534, 2025. OpenAlex ↗ · Scholar ↗
- Eric Zhao, Pranjal Awasthi, and Sreenivas Gollapudi. Sample, scrutinize and scale: Effective inference-time search by scaling verification. arXiv preprint arXiv:2502.01839, 2025. OpenAlex ↗ · Scholar ↗
- Denny Zhou, Nathanael Schärli, Le Hou, Jason Wei, Nathan Scales, Xuezhi Wang, Dale Schuurmans, Claire Cui, Olivier Bousquet, Quoc Le, et al. Least-to-most prompting enables complex reasoning in large language models. arXiv preprint arXiv:2205.10625, 2022. our card
- Yifei Zhou, Andrea Zanette, Jiayi Pan, Sergey Levine, and Aviral Kumar. ArCHer: Training language model agents via hierarchical multi-turn RL. In Forty-first International Conference on Machine Learning, 2024. URL https://openreview.net/forum?id=b6rA0kAHT1. our card
- Qihao Zhu, Daya Guo, Zhihong Shao, Dejian Yang, Peiyi Wang, Runxin Xu, Y Wu, Yukun Li, Huazuo Gao, Shirong Ma, et al. Deepseek-coder-v2: Breaking the barrier of closed-source models in code intelligence. arXiv preprint arXiv:2406.11931, 2024. our card
- Zhenzhen Zhuang, Jiandong Chen, Hongfeng Xu, Yuwen Jiang, and Jialiang Lin. Large language models for automated scholarly paper review: A survey. arXiv preprint arXiv:2501.10326, 2025. OpenAlex ↗ · Scholar ↗