Sparse Subspace Clustering by Learning Approximation ℓ0 Codes

Jun Li, Yu Kong

Abstract

Sparse Subspace Clustering (SSC) is a powerful technique for grouping data points from a union of low-dimensional subspaces. However, traditional SSC methods often face a trade-off between computational efficiency and clustering accuracy. This paper introduces SSC-LOMP (Sparse Subspace Clustering by Learned OMP), a novel framework that accelerates the clustering process by training a single-hidden-layer neural network (SHNN) to approximate $\ell_0$ sparse codes. By employing a specialized shrinkage activation function, SSC-LOMP achieves state-of-the-art performance, reaching 94.32% accuracy on the MNIST dataset with orders of magnitude faster inference than traditional optimization-based methods.

Introduction

Subspace clustering is a fundamental task in computer vision and machine learning, used for applications such as face clustering and digit recognition. The "gold standard" approach, Sparse Subspace Clustering (SSC), builds an affinity matrix by representing each data point as a sparse linear combination of other points in the dataset.

Despite its success, researchers encounter a "trilemma" of constraints:

  1. Accuracy: $\ell_1$-norm regularization methods (e.g., SSC-ISTA) are accurate but computationally expensive due to large-scale convex optimization.
  2. Speed: $\ell_0$-norm methods using Orthogonal Matching Pursuit (OMP) are faster but scale poorly with dataset size.
  3. Reliability: Faster alternatives like Least Squares Regression (LSR) often fail to maintain "subspace-preserving" properties, leading to incorrect cluster connections.

SSC-LOMP addresses these challenges by transforming the sparse coding optimization problem into a supervised learning task, enabling rapid inference through a simple neural network forward pass.

Methodology

The SSC-LOMP framework operates in three distinct stages:

  1. Initial Sparse Coding: Ground truth $\ell_0$ sparse codes are generated for a subset of data points using the standard OMP algorithm.
  2. Learning the Mapping: A Single Hidden Neural Network (SHNN) is trained to map input data directly to these sparse codes. A critical component of this network is the shrinkage activation function. Unlike the standard ReLU activation, the shrinkage function (illustrated in Figure 1) forcibly zeros out small coefficients, effectively mimicking the behavior of $\ell_0$ optimization and ensuring the output remains sparse.
  3. Fast Inference: Once trained, the network computes the affinity matrix for new data points via matrix multiplication and non-linear activation. This replaces iterative optimization with a single, high-speed "forward pass."
Comparison of activation functions, highlighting the shrinkage function used in SSC-LOMP.

The authors provide theoretical guarantees proving that if the neural network's approximation error is sufficiently small, the resulting affinity matrix remains subspace-preserving, maintaining the mathematical integrity of the clustering.

Experimental Results

The performance of SSC-LOMP was evaluated on two benchmark datasets: MNIST (70,000 handwritten digits) and Extended YaleB (frontal face images of 38 individuals).

As shown in Figure 2, SSC-LOMP demonstrates superior performance across multiple metrics:

  • Accuracy: On MNIST, SSC-LOMP achieved 94.32% accuracy, significantly outperforming SSC-OMP (90.56%) and SSC-ISTA (85.23%).
  • Computational Efficiency: For 6,000 MNIST samples, SSC-LOMP's inference time was only 15.5 seconds, a massive improvement over the 2,363 seconds required by SSC-ISTA.
  • Connectivity: The method exhibited a higher Subspace Preserving Representation Percentage (SPRP) than OMP, indicating more reliable cluster connections.
Performance comparison of SSC-LOMP against state-of-the-art methods on MNIST and Extended YaleB datasets.

Conclusion

SSC-LOMP successfully bridges the gap between high-accuracy sparse optimization and high-speed neural network inference. By treating sparse coding as a learnable function and utilizing a specialized shrinkage activation, the framework achieves state-of-the-art clustering performance with remarkable speed. Future research may explore deeper architectures to approximate even more complex subspaces and address the non-convexity of the training objective.

Summary updated

BibTeX
@inproceedings{li2017sparse,
  author = {Jun Li and Yu Kong and Yun Fu},
  title = {{Sparse Subspace Clustering by Learning Approximation ℓ0 Codes}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10782},
}
Figure