[Paper Review] Fast clustering of large datasets with sequential $k$-medians : a stochastic gradient approach
This paper proposes a fast, sequential stochastic gradient algorithm for $k$-medians clustering that processes large, high-dimensional datasets in real time by updating cluster medians incrementally. It proves almost sure convergence to stationary points and introduces an automatic step-size selection for averaged estimators, outperforming traditional methods in speed and accuracy on a 5,000+ user TV viewing dataset.
Clustering with fast algorithms large samples of high dimensional data is an important challenge in computational statistics. Borrowing ideas from MacQueen (1967) who introduced a sequential version of the $k$-means algorithm, a new class of recursive stochastic gradient algorithms designed for the $k$-medians loss criterion is proposed. By their recursive nature, these algorithms are very fast and are well adapted to deal with large samples of data that are allowed to arrive sequentially. It is proved that the stochastic gradient algorithm converges almost surely to the set of stationary points of the underlying loss criterion. A particular attention is paid to the averaged versions, which are known to have better performances, and a data-driven procedure that allows automatic selection of the value of the descent step is proposed. The performance of the averaged sequential estimator is compared on a simulation study, both in terms of computation speed and accuracy of the estimations, with more classical partitioning techniques such as $k$-means, trimmed $k$-means and PAM (partitioning around medoids). Finally, this new online clustering technique is illustrated on determining television audience profiles with a sample of more than 5000 individual television audiences measured every minute over a period of 24 hours.
Motivation & Objective
- To address the challenge of clustering large, high-dimensional datasets that arrive sequentially in real time.
- To develop a computationally efficient alternative to batch $k$-medians and $k$-means algorithms for big data applications.
- To ensure theoretical convergence of the proposed algorithm to stationary points of the $k$-medians loss function.
- To improve estimation accuracy through averaged stochastic gradient estimators with data-driven step-size selection.
- To demonstrate practical performance on a real-world, large-scale TV audience profiling task.
Proposed method
- Adapts MacQueen's sequential $k$-means idea to the $k$-medians criterion using recursive stochastic gradient updates.
- Employs a stochastic gradient descent framework where each new data point updates the current medoid estimates using a diminishing step size.
- Introduces an averaged version of the algorithm to improve convergence stability and estimation accuracy.
- Proposes a data-driven procedure for selecting the optimal descent step size based on observed gradient behavior.
- Uses the $k$-medians loss function, minimizing the sum of absolute deviations from cluster medians.
- Applies the algorithm in an online fashion, processing data points one at a time without storing the full dataset.
Experimental results
Research questions
- RQ1Can a sequential stochastic gradient algorithm achieve fast and accurate $k$-medians clustering on large, high-dimensional datasets?
- RQ2Does the averaged version of the stochastic gradient $k$-medians estimator converge almost surely to stationary points of the loss function?
- RQ3Can a data-driven step-size selection procedure outperform fixed or heuristic step-size rules in practice?
- RQ4How does the proposed method compare in speed and accuracy to classical clustering techniques like $k$-means, trimmed $k$-means, and PAM?
- RQ5Can the algorithm effectively identify meaningful television audience profiles from high-frequency, large-scale data?
Key findings
- The sequential stochastic gradient $k$-medians algorithm converges almost surely to the set of stationary points of the $k$-medians loss function.
- The averaged version of the algorithm demonstrates superior estimation performance compared to non-averaged variants.
- The proposed data-driven step-size selection procedure effectively balances convergence speed and accuracy in practice.
- The method achieves significantly faster computation times than batch $k$-means, trimmed $k$-means, and PAM on large datasets.
- On a 24-hour, 5,000+ user TV viewing dataset, the algorithm successfully identified distinct audience viewing patterns with high efficiency.
- The algorithm maintains high accuracy even with streaming data, making it suitable for real-time clustering applications.
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.