Accelerated Algorithms for Nonlinear Matrix Decomposition with the ReLU function

Giovanni Seraghiti, Atharva Awari, Arnaud Vandaele, Margherita Porcelli, Nicolas Gillis · DOI

Introduction

Nonlinear Matrix Decomposition (NMD) is a powerful tool for extracting low-rank structures from complex datasets where linear approximations like Singular Value Decomposition (SVD) fall short. This paper addresses NMD specifically using the Rectified Linear Unit (ReLU) function, $f(x) = \max(0, x)$. While ReLU is a cornerstone of modern neural networks, its non-convex and non-differentiable nature makes the optimization problem $X \approx \max(0, \Theta)$ computationally challenging. The authors propose two high-performance algorithms—A-NMD and 3B-NMD—designed to solve this problem efficiently.

Proposed Algorithms

The authors introduce two primary algorithms to overcome the computational hurdles of ReLU-NMD:

  1. A-NMD (Aggressive Accelerated NMD): This method incorporates an adaptive Nesterov-type extrapolation. Unlike standard schemes with fixed momentum, A-NMD dynamically adjusts its extrapolation parameter based on the error trend, allowing for faster traversal of smooth regions while maintaining stability near local irregularities.
  2. 3B-NMD (Three-block NMD): To handle large-scale data, 3B-NMD re-parametrizes the low-rank matrix as $\Theta = WH$. This shift from a single-matrix update to a three-block coordinate descent (updating $W, H,$ and a latent variable $Z$) eliminates the need for expensive SVDs at each iteration. This reduces complexity from $O(mnr^2)$ to $O(mnr)$, enabling the method to scale to massive datasets.

Additionally, the authors propose a Nuclear Norm Initialization strategy. By using a convex relaxation to find a starting point, they provide a "warm start" that significantly reduces the number of iterations needed for convergence compared to random initialization or standard truncated SVD (TSVD).

Performance and Scaling

The algorithms were evaluated on synthetic data, the MNIST handwritten digit dataset, and the CBCL face dataset.

Relative error and computational time per iteration across different ranks.

As shown in the figure above, both A-NMD and 3B-NMD consistently achieve lower relative errors than TSVD. Notably, 3B-NMD maintains a significantly lower computational cost per iteration as the rank increases, making it the most efficient choice for high-rank approximations.

Convergence and Efficiency

A critical advantage of these methods is their convergence speed. On the MNIST dataset, the researchers compared the error decay over time for different sample sizes.

Convergence of error over time for small (m=500) and large (m=50000) datasets.

For both small ($m=500$) and large ($m=50000$) datasets, 3B-NMD and A-NMD demonstrate rapid initial error reduction. In the large-scale scenario, 3B-NMD's linear complexity allows it to reach lower error levels much faster than the state-of-the-art Expectation-Maximization (EM) approach, which becomes computationally prohibitive as data size grows. Overall, 3B-NMD was found to be more than 10 times faster than previous EM approaches on synthetic data.

Key Insights

  • Efficiency through Parametrization: Replacing SVD-based updates with least-squares blocks in 3B-NMD is the key to scalability.
  • ReLU's Representational Power: ReLU-NMD can accurately approximate sparse, full-rank matrices that linear methods cannot compress effectively, such as NMF bases.
  • Initialization Matters: The nuclear norm approach provides a robust starting point, reducing initial relative error by a factor of 2 to 3 compared to random initialization.

Limitations and Future Work

While the results are impressive, the authors note that the adaptive strategy used in A-NMD was not immediately effective for the three-block version (3B-NMD), marking this as a topic for future research. Additionally, they suggest exploring the specific mathematical conditions under which the nuclear norm convex relaxation is guaranteed to recover the true low-rank $\Theta$.

Summary updated

BibTeX
@inproceedings{seraghiti2023accelerated,
  author = {Giovanni Seraghiti and Atharva Awari and Arnaud Vandaele and Margherita Porcelli and Nicolas Gillis},
  title = {{Accelerated Algorithms for Nonlinear Matrix Decomposition with the ReLU function}},
  booktitle = {MLSP},
  year = {2023},
  url = {https://openreview.net/forum?id=XiWn0UTXBG},
}
Figure