paper-with-me

홈 › Papers

EvoEngineer: Mastering Automated CUDA Kernel Code Evolution with Large Language Models

2025-10-04 · Ping Guo, Chenyu Zhu, Siyuan Chen, Fei Liu, Xi Lin, Zhichao Lu, Qingfu Zhang arxiv

CUDA kernel optimization has become a critical bottleneck for AI performance, as deep learning training and inference efficiency directly depends on highly optimized GPU kernels. Despite the promise of Large Language Models (LLMs) for automating kernel optimization, this field suffers from a fragmented ecosystem of isolated and incomparable approaches with unclear problem formulations. Furthermore, general-purpose LLM code evolution methods cannot meet strict correctness requirements of CUDA kernel optimization. We address these fundamental challenges by first formalizing CUDA kernel optimization as a code optimization task with a clear objective, constraints, and evaluation metrics. We then establish the first systematic LLM-based code evolution framework, EvoEngineer, that provides guidance for designing and adapting optimization strategies to achieve a balance between performance and correctness. Finally, we implement a kernel optimization system based on this framework and conduct extensive experiments on 91 real-world CUDA kernels. Our results demonstrate that EvoEngineer achieves a principled balance between performance and correctness, with the highest averaged median speedup of \textbf{2.72}$\times$ over baseline CUDA kernels and a code validity rate of \textbf{69.8}\%, outperforming existing methods on both dimensions. Our method achieves a maximum speedup of \textbf{36.75}$\times$ among all operations over PyTorch kernels and delivers the highest speedup on \textbf{28} (\textbf{56.0\%}) of 50 operations that achieve over \textbf{2$\times$} acceleration.

📄 PDF Abstract BibTeX arXiv:2510.03760

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

StitchCUDA: An Automated Multi-Agents End-to-End GPU Programing Framework with Rubric-based Agentic Reinforcement Learning

2026-03-03 · Shiyang Li, Zijian Zhang, Winson Chen, Yuebo Luo 외 arxiv

Modern machine learning (ML) workloads increasingly rely on GPUs, yet achieving high end-to-end performance remains challenging due to dependencies on both GPU kernel efficiency and host-side settings. Although LLM-based…

Reinforcement LearningCode Generation

CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learning

2025-07-18 · Xiaoya Li, Xiaofei Sun, Albert Wang, Jiwei Li 외

The exponential growth in demand for GPU computing resources, driven by the rapid advancement of Large Language Models, has created an urgent need for automated CUDA optimization strategies. While recent advances in LLMs…

Code GenerationGPUreinforcement-learningReinforcement Learning

CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation

2026-02-27 · Weinan Dai, Hanlin Wu, Qiying Yu, Huan-ang Gao 외 arxiv

GPU kernel optimization is fundamental to modern deep learning but remains a highly specialized task requiring deep hardware expertise. Despite strong performance in general programming, large language models (LLMs) rema…

Reinforcement LearningCode Generation

Making LLMs Optimize Multi-Scenario CUDA Kernels Like Experts

2026-03-07 · Yuxuan Han, Meng-Hao Guo, Zhengning Liu, Wenguang Chen 외 arxiv

Optimizing GPU kernels manually is a challenging and time-consuming task. With the rapid development of LLMs, automated GPU kernel optimization is gradually becoming a tangible reality. However, current LLM-driven automa…

CUDAHercules: Benchmarking Hardware-Aware Expert-level CUDA Optimization for LLMs

2026-05-08 · Shiyang Li, Zijian Zhang, Guangyan Sun, Yuebo Luo 외 arxiv

Large language models show promise for automated CUDA programming, however even the strongest coding models (e.g., Claude-Opus-4.6) may still fall short of expert-level, architecture-aware optimization. We introduce CUDA…