Clustering with Bregman Divergences: an Asymptotic Analysis

Chaoyue Liu, Mikhail BelkinNeurIPS 2016

Abstract

This paper extends the classical theoretical analysis of $k$-means clustering to the much broader family of Bregman divergences, which includes metrics like Kullback-Leibler (KL) divergence and Mahalanobis distance. The authors prove exactly how fast clustering error decreases as the number of clusters ($k$) grows and provide a formula to predict where cluster centers will eventually settle in space, offering a unified geometric theory for generalized clustering.

Introduction

In data science, $k$-means clustering is a foundational tool for partitioning data into groups. While "standard" $k$-means uses squared Euclidean distance, many modern applications require different measures of "closeness." For example, when comparing probability distributions, KL divergence is often more appropriate. These alternative measures fall under the umbrella of Bregman divergences.

While the field of asymptotic quantization has provided a deep understanding of how standard $k$-means behaves when the number of clusters $k$ becomes very large, a similar theoretical map for Bregman clustering has been missing. This paper fills that gap by answering two primary questions: How fast does the error drop as we add more clusters, and what is the spatial density of the centers as $k$ approaches infinity?

Theoretical Framework

The authors employ a rigorous mathematical framework to analyze the "large $k$" limit. Their approach relies on a local approximation technique: they conceptually "dice" the data space into infinitesimal cubes. Within each tiny cube, they approximate the complex Bregman divergence using a Taylor expansion.

The key to their method is the Hessian matrix ($\nabla^2\phi$) of the convex function that defines the Bregman divergence. This matrix represents the local "curvature" or sensitivity of the distance measure. By extending results from Euclidean quantization—where the Hessian is simply a constant identity matrix—they generalize the theory to cases where the "distance" changes depending on the location in the data space.

Key Insights: Curvature and Centroid Magnetism

Unlike standard $k$-means, where the density of cluster centers depends solely on the density of the underlying data, Bregman clustering centers are also "pulled" by the geometry of the divergence itself. The local Hessian of the defining function acts like a gravitational force for centroids.

This leads to a phenomenon the authors identify as Centroid Magnetism:

  • KL Divergence & Itakura-Saito: These divergences tend to "attract" centroids toward the axes (where values are near zero).
  • Norm-like Divergences ($\alpha > 2$): These exhibit the opposite behavior, "repelling" centroids away from the axes.
2D Centroid Magnetism

Ultimately, the paper successfully demonstrates that standard $k$-means is just a special, "flat" case of a much larger geometric story governed by these curvature dynamics.

Main Results and Experimental Validation

The theoretical contributions of the paper are anchored by two main theorems:

  1. Quantization Error (Theorem 1): The authors provide an explicit formula for the asymptotic error. They prove that the quantization error decreases at a rate of $k^{-2r/d}$ (where $d$ is the dimension and $r$ is the power of the loss). This matches the Euclidean case, but the constant coefficient is now scaled by the determinant of the Hessian, showing that error is proportional to the $L_{d/(d+2r)}$ norm of a function involving both data density and the Hessian's determinant.
  2. Limit Distribution (Theorem 2): They prove that the discrete set of $k$ centers converges to a continuous probability measure as $k \to \infty$.

To validate these theoretical claims, the authors used synthetic datasets (1D and 2D uniform distributions) to isolate the effects of the Bregman divergence from complex data topologies.

1D Experimental Validation

In both 1D and 2D simulations using a generalized Lloyd's algorithm, the experimental histograms of cluster centers perfectly matched the theoretical curves derived from their formulas. For instance, in KL clustering on uniform data, the centers were visibly more crowded near the origin, exactly as predicted by the mathematics.

Limitations and Future Directions

While the paper provides a robust theoretical foundation, it notes several limitations and avenues for future work:

  • Infinite Data Assumption: The analysis assumes the number of data points $n$ is much larger than the number of clusters $k$ ($n \gg k \to \infty$). The behavior when $n$ and $k$ are of similar magnitude remains an open question.
  • Smoothness Requirements: The proofs require the defining function $\phi$ to be twice-differentiable ($C^2$). Divergences that lack this smoothness might behave differently.
  • Algorithm Constraints: The current Bregman hard clustering algorithm only works for the case where the power $r=1$. Developing efficient algorithms for $r \neq 1$ in the Bregman setting is a necessary next step.

Finally, the authors note a practical application of their theory: these results could lead to better "seeding" strategies—akin to a Bregman version of $k$-means++—by placing initial centers according to the predicted optimal density.

Summary updated

BibTeX
@inproceedings{liu2016clustering,
  author = {Chaoyue Liu and Mikhail Belkin},
  title = {{Clustering with Bregman Divergences: an Asymptotic Analysis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=SyNfCdWuWr},
}
Figure