TL;DR
Choosing the right tensor network (TN) decomposition structure and rank for high-dimensional data is traditionally guided by rigid heuristics or slow evolutionary search. This paper introduces Greedy-TN, an adaptive algorithm that jointly discovers both the network topology and non-uniform edge ranks by starting from a rank-one model and greedily adding capacity where it reduces loss the most. It matches or outperforms specialized structures across decomposition, completion, and neural network compression tasks while running orders of magnitude faster than prior topology searches.
What Problem Does This Paper Address?
Tensor decompositions (such as Tucker, Tensor Train [TT], and Tensor Ring [TR]) allow researchers to compactly represent high-dimensional tensors by factorizing them into smaller core tensors. However, selecting which architecture to use is typically an ad-hoc guess. If a user picks the wrong model topology—or forces uniform ranks across all dimensions—they risk severe underfitting or parameter bloat.
Ideally, an algorithm should infer the optimal tensor network structure (both connectivity graph and edge ranks) directly from the data and the task loss under a parameter budget. This setup creates a difficult bi-level optimization problem: a discrete, combinatorial search over network graph structures on the outside, and a continuous optimization over tensor parameters on the inside.
Methods
The authors propose Greedy-TN, an algorithm that iteratively builds a tensor network:
- Rank-One Initialization: The process begins with a simple rank-one tensor network (all edge ranks set to 1).
- Heuristic Best-Edge Selection: At each greedy step, the algorithm considers potential edges to increment. To evaluate an edge cheaply without re-optimizing the entire network, it temporarily freezes all existing weights and optimizes only the newly added tensor slice for a few steps (using Alternating Least Squares [ALS] or gradient descent). The edge yielding the steepest loss drop is selected.
- Seamless Weight Transfer: After picking the winning edge, the rank is incremented by 1. The authors prove that initializing new slices with zeros preserves the exact tensor function from the previous step. In practice, adding tiny random values breaks symmetries while warm-starting continuous optimization, avoiding expensive retraining from scratch.
- Dynamic Node Splitting: To discover internal structural nodes (such as in Tucker or hierarchical formats), the algorithm computes truncated Singular Value Decompositions (SVDs) of core tensor matricizations. A node splits into two if its spectrum indicates rank truncation will lower total parameters below a threshold $\varepsilon$ without significant loss in fidelity.
Rank-1 Init
│
▼
┌───────────────────────────────┐
│ Evaluate Candidate Edges │ ◄── (Only tune new slices for a few steps)
└──────────────┬────────────────┘
▼
┌───────────────────────────────┐
│ Increment Rank & Warm-Start │ ◄── (Weight transfer: old cores kept, new slices ~ 0)
└──────────────┬────────────────┘
▼
┌───────────────────────────────┐
│ Global Continuous Opt (ALS/GD)│
└──────────────┬────────────────┘
▼
┌───────────────────────────────┐
│ Check Node Splitting via SVD │ ◄── (Spawns internal nodes if parameters decrease)
└──────────────┬────────────────┘
│
Repeat until budget
Datasets
The authors evaluated Greedy-TN on both synthetic benchmarks and real-world tasks:
- Synthetic 5th-Order Tensors ($7^5$): Randomly generated targets structured as TT, TR, Tucker, and an irregular "triangle" topology.
- Einstein Image Completion: An RGB image reshaped into a 7th-order tensor ($6 \times 10 \times 10 \times 6 \times 10 \times 10 \times 3$) where only 10% of pixels are observed.
- LIVE Image Dataset: 10 images ($256 \times 256$) tensorized into order-8 tensors of size $4^8$ for compression via squared-error loss.
- MNIST: Used to benchmark neural network compression on a fully connected layer ($1024 \times 1024$) reshaped into an order-5 tensor ($16^5$).
Key Insights and Ideas
- Model mis-specification hurts performance: Rigidly adhering to Tucker, TT, or TR often forces suboptimal tradeoffs. Greedy-TN can discover irregular graph structures tailored to specific data distributions.
- Non-uniform ranks provide massive savings: Baselines often assign uniform ranks across all dimensions. Greedy-TN routinely outperformed standard TT and Tucker baselines on their own synthetic data formats simply because it allocated higher ranks only to the modes that needed them.
- Local slice optimization enables tractable search: Testing every potential edge increment would normally be computationally prohibitive. Optimizing only the prospective parameter slices during edge selection makes greedy search practical.
Key Results
- Image Compression (LIVE): Greedy-TN surpassed the state-of-the-art genetic algorithm (GA) baseline across images 1–9, achieving both higher log-compression ratios and lower root-squared error (RSE). Crucially, it took minutes rather than several hours—running orders of magnitude faster.
- Image Completion: Greedy-TN achieved a relative error of 9.45% with 21,375 parameters, outperforming TR-ALS (10.83% with 17,820 parameters), CP, Tucker, and TT. At just 10,096 parameters, Greedy-TN was already at 10.60% error, beating TR's best result with fewer parameters.
- Neural Network Compression: Compressing a $1024 \times 1024$ hidden layer on MNIST, Greedy-TN reached 98.74% test accuracy at 15,050 parameters, outperforming TT (98.46% at 14,602 parameters) and TR (98.42% at 14,154 parameters). It matched TT's peak accuracy using ~16% fewer parameters (12,266).
Limitations and Future Work
- Local Optima: Because structure selection is purely greedy, the algorithm can get trapped in locally optimal graph topologies.
- Computational Scaling: While vastly faster than evolutionary algorithms, evaluating all candidate edges per step still scales with the number of possible node pairs, which can become a bottleneck for very high-order tensors.
- Internal Node Search Utility: Node splitting via SVD was only beneficial on the Tucker synthetic experiment and did not improve real-world image or neural network tasks.
- Future Directions: The authors note the need for more sophisticated discrete optimization routines for the upper-level problem and scaling the approach to compress modern, large-scale deep learning architectures.
Summary updated