# Trainable Vector Quantization for Large Language Models

DevFeed: [Trainable Vector Quantization for Large Language Models](<https://devfeed.tech/articles/trainable-vector-quantization-for-large-language-models-111635.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.41822>)

Author: Anastasiia Prutianova, Alina Bogdanova, Mikhail Shutov, Dmitrii Poimanov, Anatoly Gorkov, Ilia Zharikov

Published: 2026-11-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [quantization](<https://devfeed.tech/topics/quantization.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [gradient-descent](<https://devfeed.tech/tags/gradient-descent.md>), [inference](<https://devfeed.tech/tags/inference.md>), [knowledge-distillation](<https://devfeed.tech/tags/knowledge-distillation.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [llama2](<https://devfeed.tech/tags/llama2.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [memory](<https://devfeed.tech/tags/memory.md>), [post-training](<https://devfeed.tech/tags/post-training.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

TVQ makes vector-quantized LLM weights trainable through straight-through estimation and latent weights, allowing gradient-based optimization beyond layer-wise reconstruction loss. The authors apply it to block-wise knowledge distillation to balance model quality and training efficiency, with additional methods to accelerate training. They report compatibility with modern VQ schemes and state-of-the-art quality in low-bit post-training quantization using a modest training budget. For LLaMA2-70B, they report near-lossless 2-bit quantization with a 1% accuracy drop on popular question-answering benchmarks. These are abstract-level claims; the excerpt does not provide experimental details.

## Source excerpt

arXiv:2610.41822v1 Announce Type: new Abstract: Vector Quantization (VQ) is a rapidly evolving technique for compressing Large Language Model (LLM) weights, reducing memory usage, and speeding up inference. However, extreme compression deteriorates model performance, which is challenging to recover due to the discrete nature of VQ parameters. Existing methods employ training-free approaches that are limited to layer-wise reconstruction loss minimization. To address this limitation, we propose TVQ, a novel method that leverages straight-through estimation to enable gradient descent-based optimization of vector-quantized LLMs. By reformulating VQ LLM optimization with trainable latent weights, TVQ enables arbitrary objective minimization. We constitute our approach by applying TVQ in a block-wise knowledge distillation paradigm, which balances quality and training efficiency, and propose several practical solutions to accelerate training. In experiments on modern LLMs, we demonstrate that TVQ is compatible with modern VQ schemes. As a result, TVQ achieves state-of-the-art quality in low-bit post-training quantization settings with a modest training budget and straightforward PyTorch implementation. For instance, TVQ achieves near-lossless 2-bit quantization for LLaMA2-70B with only 1% accuracy drop on popular Question-Answering benchmarks.