Papers
Topics
Authors
Recent
Search
2000 character limit reached

ALS for Low-Rank Matrix Reconstruction

Updated 8 March 2026
  • Alternating Least Squares (ALS) is an iterative algorithm used to solve low-rank matrix and tensor reconstruction problems by alternating optimizations of variable subsets.
  • It leverages quadratic, separable subproblems through factorization into L and R, achieving efficient convergence especially under Gaussian noise conditions.
  • ALS adapts to structured constraints like Hankel and PSD projections, demonstrating near-optimal empirical performance relative to Cramér–Rao bounds in undersampled settings.

Alternating Least Squares (ALS) is a fundamental iterative method for solving low-rank matrix and tensor reconstruction problems from linear or structured observations under constraints such as low-rank, subspace membership, or semidefiniteness. Its core utility arises from efficiently alternating between optimizing subsets of variables, leveraging the separability of the least-squares objective in the chosen parametrization. ALS plays a central role in a wide range of applications, including compressed sensing, matrix completion, and multidimensional data analysis.

1. Optimization Framework and Objective Formulation

ALS addresses the recovery of an unknown n×pn \times p matrix XX (or higher-dimensional arrays) of rank rmin(n,p)r \ll \min(n, p) from underdetermined, noisy linear measurements,

y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,

where A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m is a known sensing operator and nN(0,C)n \sim \mathcal{N}(0, C). Equivalently, y=Avec(X)+ny = A\,\mathrm{vec}(X) + n for some ACm×npA \in \mathbb{C}^{m \times np}.

Under Gaussian noise, the maximum-likelihood estimator is

X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,

and for white noise (C=σ2IC = \sigma^2 I) this reduces to a least-squares cost

XX0

Enforcing the rank constraint via a factorization XX1, XX2, XX3, yields an objective

XX4

This structure is especially advantageous for low-rank problems, as each subproblem is quadratic in XX5 or XX6 individually.

2. Alternating Minimization Algorithm

ALS exploits the fact that XX7 is quadratic and separable in XX8 and XX9:

  • Update rmin(n,p)r \ll \min(n, p)0 with rmin(n,p)r \ll \min(n, p)1 fixed:

rmin(n,p)r \ll \min(n, p)2

i.e., rmin(n,p)r \ll \min(n, p)3.

  • Update rmin(n,p)r \ll \min(n, p)4 with rmin(n,p)r \ll \min(n, p)5 fixed:

rmin(n,p)r \ll \min(n, p)6

i.e., rmin(n,p)r \ll \min(n, p)7.

Here, rmin(n,p)r \ll \min(n, p)8 denotes the Moore–Penrose pseudoinverse. The linear systems involved are of manageable size when rmin(n,p)r \ll \min(n, p)9 is small, making ALS computationally efficient for moderate y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,0, y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,1, and y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,2 (Zachariah et al., 2012).

Algorithmic Implementation (Pseudocode)

Initialization:

  • Form y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,3,
  • Compute the top-y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,4 SVD: y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,5,
  • Set y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,6.

Main loop:

  • Repeat until y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,7 no longer decreases:

    1. y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,8
    2. (If structure: y=A(X)+n,yCm,m<np,y = \mathcal{A}(X) + n, \quad y \in \mathbb{C}^m, \quad m < np,9, A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m0, A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m1)
    3. A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m2
    4. (If structure: A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m3, A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m4, A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m5)
  • Output A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m6.

3. Incorporation of Structural Constraints

ALS is adaptable to situations where A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m7 is known a priori to belong to a linear subspace A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m8 (e.g., Hankel, Toeplitz) or to the positive semidefinite cone A:Cn×pCm\mathcal{A}: \mathbb{C}^{n \times p} \to \mathbb{C}^m9.

  • Linear Structure: After forming nN(0,C)n \sim \mathcal{N}(0, C)0, project onto the subspace parameterized by nN(0,C)n \sim \mathcal{N}(0, C)1:

nN(0,C)n \sim \mathcal{N}(0, C)2

Re-solve for nN(0,C)n \sim \mathcal{N}(0, C)3 (or nN(0,C)n \sim \mathcal{N}(0, C)4) to minimize nN(0,C)n \sim \mathcal{N}(0, C)5 via the closed-form update nN(0,C)n \sim \mathcal{N}(0, C)6 (or nN(0,C)n \sim \mathcal{N}(0, C)7).

  • Positive Semidefiniteness: Symmetrize and project using spectral decomposition,

nN(0,C)n \sim \mathcal{N}(0, C)8

with nN(0,C)n \sim \mathcal{N}(0, C)9, y=Avec(X)+ny = A\,\mathrm{vec}(X) + n0 the eigenvectors and top y=Avec(X)+ny = A\,\mathrm{vec}(X) + n1 eigenvalues. Update y=Avec(X)+ny = A\,\mathrm{vec}(X) + n2, y=Avec(X)+ny = A\,\mathrm{vec}(X) + n3 (as above) onto y=Avec(X)+ny = A\,\mathrm{vec}(X) + n4 (Zachariah et al., 2012).

Structural steps add projection costs—y=Avec(X)+ny = A\,\mathrm{vec}(X) + n5 for linear subspaces, y=Avec(X)+ny = A\,\mathrm{vec}(X) + n6 for PSD projections—while preserving computational feasibility for moderate scale.

4. Convergence Properties and Computational Complexity

Each ALS iteration monotonically nonincreases the objective y=Avec(X)+ny = A\,\mathrm{vec}(X) + n7, ensuring convergence to a stationary point (which can be a local minimum rather than the global optimum). The per-iteration cost is dominated by solving two linear least-squares problems of size y=Avec(X)+ny = A\,\mathrm{vec}(X) + n8 and y=Avec(X)+ny = A\,\mathrm{vec}(X) + n9:

  • Pseudoinverse computation for ACm×npA \in \mathbb{C}^{m \times np}0: ACm×npA \in \mathbb{C}^{m \times np}1,
  • Pseudoinverse for ACm×npA \in \mathbb{C}^{m \times np}2: ACm×npA \in \mathbb{C}^{m \times np}3,

and, if needed, ACm×npA \in \mathbb{C}^{m \times np}4 for subspace projection, or ACm×npA \in \mathbb{C}^{m \times np}5 for PSD projection (Zachariah et al., 2012).

ALS thus remains tractable for moderate rank ACm×npA \in \mathbb{C}^{m \times np}6 and moderate ACm×npA \in \mathbb{C}^{m \times np}7.

5. Empirical Performance Relative to Cramér–Rao Bounds

Extensive simulations for ACm×npA \in \mathbb{C}^{m \times np}8, true rank ACm×npA \in \mathbb{C}^{m \times np}9, and varying sample complexity X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,0 with X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,1, demonstrate:

  • Unstructured ALS achieves performance within X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,2 dB of the unstructured Cramér–Rao bound (CRB) across signal-to-noise ratios (SMNRs).
  • Structured (Hankel, PSD) ALS yields significant gains, e.g., X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,3 dB (Hankel) and X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,4 dB (PSD) performance improvements at SMNR X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,5 dB.
  • Sample complexity: For X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,6, ALS approaches the CRB; for X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,7, the unstructured CRB itself becomes loose.

This confirms that ALS is effective in general undersampled matrix reconstruction, with a-priori structure markedly narrowing the gap to the corresponding CRB (Zachariah et al., 2012).

6. Extensions and Practical Considerations

  • Initialization: SVD-based spectral methods provide effective initializations that accelerate convergence.
  • Applicability: The ALS paradigm generalizes directly to tensor decompositions (CP, Tucker, etc.) and can be adapted to handle more general nonconvex regularization or missing-data formulations.
  • Limitation: Convergence is only to a stationary point; global optimality is not guaranteed except in specific cases (e.g. certain rank-one tensor approximations or highly overdetermined settings).
  • Structural constraints: The insertion of projection steps allows ALS to exploit domain knowledge (e.g., harmonic or positive semidefinite structure) without compromising the alternating minimization efficiency.

7. Summary Table: ALS Methodology for Low-Rank Matrix Recovery

Aspect Description Complexity
Objective X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,8 (white noise, rank constraint) X^=argminX:rank(X)=rC1/2[yA(X)]22,\hat{X} = \arg\min_{X: \operatorname{rank}(X) = r} \| C^{-1/2}[y-\mathcal{A}(X)] \|_2^2,9 (matrix size)
Parametrization C=σ2IC = \sigma^2 I0, C=σ2IC = \sigma^2 I1, C=σ2IC = \sigma^2 I2 C=σ2IC = \sigma^2 I3 (parameter dims)
Update for C=σ2IC = \sigma^2 I4 C=σ2IC = \sigma^2 I5 C=σ2IC = \sigma^2 I6
Update for C=σ2IC = \sigma^2 I7 C=σ2IC = \sigma^2 I8 C=σ2IC = \sigma^2 I9
Structure projection (linear) Project XX00 onto XX01, recompute XX02, XX03 by minimizing Frobenius norm error (closed-form updates) XX04
Structure projection (PSD) Project XX05 onto the leading-XX06 eigenspace (symmetrization, eigen-decomposition), update XX07, XX08 by least-squares onto projected XX09 XX10

ALS thus provides a robust, extensible, and computationally efficient framework for low-rank matrix estimation in both unstructured and structured scenarios, with predictable convergence properties and favorable empirical performance against fundamental information-theoretic limits (Zachariah et al., 2012).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Alternating Least Squares (ALS).