Optimizing Tensor Contraction Paths: A Greedy Algorithm Approach With Improved Cost Functions
Sheela Orgler, Mark Blacher

TL;DR
This paper presents a new greedy algorithm for tensor contraction path optimization that significantly reduces computation time and enables handling larger problems than existing methods.
Contribution
A novel greedy algorithm approach that improves efficiency and scalability in tensor contraction path finding compared to prior methods.
Findings
Computes contraction paths faster than existing algorithms.
Successfully handles larger tensor problems.
Achieves comparable or better contraction efficiency.
Abstract
Finding efficient tensor contraction paths is essential for a wide range of problems, including model counting, quantum circuits, graph problems, and language models. There exist several approaches to find efficient paths, such as the greedy and random greedy algorithm by Optimized Einsum (opt_einsum), and the greedy algorithm and hypergraph partitioning approach employed in cotengra. However, these algorithms require a lot of computational time and resources to find efficient contraction paths. In this paper, we introduce a novel approach based on the greedy algorithm by opt_einsum that computes efficient contraction paths in less time. Moreover, with our approach, we are even able to compute paths for large problems where modern algorithms fail.
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.
Taxonomy
TopicsTensor decomposition and applications · Parallel Computing and Optimization Techniques · Computational Physics and Python Applications
