Dependent Indian Buffet Process-based Sparse Nonparametric Nonnegative Matrix Factorization

Junyu Xuan, Jie Lu, Guangquan Zhang, Richard Yi Da Xu, Xiangfeng LuoUniversity of Technology Sydney 2025 · OpenReview

TL;DR

This paper introduces a novel nonparametric framework for Nonnegative Matrix Factorization (NMF) that automatically learns the number of latent factors, a key limitation of traditional NMF. They achieve this by proposing new "dependent Indian Buffet Process" (dIBP) priors, specifically using bivariate beta distributions and copulas, which offer more flexibility and simpler models compared to existing GP-based dIBP approaches.

What Problem Does This Paper Address?

Nonnegative Matrix Factorization (NMF) is a powerful technique for dimensionality reduction and feature extraction, widely used in areas like recommender systems and document clustering. However, a major drawback of traditional NMF is the requirement to predefine the number of latent factors (or dimensions). This number is often set by domain experts, which can be suboptimal and is increasingly challenging with complex, large-scale datasets. This paper aims to overcome this limitation by developing a nonparametric NMF approach that can automatically discover the optimal number of factors from the data itself.

Methods

The core of the proposed solution lies in a "dependent Indian Buffet Process" (dIBP) framework. The Indian Buffet Process (IBP) is a Bayesian nonparametric prior that can generate binary matrices with an infinite number of columns, making it suitable for learning an unknown number of latent features. The challenge is to ensure that two NMF factor matrices (A and X) share the same number of latent factors. The authors address this by introducing dependence between the IBPs used for each matrix.

They propose three implementations of this dIBP-based NMF framework:

  • GP-based dIBP-NMF: This approach, building on prior work, uses Gaussian Processes to model the dependence between the stick weights of the IBPs.
  • Bivariate Beta Distribution-based dIBP-NMF (BB-dIBP-NMF): This novel approach uses a bivariate beta distribution to model the joint distribution of the stick weights for the two IBPs. This offers a simpler model structure and directly models correlations.
  • Copula-based dIBP-NMF (C-dIBP-NMF): This is another novel contribution that uses copulas (specifically the Farlie-Gumbel-Morgenstern copula) to link the stick weights of the two IBPs. Copulas provide more flexibility in capturing various types of dependencies between the variables compared to the bivariate beta distribution.

The paper also details the model inference using Markov Chain Monte Carlo (MCMC) sampling, specifically Gibbs sampling, for each of the proposed models.

Datasets

The paper evaluates the proposed methods on both synthetic and real-world datasets:

  • Synthetic Dataset: A 20x30 binary matrix was generated to test the algorithms' ability to reconstruct the original matrix and analyze the sparsity of learned factors.
  • Real-world Datasets:
    • Document Clustering: Cora and CiteSeer datasets were used. These datasets consist of scientific publications described by word vectors.
  • Recommender System: The MovieLens 100K dataset was used, containing user ratings for movies.

Key Insights and Ideas

  • Flexibility in Factor Number: The most significant insight is the ability of the proposed dIBP framework to automatically learn the number of latent factors, removing a critical bottleneck of traditional NMF.
  • dIBP for Shared Latent Space: The core idea of using dependent IBPs to ensure that the two factor matrices (A and X) learn a shared latent space of the same dimensionality is a key contribution.
  • Bivariate Beta and Copulas for Dependence: The introduction of bivariate beta distributions and copulas as novel ways to model the dependence between IBPs offers a more flexible and potentially simpler alternative to GP-based methods.
  • Trade-off between Model Complexity and Performance: The GP-based dIBP-NMF, while functional, is shown to be more complex and slower to converge than the proposed bivariate beta and copula-based methods.
  • Correlation Modeling: The bivariate beta distribution is good for modeling positive correlations, while copulas (like FGM) offer a broader range, including negative correlations, between the latent variables.

Key Results

  • Synthetic Data: The proposed models successfully reconstructed the synthetic binary matrix and demonstrated the ability to learn sparse factor matrices whose dimensions changed with iterations. The BB-dIBP-NMF and C-dIBP-NMF showed better convergence rates and log-likelihoods compared to GP-dIBP-NMF.
  • Document Clustering: The proposed algorithms performed well on both Cora and CiteSeer datasets, achieving competitive results with sparse NMF, especially when the factor number was not predefined. BB-dIBP-NMF generally performed best, with C-dIBP-NMF and GP-dIBP-NMF showing similar performance. The proposed models demonstrated greater flexibility in terms of the differences in non-zero entries between the corresponding columns of A and X compared to GP-dIBP-NMF.
  • Recommender System: On the MovieLens 100K dataset, the proposed algorithms achieved comparable or better Mean Absolute Error (MAE) than sparse NMF, particularly for larger numbers of factors. BB-dIBP-NMF showed the best performance (smallest MAE), while C-dIBP-NMF had the smallest variance, indicating stable performance across different test folds.

Limitations and Future Work

  • Efficiency of Inference: The paper acknowledges that the current Gibbs sampling inference is computationally intensive, especially for large datasets. Future work will focus on improving efficiency, possibly through variational inference strategies.
  • Correlation Range for BB-dIBP: The paper suggests that if data correlation is within [-0.3, 0.3], the FGM copula-based model might be more flexible. If the correlation is outside this range, the bivariate beta distribution-based model might be more suitable. This highlights a nuanced choice between the two proposed methods based on data characteristics.

Summary updated

BibTeX
@inproceedings{xuan2025dependent,
  author = {Junyu Xuan and Jie Lu and Guangquan Zhang and Richard Yi Da Xu and Xiangfeng Luo},
  title = {{Dependent Indian Buffet Process-based Sparse Nonparametric Nonnegative Matrix Factorization}},
  booktitle = {University of Technology Sydney},
  year = {2025},
  url = {https://openreview.net/forum?id=vFqkfmBshV},
}
Figure