mlsanityData to 14 Oct 2026

Toward Compiler World Models: Learning Latent Dynamics for Efficient Tensor Program Search

arXiv 2606.09312 ↗First posted 8 Jun 2026cs.LG cs.PLcited by 0

On the map: World models → World models for language agents

Abstract (arXiv)

Tensor program optimization is essential for modern machine learning systems, but its search space is enormous. Existing auto-schedulers reduce measurement cost with learned cost models, yet they usually evaluate each candidate as a static code snapshot, ignoring the schedule trajectory that produced it. This makes them insensitive to action dependencies and vulnerable to superficial code variations. We propose a world-model-inspired evaluator that models schedule evaluation as action-conditioned latent dynamics over program states. Starting from the initial program, it rolls out scheduling actions in a continuous latent space with a lightweight transition model, avoiding expensive AST mutation and repeated code encoding. The final dynamic representation is combined with action and hardware features to rank candidates. Implemented in TVM AutoScheduler, our method improves representative-subgraph latency over Ansor by 1.37× on GPU and 1.54× on CPU under the same 64-trial budget. It also matches Ansor-10K within 2.2% geometric mean using 10× fewer measurements, and accelerates full-model inference over PyTorch/PyTorch-opt(cuDNN) by 4.61×/3.67× geometric mean.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in World models for language agents, one of 11 directions in World models. Builds on 9 of its 48 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

9 of 48 references.

References · 9

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024Qwen2.5 Technical Reportcited by 4,942
  3. 2024DeepSeek-V3 Technical Reportcited by 811
  4. 2014cuDNN: Efficient Primitives for Deep Learningcited by 245
  5. 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
  6. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 85
  7. 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 65
  8. 2026AutoKernel: Autonomous GPU Kernel Optimization via Iterative Agent-Driven Searchcited by 18
  9. 2026A Two-Stage GPU Kernel Tuner Combining Semantic Refactoring and Search-Based Optimizationcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Step-TP: A Grounded, Step-Level Dataset with Chain-of-Thought Reasoning for LLM-Guided Tensor Program Optimization
  2. 2026TensorBench: Benchmarking Coding Agents on a Compiler-Based Tensor Framework
  3. 2026TCL: Enabling Fast and Efficient Cross-Hardware Tensor Program Optimization via Continual Learning
  4. 2026WarmTuner: Program-Specific Warm Starts for Compiler Autotuning via Offline-to-Online Reinforcement Learning ↗
  5. 2025Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Prediction
  6. 2024CompilerDream: Learning a Compiler World Model for General Code Optimization
  7. 2026PassNet: Scaling Large Language Models for Graph Compiler Pass Generation
  8. 2026Prism: Symbolic Superoptimization of Tensor Programs