Evolution of Kernels: Automated RISC-V Kernel Optimization with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Automated kernel design is critical for overcoming software ecosystem barriers in emerging hardware platforms like RISC-V. While large language models (LLMs) have shown promise for automated kernel optimization, demonstrating success in CUDA domains with comprehensive technical documents and mature codebases, their effectiveness remains unproven for reference-scarce domains like RISC-V. We present Evolution of Kernels (EoK), a novel LLM-based evolutionary program search framework that automates kernel design for domains with limited reference material. EoK mitigates reference scarcity by mining and formalizing reusable optimization ideas (general design principles + actionable thoughts) from established kernel libraries' development histories; it then guides parallel LLM explorations using these ideas, enriched via Retrieval-Augmented Generation (RAG) with RISC-V-specific context, prioritizing historically effective techniques. Empirically, EoK achieves a median 1.27x speedup, surpassing human experts on all 80 evaluated kernel design tasks and improving upon prior LLM-based automated kernel design methods by 20%. These results underscore the viability of incorporating human experience into emerging domains and highlight the immense potential of LLM-based automated kernel optimization.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 25 of its 63 references that are in the map. First posted on arXiv 14 Sep 2025.
Builds on
25 of 63 references.
References · 25
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2025Qwen3 Technical Reportcited by 8,195
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 542
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
- 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 266
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 258
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
13 more
- 2018Learning to Optimize Tensor Programscited by 138
- 2024Large Language Models to Enhance Bayesian Optimizationcited by 127
- 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 73
- 2025TritonBench: Benchmarking Large Language Model Capabilities for Generating Triton Operatorscited by 68
- 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 65
- 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
- 2024Mirage: A Multi-Level Superoptimizer for Tensor Programscited by 39
- 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 35
- 2025CUDA-LLM: LLMs Can Write Efficient CUDA Kernelscited by 33
- 2022Tensor Program Optimization with Probabilistic Programscited by 30
- 2024Understanding the Importance of Evolutionary Search in Automated Heuristic Design with Large Language Modelscited by 22
- 2024Evolve Cost-aware Acquisition Functions Using Large Language Modelscited by 17
- 2024L-AutoDA: Leveraging Large Language Models for Automated Decision-based Adversarial Attackscited by 8
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026K-Search: LLM Kernel Generation via Co-Evolving Intrinsic World Model
- 2025cuPilot: A Strategy-Coordinated Multi-agent Framework for CUDA Kernel Evolution
- 2026Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Experts
- 2026Prior Knowledge or Search? A Study of LLM Agents in Hardware-Aware Code Optimization
- 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization
- 2025GPU Kernel Scientist: An LLM-Driven Framework for Iterative Kernel Optimization
- 2026CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language
- 2025STARK: Strategic Team of Agents for Refining Kernels