Learning Self-Expression Metrics for Scalable and Inductive Subspace Clustering

Julian Busch, Evgeniy Faerman, Matthias Schubert, Thomas SeidlarXiv 2020

Abstract

Subspace clustering is a fundamental technique for high-dimensional data analysis, yet traditional methods are hampered by the need to learn an $N \times N$ coefficient matrix. This dependency leads to poor scalability and a lack of inductive capabilities for unseen data. This paper introduces Siamese Subspace Clustering Networks (SSCN), which shift the paradigm from learning coefficients to learning a subspace affinity metric. By utilizing a Siamese architecture, SSCN reduces parameter counts by over 99% and enables the clustering of out-of-sample data. Empirical results on the MNIST dataset demonstrate that SSCN outperforms state-of-the-art deep subspace clustering methods while significantly lowering computational overhead.

Introduction

High-dimensional datasets, such as collections of facial images or handwritten digits, often reside on a union of low-dimensional subspaces. Subspace clustering aims to identify these underlying structures to group data points effectively. The prevailing "gold standard" relies on the self-expressiveness property, which posits that any data point can be represented as a linear combination of other points within the same subspace.

However, traditional deep subspace clustering methods typically learn a coefficient matrix $C \in \mathbb{R}^{N \times N}$. This approach faces two critical challenges:

  1. Scalability: The quadratic growth of the coefficient matrix relative to the number of data points $N$ makes it prohibitive for large-scale datasets (e.g., 100,000 points require 10 billion entries).
  2. Transduction: These models are inherently transductive, meaning they cannot generalize to new, unseen data without retraining the entire model on the expanded dataset.

Methodology

To overcome these limitations, the authors propose replacing the static coefficient matrix with a learned metric function.

Siamese Architecture and Theoretical Foundation

The core of SSCN is a Siamese neural network consisting of two identical branches with shared weights. Instead of learning $C$ directly, the network learns an embedding function $h$ such that the affinity between two points is defined by the dot product of their embeddings. The authors provide a formal proof (Theorem 1) demonstrating that even a simple linear layer within this Siamese framework can exactly recover the optimal solution of traditional, non-scalable subspace clustering methods.

Architecture of the Siamese Subspace Clustering Network (SSCN).

Inductive Geometric Classifier

A major contribution of this work is the introduction of an inductive geometric classifier. The model rotates learned embeddings into pre-defined, axis-aligned subspaces. New data points are assigned to clusters based on their "orthogonal projection distance"—a measure of how closely a point aligns with one of the learned planes. This allows for efficient, real-time clustering of out-of-sample data.

End-to-End Learning

For complex data types like images, the system is integrated into an auto-encoder framework. The encoder maps raw input $X$ to a latent space $Z$ where subspaces are more easily separable, while the decoder ensures that the learned representation $ZQ$ retains the essential features of the original data through a reconstruction loss.

Experimental Setup

The model was evaluated using the MNIST dataset, comprising 70,000 handwritten digit images. The experiments were divided into two parts:

  • Transductive Task: 10,000 images were used to compare SSCN against existing baselines.
  • Inductive Task: The remaining 60,000 images served as "out-of-sample" data to test the model's ability to cluster unseen points without retraining.

Results and Discussion

The shift from learning affinities to learning the function that generates them allows the model to decouple parameter count from dataset size.

Efficiency and Performance

SSCN was compared against DSC-Net, a prominent deep subspace clustering baseline. The results, summarized in the table below, highlight a dramatic improvement in efficiency. SSCN reduced the parameter count from approximately 100 million to just 66,291—a 99.93% reduction. Furthermore, GPU memory usage was slashed by 92.96%, dropping from 2.71 GB to 0.19 GB.

Comparison of SSCN against DSC-Net on MNIST benchmarks.

Despite its smaller footprint, SSCN achieved a higher clustering accuracy (ACC) of 67.98% compared to DSC-Net's 63.54%.

Inductive Capabilities

In the out-of-sample test, SSCN successfully clustered 60,000 unseen images with an accuracy of 67.39%, showing virtually no performance degradation. In contrast, the baseline DSC-Net would have required nearly 40GB of VRAM to attempt a similar task, rendering it impractical for large-scale inductive applications.

Conclusion

SSCN represents a significant step forward in making subspace clustering scalable and practical for real-world applications. By leveraging geometric properties—specifically that independent clusters become orthogonal in the learned embedding space—the authors have created a framework that is both efficient and generalizable.

Future work will focus on expanding the benchmark scope to more complex datasets and refining the training pipeline to move toward a more seamless, triplet-loss based system.

Summary updated

BibTeX
@misc{busch2020learning,
  author = {Julian Busch and Evgeniy Faerman and Matthias Schubert and Thomas Seidl},
  title = {{Learning Self-Expression Metrics for Scalable and Inductive Subspace Clustering}},
  year = {2020},
  eprint = {2009.12875},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.12875},
}
Figure