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. 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.
Instituto Federal de Educação, Ciência e Tecnologia do Ceará(塞阿拉联邦教育与科学技术学院);Federal University of Ceara(塞阿拉联邦大学);Sigma Nova Science(Sigma Nova Science公司)
CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Experts
Courant Institute of Mathematical Sciences, New York University(纽约大学库朗数学科学研究所);Tandon School of Engineering, New York University(纽约大学坦登工程学院);Cerebras Systems Inc.(Cerebras系统公司)
Afeka Tel-Aviv Academic College of Engineering, School of Electrical Engineering, Israel(阿费卡特拉维理工学院电子工程学院,以色列);Avignon University, LIA, France(阿维尼翁大学,法国);Sapir Academic College, Department of Engineering, Sderot, Israel(萨皮尔学术学院工程系,以色列);Shamoon College of Engineering, Department of Electrical Engineering, Ashdod, Israel(沙蒙理工学院电子工程系,以色列)
A Discussion on Parallelization Schemes for Stochastic Vector Quantization Algorithms
Telecom ParisTech(巴黎高等电信学院);Université Pierre et Marie Curie(皮埃尔和玛丽·居里大学(巴黎第六大学));Lokad(洛卡德公司);Université Paris I Panthéon-Sorbonne(巴黎第一大学(先贤祠-索邦大学))
本文研究了随机矢量量化算法的并行化方案,以利用分布式资源获得时间加速。我们发现,最直观的并行化方案并没有导致更好的性能比顺序算法。因此,另一个分布式计划,获得预期的加速。然后,它被改进,以适应分布式体系结构的通信速度慢,机器间的同步成本太高。该计划进行了测试,模拟分布式架构,并为最后一个,与Microsoft Windows Azure平台获得加速到32个虚拟机。
SDQ: Stochastic Differentiable Quantization with Mixed Precision
Hong Kong University of Science and Technology(香港科技大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Jockey Club Institute for Advanced Study, HKUST(香港科技大学赛马会高等研究院);Reality Labs, Meta Inc(Meta公司现实实验室);ACCESS - AI Chip Center for Emerging Smart Systems(新兴智能系统AI芯片中心(ACCESS));Carnegie Mellon University(卡内基梅隆大学)
Scalar Quantization as Sparse Least Square Optimization
College of Electrical Engineering, Sichuan University(四川大学电气工程学院);Department of Computer Science, Rutgers University -- New Brunswick(罗格斯大学新布朗斯维广场分校计算机科学系);Engineering Practice Center, Chengdu University of Information Technology(成都信息科技大学工程实践中心)