Introduction
Clustering is a fundamental task in data science and machine learning, traditionally dominated by algorithms optimized for Euclidean distance. However, many real-world datasets exhibit geometries better captured by non-Euclidean measures, such as the Kullback-Leibler (KL) divergence in probability distributions or the Itakura-Saito distance in signal processing. These measures belong to the family of Bregman divergences. As datasets grow to streaming scales, the need for efficient data summarization techniques, or "coresets," becomes critical. This paper introduces the first online algorithms for constructing coresets for clustering under a broad class of Bregman divergences, ensuring scalability and theoretical robustness.
Problem Formulation and $\mu$-Similarity
Bregman divergences often lack the convenient properties of Euclidean distance, such as symmetry and the triangle inequality. This makes traditional geometric shortcuts for coreset construction inapplicable. To bridge this gap, the authors utilize the concept of $\mu$-similarity. A Bregman divergence $d_\phi$ is said to be $\mu$-similar to a squared Mahalanobis distance if there exists a positive definite matrix $\mathbf{M}$ and a constant $\mu \in (0, 1]$ such that for all $x, y$: $$\mu \|x-y\|_\mathbf{M}^2 \leq d_\phi(x, y) \leq \|x-y\|_\mathbf{M}^2$$
This framework allows the authors to bound errors by relating complex divergences back to a more manageable quadratic form.
Methodology
The paper proposes two primary algorithmic frameworks to address different clustering scenarios.
ParametricFilter (Algorithm 1)
For cases where the number of clusters $k$ is fixed, the authors present ParametricFilter. This fully online algorithm processes data points one by one. For each arriving point, it calculates a "sensitivity score"—a measure of the point's importance relative to the existing summary. If the score is high, the point is sampled into the coreset with a corresponding weight. To maintain efficiency, the algorithm tracks a running mean and a Mahalanobis matrix, enabling sensitivity estimation in $O(d)$ time per update.
Non-Parametric Coresets
In many applications, the number of clusters $k$ is not known a priori (e.g., DP-Means clustering). Standard coreset sizes typically scale linearly with $k$, which is problematic when $k$ is large or unknown. The authors leverage a barrier function technique from spectral sparsification to prove the existence of "non-parametric" coresets. These summaries have a size independent of $k$, instead depending on $\log n$, by targeting an additive error guarantee rather than a strict relative error.
Experimental Evaluation
The proposed algorithms were rigorously tested on three diverse benchmarks:
- KDD (BIO-TRAIN): A biology dataset with approximately 145,000 samples and 74 features.
- SONGS (Million Song Dataset): A large-scale dataset containing roughly 515,000 samples with 90 features.
- MNIST: A standard image dataset of 60,000 handwritten digits, treated as 784-dimensional vectors.
Experiments evaluated performance using both squared Euclidean distance and Relative Entropy (KL-divergence), particularly on the MNIST dataset.
Key Results and Discussion
The empirical results validate the theoretical contributions:
- Computational Efficiency: The $O(d)$ update time of
ParametricFiltermakes it highly suitable for high-throughput data streams. - Clustering Quality:
ParametricFilterconsistently outperformed uniform sampling and achieved results comparable to "TwoPass" offline algorithms, which have the advantage of viewing the data twice. - Breaking the $k$-Dependency: For non-parametric clustering, the relative error remained stable as the number of clusters $k$ increased from 50 to 300. This confirms that the coreset size does not explode with $k$, a significant improvement over previous state-of-the-art methods.
- Size Reduction: By focusing on additive error, the authors achieved significantly smaller coreset sizes than methods attempting to bound relative error, which often suffer from exponential scaling with dimension ($O(d^d)$).
Conclusion
This work advances the state-of-the-art in streaming clustering by providing the first online coreset algorithms for Bregman divergences. By introducing $\mu$-similarity and non-parametric coreset constructions, the authors offer a scalable solution for complex data geometries. Future research may focus on optimizing the "oracle" required for the non-parametric version and extending these techniques to even broader classes of dissimilarity measures.
Summary updated