Introduction
Multiple Kernel Clustering (MKC) is a powerful technique in machine learning, favored for its ability to integrate diverse data representations (views) and capture complex non-linear similarities through the "kernel trick." However, traditional MKC algorithms, such as Multiple Kernel k-means (MKKM), face a significant "memory wall." The storage requirements for kernel matrices scale quadratically with the number of samples ($O(m \cdot N^2)$), and the computational complexity of required operations like Singular Value Decomposition (SVD) scales cubically ($O(N^3)$). These constraints make standard MKC impractical for large-scale datasets like ImageNet, which contains over a million samples.
The Proposed Framework
To overcome these scalability issues, this research proposes a novel two-stage approximate framework that leverages Deep Neural Networks (DNNs) to mimic the behavior of kernel-based clustering. By shifting the heavy lifting from matrix algebra to deep learning, the method avoids the need to compute or store full $N \times N$ kernel matrices.
1. Training Stage
The process begins by selecting a small, representative subset of the data ($X_{sub}$). Standard MKKM is performed on this subset to generate an indicating matrix ($H_{sub}$), which serves as the target cluster embedding. A DNN is then trained to regress the raw input features to these embeddings. By doing so, the network effectively "distills" the complex non-linear mapping of the kernel into its weights.
2. Testing and Inference Stage
Once trained, the DNN can process the entire large-scale dataset in batches. The output of the network provides an approximate indicating matrix ($\tilde{H}$) for all samples. To refine this output, Principal Component Analysis (PCA) is applied to reduce noise and dimensionality. Finally, standard $k$-means is executed on the low-dimensional embeddings to produce the final cluster assignments.
DNN Architecture
The architecture of the network is specifically designed to handle multi-view data. It employs 1D convolutional layers followed by max-pooling to extract features from individual views. These features are then concatenated and passed through a series of four fully-connected layers to produce the final embedding.
Experimental Evaluation
The authors evaluated the method across eight image datasets, ranging from small-scale benchmarks (e.g., 102flowers, MNIST-10k) to large-scale datasets like Caltech256, CIFAR-100, and ImageNet (1.28 million samples). Features were extracted using pre-trained AlexNet and VGG19 models to provide the multiple views required for the kernels.
Key Results
- Scalability and Efficiency: The framework successfully clustered the full ImageNet dataset with 38.84% accuracy—a task previously impossible for standard MKKM due to memory constraints. On large datasets, the method achieved speedups of 3.3x to 11x compared to standard $k$-means.
- Accuracy: On smaller datasets where exact MKKM is feasible, the DNN-based approximation yielded nearly identical performance, demonstrating minimal loss of information during the distillation process.
- Robustness: Results indicated that clustering performance remains stable even with relatively small training subsets, suggesting that DNNs can effectively capture global data structures from limited samples.
Conclusion
By shifting the computational burden from matrix algebra to deep learning regression, this work provides a scalable path for kernel-based clustering. The use of PCA as a post-processing step further enhances performance by filtering approximation noise. Future research may explore more advanced sampling strategies, such as importance sampling, to further improve the representativeness of the training subsets and the overall quality of the large-scale clustering.
Summary updated