K-Search: LLM Kernel Generation via Co-Evolving Intrinsic World Model
On the map: World models → World models for language agents
also in 1 more
Abstract (arXiv)
Optimizing GPU kernels is critical for efficient modern machine learning systems yet remains challenging due to the complex interplay of design factors and rapid hardware evolution. Existing automated approaches typically treat Large Language Models (LLMs) merely as stochastic code generators within heuristic-guided evolutionary loops. These methods often struggle with complex kernels requiring coordinated, multi-step structural transformations, as they lack explicit planning capabilities and frequently discard promising strategies due to inefficient or incorrect intermediate implementations. To address this, we propose Search via Co-Evolving World Model and build K-Search based on this method. By replacing static search heuristics with a co-evolving world model, our framework leverages LLMs' prior domain knowledge to guide the search, actively exploring the optimization space. This approach explicitly decouples high-level algorithmic planning from low-level program instantiation, enabling the system to navigate non-monotonic optimization paths while remaining resilient to temporary implementation defects. We evaluate K-Search on diverse, complex kernels from FlashInfer, including GQA, MLA, and MoE kernels. Our results show that K-Search significantly outperforms state-of-the-art evolutionary search methods, achieving an average 2.10x improvement and up to a 14.3x gain on complex MoE kernels. On the GPUMode TriMul task, K-Search achieves state-of-the-art performance on H100, reaching 1030us and surpassing both prior evolution and human-designed solutions.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Placed in World models for language agents, one of 11 directions in World models. Builds on 31 of its 43 references that are in the map. First posted on arXiv 22 Feb 2026.
Builds on
31 of 43 references.
Closest ancestors · 5
Same direction, newest first
- 2025WebEvolver: Enhancing Web Agent Self-Improvement with Coevolving World Model23 Apr
- 2024Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agents10 Nov
- 2023Reasoning with Language Model is Planning with World Model24 May
- 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planning24 May
- 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planning23 May
Other references · 26
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2018World Modelscited by 1,444
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
- 2015Illuminating search spaces by mapping elitescited by 406
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
14 more
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
- 2025ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolutioncited by 146
- 2026Learning to Discover at Test Timecited by 94
- 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 73
- 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
- 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimizationcited by 52
- 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 46
- 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 42
- 2025AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMscited by 38
- 2026FlashInfer-Bench: Building the Virtuous Cycle for AI-driven LLM Systemscited by 20
- 2025TritonForge: Profiling-Guided Framework for Automated Triton Kernel Optimizationcited by 15
- 2025EvoEngineer: Mastering Automated CUDA Kernel Code Evolution with Large Language Modelscited by 13
- 2025Enhancing LLM Planning Capabilities through Intrinsic Self-Critiquecited by 7
Built on by
Citing papers per year: 2026: 17.
17 papers.
Sort:
By area:
- 2026ASPIRE: Agentic /Skills Discovery for Roboticscited by 44
- 2026Dream-RSI: Recursive Self-Improvement through Evolving Worldscited by 9
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?cited by 6
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 5
- 2026Improving Efficiency of GPU Kernel Optimization Agents using a Domain-Specific Language and Speed-of-Light Guidancecited by 4
- 2026FrontierSmith: Synthesizing Open-Ended Coding Problems at Scalecited by 3
- 2026What Do Evolutionary Coding Agents Evolve?cited by 3
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolutioncited by 2
- 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimizationcited by 1
- 2026Automated Membership Inference Attacks (AutoMIA): Discovering MIA Signal Computations using LLM Agentscited by 0
- 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariantscited by 0
5 more
- 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineagescited by 0
- 2026GPU Forecasters: Language Models as Selective Surrogates for Kernel Runtime Optimizationcited by 0
- 2026PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTXcited by 0
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimizationcited by 0
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulationcited by 0
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulation28 Sep 2026
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization24 Sep 2026
- 2026Dream-RSI: Recursive Self-Improvement through Evolving Worlds14 Sep 2026
- 2026PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTX18 Aug 2026
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolution12 Aug 2026
- 2026ASPIRE: Agentic /Skills Discovery for Robotics30 Jun 2026
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?26 Jun 2026
- 2026GPU Forecasters: Language Models as Selective Surrogates for Kernel Runtime Optimization29 May 2026
- 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineages27 May 2026
- 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimization19 May 2026
- 2026What Do Evolutionary Coding Agents Evolve?19 May 2026
- 2026FrontierSmith: Synthesizing Open-Ended Coding Problems at Scale14 May 2026
5 more
- 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariants16 Apr 2026
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe1 Apr 2026
- 2026Improving Efficiency of GPU Kernel Optimization Agents using a Domain-Specific Language and Speed-of-Light Guidance30 Mar 2026
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimization30 Mar 2026
- 2026Automated Membership Inference Attacks (AutoMIA): Discovering MIA Signal Computations using LLM Agents19 Mar 2026
- 2026ASPIRE: Agentic /Skills Discovery for Roboticscited by 44
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
- 2026Improving Efficiency of GPU Kernel Optimization Agents using a Domain-Specific Language and Speed-of-Light Guidancecited by 4
- 2026What Do Evolutionary Coding Agents Evolve?cited by 3
- 2026Automated Membership Inference Attacks (AutoMIA): Discovering MIA Signal Computations using LLM Agentscited by 0
- 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariantscited by 0
- 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineagescited by 0
- 2026GPU Forecasters: Language Models as Selective Surrogates for Kernel Runtime Optimizationcited by 0
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimizationcited by 0
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization24 Sep 2026
- 2026ASPIRE: Agentic /Skills Discovery for Robotics30 Jun 2026
- 2026GPU Forecasters: Language Models as Selective Surrogates for Kernel Runtime Optimization29 May 2026
- 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineages27 May 2026
- 2026What Do Evolutionary Coding Agents Evolve?19 May 2026
- 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariants16 Apr 2026
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe1 Apr 2026
- 2026Improving Efficiency of GPU Kernel Optimization Agents using a Domain-Specific Language and Speed-of-Light Guidance30 Mar 2026
- 2026Automated Membership Inference Attacks (AutoMIA): Discovering MIA Signal Computations using LLM Agents19 Mar 2026
- 2026Dream-RSI: Recursive Self-Improvement through Evolving Worldscited by 9
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?cited by 6
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 5
- 2026FrontierSmith: Synthesizing Open-Ended Coding Problems at Scalecited by 3
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolutioncited by 2
- 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimizationcited by 1
- 2026PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTXcited by 0
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulationcited by 0
- 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulation28 Sep 2026
- 2026Dream-RSI: Recursive Self-Improvement through Evolving Worlds14 Sep 2026
- 2026PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTX18 Aug 2026
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolution12 Aug 2026
- 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?26 Jun 2026
- 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimization19 May 2026
- 2026FrontierSmith: Synthesizing Open-Ended Coding Problems at Scale14 May 2026
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimization30 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025STARK: Strategic Team of Agents for Refining Kernels
- 2025Evolution of Kernels: Automated RISC-V Kernel Optimization with Large Language Models
- 2026Towards Automated Kernel Generation in the Era of LLMs
- 2026KernelZero: Co-Evolving Proposer and Coder for Continuously Improved GPU Kernel Generation
- 2026Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Experts
- 2026EGG: An Expert-Guided Agent Framework for Kernel Generation
- 2025QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generation
- 2025GPU Kernel Scientist: An LLM-Driven Framework for Iterative Kernel Optimization