mlsanityData to 7 Oct 2026

K-Search: LLM Kernel Generation via Co-Evolving Intrinsic World Model

arXiv 2602.19128 ↗First posted 22 Feb 2026cs.AIcited by 17

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

  1. 2025WebEvolver: Enhancing Web Agent Self-Improvement with Coevolving World Model23 Apr
  2. 2024Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agents10 Nov
  3. 2023Reasoning with Language Model is Planning with World Model24 May
  4. 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planning24 May
  5. 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planning23 May

Other references · 26

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  6. 2018World Modelscited by 1,444
  7. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  8. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  9. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
  10. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  11. 2015Illuminating search spaces by mapping elitescited by 406
  12. 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
14 more
  1. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  2. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  3. 2025ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolutioncited by 146
  4. 2026Learning to Discover at Test Timecited by 94
  5. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 73
  6. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
  7. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimizationcited by 52
  8. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 46
  9. 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 42
  10. 2025AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMscited by 38
  11. 2026FlashInfer-Bench: Building the Virtuous Cycle for AI-driven LLM Systemscited by 20
  12. 2025TritonForge: Profiling-Guided Framework for Automated Triton Kernel Optimizationcited by 15
  13. 2025EvoEngineer: Mastering Automated CUDA Kernel Code Evolution with Large Language Modelscited by 13
  14. 2025Enhancing LLM Planning Capabilities through Intrinsic Self-Critiquecited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 17.

17 papers.

Sort:

By area:

  1. 2026ASPIRE: Agentic /Skills Discovery for Roboticscited by 44
  2. 2026Dream-RSI: Recursive Self-Improvement through Evolving Worldscited by 9
  3. 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
  4. 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?cited by 6
  5. 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 5
  6. 2026Improving Efficiency of GPU Kernel Optimization Agents using a Domain-Specific Language and Speed-of-Light Guidancecited by 4
  7. 2026FrontierSmith: Synthesizing Open-Ended Coding Problems at Scalecited by 3
  8. 2026What Do Evolutionary Coding Agents Evolve?cited by 3
  9. 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolutioncited by 2
  10. 2026JAXBench: Benchmarking Autonomous TPU Kernel Optimizationcited by 1
  11. 2026Automated Membership Inference Attacks (AutoMIA): Discovering MIA Signal Computations using LLM Agentscited by 0
  12. 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariantscited by 0
5 more
  1. 2026Learning When to Optimize: Verified Optimization Skills from Expert GPU-Kernel Lineagescited by 0
  2. 2026GPU Forecasters: Language Models as Selective Surrogates for Kernel Runtime Optimizationcited by 0
  3. 2026PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTXcited by 0
  4. 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimizationcited by 0
  5. 2026GPUPhysBench: Benchmarking Coding Agents for Correct and Efficient GPU Physics Simulationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025STARK: Strategic Team of Agents for Refining Kernels
  2. 2025Evolution of Kernels: Automated RISC-V Kernel Optimization with Large Language Models
  3. 2026Towards Automated Kernel Generation in the Era of LLMs
  4. 2026KernelZero: Co-Evolving Proposer and Coder for Continuously Improved GPU Kernel Generation
  5. 2026Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Experts
  6. 2026EGG: An Expert-Guided Agent Framework for Kernel Generation
  7. 2025QiMeng-Kernel: Macro-Thinking Micro-Coding Paradigm for LLM-Based High-Performance GPU Kernel Generation
  8. 2025GPU Kernel Scientist: An LLM-Driven Framework for Iterative Kernel Optimization