Mirage: A Multi-Level Superoptimizer for Tensor Programs
Not on the map. Why?
Abstract (arXiv)
We introduce Mirage, the first multi-level superoptimizer for tensor programs. A key idea in Mirage is μGraphs, a uniform representation of tensor programs at the kernel, thread block, and thread levels of the GPU compute hierarchy. μGraphs enable Mirage to discover novel optimizations that combine algebraic transformations, schedule transformations, and generation of new custom kernels. To navigate the large search space, Mirage introduces a pruning technique based on abstraction that significantly reduces the search space and provides a certain optimality guarantee. To ensure that the optimized μGraph is equivalent to the input program, Mirage introduces a probabilistic equivalence verification procedure with strong theoretical guarantees. Our evaluation shows that Mirage outperforms existing approaches by up to 3.3× even for DNNs that are widely used and heavily optimized. Mirage is publicly available at https://github.com/mirage-project/mirage.
Key facts. Cited by 41 papers in the map (data through 13 Oct 2026). Builds on 10 of its 51 references that are in the map. First posted on arXiv 9 May 2024.
Builds on
10 of 51 references.
References · 10
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,231
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,851
- 2019Root Mean Square Layer Normalizationcited by 1,449
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 243
- 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 201
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
- 2018Learning to Optimize Tensor Programscited by 139
- 2018NVIDIA Tensor Core Programmability, Performance & Precisioncited by 79
- 2022TensorIR: An Abstraction for Automatic Tensorized Program Optimizationcited by 38
- 2021Equality Saturation for Tensor Graph Superoptimizationcited by 27
Built on by
Citing papers per year: 2025: 20; 2026: 21.
41 papers.
Sort:
By area:
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 22
- 2025The FM Agentcited by 21
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 15
- 2025HyGen: Efficient LLM Serving via Elastic Online-Offline Request Co-locationcited by 10
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 6
- 2025SPAD: Specialized Prefill and Decode Hardware for Disaggregated LLM Inferencecited by 6
- 2026UniEP: Unified Expert-Parallel MoE MegaKernel for LLM Trainingcited by 5
- 2026CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programscited by 5
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUscited by 4
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorchcited by 3
- 2025FlashFormer: Whole-Model Kernels for Efficient Low-Batch Inferencecited by 3
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMscited by 3
29 more
- 2025GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programscited by 3
- 2026A Two-Stage GPU Kernel Tuner Combining Semantic Refactoring and Search-Based Optimizationcited by 3
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 3
- 2025Blockbuster, Part 1: Block-level AI Operator Fusioncited by 1
- 2025TTrace: Lightweight Error Checking and Diagnosis for Distributed Trainingcited by 1
- 2025VeriLocc: End-to-End Cross-Architecture Register Allocation via LLMcited by 1
- 2025MegaFold: Efficient Training of Next-Generation 3D Attention Protein Models on Cross-Platform GPUscited by 1
- 2025Evolution of Kernels: Automated RISC-V Kernel Optimization with Large Language Modelscited by 1
- 2026Nautilus: An Auto-Scheduling Tensor Compiler for Efficient Tiled GPU Kernelscited by 1
- 2026Prism: Symbolic Superoptimization of Tensor Programscited by 1
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelismcited by 1
- 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inferencecited by 1
- 2025Rethinking Dynamic Networks and Heterogeneous Computing with Automatic Parallelizationcited by 0
- 2025Verify Distributed Deep Learning Model Implementation Refinement with Iterative Relation Inferencecited by 0
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworkscited by 0
- 2025Flashlight: PyTorch Compiler Extensions to Accelerate Attention Variantscited by 0
- 2026A Switch-Centric In-Network Architecture for Accelerating LLM Inference in Shared-Memory Networkcited by 0
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Eliminationcited by 0
- 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariantscited by 0
- 2026SPEAR: A System for Post-Quantization Error-Adaptive Recovery Enabling Efficient Low-Bit LLM Servingcited by 0
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programscited by 0
- 2026SmoothAgent: Efficient Long-Horizon LLM-Based Agent Serving with Lookahead Context Engineeringcited by 0
- 2026CTA-Pipelining: A Latency-Oriented Spatial Scaling Method for Multi-GPU Systemscited by 0
- 2026HIERA: Workload-Aware Planning Across Implementation Spaces for GPU Kernel Optimizationcited by 0
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilerscited by 0
- 2026BOOST: Concurrent Access to Host Memory and HBM to Accelerate LLM Inferencecited by 0
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimizationcited by 0
- 2026AI as a Compiler: Compiling Triton kernels without the Triton compilercited by 0
- 2026Cleave: Scaling Tensor Program Optimization via Decoupled Algebraic Search and Operator Schedulingcited by 0
- 2026Cleave: Scaling Tensor Program Optimization via Decoupled Algebraic Search and Operator Scheduling6 Oct 2026
- 2026AI as a Compiler: Compiling Triton kernels without the Triton compiler29 Sep 2026
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization24 Sep 2026
- 2026BOOST: Concurrent Access to Host Memory and HBM to Accelerate LLM Inference11 Sep 2026
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers21 Aug 2026
- 2026HIERA: Workload-Aware Planning Across Implementation Spaces for GPU Kernel Optimization21 Aug 2026
- 2026CTA-Pipelining: A Latency-Oriented Spatial Scaling Method for Multi-GPU Systems8 Jul 2026
- 2026SmoothAgent: Efficient Long-Horizon LLM-Based Agent Serving with Lookahead Context Engineering30 Jun 2026
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programs24 Jun 2026
- 2026SPEAR: A System for Post-Quantization Error-Adaptive Recovery Enabling Efficient Low-Bit LLM Serving4 Jun 2026
- 2026CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs19 May 2026
- 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inference12 May 2026
29 more
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelism29 Apr 2026
- 2026UniEP: Unified Expert-Parallel MoE MegaKernel for LLM Training21 Apr 2026
- 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariants16 Apr 2026
- 2026Prism: Symbolic Superoptimization of Tensor Programs16 Apr 2026
- 2026Nautilus: An Auto-Scheduling Tensor Compiler for Efficient Tiled GPU Kernels16 Apr 2026
- 2026A Switch-Centric In-Network Architecture for Accelerating LLM Inference in Shared-Memory Network30 Mar 2026
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimization24 Mar 2026
- 2026VTC: DNN Compilation with Virtual Tensors for Data Movement Elimination11 Feb 2026
- 2026A Two-Stage GPU Kernel Tuner Combining Semantic Refactoring and Search-Based Optimization19 Jan 2026
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs22 Dec 2025
- 2025GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programs15 Dec 2025
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimization19 Nov 2025
- 2025Flashlight: PyTorch Compiler Extensions to Accelerate Attention Variants3 Nov 2025
- 2025The FM Agent30 Oct 2025
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUs9 Oct 2025
- 2025SPAD: Specialized Prefill and Decode Hardware for Disaggregated LLM Inference9 Oct 2025
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMs30 Sep 2025
- 2025Evolution of Kernels: Automated RISC-V Kernel Optimization with Large Language Models14 Sep 2025
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks12 Sep 2025
- 2025Verify Distributed Deep Learning Model Implementation Refinement with Iterative Relation Inference13 Aug 2025
- 2025MegaFold: Efficient Training of Next-Generation 3D Attention Protein Models on Cross-Platform GPUs24 Jun 2025
- 2025VeriLocc: End-to-End Cross-Architecture Register Allocation via LLM20 Jun 2025
- 2025TTrace: Lightweight Error Checking and Diagnosis for Distributed Training10 Jun 2025
- 2025Rethinking Dynamic Networks and Heterogeneous Computing with Automatic Parallelization3 Jun 2025
- 2025FlashFormer: Whole-Model Kernels for Efficient Low-Batch Inference28 May 2025
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Models16 May 2025
- 2025Blockbuster, Part 1: Block-level AI Operator Fusion29 Apr 2025
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorch25 Mar 2025
- 2025HyGen: Efficient LLM Serving via Elastic Online-Offline Request Co-location15 Jan 2025
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimizationcited by 22
- 2025The FM Agentcited by 21
- 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariantscited by 0
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimizationcited by 0
- 2026KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization24 Sep 2026
- 2026Ave: Guiding Agentic GPU Optimization Using Data-Flow Invariants16 Apr 2026
- 2025AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimization19 Nov 2025
- 2025The FM Agent30 Oct 2025
- 2025HyGen: Efficient LLM Serving via Elastic Online-Offline Request Co-locationcited by 10
- 2026SPEAR: A System for Post-Quantization Error-Adaptive Recovery Enabling Efficient Low-Bit LLM Servingcited by 0
- 2026SmoothAgent: Efficient Long-Horizon LLM-Based Agent Serving with Lookahead Context Engineeringcited by 0
- 2026SmoothAgent: Efficient Long-Horizon LLM-Based Agent Serving with Lookahead Context Engineering30 Jun 2026
- 2026SPEAR: A System for Post-Quantization Error-Adaptive Recovery Enabling Efficient Low-Bit LLM Serving4 Jun 2026
- 2025HyGen: Efficient LLM Serving via Elastic Online-Offline Request Co-location15 Jan 2025
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 15
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 6
- 2025SPAD: Specialized Prefill and Decode Hardware for Disaggregated LLM Inferencecited by 6
- 2026CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programscited by 5
- 2025Neptune: Advanced ML Operator Fusion for Locality and Parallelism on GPUscited by 4
- 2025PyGraph: Robust Compiler Support for CUDA Graphs in PyTorchcited by 3
- 2025FlashFormer: Whole-Model Kernels for Efficient Low-Batch Inferencecited by 3
- 2025LoRAFusion: Efficient LoRA Fine-Tuning for LLMscited by 3
- 2025GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programscited by 3
- 2026A Two-Stage GPU Kernel Tuner Combining Semantic Refactoring and Search-Based Optimizationcited by 3
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 3
- 2025Blockbuster, Part 1: Block-level AI Operator Fusioncited by 1
12 most cited of 33 All 33 (JSON)
- 2026Cleave: Scaling Tensor Program Optimization via Decoupled Algebraic Search and Operator Scheduling6 Oct 2026
- 2026AI as a Compiler: Compiling Triton kernels without the Triton compiler29 Sep 2026
- 2026BOOST: Concurrent Access to Host Memory and HBM to Accelerate LLM Inference11 Sep 2026
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers21 Aug 2026
- 2026HIERA: Workload-Aware Planning Across Implementation Spaces for GPU Kernel Optimization21 Aug 2026
- 2026CTA-Pipelining: A Latency-Oriented Spatial Scaling Method for Multi-GPU Systems8 Jul 2026
- 2026Axon: A Synthesizing Superoptimizer for Tensor Programs24 Jun 2026
- 2026CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programs19 May 2026
- 2026Ada-MK: Adaptive MegaKernel Optimization via Automated DAG-based Search for LLM Inference12 May 2026
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelism29 Apr 2026
- 2026Prism: Symbolic Superoptimization of Tensor Programs16 Apr 2026
- 2026Nautilus: An Auto-Scheduling Tensor Compiler for Efficient Tiled GPU Kernels16 Apr 2026
12 newest of 33 All 33 (JSON)