Matrix Sensing with Kernel Optimal Loss: Robustness and Optimization Landscape

Xinyuan Song, Ziye Ma

TL;DR

Mean squared error (MSE) is notoriously brittle when low-rank matrix recovery encounters heavy-tailed, non-Gaussian, or outlier-corrupted noise. This paper adapts a nonparametric, kernel-based log-likelihood loss to the non-convex Burer–Monteiro matrix sensing problem, proving that it exponentially suppresses large noise corruptions and reshapes the optimization landscape to eliminate spurious local minima. To balance statistical efficiency at low noise with robustness against heavy outliers, the authors also propose a combined loss function that leverages the strengths of both formulations.

What Problem Does This Paper Address?

In noisy low-rank matrix sensing and completion (used in collaborative filtering, power systems, and phase retrieval), the goal is to recover a low-rank, positive semidefinite matrix $M^* \in \mathbb{R}^{n \times n}$ from noisy linear measurements $y = \mathcal{A}(M^*) + w$. To bypass expensive rank constraints, practitioners commonly factorize $M = XX^\top$ (the Burer–Monteiro approach) and optimize over $X \in \mathbb{R}^{n \times r}$.

Standard solvers rely on the mean squared error (MSE) loss. However, MSE has a fatal flaw: its gradient scales linearly with noise amplitude $\epsilon$, making recovery vulnerable to heavy-tailed errors or outliers. While previous theoretical works have characterized the geometry of MSE under benign Gaussian noise, there has been little understanding of how alternative, robust loss functions alter the non-convex optimization landscape and restricted isometry property (RIP) guarantees.

Methods

The authors formulate a robust matrix recovery framework by adopting a nonparametric residual density estimator:

  • Kernel Optimal Loss: Instead of penalizing squared residuals independently, the objective maximizes a kernel-smoothed log-likelihood over pairwise residual differences using a Gaussian/exponential kernel $K_h(u, v) = \exp(-(u - v)^2 / h^2)$: $$\hat{g}(XX^\top, w) = \frac{1}{n} \sum_{i=1}^n \left( -\log \frac{1}{n} \sum_{j=1}^n \exp\left( -\frac{((Y_j - \mathcal{A}(XX^\top)_j) - (Y_i - \mathcal{A}(XX^\top)_i))^2}{h^2} \right) \right)$$ Here, $h$ acts as a bandwidth hyperparameter.

  • Landscape & RIP Analysis: The authors analyze the local strong convexity, gradient/Hessian Lipschitz continuity with respect to noise, and bounds on the RIP constant $\delta$. They explicitly evaluate recovery guarantees both below the classic threshold ($\delta < 1/3$) and in the challenging regime where $\delta > 1/2$.

  • Combined Objective: Because MSE performs better when noise is virtually absent while the kernel loss excels under moderate-to-heavy corruption, the authors introduce a hybrid loss parameterized by trade-off weight $\lambda \in [0, 1]$: $$\mathcal{L}_{\text{combined}}(X) = \lambda \cdot \text{MSE}(X) + (1 - \lambda) \cdot \hat{g}(XX^\top, w)$$

Datasets

  • Synthetic 1-bit Matrix Completion Benchmark: Evaluated on synthetic low-rank matrices ($n = 40$, rank $r = 5$) under sub-Gaussian noise ($0.05/\sqrt{m}$-sub-Gaussian) and uniform noise distributed on $[0, 1]$, following standard experimental configurations from Davenport et al. and Ma & Sojoudi.
  • No real-world datasets were evaluated in the paper.

Key Insights and Ideas

  • Exponential Noise Attenuation: For standard MSE, the gradient norm with respect to noise scales as $\mathcal{O}(\epsilon / n)$. For the kernel loss, large noise components are exponentially downweighted, scaling as $\mathcal{O}\left( \frac{\epsilon e^{-\epsilon^2/h^2}}{n h^2} \right)$, neutralizing large outliers naturally without manual clipping.
  • Landscape Smoothing near Ground Truth: Close to $M^*$, the estimation error bound for the kernel loss obeys $\mathcal{O}\left(\max\left\{1, \frac{\epsilon e^{-\epsilon^2}}{h^2}\right\}\right)$, transitioning toward $M^*$ far more gracefully than MSE's linear degradation $\mathcal{O}(\epsilon)$.
  • Validity Beyond Standard RIP Thresholds: The authors prove that the kernel formulation maintains theoretical error bounds even when the RIP constant $\delta > 1/2$, a regime where classical MSE recovery guarantees collapse.
  • The Step-Size Trade-off: The kernel loss introduces an explicit dependence on the bandwidth parameter in gradient descent: the allowable step size scales as $\eta \le \mathcal{O}(h^2)$, meaning increased smoothing requires smaller learning rates.

Key Results

  • Estimation Stability Under Noise ($\delta < 1/3$): In 1-bit matrix completion tests ($n = 40, r = 5$), as the noise quantile $\epsilon$ increased from 0.60 to 0.95:
  • MSE Loss: Empirical error climbed steadily from 0.047 to 0.315.
  • Kernel Loss: Empirical error remained flat and bounded between 0.239 and 0.272, demonstrating insensitivity to increasing noise magnitude.
  • Composite Loss: Combined the precision of MSE and the stability of the kernel loss, maintaining low, steady empirical error around 0.116 – 0.126 across almost all noise levels.
  • Challenging Geometries ($\delta > 1/3$): Under larger RIP distortions, the composite loss maintained empirical error around 0.37 – 0.45, while the unregularized kernel loss retained bounded behavior despite higher structural variance.

Limitations and Future Work

  • Centered Noise Requirement: Theorem G.1 highlights that the kernel loss relies on the assumption that noise/residuals are centered. If noise has a non-zero mean or asymmetric shift, the kernel loss can converge to a biased, suboptimal minimizer, occasionally performing worse than MSE.
  • Pairwise Quadratic Complexity: Computing the kernel loss requires all-pairs residual comparisons ($\mathcal{O}(n^2)$ evaluations per iteration), which is more computationally demanding than MSE's $\mathcal{O}(n)$ operations.
  • Real-World Benchmarks: Experiments were confined to synthetic 1-bit matrix completion setups. Validating this loss on large-scale real datasets (e.g., large recommender systems or real-world phase retrieval) remains open for future research.

Summary updated

BibTeX
@inproceedings{song2026matrix,
  author = {Xinyuan Song and Ziye Ma},
  title = {{Matrix Sensing with Kernel Optimal Loss: Robustness and Optimization Landscape}},
  booktitle = {CPAL (Proceedings Track)},
  year = {2026},
  url = {https://openreview.net/forum?id=flemTyWd0m},
}
Figure