Self-Supervised Convolutional Subspace Clustering Network

Junjian Zhang, Chun-Guang Li, Chong You, Xianbiao Qi, Honggang Zhang, Jun Guo, Zhouchen Lin

Introduction

Subspace clustering is a fundamental technique in unsupervised learning, predicated on the assumption that high-dimensional data, such as images, resides within a union of low-dimensional linear subspaces. While effective in theory, real-world data often suffers from non-linear variations (e.g., lighting, pose) that violate this assumption in raw pixel space. Convolutional Neural Networks (ConvNets) excel at learning invariant features but typically require extensive labeled datasets.

The Self-Supervised Convolutional Subspace Clustering Network ($S^2$ConvSCN) addresses this by introducing a "dual self-supervision" mechanism. This framework enables a ConvNet to simultaneously learn cluster-friendly features and perform subspace clustering without any manual labels, creating a virtuous cycle where improved features lead to better clustering, and vice versa.

Methodology

The $S^2$ConvSCN architecture is an end-to-end framework composed of five integrated modules:

  1. Stacked Convolutional Encoder: Transforms input images $X$ into latent feature vectors $Z$.
  2. Stacked Convolutional Decoder: Reconstructs the input $\hat{X}$ from the latent space to preserve essential data characteristics.
  3. Self-Expression Module: Learns a coefficient matrix $C$ where $Z \approx ZC$, capturing the subspace structure.
  4. Spectral Clustering Module: Derives cluster assignments $Q$ from the affinity matrix generated by $C$.
  5. FC-Layers Module: Acts as a pseudo-classifier trained on the encoder's output.
The $S^2$ConvSCN architecture featuring dual self-supervision loops.

Dual Self-Supervision

The core innovation is the feedback loop from the Spectral Clustering Module back to the rest of the network:

  • Subspace Supervision ($L_3$ loss): The clustering results $Q$ are used to refine the self-expression matrix $C$, encouraging a block-diagonal structure where points are represented only by others in the same cluster.
  • Feature Supervision ($L_4$ loss): Cluster assignments serve as pseudo-labels. The encoder is trained to predict these labels, while a Center Loss minimizes intra-cluster variance, pulling features toward their respective centroids.

To maintain consistency as cluster IDs evolve during training, the Hungarian Algorithm is employed to optimally map pseudo-labels between successive epochs.

Experimental Evaluation

The model was benchmarked against four standard computer vision datasets:

  • Extended Yale B: 2,432 face images (38 subjects) under varying illumination.
  • ORL: 400 face images (40 subjects) with diverse expressions.
  • COIL20 & COIL100: 1,440 and 7,200 images respectively, featuring objects at different rotation angles.

Results and Discussion

$S^2$ConvSCN achieved state-of-the-art performance across all benchmarks. On the Extended Yale B dataset, it reduced the clustering error to 1.52%, a significant improvement over the previous deep learning benchmark (DSCNet) at 2.67%. Similar gains were observed on COIL20 (2.14% vs. 5.42%) and COIL100 (26.67% vs. 30.96%).

Convergence analysis of loss functions and clustering error over training epochs.

Ablation studies highlighted the necessity of the dual supervision approach; removing either the subspace or feature supervision components led to a marked decrease in performance. The training dynamics, as shown in the loss curves, indicate a stable convergence where the minimization of the composite loss function directly translates to a rapid drop in clustering error.

Conclusion

The $S^2$ConvSCN demonstrates that treating clustering as a source of supervision rather than just an output can significantly enhance unsupervised feature learning. While the current implementation relies on spectral clustering—which may face scaling challenges for massive datasets—the framework's success suggests a promising path for integrating self-supervision into subspace clustering. Future work may explore more scalable clustering alternatives or advanced backbone architectures like Transformers.

Summary updated

BibTeX
@inproceedings{zhang2019self,
  author = {Junjian Zhang and Chun-Guang Li and Chong You and Xianbiao Qi and Honggang Zhang and Jun Guo and Zhouchen Lin},
  title = {{Self-Supervised Convolutional Subspace Clustering Network}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00562},
}
Figure