Robust Non-Linear Matrix Factorization for Dictionary Learning, Denoising, and Clustering

Jicong Fan, Chengrun Yang, Madeleine Udell · DOI

Abstract

Low dimensional nonlinear structure abounds in datasets across computer vision and machine learning. Kernelized matrix factorization techniques have recently been proposed to learn these nonlinear structures for denoising, classification, dictionary learning, and missing data imputation, by observing that the image of the matrix in a sufficiently large feature space is low-rank. However, these nonlinear methods fail in the presence of sparse noise or outliers. In this work, we propose a new robust nonlinear factorization method called Robust Non-Linear Matrix Factorization (RNLMF). RNLMF constructs a dictionary for the data space by factoring a kernelized feature space; a noisy matrix can then be decomposed as the sum of a sparse noise matrix and a clean data matrix that lies in a low dimensional nonlinear manifold. RNLMF is robust to sparse noise and outliers and scales to matrices with thousands of rows and columns. Empirically, RNLMF achieves noticeable improvements over baseline methods in denoising and clustering.

Introduction

Traditional data analysis tools, such as Principal Component Analysis (PCA) and Robust PCA (RPCA), operate on the assumption that data lies on a low-dimensional linear subspace. However, real-world datasets—such as facial images under varying illumination or complex human motion trajectories—often reside on nonlinear manifolds. While kernelized versions of these algorithms have been developed to capture such structures, they typically suffer from two critical weaknesses: extreme sensitivity to sparse noise (e.g., occlusions or salt-and-pepper noise) and poor scalability due to $O(n^3)$ time complexity.

Robust Non-Linear Matrix Factorization (RNLMF) is designed to bridge this gap. By explicitly modeling noise and utilizing an efficient optimization framework, RNLMF recovers low-dimensional nonlinear structures even in heavily corrupted datasets.

Methodology

RNLMF decomposes an observed noisy matrix $\hat{X}$ into a clean data matrix $X$ and a sparse noise matrix $E$ (where $\hat{X} = X + E$). The clean component is factorized in a high-dimensional feature space induced by a kernel function, typically the Gaussian RBF kernel. The objective function minimizes the factorization error in this feature space:

$$\|\phi(\hat{X} - E) - \phi(D)C\|_F^2 + \text{regularization terms}$$

where $D$ represents a dictionary in the data space and $C$ is the coefficient matrix.

Key Innovations

  • Explicit Noise Modeling: Unlike standard kernel dictionary learning, RNLMF includes the noise matrix $E$ directly in the objective, allowing it to "peel off" outliers before mapping data to the feature space.
  • Relaxed Newton Method: To solve the optimization problem, the authors introduce a relaxed Newton method to update the dictionary $D$. This approach significantly accelerates convergence compared to standard gradient descent.
  • Theoretical Foundation: The paper demonstrates that factorization in an RBF kernel space effectively approximates a weighted sum of factorization errors across multiple polynomial degrees, providing a mathematical basis for its ability to capture complex nonlinearities.

Experimental Evaluation

The authors evaluated RNLMF against classical baselines including RPCA, Low-Rank Representation (LRR), and Sparse Subspace Clustering (SSC) across synthetic data, image databases (COIL, Yale Face B), and CMU Motion Capture data.

Performance Comparison

RNLMF consistently outperformed both linear and non-linear baselines. For instance, on the COIL20 dataset with random noise, RNLMF achieved an RMSE of 12.67%, significantly lower than RPCA (21.26%) and Robust Dictionary Learning (18.91%). As shown in the figure below, the performance gap between RNLMF and linear methods like RPCA and LRR widens as the noise level increases.

Comparative performance of RNLMF against baseline methods across increasing noise levels.

Key Insights

Robustness to Dictionary Size

A significant advantage of RNLMF is its relative insensitivity to the choice of dictionary size $d$. Provided $d$ is sufficiently large, the recovery accuracy remains stable, which simplifies deployment compared to methods requiring precise rank estimation. Furthermore, the authors found that using a squared Frobenius norm regularization on the coefficient matrix $C$ (the yellow line in the figure below) often yielded better recovery accuracy than the more complex nuclear norm (the blue line).

RMSE performance across varying noise densities (ρ) and dictionary sizes (d).

Optimization and Momentum

The inclusion of a momentum term $\eta$ in the dictionary update was found to speed up objective function reduction, though values near 1.0 can introduce instability. This optimization strategy allows RNLMF to scale to matrices with thousands of rows and columns, avoiding the $O(n^3)$ bottleneck of standard kernel methods.

Conclusion

RNLMF provides a robust framework for recovering nonlinear structures from noisy data. While the model requires careful hyperparameter tuning (such as the kernel width $\sigma$), its superior performance in denoising and clustering tasks makes it a powerful tool for modern machine learning. Future work may explore stochastic versions for extreme-scale datasets and the application of learned coefficients for classification.

Summary updated

BibTeX
@article{fan2020robust,
  author = {Jicong Fan and Chengrun Yang and Madeleine Udell},
  title = {{Robust Non-Linear Matrix Factorization for Dictionary Learning, Denoising, and Clustering}},
  journal = {IEEE Trans. Signal Process.},
  year = {2020},
  doi = {10.1109/tsp.2021.3062988},
}
Figure