Sketched clustering via hybrid approximate message passing

Evan Byrne, Rémi Gribonval, Philip SchniterACSSC 2017 · DOI

TL;DR

This paper introduces CL-AMP, a novel algorithm for "sketched clustering" that uses approximate message passing to efficiently extract cluster centroids from a compressed representation of the data. CL-AMP offers significant improvements in both computational efficiency and sample complexity compared to existing methods like CL-OMPR and k-means++, especially for large datasets.

What Problem Does This Paper Address?

Traditional clustering algorithms, like k-means++, often struggle with massive datasets due to their high computational and memory demands. "Sketched clustering" offers a solution by first compressing the data into a smaller "sketch" and then performing clustering on this compressed representation. This reduces storage and makes centroid extraction independent of the original data size. However, existing sketched clustering methods, like CL-OMPR, still require a relatively large sketch size and can be computationally intensive. This paper addresses the need for a more efficient and sample-complex sketched clustering algorithm that can accurately recover cluster centroids even with smaller sketches.

Methods

The core contribution of this paper is the CL-AMP (Clustered Learning via Approximate Message Passing) algorithm. It frames the centroid recovery problem as a high-dimensional inference task, modeling the data as a Gaussian Mixture Model (GMM). CL-AMP leverages the Simplified Hybrid Generalized Approximate Message Passing (SHyGAMP) framework, which is an efficient iterative algorithm for approximate inference.

Key methodological aspects include:

  • Approximate Message Passing (AMP): CL-AMP uses AMP to efficiently approximate the complex posterior distribution of the cluster centroids, avoiding computationally intractable calculations.
  • Gaussian Mixture Model (GMM) Assumption: The data is assumed to follow a GMM, which is a standard but powerful model for clustering.
  • Sketching via Empirical Characteristic Function: The paper builds upon a specific sketching method proposed by Keriven et al., which samples the empirical characteristic function of the data. This method is efficient and can be performed in an online or distributed manner.
  • Hyperparameter Tuning: The algorithm incorporates an Expectation-Maximization (EM) approach to jointly estimate the GMM parameters (weights and covariances) and the sketch parameters, further improving robustness.
  • Multiple Random Initializations: To mitigate the risk of converging to suboptimal solutions, CL-AMP employs multiple random initializations.

Datasets

The paper evaluates CL-AMP on:

  • Synthetic Data: Generated from Gaussian Mixture Models with varying parameters (number of clusters K, dimension N, number of samples T, and sketch length M).
  • MNIST Dataset: Used for spectral clustering, with data preprocessing steps involving SIFT descriptors and Laplacian matrices.

The authors do not introduce new benchmark datasets but rather use standard datasets and configurations for evaluation.

Key Insights and Ideas

  • AMP for Sketched Clustering is Powerful: The paper demonstrates that approximate message passing, specifically the SHyGAMP framework, is a highly effective tool for extracting cluster centroids from compressed data sketches.
  • Smaller Sketches are Viable: CL-AMP shows that accurate clustering can be achieved with significantly smaller sketch sizes (M ≥ 2KN) compared to CL-OMPR (M ≥ 10KN), leading to better sample complexity.
  • Computational Efficiency Gains: CL-AMP offers a substantial computational speedup over CL-OMPR and, for large datasets, even over k-means++.
  • Robustness to Hyperparameters: The integrated hyperparameter tuning mechanism makes CL-AMP more robust and less sensitive to initial parameter choices.
  • Frequency Estimation as a Related Problem: The paper highlights the connection between sketched clustering and multi-dimensional frequency estimation, showing CL-AMP's applicability to both.

Key Results

  • Improved SSE and CER: CL-AMP consistently achieved lower Sum of Squared Errors (SSE) and Classification Error Rates (CER) compared to CL-OMPR, especially at smaller sketch sizes. For large sketch sizes, CL-AMP and CL-OMPR outperformed k-means++.
  • Significant Speedup: CL-AMP was considerably faster than CL-OMPR, particularly when sketch sizes were reduced. For large training datasets (T > 10^6), CL-AMP was also faster than k-means++.
  • Sample Complexity Advantage: CL-AMP required smaller sketch lengths (M/KN as low as 2) to achieve comparable or better results than CL-OMPR (requiring M/KN of 10 or more).
  • Frequency Estimation Success: In frequency estimation experiments, CL-AMP demonstrated a higher empirical probability of recovery than CL-OMPR, especially for closely spaced frequencies.

Limitations and Future Work

  • Computational Complexity of Estimation Steps: The authors acknowledge that the estimation steps within CL-AMP are still the most computationally intensive part of the algorithm. Future work could focus on reducing this complexity.
  • Theoretical Analysis: While empirical results are strong, a deeper theoretical analysis of CL-AMP's behavior, potentially using state-evolution approaches, is suggested.
  • Adaptation to New Sketching Methods: As new sketching techniques emerge, adapting CL-AMP to these variations is a promising direction.
  • Hyperparameter Tuning Optimization: While the current tuning is effective, further optimization of the hyperparameter tuning process is mentioned as a possibility.

Summary updated

BibTeX
@inproceedings{byrne2017sketched,
  author = {Evan Byrne and Rémi Gribonval and Philip Schniter},
  title = {{Sketched clustering via hybrid approximate message passing}},
  booktitle = {ACSSC},
  year = {2017},
  doi = {10.1109/acssc.2017.8335370},
}
Figure