Deep Subspace Clustering Networks

Pan Ji, Tong Zhang, Hongdong Li, Mathieu Salzmann, Ian D. Reid

Abstract

Deep Subspace Clustering Networks (DSC-Nets) introduce a novel framework for clustering data points that lie in a union of non-linear subspaces. By integrating deep convolutional auto-encoders with a specialized "self-expressive" layer, the model jointly learns non-linear feature mappings and data affinities. This approach overcomes the limitations of traditional linear subspace clustering and the heuristic nature of kernel-based methods. Experimental results on benchmark image datasets demonstrate that DSC-Nets significantly outperform existing state-of-the-art methods in terms of clustering accuracy and robustness.

Introduction

Subspace clustering is a fundamental unsupervised learning problem where the objective is to partition data points into their respective low-dimensional subspaces. In computer vision, this is exemplified by face clustering, where images of a single subject under varying illumination typically reside within a specific low-dimensional subspace.

The primary challenge in real-world scenarios is the inherent non-linearity of data. While traditional methods like Sparse Subspace Clustering (SSC) are effective for linear subspaces, they often fail when confronted with complex, non-linear structures, such as faces with varying poses. Previous attempts to address this via the "kernel trick" were limited by the difficulty of selecting an optimal kernel. DSC-Nets propose a solution by explicitly learning a non-linear mapping that transforms data into a space where subspaces are more easily separable.

Methods

The DSC-Net architecture is composed of three integral components:

  1. Deep Convolutional Auto-encoder: The encoder transforms input images into a latent representation, while the decoder aims to reconstruct the original input. This structure allows the network to capture complex, non-linear features essential for representing high-dimensional data.
  2. Self-Expressive Layer: This is the core innovation of the network. It is a fully connected layer without bias or non-linear activations, inserted between the encoder and the decoder. It implements the self-expressiveness property, which states that each data point in a subspace can be represented as a linear combination of other points in the same subspace.
  3. Joint Loss Function: The model is trained by minimizing a multi-objective loss function that includes reconstruction error, self-expression loss, and regularization (L1 or L2) on the self-expressive layer's weights.
The DSC-Net architecture showing the encoder, self-expressive layer, and decoder pipeline.

The training process follows a two-stage strategy: initial pre-training of the auto-encoder without the self-expressive layer, followed by fine-tuning the entire network using the full dataset in a single batch.

Key Insights and Ideas

A significant contribution of DSC-Nets is the introduction of differentiable affinities. By representing the affinity matrix as the weights of a neural network layer, the clustering process becomes fully differentiable. This enables the use of backpropagation to optimize features specifically for the clustering task.

Visualization of the learned affinity matrix and the resulting clustered face images.

Unlike traditional two-stage methods that extract features and then cluster, DSC-Nets perform joint optimization. The latent space is shaped during training to satisfy the requirements of subspace clustering. Furthermore, the authors observed that for certain datasets, "lifting" the data into a higher-dimensional latent space—rather than compressing it—yielded better results, effectively learning a mapping similar to a high-dimensional kernel space.

Results and Discussion

DSC-Nets were evaluated on standard benchmarks including Extended Yale B, ORL, and COIL datasets. The model achieved substantial improvements over previous state-of-the-art (SOTA) methods. For instance, on the Extended Yale B dataset, DSC-Net-L2 achieved a clustering error of 2.67%, a significant reduction from the 11.64% error of the best traditional baseline (EDSC). On COIL20, the error was reduced to 5.34%, roughly one-third of the best baseline's error.

Despite its success, the model has limitations regarding scalability. The $N \times N$ weight matrix in the self-expressive layer and the requirement for full-batch training pose challenges for large-scale datasets. Future research will focus on implementing the self-expressive property using mini-batch training to enhance the model's scalability for big data applications.

Summary updated

BibTeX
@inproceedings{ji2017deep,
  author = {Pan Ji and Tong Zhang and Hongdong Li and Mathieu Salzmann and Ian D. Reid},
  title = {{Deep Subspace Clustering Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=By-_vvbdZr},
}
Figure