NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Alternating Minimization with Applications to Weighted Low Rank Approximation

Zhao Song, Mingquan Ye, Junze Yin, Lichen Zhang

This paper presents a significant algorithmic leap in solving Weighted Low Rank Approximation (WLRA). By combining randomized sketching techniques with a robust theoretical analysis, the authors have developed a framework that is both faster and more numerically stable than previous state-of-the-art provable methods.

The Challenge of Weighted Low Rank Approximation

Low-rank approximation—finding a simpler, compressed version of a large matrix—is a cornerstone of machine learning, utilized in everything from Principal Component Analysis (PCA) to recommendation systems. However, in many real-world scenarios, not all data points are equally important. WLRA allows practitioners to assign weights to specific entries, effectively telling the algorithm which parts of the matrix to prioritize.

While standard low-rank approximation (like Singular Value Decomposition, or SVD) is computationally straightforward, adding weights makes the problem NP-hard. Researchers typically rely on a heuristic called Alternating Minimization (AltMin): fixing one half of the solution while optimizing the other, and vice versa. While AltMin works well in practice, existing provable versions are computationally expensive—requiring many exact, high-dimensional regressions—and "brittle," meaning they can fail if even small numerical errors are introduced during the process.

Methodology: Faster and Robust Alternating Minimization

The authors introduce major innovations to make AltMin both faster and more robust, effectively reducing the runtime complexity of alternating minimization from $O(\|W\|_0 k^2)$ to $O(\|W\|_0 k)$:

  1. High-Accuracy Sketching Solver: Traditional "sketching" (compressing a matrix to solve a smaller version of the problem) is fast but often inaccurate. The authors use a Subsampled Randomized Hadamard Transform (SRHT) to create a sketch. Instead of solving it just once, they use the sketch as a preconditioner for iterative gradient descent. This "warm start" approach allows them to reach high precision ($O(\log 1/\epsilon)$) in nearly linear time, proving that the traditional precision-speed tradeoff is largely a myth.
  2. Robust AltMin Analysis: The paper provides a new theoretical analysis proving that AltMin does not require exact updates to converge. The authors demonstrate that as long as the approximate updates are sufficiently close to the optimal regression solution, the overall algorithm will still reliably converge to the correct low-rank subspace.
  3. Sparsity Exploitation: The algorithm's complexity scales linearly with $\|W\|_0$ (the number of non-zero entries in the weight matrix). This is a massive advantage for tasks like matrix completion, where the weight matrix is extremely sparse.

Experimental Setup

The authors evaluated their approach using synthetic datasets designed to test different numerical properties:

  • Synthetic Matrices: Generated with various distributions, including Laplace, Gaussian, and Uniform.
  • Noise Models: The algorithm was tested on its ability to recover a rank-$k$ "ground truth" matrix buried under higher-rank noise.
  • Large-Scale Benchmarks: To demonstrate scalability, the regression solver was specifically tested on massive matrices up to size $10^6 \times 500$.

Key Findings and Results

  • Theoretical Speedup: The overall runtime complexity was improved from $O(\|W\|_0 k^2 + nk^3)$ to $O(\|W\|_0 k + nk^3)$. Moving from $k^2$ to $k$ is a major breakthrough for applications where the target rank $k$ is relatively large.
  • Empirical Performance: In matrix completion experiments, the approximate solver provided a 12% to 16% speedup over exact solvers while maintaining nearly identical error rates (around $10^{-4}$ or $10^{-5}$).
  • Regression Efficiency: On massive $10^6$-row matrices, the sketching-based solver was nearly 30% faster than standard exact methods.

Limitations and Future Directions

Despite these advances, the authors note a few remaining challenges. First is the initialization bottleneck: while the AltMin iterations are fast, SVD initialization still takes $O(n^3)$ time. If SVD is required for a good starting point, it can dominate the total runtime. Finding a nearly linear-time initialization method remains an open challenge.

Additionally, due to hardware constraints, the authors were unable to test the full WLRA on $10^6 \times 10^6$ matrices, suggesting that further optimization or distributed implementations are needed for true "web-scale" weighted problems. Finally, the theoretical proofs rely on standard literature assumptions—such as the "incoherence" of the ground truth matrix and a "spectral gap" in the weights—which may not always hold true in highly irregular, real-world data.

Summary updated

BibTeX
@inproceedings{song2025efficient,
  author = {Zhao Song and Mingquan Ye and Junze Yin and Lichen Zhang},
  title = {{Efficient Alternating Minimization with Applications to Weighted Low Rank Approximation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=rvhu4V7yrX},
}
Figure