TRANSMISSION // 2611.17621v2
A benchmark for AI agents tuning Ascend kernels
Source published
AscendGYM tests whether coding models and agents can make existing Ascend NPU kernels faster without breaking correctness—and weighs those gains against token use.

Many kernel benchmarks focus on generating implementations. AscendGYM instead tests whether an agent can improve existing code for inputs drawn from real workloads, preserve correctness and make progress within a stated token budget.
The question: can an agent improve working code?
A kernel is a small program that performs an operation such as normalization or attention on an accelerator. Improving one can help large language model (LLM) training or inference, but writing code that compiles is not enough: a candidate must produce correct results and run faster on the relevant hardware and inputs.
AscendGYM is a benchmark for testing this optimization task on Ascend neural processing units (NPUs). It starts with an existing implementation and asks an AI model or coding agent to improve it. The task inputs—including tensor shapes and data types—come from real training and inference workloads, connecting each test to a particular execution context.
The authors distinguish this task from kernel-generation benchmarks, which commonly ask models to create implementations. They also acknowledge prior work that optimizes existing kernels; AscendGYM’s focus is an evaluation suite built around real workload configurations on Ascend NPUs.
How the benchmark works
The full suite is described as containing 48 tasks across three difficulty levels. The report evaluates only the 17 tasks in Batch 1, which emphasize memory-access optimization for basic kernels. The later batches cover multistep computations and more complex attention and fused operations; their results are left for future updates.
For each task, the system measures the original implementation, then allows an agent to submit changes. AscendForge, the execution environment, compiles candidate kernels, checks numerical correctness and measures performance on an NPU. Candidates that fail compilation or correctness checks do not count as valid speedups, and failed submissions still use part of the evaluation budget.
The authors test two arrangements: models paired with a shared default harness, and combinations of models with coding-agent harnesses. A harness is the surrounding software that manages an agent’s work, including its search process and use of experience. Results therefore describe a model-and-harness setup, not necessarily a model’s ability in isolation.
To assess gains alongside token use, the authors propose the Speedup–Token Score (STS). It rewards validated performance improvements and penalizes improvements made later in the token budget. That timing refers to cumulative tokens consumed—not elapsed wall-clock time or search effort in every possible sense. The benchmark also reports performance, token consumption, interaction rounds, elapsed time and correctness separately, so readers can inspect these dimensions rather than relying on one score.
What the early results show
Across the evaluated Batch 1 model–harness combinations, about 70% had a geometric-mean speedup below 1.2×. The report describes broad improvements across the tested tasks as challenging for the systems evaluated. That aggregate does not mean every kernel resisted optimization: the largest reported individual speedup was about 3.29×, while improvements varied considerably by task.
The results also illustrate why final speedup alone can be incomplete. The report records cases where a run retained the baseline speedup despite producing correct candidates that did not improve performance, and cases where it produced no correctness-validated candidate. Both can look like no speedup, but they are different outcomes. Similarly, a cost figure calculated only over tasks where a target was reached needs to be read alongside how many tasks reached it.
STS and the additional performance, cost and reliability measures are intended to capture these differences. The findings do not show that one model or harness is universally best: outcomes depend on the tasks, harness configuration and budget. They describe the particular systems and evaluation conditions tested, rather than establishing how agents will perform on every kernel or workload.
What remains uncertain
Scope is the central limitation. Although the benchmark is described as a 48-task suite, the reported experiments cover 17 tasks. Results on the remaining, more complex tasks could change the assessment. Measurements also use a specified Ascend hardware and software environment, so they do not establish performance on other accelerators or workloads.
The report identifies AscendGYM’s repository, but a repository link alone does not establish its software license or open-source status. And the work is presented as a technical report on arXiv; the evidence here does not establish peer-reviewed publication. The results are an initial evaluation, not a comprehensive verdict on AI kernel optimization. Further testing, including results from the remaining tasks, will help show how broadly they apply.
- Ascend NPU
- kernel optimization
- AI coding agents
- LLM benchmark
- AscendGYM
- hardware acceleration
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
What GitHub Copilot’s coding traces reveal about AI agents
Supporting evidence: AscendGYM’s proposed Speedup–Token Score weighs kernel speedup against token consumption, while the GitHub Copilot trace study reports a keep-alive policy that reduced token costs by 14.9% at turn boundaries. These findings illustrate why token cost can matter when evaluating agent systems, but they concern different tasks and do not validate AscendGYM’s metric or establish that its scores predict production costs.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2611.17621v2 — Original paper
Excerpt reference:
static/papers/2611.17621v2.md:15-68
Basis: Paper text
Source SHA-256:158cd71f6fe1e48271f94a3ccb41e5fc09702f0068d7a8fca24e1950219b641f2608.00101v2 — Original paper
Excerpt reference:
static/papers/2608.00101v2.md:13-75
Basis: Paper text
Source SHA-256:64c6ce173c01615b3f7bf3334edfe2bacda9c58e4198452669be83f97c555953
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
AI coding agents build a robotics simulation benchmark
Source published
Shared keywords: ai coding agents
What GitHub Copilot’s coding traces reveal about AI agents
Source published
Shared keywords: ai coding agents
AI agents search for faster atom-simulation algorithms
Source published
Shared keywords: ai coding agents
A Proposed Way to Secure Coding-Agent Benchmarks
Source published
Shared keywords: ai coding agents
Robot-coding agents need better failure diagnosis, not just more feedback
Source published
Shared keywords: ai coding agents