A Deep Semi-NMF Model for Learning Hidden Representations

George Trigeorgis, Konstantinos Bousmalis, Stefanos Zafeiriou, Björn W. SchullerICML 2014

TL;DR

Deep Semi-NMF extends traditional matrix factorization into a multi-layer "deep" architecture to uncover hierarchical latent features in complex data. By stacking factorization layers, the model learns to disentangle overlapping attributes—like identity, pose, and expression in face images—resulting in significantly better clustering performance than standard shallow Non-negative Matrix Factorization (NMF) variants.

What Problem Does This Paper Address?

Matrix factorization techniques like NMF are popular for dimensionality reduction and clustering because they produce interpretable, parts-based representations. However, standard NMF is "shallow"—it assumes a single linear mapping between the data and its latent features.

Real-world data is rarely that simple. Consider a dataset of human faces: the pixel values are influenced by a complex hierarchy of factors, including the person’s identity, their head pose, and their facial expression. A shallow model often fails to separate these non-linear dependencies. The authors aim to bridge the gap between the interpretability of NMF and the hierarchical learning power of deep architectures to better represent and cluster multi-attribute data.

Methods

To address these limitations, the authors introduce Deep Semi-NMF.

Comparison of shallow Semi-NMF and Deep Semi-NMF architectures.

To understand the model, it helps to break down its core components:

  • Semi-NMF: Unlike standard NMF (which requires all data to be non-negative), Semi-NMF allows the input data and the "basis" matrix (centroids) to have mixed signs. Only the "feature" matrix (cluster memberships) must be non-negative. This makes it mathematically equivalent to a soft version of k-means clustering.
  • The Deep Architecture: The model factorizes the data matrix $X$ into $m+1$ factors: $X \approx Z_1 Z_2 \dots Z_m H_m$.
  • Greedy Pre-training: Similar to Deep Belief Networks, the model is trained layer-by-layer. Each layer's output becomes the input for the next, allowing the model to find an initial sensible state.
  • Fine-tuning: After pre-training, the authors use an alternating minimization algorithm to refine all layers simultaneously, minimizing the total reconstruction error.
  • Non-linearities: The framework allows for non-linear activation functions between layers to better map the non-linear manifolds where data often resides.

Datasets

The model was evaluated on three well-known facial image datasets, which are ideal for testing hierarchical feature extraction:

  1. CMU MultiPIE: A massive dataset with labels for identity, pose, illumination, and expression.
  2. CMU PIE: A smaller set focused on identity under varying light conditions.
  3. XM2VTS: Contains frontal images of 295 subjects taken over multiple sessions.

The researchers tested the model using both raw Pixel Intensities and Image Gradient Orientations (IGOs). Because IGOs result in data with mixed signs, they serve as a perfect testbed for the "Semi" aspect of the model.

Key Insights and Ideas

  • Automatic Hierarchy Discovery: The standout finding is that different layers in the deep stack naturally gravitate toward different attributes. In a face dataset, lower layers might capture pose or expression, while the deepest layer captures the most invariant attribute: identity.
Hierarchical feature extraction in Deep Semi-NMF, showing pose, expression, and identity disentanglement across layers.
  • Clustering at Every Level: Because every hidden representation ($H_i$) is constrained to be non-negative, every layer in the hierarchy maintains a "clustering interpretation." You can perform k-means at any layer to see what the model has learned at that level of abstraction.
  • Preserving Reconstruction: Unlike some deep learning methods that focus solely on discriminative features, Deep Semi-NMF maintains a very low reconstruction error, ensuring the learned features are still a faithful representation of the original data.

Key Results

Deep Semi-NMF consistently outperformed standard NMF, Semi-NMF, and other state-of-the-art variants (like Graph-regularized NMF) across all datasets:

  • Clustering Accuracy: On the CMU MultiPIE dataset using pixel intensities, Deep Semi-NMF achieved significantly higher clustering accuracy and Normalized Mutual Information (NMI) compared to its shallow counterparts.
  • Disentanglement: The authors demonstrated that the first layer was better at clustering by pose (approx. 28% accuracy), while the deeper layers were significantly better at clustering by identity (improving from ~9% in the first layer to ~16.6% in the second).
  • Robustness: The model showed superior performance even when using mixed-sign features like Image Gradient Orientations, where standard NMF cannot be applied.

Limitations and Future Work

  • Initialization: The authors noted that the model's success is somewhat dependent on the initial approximation of the matrices. They currently use a rough approximation (NNDSVD) and suggest that more sophisticated initialization schemes could further improve stability.
  • Computational Complexity: While the paper provides complexity analysis, deep architectures are inherently more computationally expensive to train than shallow ones.
  • Future Directions: The authors suggest applying this framework to other domains like speech recognition (multi-source separation) and exploring "multilinear" (tensor-based) extensions of the deep architecture.

Summary updated

BibTeX
@inproceedings{trigeorgis2014deep,
  author = {George Trigeorgis and Konstantinos Bousmalis and Stefanos Zafeiriou and Björn W. Schuller},
  title = {{A Deep Semi-NMF Model for Learning Hidden Representations}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
  url = {https://openreview.net/forum?id=ryVIP3-O-S},
}
Figure