AscendKernelGen: A Systematic Study of LLM-Based Kernel Generation for Neural Processing Units
Paper • 2601.07160 • Published • 2
KernelGen-LM-4B is a state-of-the-art domain-adaptive large language model specialized for low-level NPU kernel generation, specifically for the Huawei Ascend architecture using the AscendC programming language. Built upon the Qwen3-4B backbone, it is trained on the Ascend-CoT dataset and refined via reinforcement learning with execution feedback.
This model was introduced in the paper AscendKernelGen: A Systematic Study of LLM-Based Kernel Generation for Neural Processing Units.
Other artifacts:
Our framework, AscendKernelGen (AKGen), bridges the gap between general-purpose code generation and hardware-specific programming through a closed-loop system of data construction, training, and evaluation. Key innovations include:
@article{cao2026ascendkernelgen,
title={AscendKernelGen: A Systematic Study of LLM-Based Kernel Generation for Neural Processing Units},
author={Xinzi Cao and Jianyang Zhai and Pengfei Li and Zhiheng Hu and Cen Yan and Bingxu Mu and Guanghuan Fang and Bin She and Jiayu Li and Yihan Su and Dongyang Tao and Xiansong Huang and Fan Xu and Feidiao Yang and Yao Lu and Chang-Dong Wang and Yutong Lu and Weicheng Xue and Bin Zhou and Yonghong Tian},
journal={arXiv preprint arXiv:2601.07160},
year={2026},
url={https://arxiv.org/abs/2601.07160}
}