Semi-Supervised Clustering via Dynamic Graph Structure Learning

Huaming Ling, Chenglong Bao, Xin Liang, Zuoqiang ShiarXiv 2022

TL;DR

This paper introduces Dynamic Graph Structure Learning (DGSL), a semi-supervised clustering framework that simultaneously optimizes the affinity matrix (the graph structure) and the low-dimensional representations of data points. By iteratively refining the graph using pairwise constraints, DGSL overcomes the limitations of traditional static-graph methods, achieving state-of-the-art performance across various image and speech datasets.

What Problem Does This Paper Address?

Graph-based clustering, such as spectral clustering, relies heavily on an affinity matrix—a mathematical representation of how similar every pair of data points is. In semi-supervised settings, we often have "hints" in the form of pairwise constraints: must-link (two points belong together) and cannot-link (two points belong apart).

The authors identify a major gap in existing research: most methods treat the affinity matrix as static. They either build it once at the start or refine it slightly using constraints, but they don't update the graph structure during the learning of data representations. This is a missed opportunity, as the learned clusters themselves should logically inform and improve the underlying graph structure.

Methods

The core of the paper is a unified optimization framework that treats the affinity matrix and the low-dimensional data representations as mutually dependent variables.

  1. Unified Optimization: Instead of a multi-step process, the authors propose a single objective function that balances reconstruction error, sparsity, and adherence to pairwise constraints.
  2. Dynamic Graph Refinement: As the model learns low-dimensional representations ($H$), it uses them to update the affinity matrix ($Z$). Specifically, if two points end up with very different representations, the model enforces an affinity value of zero between them.
  3. Initial Affinity Construction: The process starts with a robust initial graph that integrates local Euclidean distances (capturing neighborhood structure) with global self-representation (capturing subspace structure).
  4. Alternating Minimization: To solve their complex non-convex model, the authors developed a three-block alternating minimization solver with proven convergence. It cyclically updates the representations, an auxiliary variable, and the affinity matrix.
Overview of the DGSL framework showing the cyclical update between the affinity matrix and low-dimensional representations.

Datasets

The authors evaluated DGSL on eight diverse benchmark datasets and one hypergraph dataset:

  • Face Images: ORL, Yale, Extended Yale B, and UMIST.
  • Handwritten Digits: MNIST and USPS.
  • Object Images: COIL20.
  • Spoken Letters: Isolet.
  • Hypergraph: Cora (citation network).
Sample images from the various benchmark datasets used for evaluation.

Key Insights and Ideas

  • Mutual Refinement: The "aha" moment is the realization that the graph and the representations can help each other. A better graph leads to more accurate representations, which in turn allow for a cleaner, more discriminative graph.
  • Emergent Block-Diagonal Structure: A perfect clustering graph is "block-diagonal," meaning points in the same cluster have high affinity and points in different clusters have zero affinity. The authors show that their dynamic approach naturally drives the affinity matrix toward this ideal structure as iterations progress.
  • Flexibility in Supervision: The model is robust enough to handle different types of supervision, performing well whether it's given pairwise constraints (weaker info) or partial labels (stronger info).

Key Results

  • Superior Accuracy: DGSL consistently outperformed state-of-the-art methods like CSCAP and LSGR. For instance, on the COIL20 dataset with minimal supervision, DGSL achieved a 5.7% improvement in accuracy over the next best method.
  • Rapid Improvement with Data: The model's performance scales exceptionally well; as more pairwise constraints are added, the accuracy and Normalized Mutual Information (NMI) scores climb faster than competing methods.
  • Parameter Robustness: Sensitivity studies demonstrated that the model is not overly sensitive to its five hyperparameters, making it practical for real-world use where perfect tuning is difficult.
Visualization showing the emergence of a clear block-diagonal structure in the affinity matrix (Z) and distance matrix (P) by the 30th iteration.

Limitations and Future Work

While highly effective, the paper notes a few areas for further exploration:

  • Computational Complexity: The algorithm involves spectral decompositions and matrix inversions, resulting in a complexity of $O(n^3)$ per iteration. While standard for this field, it may require further optimization for extremely large-scale "big data" applications.
  • Hyperparameter Balancing: The model introduces five parameters to control different components. Although the authors provide a guide for tuning them, simplifying this parameter space could make the model even more user-friendly.
  • Extension to Hypergraphs: While the authors showed a successful extension to the Cora hypergraph dataset, more specialized research could further optimize DGSL for complex non-binary relationships in data.

Summary updated

BibTeX
@misc{ling2022semi,
  author = {Huaming Ling and Chenglong Bao and Xin Liang and Zuoqiang Shi},
  title = {{Semi-Supervised Clustering via Dynamic Graph Structure Learning}},
  year = {2022},
  eprint = {2209.02513},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.02513},
}
Figure