Robust Clustering on High-Dimensional Data with Stochastic Quantization

Anton Kozyriev, Vladimir Norkin
9/3/2024
3 citations
cs.LGmath.OC

Official code: kaydotdev/stochastic-quantization (4 stars, Jupyter Notebook, PyTorch, last commit 2025-09-06).

Abstract

This paper addresses the limitations of conventional vector quantization algorithms, particularly K-Means and its variant K-Means++, and investigates the Stochastic Quantization (SQ) algorithm as a scalable alternative for high-dimensional unsupervised and semi-supervised learning tasks. Traditional clustering algorithms often suffer from inefficient memory utilization during computation, necessitating the loading of all data samples into memory, which becomes impractical for large-scale datasets.

Show full abstract

While variants such as Mini-Batch K-Means partially mitigate this issue by reducing memory usage, they lack robust theoretical convergence guarantees due to the non-convex nature of clustering problems. In contrast, the Stochastic Quantization algorithm provides strong theoretical convergence guarantees, making it a robust alternative for clustering tasks. We demonstrate the computational efficiency and rapid convergence of the algorithm on an image classification problem with partially labeled data, comparing model accuracy across various ratios of labeled to unlabeled data. To address the challenge of high dimensionality, we employ a Triplet Network to encode images into low-dimensional representations in a latent space, which serve as a basis for comparing the efficiency of both the Stochastic Quantization algorithm and traditional quantization algorithms. Furthermore, we enhance the algorithm's convergence speed by introducing modifications with an adaptive learning rate.

View on arXivView PDF

Code Implementations(1)

PyTorch

Robust and Scalable Stochastic Quasi-Gradient Clustering

42Jupyter Notebook, TeXApr 17, 20241 years agoNOASSERTION
academic-paperclusteringjupyter-notebookk-meansk-means-clustering+11 more

Similar Papers

Cite this paper

@article{kozyriev2024robust,
  title  = {Robust Clustering on High-Dimensional Data with Stochastic Quantization},
  author = {Anton Kozyriev and Vladimir Norkin},
  year   = {2024},
  eprint = {2409.02066},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.02066v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.02066.svg)](https://codeofpaper.com/paper/2409.02066)

Discussion