Introduction
Subspace clustering is a fundamental task in computer vision and data mining, based on the premise that high-dimensional data—such as face images or video frames—lie within a union of several low-dimensional subspaces. While traditional methods like Sparse Subspace Clustering (SSC) and Least Squares Regression (LSR) are effective for small datasets, they encounter a "big data wall" due to their $O(n^2)$ or $O(n^3)$ computational complexity. For datasets with millions of points, these algorithms become computationally prohibitive.
The Regression Coding Clustering (RCC) Framework
To address these scalability challenges, this paper proposes the Regression Coding Clustering (RCC) framework. RCC achieves linear time complexity, $O(n)$, by treating subspace coding as a functional approximation problem rather than an iterative optimization task. The framework consists of three primary stages:
1. Sampling
The process begins by randomly sampling a small, representative subset ($Y$) from the full dataset ($X$). This subset acts as a dictionary to capture the underlying subspace structure without the need to process the entire dataset simultaneously.
2. Fast Regression Coding (FRC)
The "secret sauce" of the framework is Fast Regression Coding (FRC). Instead of solving a massive optimization problem for every new data point, the authors train a three-layer neural network to learn a non-linear mapping function $f(\mathbf{x}; \theta)$.
The training involves two steps:
- Code Generation: Ideal regression codes are calculated for the sampled subset $Y$ using ridge regression.
- Function Approximation: The neural network is trained via gradient descent to predict these codes. By using non-linear
tanhactivations, the network captures the complex relationships between data and its subspace representation that linear classifiers often miss.
3. Clustering
Once the network is trained, it can compute regression codes for the entire large-scale dataset in a single forward pass. These codes are then processed using Landmark-based Spectral Clustering (LSC) to generate the final cluster assignments.
Key Insights and Theoretical Advantages
- Non-Linearity: The authors argue that the relationship between data and its subspace representation is inherently complex. The non-linear power of neural networks is essential for accurate approximation.
- The Grouping Effect: The paper provides a theoretical proof that FRC maintains the "grouping effect"—the property that ensures highly correlated data points receive similar codes. This is vital for the success of the subsequent spectral clustering step.
- Efficiency: By shifting from iterative optimization to inference via a learned function, RCC makes clustering massive datasets nearly instantaneous once the model is trained.
Experimental Results
The RCC framework was evaluated on several datasets, including Extended-YaleB, AR, MNIST (70,000 samples), and JCNORB (349,920 samples).
- Speed: On smaller datasets, RCC was 50 times faster at generating codes than traditional LSR or SSC.
- Accuracy: On MNIST, RCC achieved a clustering accuracy of 73.6%, significantly outperforming other scalable methods like S-C-C (55%) and Deep Autoencoders (68.9%).
- Large-Scale Performance: For the JCNORB dataset, RCC completed the entire clustering process in just 262 seconds. In contrast, other state-of-the-art scalable methods took between 1,300 and 4,400 seconds, often with lower accuracy.
Conclusion
Regression Coding Clustering (RCC) offers a powerful solution for large-scale subspace clustering by leveraging neural networks for fast code approximation. By reducing complexity to $O(n)$ while preserving the grouping effect, it enables the analysis of massive datasets that were previously unreachable. Future research may explore deeper architectures or convolutional layers to further enhance feature representation for complex image data.
Summary updated