Pith. sign in

REVIEW 3 cited by

Mirage: A Multi-Level Superoptimizer for Tensor Programs

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.05751 v3 pith:FSCADLXO submitted 2024-05-09 cs.LG cs.AIcs.PL

classification cs.LGcs.AIcs.PL
keywords mirageprogramstensorgraphsintroducesmulti-leveloptimizedsearch
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

We introduce Mirage, the first multi-level superoptimizer for tensor programs. A key idea in Mirage is $\mu$Graphs, a uniform representation of tensor programs at the kernel, thread block, and thread levels of the GPU compute hierarchy. $\mu$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 $\mu$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$\times$ even for DNNs that are widely used and heavily optimized. Mirage is publicly available at https://github.com/mirage-project/mirage.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. MultiKernelBench: A Multi-Platform Benchmark for Kernel Generation

    cs.DC 2025-07 conditional novelty 6.0 of 10

    MultiKernelBench is a 285-task, 14-category benchmark for LLM-generated deep learning kernels on three hardware platforms, with evidence that category-matched one-shot prompts improve accuracy on under-represented platforms.

  2. Identity Testing for Circuits with Exponentiation Gates

    cs.CC 2025-06 conditional novelty 6.0 of 10

    Identity testing for circuits with exponentiation gates can be done by one random query, with proof that in a two-modulus finite-field model the error is controlled by a weak Descartes rule.

  3. Rethinking Dynamic Networks and Heterogeneous Computing with Automatic Parallelization

    cs.DC 2025-06 conditional novelty 4.0 of 10

    A simulation-based search framework that automatically picks parallel training strategies for heterogeneous and dynamic-network GPU clusters, reporting simulated speedups up to 4.69x over Megatron.

Pith tools