CANNBot-CAKE: Collaborative Agentic Kernel Evolution for Ascend NPU

Deng Pan, Xue-Jian Gao, Junyi Fan, Bin Du, Jiasheng Li +6 more
10/22/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Efficient custom operators are essential for modern deep learning workloads, yet developing high-performance kernels for Ascend NPUs remains slow, expert-intensive, and difficult to automate. Although AI agents now approach expert performance on GPU kernel benchmarks, current models remain less capable of generating AscendC kernels for NPUs, potentially reflecting the relative scarcity of relevant training data.

Show full abstract

We thus present CAKE, a CANN-native system for deployable custom operators that combines adaptive multi-DSL routing, separate Generation and Evolution modes, and reviewed knowledge reuse through CAKE Book and a Self-Evolving Agent. On 53 CANN-Bench v1.1 operators on Ascend 950PR, CAKE's aggregated results achieve $100\%$ case pass rate on the standard set (1,060/1,060) and $98.28\%$ on the hidden set (4,167/4,240), with an overall mean score of 78.63 out of 100 and an average performance speedup of $1.334\times$ over the baseline. Evolution then pushes correct operators further: EngramGateFusion cuts aggregate device time by $46.6\%$ over 20 rounds and roughly halves the mean roofline gap. These results offer a practical path toward closing Ascend's AI-for-kernel capability gap.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pan2026cannbotcake,
  title  = {CANNBot-CAKE: Collaborative Agentic Kernel Evolution for Ascend NPU},
  author = {Deng Pan and Xue-Jian Gao and Junyi Fan and Bin Du and Jiasheng Li and Xinxian Chen and Nok Yan Chang and Xinlin Li and Lingchao Zheng and Jun Li and Yuwei Fan},
  year   = {2026},
  eprint = {2610.31034},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.31034v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.31034.svg)](https://codeofpaper.com/paper/2610.31034)

Discussion