A test suite measures how well agents improve Ascend kernels
AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs · arXiv:2611.17621
In plain words
AscendGYM is a set of tests for whether coding models and agents can make existing Ascend computer-chip kernels run faster while keeping their answers correct. Each task gives them working code and real workload inputs.
An execution sandbox runs their changes, checks correctness and measures speed, so an agent can use the feedback to try again.
In the 17 tasks tested in this report, most model-and-tool combinations made only modest average gains over the starting code. The result applies to that first batch of tasks.
The research
Whether agents can improve kernel code broadly matters because a gain on one workload may not carry to others.
These results make aggregate performance an incomplete basis for judging that ability: tested combinations often had modest average gains, while task counts at higher speed thresholds showed how uneven progress could be.
AscendGYM tests whether coding agents can make existing Ascend kernels faster without breaking correctness, and measures the cost of finding gains.
Researchers ran selected model-and-tool combinations on 17 first-batch tasks, comparing each candidate with its task’s starting kernel and counting only correctness-validated speedups. About 70% of combinations had a geometric mean speedup below 1.2x, an average of task speedups that gives each task equal weight.
This points to modest broad gains under these conditions. Task-level threshold counts also show why improving every task can conceal differences in the size of those gains.
The reported experiments cover only the 17 Batch 1 tasks on an Ascend 910C environment. The other 31 tasks in Batches 2 and 3 remain unevaluated in this report.
What the evidence shows
- What the benchmark tests
AscendGYM is a benchmark for coding models and agents that tests whether they can improve existing Ascend kernel implementations while preserving correctness. The initial suite has 48 tasks from real training and inference workloads, and this report covers the 17 tasks in Batch 1.
Each task starts with runnable code and defined inputs, so the test is about improving a concrete implementation rather than creating one from scratch.
- Most gains stayed modest
Because candidates must pass correctness checks before their speed counts, and each task receives equal weight, the aggregate indicates that broad gains were modest for most evaluated combinations. This result describes the selected combinations under the report’s Batch 1 evaluation conditions.
- Task counts reveal differences
The aggregate result does not show how gains were distributed across tasks. Claude Code with Opus 5 and Codex with GPT-5.6 each accelerated all 17 tasks, yet seven tasks exceeded 2x speedup for the former and three for the latter.
The task counts distinguish broad but smaller improvements from larger gains concentrated on fewer tasks.
- Configuration results need context
A separate comparison held GPT-5.6 Luna fixed and ranked four Default configurations by STS, which combines validated speedup with the token cost of finding improvements. Warm ranked highest at each tested budget; code only ranked above no lessons, and both remained below cold.
These are outcomes for whole configurations, whose experience sources, search approaches and measurement settings differed, so the ranking does not identify one factor as the cause.
- The evidence has a boundary
Taken together, the results show how the benchmark can distinguish average speedups, task-level gains and budget-aware performance. The report’s challenge finding is bounded to Batch 1: the 31 tasks in Batches 2 and 3 were reserved for future evaluation.
Deep
- Original paper authors
- AI Training Platform Team, Bingwei Zhang, Jing Li, Amir Abdullin, Sihang Chen
- Submitted to arXiv
- License
- arXiv non-exclusive