Abstract
Traditional machine learning pipelines often separate dimensionality reduction from classification, potentially discarding task-relevant information. This paper introduces a generalized framework for semi-supervised non-negative matrix factorization (SSNMF) that jointly performs these tasks. By tailoring loss functions to specific statistical noise profiles, the proposed models learn highly interpretable latent topics while achieving superior classification performance on high-dimensional text data.
Introduction
In many domains, such as genomics or natural language processing, data is high-dimensional and sparse. A common approach is to apply unsupervised dimensionality reduction (e.g., PCA or standard NMF) before training a classifier. However, this two-step process is fundamentally limited: the unsupervised step optimizes for data reconstruction, which may ignore small-scale features that are critical for distinguishing between classes.
To address this, researchers have turned to supervision-aware dimensionality reduction. This paper expands upon Semi-Supervised NMF (SSNMF), a technique that simultaneously learns a lower-dimensional representation of the data and a predictive model for labels. The authors introduce new SSNMF variants mathematically designed to handle different underlying distributions of data and label noise, providing a more flexible statistical framework than previous models.
The SSNMF Framework
Standard NMF factors a data matrix $\mathbf{X}$ into a dictionary $\mathbf{A}$ and a lower-dimensional representation $\mathbf{S}$ such that $\mathbf{X} \approx \mathbf{A}\mathbf{S}$. SSNMF extends this by jointly factoring a label matrix $\mathbf{Y}$ into a classification weight matrix $\mathbf{B}$ and the same representation $\mathbf{S}$ ($\mathbf{Y} \approx \mathbf{B}\mathbf{S}$).
The authors propose a framework that allows for mixing and matching two primary error functions: the Frobenius norm ($||\cdot||_F$), which assumes Gaussian noise, and Information Divergence ($D(\cdot||\cdot)$), which assumes Poisson noise. This results in four distinct model combinations tailored to different data and label characteristics.
For each variant, the authors derived novel multiplicative update (MU) algorithms. These updates ensure non-negativity and incorporate masking matrices to handle missing data or partial labels, making the models robust for real-world semi-supervised learning scenarios.
Experimental Setup
The models were evaluated using both synthetic data and the real-world 20 Newsgroups dataset. The synthetic experiments validated the theoretical Maximum Likelihood Estimator (MLE) derivations, showing that models matching the true noise distribution achieved the lowest reconstruction errors. For the 20 Newsgroups benchmark, the authors used a subset of documents across five major classes (Computers, Sciences, Politics, Religion, and Recreation) to test simultaneous topic modeling and classification.
Results and Discussion
The joint learning approach demonstrated significant advantages over traditional methods:
- Superior Accuracy: The $(D(\cdot||\cdot), ||\cdot||_F)$-SSNMF model achieved a classification accuracy of 81.88% on the 20 Newsgroups dataset.
- Joint vs. Two-Step: This performance significantly outperformed a traditional two-step pipeline (Standard NMF followed by an SVM), which reached only 70.99% accuracy. This confirms that joint learning preserves discriminative signals that unsupervised methods might discard.
- Interpretability: Because NMF enforces non-negativity, the learned dictionary $\mathbf{A}$ represents human-readable topics. The classification matrix $\mathbf{B}$ then directly maps these topics to target classes, providing a transparent view of how the model makes decisions.
As shown in the heatmap above, the model successfully clusters topics that correspond strongly to specific classes, such as Topic 4 for Computers or Topic 1 for Sciences. This dual-purpose utility—providing both a compressed representation and a predictive model—is a key strength of the SSNMF framework.
Conclusion and Future Work
While the proposed SSNMF models offer strong performance and interpretability, they are sensitive to hyperparameters like the factorization rank and the regularization parameter $\lambda$. Future research will focus on developing Bayesian approaches to automate parameter selection and generalizing the framework to handle any noise distribution within the exponential family.
Summary updated