Constrained clustering via spectral regularization

Zhenguo Li, Jianzhuang Liu, Xiaoou Tang

Introduction: Bridging the Semantic Gap

Clustering algorithms often struggle with the "semantic gap"—the discrepancy between low-level data features (like pixel intensities) and high-level human concepts (like identity). For instance, in face recognition, images of the same individual in different poses or lighting conditions may appear more distinct to an algorithm than images of two different people in similar poses.

Figure 1: Face images from the YaleB dataset illustrating the semantic gap caused by varying poses and lighting.

To overcome this, researchers incorporate pairwise constraints:

  • Must-link (ML): Specifies that two objects belong to the same cluster.
  • Cannot-link (CL): Specifies that two objects belong to different clusters.

While ML constraints are transitive and relatively straightforward to implement, CL constraints are non-transitive and notoriously difficult to integrate into spectral clustering frameworks without compromising computational efficiency or mathematical properties like positive-semidefiniteness.

The CCSR Framework: A Shift in Perspective

This paper introduces Constrained Clustering via Spectral Regularization (CCSR). Unlike traditional methods that attempt to modify the input similarity matrix to satisfy constraints, CCSR regularizes the output spectral embedding itself.

Figure 2: Comparison between traditional constrained spectral clustering (top) and the proposed CCSR framework (bottom).

Key Methodological Innovations

  1. Spectral Regularization: The method defines a smooth representation space using the first $m$ eigenvectors of the normalized graph Laplacian. This acts as a low-pass filter, preserving essential data structure while filtering out noise.
  2. Targeting an "Ideal" Representation: The authors define a target embedding where objects in the same cluster map to the same point on a unit sphere, and objects in different clusters are orthogonal.
  3. Scalable Optimization via SDP: The problem is formulated as a Semidefinite Program (SDP). Crucially, the complexity of this SDP depends on the number of eigenvectors ($m$), which is typically a small constant (e.g., 15), rather than the total number of data points ($n$). This makes CCSR highly scalable for large-scale datasets.

Experimental Evaluation

The authors evaluated CCSR against standard Normalized Cuts (NCuts) and other state-of-the-art constrained methods across diverse datasets, including image databases (USPS, MNIST, YaleB, and natural scenes) and standard UCI benchmarks.

Key Findings

  • Superior Accuracy: CCSR consistently outperformed competing methods across nearly all experimental settings.
  • Effective Constraint Propagation: By biasing the embedding space rather than local similarity values, the influence of sparse constraints naturally propagates to unconstrained but similar objects through the underlying graph structure.
  • Computational Efficiency: The method proved practical for real-world use; for example, the SDP solver processed the USPS dataset in just 52 seconds on a standard PC.

Conclusion and Future Directions

CCSR provides a robust and scalable solution for incorporating pairwise constraints into spectral clustering. By treating constraints as targets in a regularization framework, it bypasses the mathematical and computational hurdles associated with modifying similarity matrices. Future research may focus on automating the selection of the regularization parameter $m$ and integrating more robust graph construction techniques to further enhance performance.

Summary updated

BibTeX
@inproceedings{li2009constrained,
  author = {Zhenguo Li and Jianzhuang Liu and Xiaoou Tang},
  title = {{Constrained clustering via spectral regularization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2009},
  doi = {10.1109/cvpr.2009.5206852},
}
Figure