Approximately Optimal Core Shapes for Tensor Decompositions
Mehrdad Ghadiri, Matthew Fahrbach, Gang Fu, Vahab Mirrokni
TL;DR
This paper addresses the problem of selecting an optimal core shape for size-constrained Tucker tensor decompositions by formulating the Tucker packing problem. It establishes NP-hardness and delivers a polynomial-time approximation scheme (PTAS) by reducing a surrogate loss based on higher-order singular values to a 2D knapsack problem with a partition matroid, plus budget-splitting techniques and grid-search refinements. The authors extend the framework to tree tensor networks and provide an IP-based implementation (HOSVD-IP) that is competitive with, and often faster than, greedy baselines that use the true reconstruction loss, achieving substantial speedups. Empirical results on several real-world tensors demonstrate effective core-shape selection and substantial run-time advantages, enabling scalable core-shape optimization for large-scale tensors.
Abstract
This work studies the combinatorial optimization problem of finding an optimal core tensor shape, also called multilinear rank, for a size-constrained Tucker decomposition. We give an algorithm with provable approximation guarantees for its reconstruction error via connections to higher-order singular values. Specifically, we introduce a novel Tucker packing problem, which we prove is NP-hard, and give a polynomial-time approximation scheme based on a reduction to the 2-dimensional knapsack problem with a matroid constraint. We also generalize our techniques to tree tensor network decompositions. We implement our algorithm using an integer programming solver, and show that its solution quality is competitive with (and sometimes better than) the greedy algorithm that uses the true Tucker decomposition loss at each step, while also running up to 1000x faster.
