[Paper Review] Practical Leverage-Based Sampling for Low-Rank Tensor Decomposition
This paper proposes a practical leverage-score-based sampling method for accelerating low-rank tensor decomposition via matrix sketching. By sampling rows proportional to upper bounds on leverage scores—computed efficiently using the Khatri-Rao product structure—it achieves an O(rd/ϵ) sampling complexity independent of tensor size, enabling significant speedups on large sparse tensors while maintaining high accuracy compared to deterministic methods.
The low-rank canonical polyadic tensor decomposition is useful in data analysis and can be computed by solving a sequence of overdetermined least squares subproblems. Motivated by consideration of sparse tensors, we propose sketching each subproblem using leverage scores to select a subset of the rows, with probabilistic guarantees on the solution accuracy. We randomly sample rows proportional to leverage score upper bounds that can be efficiently computed using the special Khatri-Rao subproblem structure inherent in tensor decomposition. Crucially, for a $(d+1)$-way tensor, the number of rows in the sketched system is $O(r^d/ε)$ for a decomposition of rank $r$ and $ε$-accuracy in the least squares solve, independent of both the size and the number of nonzeros in the tensor. Along the way, we provide a practical solution to the generic matrix sketching problem of sampling overabundance for high-leverage-score rows, proposing to include such rows deterministically and combine repeated samples in the sketched system; we conjecture that this can lead to improved theoretical bounds. Numerical results on real-world large-scale tensors show the method is significantly faster than deterministic methods at nearly the same level of accuracy.
Motivation & Objective
- To accelerate low-rank CANDECOMP/PARAFAC (CP) tensor decomposition for large, sparse tensors.
- To reduce computational cost in alternating least squares (ALS) iterations by sketching least squares subproblems using leverage scores.
- To develop a practical, scalable method that avoids forming dense tensors or matrices explicitly.
- To handle high-leverage rows effectively by combining deterministic inclusion with repeated sampling.
- To provide theoretical guarantees on solution accuracy with probabilistic bounds under sampling.
Proposed method
- Uses leverage score upper bounds derived from the Khatri-Rao product structure to guide row sampling in least squares subproblems.
- Applies a hybrid sampling strategy: deterministically includes high-leverage rows and stochastically samples others using probability proportional to leverage score bounds.
- Combines repeated samples from the same row into a single effective row in the sketched system to improve numerical stability and efficiency.
- Computes sketched matrices ˜Z = ΩZ and ˜X⊺ = ΩX⊺ without explicitly forming Ω, Z, or X, enabling sparse-matrix operations.
- Employs randomized numerical linear algebra (RandNLA) techniques to solve the sketched least squares problem in O(max{n,r}rd+1/ϵ) time.
- Uses a preprocessing step to compute linear indices of tensor elements along each mode for efficient fiber sampling during initialization.
Experimental results
Research questions
- RQ1Can leverage score sampling be effectively applied to the least squares subproblems in CP tensor decomposition to reduce computational cost?
- RQ2What sampling complexity is required to achieve ϵ-accurate solutions with high probability in the context of tensor decomposition?
- RQ3How can high-leverage rows be handled efficiently in a randomized sketching framework without degrading performance?
- RQ4Can the proposed method achieve significant speedups over deterministic CP-ALS on large-scale sparse tensors while preserving solution quality?
- RQ5What is the impact of initialization strategy on convergence and fit in the randomized algorithm?
Key findings
- The method achieves an O(rd/ϵ) sampling complexity for (d+1)-way tensors, independent of tensor size and number of nonzeros, with high-probability accuracy guarantees.
- On the Enron tensor (54.2M nonzeros, 4-way), the median runtime of CP-ARLS-LEV with RRF initialization was 5.78× faster than CP-ALS at s=2^18 samples.
- For the Uber tensor (3.3M nonzeros), the median runtime of CP-ARLS-LEV with s=2^19 samples was 4.39× faster than CP-ALS.
- Using the Randomized Range Finder (RRF) for initialization reduced the initial residual (X⊥) and improved fit by up to 30% compared to Gaussian initialization.
- The hybrid sampling strategy—deterministic inclusion of high-leverage rows and stochastic sampling of others—improved stability and performance over purely random sampling.
- The method maintains nearly the same solution accuracy as deterministic CP-ALS while achieving substantial speedups on real-world large-scale sparse tensors.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.