Bounded Simplex-Structured Matrix Factorization

Olivier Vu Thanh, Nicolas Gillis, Fabian Lecron

Abstract

Low-rank matrix factorization is a cornerstone of modern machine learning, yet traditional models like Non-negative Matrix Factorization (NMF) often struggle with identifiability and the representation of bounded data. This paper introduces Bounded Simplex-Structured Matrix Factorization (BSSMF), a novel framework that constrains basis factors within specific intervals while enforcing a simplex constraint on weight factors. By incorporating these bounds, BSSMF achieves superior uniqueness, resists overfitting in sparse datasets, and produces highly interpretable, prototype-based features. We demonstrate the efficacy of BSSMF through theoretical proofs and empirical evaluations on MNIST and MovieLens datasets.

Introduction

Low-rank matrix factorization ($X \approx WH$) is widely employed to uncover latent structures in high-dimensional data, ranging from image processing to recommender systems. Two prominent variants, Non-negative Matrix Factorization (NMF) and Simplex-Structured Matrix Factorization (SSMF), have improved the interpretability of these models by enforcing non-negativity and sum-to-one constraints. However, these models face two significant hurdles: a lack of unique solutions (identifiability) and an inability to naturally model data that exists within a bounded range, such as 8-bit pixel intensities (0–255) or Likert-scale ratings (1–5).

In many applications, NMF tends to learn "parts-based" representations—abstract fragments that do not resemble the original data. Furthermore, in sparse settings like collaborative filtering, unconstrained or semi-constrained models often predict values outside the valid range of the data, leading to poor generalization. This paper proposes Bounded Simplex-Structured Matrix Factorization (BSSMF) to address these limitations.

The BSSMF Framework

Constraints and Objectives

BSSMF imposes a dual-constraint structure on the factorization process:

  1. Basis Factor ($W$): Every entry is constrained to fall within a predefined hyperrectangle $[a, b]$. In a recommender system context, this ensures that the "virtual users" or latent archetypes represent realistic rating profiles.
  2. Weight Factor ($H$): The columns are constrained to be column-stochastic (non-negative and summing to one). This forces the model to represent each data point as a convex combination of the basis vectors in $W$.

Algorithmic Implementation

To solve the resulting optimization problem, the authors utilize an efficient algorithm based on TITAN (Inertial Block-Coordinate Descent). The implementation includes several key technical refinements:

  • Data Centering: The authors demonstrate that shifting the input data by its mean does not alter the optimal solution but significantly smooths the optimization landscape. This centering allows the algorithm to reach convergence much faster than standard approaches.
  • Missing Data Handling: To accommodate the sparsity of real-world datasets (e.g., MovieLens), the algorithm incorporates a weight matrix to mask missing entries, ensuring that the factorization is driven only by observed data.

Theoretical Contributions: Identifiability

A primary contribution of this work is the formal proof of identifiability (Theorem 3). Geometrically, BSSMF can be viewed as finding a polytope nested within a hyperrectangle that encloses the data points. This "box" constraint on $W$ significantly restricts the space of feasible solutions compared to NMF. The authors prove that BSSMF is essentially unique under much milder conditions than those required for NMF, providing greater confidence that the discovered features represent the true underlying structure of the data.

Experimental Results

Interpretability on MNIST

When applied to the MNIST dataset of handwritten digits, BSSMF exhibits a distinct advantage in interpretability. While NMF typically decomposes digits into strokes or parts, BSSMF learns "global" features. Because the model is forced to represent data as convex combinations of bounded prototypes, the basis vectors in $W$ emerge as recognizable, digit-like templates. This makes the latent space far more intuitive for human inspection.

Performance in Recommender Systems

The model was benchmarked against NMF and unconstrained Matrix Factorization (MF) using the MovieLens (100k and 1M) datasets. BSSMF demonstrated remarkable robustness to overfitting. In matrix completion tasks, as the rank ($r$) increased, NMF's error rates often climbed due to noise fitting. In contrast, BSSMF remained stable. On the MovieLens 1M dataset with $r=100$, BSSMF achieved a Root Mean Square Error (RMSE) of 0.89, notably lower than NMF (0.92) and unconstrained MF (0.99).

Convergence and Recovery

Synthetic tests confirmed the theoretical claims regarding identifiability. BSSMF was able to recover ground truth factors with near-zero Mean Relative Square Approximation (MRSA) error, even in scenarios where NMF failed to find a unique solution. Additionally, the data centering technique provided a clear acceleration in convergence speed across all tested datasets.

Conclusion and Future Work

BSSMF provides a mathematically rigorous and practically robust framework for low-rank modeling of bounded data. By combining hyperrectangle constraints with a simplex structure, the model ensures both identifiability and the generation of interpretable, prototype-based features.

Future research directions include extending the identifiability theory to cases with missing data and exploring alternative loss functions, such as Kullback-Leibler divergence, to better handle count-based or audio data. Furthermore, the generalization of the simplex constraint to more complex polytopes offers a promising avenue for modeling even more sophisticated data structures.

Summary updated

BibTeX
@article{thanh2023bounded,
  author = {Olivier Vu Thanh and Nicolas Gillis and Fabian Lecron},
  title = {{Bounded Simplex-Structured Matrix Factorization}},
  journal = {IEEE Trans. Signal Process.},
  year = {2023},
  url = {https://openreview.net/forum?id=yHXMKVU-Jc},
}
Figure