Manuscript Offprint

arXiv:2610.37336

CoS-VQ: Coordinated Shared-Scale Vector Quantization for Large Language Models

Zukang Xu, Zhixiong Zhao, Xing Hu, Zhe Jiang, Xin Si, Dawei Yang

Abstract

Large language models (LLMs) require substantial memory, motivating low-bit weight quantization for efficient deployment. Existing vector quantization (VQ) methods often improve accuracy by increasing the effective coding dimension, which can complicate independent lookup and local codeword updates. We propose CoS-VQ (Coordinated Shared-Scale Vector Quantization), which preserves low-dimensional codewords while jointly optimizing hard indices and their shared scale across positions. The key challenge is scale-induced coupling: the optimal scale depends on the entire codeword combination and, in turn, changes candidate rankings across positions, so pointwise updates can stall even after scale re-optimization. CoS-VQ collects candidates at multiple probe scales and constructs a tangent separable upper bound for the residual-aware quadratic objective. By reducing candidate comparisons to lower envelopes of lines over positive scales, it identifies finitely many representative intervals for joint index-scale updates without exhaustively enumerating codeword combinations. On Qwen3.8-27B, CoS-VQ outperforms QTIP and LLVQ on the evaluated language modeling, coding, and reasoning benchmarks. Ablations from the same initialization further show larger gains from joint updates than from scale-only refinement, highlighting joint selection as an alternative to increasing codeword dimensionality. The code is available at https://github.com/xzktx003/Cos_VQ.

1 Introduction

Large language models (LLMs) have demonstrated remarkable capabilities across diverse tasks, including natural language understanding, complex reasoning, and code generation. Despite these advances, the growing scale of LLMs poses significant challenges to their efficient deployment. Representative models such as LLaMA-3.1-70B (Grattafiori et al., 2024a) and Qwen3.8-27B (Qwen Team, 2026b) contain tens of billions of parameters, with a 70B-parameter model alone requiring approximately 140 GB of memory to store its weights in 16-bit precision. Beyond the substantial memory footprint, autoregressive inference involves repeated weight access, placing considerable pressure on memory bandwidth and further limiting deployment efficiency. These challenges have driven growing interest in model compression techniques that reduce memory requirements and inference costs while preserving the capabilities of the original models.

Post-training quantization (PTQ) has emerged as a practical paradigm for reducing the storage and inference costs of LLMs without full model retraining (Zhao et al., 2026a,c,b,d, 2025). Among existing approaches, vector quantization (VQ) represents multiple weights using a single code index, offering greater representational flexibility than conventional scalar quantization, particularly at extremely low bitrates. Recent methods such as QTIP and LLVQ further improve quantization quality by exploiting high-dimensional representations through trellis and lattice structures (Tseng et al., 2024b; van der Ouderaa et al., 2026). Although these structures alleviate the exponential search and storage costs associated with unstructured high-dimensional codebooks, they introduce structural dependencies that can restrict the independent lookup and local modification of small codewords. This raises a fundamental question: Can low-dimensional codewords retain their independent lookup and local update capabilities while achieving the quantization quality of high-dimensional structured methods through a broader range of joint decisions?

To answer this question, we distinguish joint

∗^{*}Equal contribution.

†^{\dagger}Corresponding author: dawei.yang@houmo.ai.

(a) Joint updates resume descent after single-index convergence

Figure

(b) Accepted moves are predominantly multi-index

Figure

Illustrative data

Figure 1: (a) Three shared-scale groups approach a coordinate-wise stall under single-index updates with scale re-optimization. After switching to joint-index updates, the normalized true layer-output error decreases further. Each curve is normalized to 1 at the switching point. (b) Distribution of the number of changed indices among accepted updates, showing that multi-index updates account for the majority.

representation within a vector from joint selection across multiple vectors. In shared-scale VQ, multiple positions within a scale group are assigned low-dimensional codewords while sharing a common scale parameter. Crucially, the optimal scale depends on the entire codeword assignment and, in turn, changes the relative preference among candidate codewords at different positions. This bidirectional coupling creates a challenging optimization landscape: even when the shared scale is re-optimized after each single-index update, coordinate-wise refinement can stall because no individual index change reduces the reconstruction error, whereas coordinated changes across multiple positions can still yield improvements. As illustrated in Figure 1, the reconstruction error plateaus under pointwise refinement but decreases again after switching to joint-index updates, with accepted updates frequently modifying multiple indices. These observations motivate joint codeword selection under a shared scale, enabling a broader optimization scope without increasing the dimensionality of the underlying codewords.

To address this challenge, we propose CoS-VQ (Coordinated Shared-Scale Vector Quantization), which jointly optimizes hard codeword indices and their shared scale while preserving low-dimensional codewords. Directly optimizing these variables is computationally intractable because the layer-output reconstruction objective contains cross-position quadratic interactions, and exhaustive enumeration of codeword combinations incurs exponential complexity. We first construct candidate pools by combining local shortlists obtained at multiple probe scales, preventing the search from being restricted to candidate rankings under a single scale. We then derive a residual-aware tangent separable upper bound that transforms the coupled quadratic objective into candidate-wise quadratic functions of the shared scale. By eliminating candidate-independent terms, codeword comparisons over positive scales can be expressed as lower envelopes of lines. Merging their switching points partitions the scale domain into finitely many representative intervals, within each of which the joint codeword assignment remains constant and the scale can be optimized through a constrained one-dimensional quadratic problem. The resulting solver directly updates hard indices and the shared scale without probabilistic relaxation or gradient-based optimization, while verifying accepted updates against the true layer-output error. The experiments further support this joint-selection design, as illustrated by the language-modeling and downstream-task results in Figure 2. Our key contributions can be summarized as follows:

• We propose CoS-VQ, a coordinated shared-scale VQ framework that jointly optimizes hard indices and shared scales while preserving low-dimensional codewords.

• We develop a residual-aware separable upper bound and a lower-envelope interval solver, with theoretical guarantees on surrogate optimality and interval complexity.

• Extensive experiments across multiple LLMs

(a) Mean PPL: WikiText-2 + C4

(b) Selected task/method radar ARC-E

Figure

Figure

PPL bars: equal-weight WikiText-2/C4 mean (not token-pooled). Radar: nonlinear accuracy scale 35-75; omits ARC-C, LLVQ, QTIP, BF16.

Ours --- PV-Tuning ---- AQLM ---- NoWag --- QUIP#

Figure 2: Overview of Qwen3-4B results. (a) Equal-weight mean of WikiText-2 and C4 perplexity across the evaluated low-bit quantization methods. (b) Comparison of selected methods on five downstream tasks.

demonstrate superior low-bit quantization quality, supported by joint-optimization and codeword-dimension ablations.