[Paper Review] Convergence rate of stochastic k-means
This paper establishes the first global convergence rate of O(1/t) for both online and mini-batch k-means algorithms under general conditions, using a novel geometric analysis of the k-means solution space. It further shows that with proper initialization, mini-batch k-means converges to an optimal solution at rate O(1/t) with high probability when the data is clusterable.
We analyze online \cite{BottouBengio} and mini-batch \cite{Sculley} $k$-means variants. Both scale up the widely used $k$-means algorithm via stochastic approximation, and have become popular for large-scale clustering and unsupervised feature learning. We show, for the first time, that starting with any initial solution, they converge to a "local optimum" at rate $O(\frac{1}{t})$ (in terms of the $k$-means objective) under general conditions. In addition, we show if the dataset is clusterable, when initialized with a simple and scalable seeding algorithm, mini-batch $k$-means converges to an optimal $k$-means solution at rate $O(\frac{1}{t})$ with high probability. The $k$-means objective is non-convex and non-differentiable: we exploit ideas from recent work on stochastic gradient descent for non-convex problems \cite{ge:sgd_tensor, balsubramani13} by providing a novel characterization of the trajectory of $k$-means algorithm on its solution space, and circumvent the non-differentiability problem via geometric insights about $k$-means update.
Motivation & Objective
- To rigorously characterize the convergence rate of stochastic k-means variants, including online and mini-batch methods.
- To explain why stochastic k-means converges to different local optima and how mini-batch size affects solution quality.
- To establish global convergence to a local optimum at rate O(1/t) for any initial solution under general conditions.
- To show that with a scalable seeding initialization, mini-batch k-means converges to the optimal k-means solution at rate O(1/t) with high probability when the dataset is clusterable.
Proposed method
- Introduces a framework to track batch k-means in the solution space by partitioning the centroid space into equivalence classes based on induced clusterings.
- Uses the distance from current clustering to the set of all local optima as a Lyapunov-like function to analyze convergence.
- Exploits geometric properties of k-means updates to circumvent non-differentiability and non-convexity in the objective function.
- Applies tools from stochastic approximation and non-convex optimization, particularly leveraging results on O(1/t) convergence for stochastic gradient descent.
- Employs probabilistic concentration bounds and tail inequalities to control the probability of deviation from desired convergence behavior.
- Uses a novel analysis of the probability of sampling points from optimal clusters to ensure sustained progress toward the global optimum.
Experimental results
Research questions
- RQ1What is the convergence rate of online and mini-batch k-means algorithms in terms of the k-means objective?
- RQ2Why do stochastic k-means variants converge to different local optima, and how does mini-batch size influence final solution quality?
- RQ3Under what conditions can mini-batch k-means converge to the globally optimal k-means solution?
- RQ4Can the convergence rate be rigorously bounded despite the non-convex and non-differentiable nature of the k-means objective?
Key findings
- Stochastic k-means converges globally to a local optimum at rate O(1/t) for any initial solution under general conditions.
- When the dataset is clusterable and initialized with a simple seeding algorithm, mini-batch k-means converges to the optimal k-means solution at rate O(1/t) with high probability.
- The convergence rate is maintained even when the algorithm is close to a local optimum, due to a geometric property of local optima that prevents escape.
- The analysis successfully handles the non-differentiability and non-convexity of the k-means objective through geometric characterization of the update dynamics.
- The probability of convergence to the optimal solution is bounded below by 1−δ, with explicit dependence on mini-batch size and data distribution parameters.
- The theoretical convergence rate O(1/t) is validated through a framework that tracks progress via the distance to the nearest local optimum in the solution space.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.