Recent high-performing text embedding models often produce high-dimensional real-valued vectors, resulting in substantial storage and computational costs. To address this issue, embedding compression methods based on dimensionality reduction or quantization have been proposed; however, the effects of their combination have not been sufficiently investigated. In this paper, we systematically investigate how dimensionality reduction and quantization jointly affect embedding compression across four task families in the Massive Text Embedding Benchmark (MTEB), using five pretrained embedding models. Our results show that combining dimensionality reduction and quantization can preserve near-original performance with substantially smaller storage footprints than either method alone. In particular, for classification, several models retain at least 99% of their original classification score using less than 0.1% of the storage required by the original embeddings. The preferred balance between dimensionality and bit-width varies across tasks, with retrieval generally being more sensitive to compression.
VQKV: High-Fidelity and High-Ratio Cache Compression via Vector-Quantization
LUMIA Lab(LUMIA实验室);School of Artificial Intelligence(人工智能学院);Shanghai Jiao Tong University(上海交通大学);Shanghai Innovation Institute(上海创新研究院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);University of Cambridge(剑桥大学);National University of Singapore(新加坡国立大学)
XQuant: Achieving Ultra-Low Bit KV Cache Quantization with Cross-Layer Compression
School of Artificial Intelligence, Wuhan University(武汉大学人工智能学院);School of Computer Science, Wuhan University(武汉大学计算机学院);School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机学院);Xiaomi Inc.(小米公司)
Compression of Generative Pre-trained Language Models via Quantization
The University of Hong Kong(香港大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)
生成式预训练语言模型(PLM)的规模不断增大,极大地增加了对模型压缩的需求。尽管有各种方法来压缩BERT或其变体,但很少有人尝试压缩生成PLM,并且潜在的困难仍然不清楚。在本文中,我们压缩生成PLM量化。我们发现,以前的量化方法失败的生成任务,由于\textit{homogeneous word embeddings}所造成的能力降低,和\textit{varied distribution of weights}。相应地,我们提出了一个令牌级的对比蒸馏学习可区分的词嵌入,和一个模块的动态缩放,使量化器适应不同的模块。各种任务的实证结果表明,我们提出的方法优于国家的最先进的压缩方法生成PLM的一个明确的保证金。与全精度模型相比,我们在GPT-2和BART上分别实现了14.4倍和13.4倍的压缩率。