Research map / Large language models / Agents, code and math
AscendKernelGen: LLM-Driven Kernel Generation for NPUs
Xinzi Cao, Jianyang Zhai, Pengfei Li, Zhiheng Hu, Cen Yan, Bingxu Mu, Guanghuan Fang, Bin She, Jiayu Li, Yihan Su, Dongyang Tao, Feidiao Yang and 5 more
Peng Cheng Laboratory · Sun Yat-sen University · Huawei Technologies · Peking University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| supervised fine-tuning on kernel-reasoning data | Qwen3-32B · NPUKernelBench (mean) | Pass@1 accuracy: 7.92% -> 26.26% | Improved |
| add RL on top of SFT | Qwen3-32B+SFT · NPUKernelBench (mean) | Pass@1 accuracy: 26.26% -> 33.46% | Improved |
| add RL on top of SFT | Qwen3-32B+SFT · NPUKernelBench Level 2 | Speedup: 1.50x -> 1.86x | Improved |
| use LoRA instead of full fine-tuning (ablation) | Qwen3-8B · NPUKernelBench (mean) | Compilation/Execution Rate: CR 55.32->40.29, ER 22.13->13.55 | Hurt |
| remove kernel-centric CoT from training data (ablation) | KernelGen-LM-8B · NPUKernelBench Level 1 | Compilation Rate: drops below 20% | Hurt |
| remove general CoT from training data (ablation) | KernelGen-LM-8B · NPUKernelBench | Compilation Rate | Hurt |
| remove documentation data from training (ablation) | KernelGen-LM-8B · NPUKernelBench | Compilation Rate | No clear effect |
| increase training data ratio (ablation) | KernelGen-LM-8B · NPUKernelBench | Compilation/Execution Rate | Improved |
| use compile-pass-but-execution-fail negatives instead of compile-fail negatives for RL (ablation) | KernelGen-LM-8B · NPUKernelBench RL | Compilation/Execution Rate: CR 32.00->44.21/54.03, ER 6.10->8.31/9.49 | Improved |
| use a cosine LR schedule instead of constant for RL (ablation) | KernelGen-LM-8B · NPUKernelBench RL | Compilation/Execution Rate: CR 44.21->54.03, ER 8.31->9.49 | Improved |
| increase model scale (1.7B to 32B) (ablation) | KernelGen-LM · NPUKernelBench Level 1/2 | Compilation/Execution Rate | Improved |
| increase model scale to 32B (ablation) | KernelGen-LM · NPUKernelBench Level 3 | Compilation Rate | Improved |
Open problems this paper states
- “Benchmark is a controlled environment that does not capture the variability of open-ended operator development in production.” → Benchmarks are idealized and may not match real industrial problems. (an open problem in LLMs for optimization and heuristics)
Open problems in LLMs for optimization and heuristics
Do LLM-driven optimization and heuristic design methods hold up beyond benchmark problems, and at what cost?
- Repeated LLM calls and candidate evaluation make search slow and costly. · 21 papers state it
- Results depend on the LLM, and the best ones use closed API models. · 19 papers state it
- Only one or two problem classes were tried, and others are untested. · 18 papers state it
Closest papers by meaning
- EGG: An Expert-Guided Agent Framework for Kernel Generation (ICML 2026 · similarity 0.87)
- KernelBench: Can LLMs Write Efficient GPU Kernels? (ICML 2025 · similarity 0.86)
- DRTriton: Large-Scale Synthetic Data Driven Reinforcement Learning for Triton Kernel Generation (NeurIPS 2026 · similarity 0.85)
- REASONING COMPILER: LLM-Guided Optimizations for Efficient Model Serving (NeurIPS 2025 · similarity 0.85)
- Puzzle: Distillation-Based NAS for Inference-Optimized LLMs (ICML 2025 · similarity 0.85)
- HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesis (NeurIPS 2024 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.