Prism: Symbolic Superoptimization of Tensor Programs
Mengdi Wu, Xiaoyu Jiang, Oded Padon, Zhihao Jia

TL;DR
Prism is a symbolic superoptimizer for tensor programs that uses a hierarchical symbolic representation and symbolic reasoning to efficiently optimize tensor computations, outperforming existing methods.
Contribution
It introduces sGraph, a hierarchical symbolic representation, and a two-level search for tensor program optimization, combining symbolic reasoning with auto-tuning.
Findings
Achieves up to 2.2x speedup over existing superoptimizers.
Reduces optimization time by up to 3.4x.
Outperforms compiler-based approaches by up to 4.9x.
Abstract
This paper presents Prism, the first symbolic superoptimizer for tensor programs. The key idea is sGraph, a symbolic, hierarchical representation that compactly encodes large classes of tensor programs by symbolically representing some execution parameters. Prism organizes optimization as a two-level search: it constructs symbolic graphs that represent families of programs, and then instantiates them into concrete implementations. This formulation enables structured pruning of provably suboptimal regions of the search space using symbolic reasoning over operator semantics, algebraic identities, and hardware constraints. We develop techniques for efficient symbolic graph generation, equivalence verification via e-graph rewriting, and parameter instantiation through auto-tuning. Together, these components allow Prism to bridge the rigor of exhaustive search with the scalability required…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
