SoF: Soft-Cluster Matrix Factorization for Probabilistic Clustering

Han Zhao, Pascal Poupart, Yongfeng Zhang, Martin Lysy

Introduction

Clustering is a fundamental task in unsupervised learning, yet many existing probabilistic models are constrained by rigid assumptions regarding data density. For instance, the widely used Gaussian Mixture Model (GMM) assumes that data clusters follow a Gaussian distribution. When data exhibits complex, non-convex structures—such as concentric rings or intertwined spirals—these models frequently fail to provide accurate partitions.

This paper introduces SoF (Soft-cluster matrix Factorization), a novel framework that bridges the gap between Nonnegative Matrix Factorization (NMF) and probabilistic clustering. By focusing on pairwise relationships rather than global density shapes, SoF provides a robust, data-driven approach to identifying clusters of arbitrary geometry.

Methodology: An Axiomatic Approach

The core of SoF lies in its definition of co-cluster probability—the likelihood that two data points belong to the same group. Rather than assuming a specific distribution, the authors propose four axioms that any valid co-cluster probability function should satisfy:

  1. Boundary: Probabilities must range between 0 and 1.
  2. Symmetry: The probability of point A and B being in the same cluster is the same as B and A.
  3. Monotonicity: As the distance between points increases, the co-cluster probability should decrease.
  4. Tail properties: The probability should decay to zero as distance approaches infinity.

The authors demonstrate that an exponential decay function based on distance satisfies these requirements. This leads to a matrix factorization objective where the goal is to minimize the difference between an empirical distance-based matrix $P$ and a reconstructed matrix $WW^T$, where $W$ represents the soft cluster assignments. To solve this non-convex optimization problem, the authors employ a sequential penalty method that transforms hard constraints (non-negativity and row-summation to unity) into penalty terms, allowing for stable convergence toward a valid probabilistic assignment.

Experimental Evaluation

The performance of SoF was evaluated using both synthetic and real-world datasets to demonstrate its versatility and accuracy.

Synthetic Qualitative Analysis

To test the algorithm's flexibility, the authors used six complex 2D patterns. Unlike centroid-based methods like K-means, SoF successfully identifies non-convex shapes by focusing on local pairwise relationships.

Figure 1: SoF successfully identifies complex, non-convex cluster patterns in synthetic 2D datasets, including concentric rings and intertwined shapes.

Real-World Benchmarks

The algorithm was further tested against seven UCI Machine Learning Repository datasets, ranging from medical data (blood, breast_t) to image recognition (satimage, pendigits). These benchmarks represent a variety of scales and attribute counts.

Figure 5: Performance comparison across UCI datasets. SoF consistently achieves the highest accuracy and purity scores compared to K-means, GMM, and various NMF baselines.

Key Insights and Results

The experimental results highlight several advantages of the SoF framework:

  • Superior Accuracy: As shown in the benchmark tables, SoF consistently outperformed standard K-means, GMM, and Spectral Clustering. It also showed marked improvements over other NMF variants like SymNMF and GNMF.
  • Distribution-Free Flexibility: By relying on pairwise distances rather than density estimation, SoF avoids the "blob" bias of GMM, making it suitable for a wider variety of real-world data structures.
  • Uncertainty Quantification: Because the output $W$ provides a probability distribution, the entropy of these assignments can be used to visualize and quantify clustering uncertainty at cluster boundaries.

Conclusion and Future Directions

SoF provides a strong theoretical foundation for using symmetric NMF in probabilistic clustering. While the current implementation faces some computational challenges—specifically the $O(N^2)$ complexity of handling the $N \times N$ pairwise matrix—it offers a highly accurate and flexible alternative to traditional models. Future research will focus on exploiting the sparsity of the probability matrix to improve scalability for massive datasets.

Summary updated

BibTeX
@inproceedings{zhao2015sof,
  author = {Han Zhao and Pascal Poupart and Yongfeng Zhang and Martin Lysy},
  title = {{SoF: Soft-Cluster Matrix Factorization for Probabilistic Clustering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2015},
  doi = {10.1609/aaai.v29i1.9594},
}
Figure