The paper introduces Kashin Quantization, a novel data quantization method that leverages the principles of Kashin representation. The key idea is to decompose any given vector, matrix, or tensor into two factors - the first factor maintains a small infinity norm, while the second exhibits a similarly constrained norm when multiplied by an orthogonal matrix. This representation allows for efficient quantization, as the entries of the factors are well-concentrated around several peaks, enabling them to be replaced with corresponding centroids.
The authors propose a matrix version of the Kashin algorithm, which substantially accelerates computations compared to the naive vector-based approach. They also analyze the theoretical properties of the algorithm and its convergence rate, establishing a connection to the Kolmogorov width.
The authors evaluate Kashin Quantization in the context of next-word prediction tasks and on a set of downstream text classification tasks using language models like OPT, BERT, and RoBERTa. The results demonstrate that Kashin Quantization achieves competitive or superior quality in model performance while ensuring data compression, marking a significant advancement in the field of data quantization.
Іншою мовою
із вихідного контенту
arxiv.org
Ключові висновки, отримані з
by Daniil Merku... о arxiv.org 04-16-2024
https://arxiv.org/pdf/2404.09737.pdfГлибші Запити