Manuscript Offprint
arXiv:2610.37336CoS-VQ: Coordinated Shared-Scale Vector Quantization for Large Language Models
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.
Corresponding author: dawei.yang@houmo.ai.
(a) Joint updates resume descent after single-index convergence

(b) Accepted moves are predominantly multi-index

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


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.
Quantization optimization methods. On interaction search and parameter updates, GPTVQ (van Baalen et al., 2024) employs sequential compensation, AQLM (Egiazarian et al., 2024) adopts beam search, VPTQ (Liu et al., 2024) leverages second-order refinement, CRVQ (Xu et al., 2024) models critical channels, and KBVQ-MoE (Xu et al., 2026) accounts for expert-aggregation bias. PV-Tuning (Malinovskii et al., 2024), GPTVQ (van Baalen et al., 2024), GSQ (Dadgarnia et al., 2026), and LLVQ (van der Ouderaa et al., 2026) explore alternating updates or closed-form solutions for discrete assignments and continuous scales. In contrast, CoS-VQ jointly optimizes hard indices and their shared positive scale through scale elimination, a residual-aware tangent separable upper bound, and lower-envelope interval search, avoiding heuristic enumeration of the Cartesian product.
3 Preliminaries and Problem Formulation
Shared-scale vector quantization. Given a weight matrix and calibration inputs , we adopt fixed-codebook VQ. We partition the weights into -dimensional positions, where position belongs to scale group and is reconstructed as
Positions may share a base codebook, with denoting the codebook accessible to position . We use by default and ablate it under matched actual bitwidth. The joint selection range , independent of , specifies the number of indices that may change per round. The codebook, index bitwidth, scale-group partition, and scale count remain fixed; only hard indices and existing scales are updated. For a group of M positions with mutable indices, the remaining positions enter the objective with singleton candidate pools, since scale changes also affect their reconstructions.
Layer-output error. We minimize the calibration layer-output error
Each round selects a complete scale group while fixing the out-of-group state. Let concatenate its weight vectors, with current value , and define a linear operator mapping an in-group modification to the vectorized output change after scattering into the weight matrix. With , the group objective becomes . Each position has a finite candidate pool containing its current codeword, and , where and the current scale is feasible. For floating-point storage, is intersected with the set of legally representable scales.
Joint coupling under a shared scale. Shared-scale coupling is evident even in the simpler Euclidean objective . When the denominator is nonzero and the solution is feasible, the optimal scale is
At a fixed scale, position-wise selection is separable; re-optimizing the scale couples candidate choices through the entire codeword assignment. Eq. 3 illustrates this mechanism but does not generally solve Eq. 2. The true output error also involves quadratic cross-position interactions induced by calibration inputs and position layout. We therefore construct a residual-aware surrogate and exploit the shared-scale structure for optimization. Each round activates at most four existing scale groups per row (groups_per_row=4), a search budget that introduces no additional stored scales; within each group, m limits the number of mutable indices.
4 Method
Overview. We propose CoS-VQ to improve low-bit VQ through coordinated index selection under an existing shared scale, without increasing the base-codeword dimension or introducing new stored parameters. As illustrated in Figure 3, the method alternates between two steps. First, a residual-aware quadratic majorizer controls cross-position interactions, while multiple scale probes provide codeword candidates beyond those preferred at the current scale. Second, a lower-envelope solver jointly selects hard indices and their shared positive scale by searching finitely many scale intervals. Every proposed update is checked against the true calibration layer-output error. The complete schedule and pseudocode appear in Appendix A.1.1, and a checkable coordinated-update example is given in Appendix A.2.
4.1 Residual-Aware Majorization and Candidate Construction
For a selected scale group, let concatenate its current reconstructed weight vectors and let . With the group-restricted output operator and full residual defined in Section 3, set and . The exact layer-output objective is
The vector g captures how each group-wise change interacts with the entire current layer-output residual, including errors contributed by groups that are held fixed. In contrast, scoring each candidate solely against its original unquantized weight would ignore this residual context. Meanwhile, the off-diagonal blocks describe how simultaneous changes at distinct positions interact under the calibration inputs. Directly optimizing all of these interactions is difficult when indices must remain discrete. We therefore retain the exact first-order term while replacing the cross-position quadratic curvature with the block-diagonal majorizer
(5)
The block Cauchy–Schwarz inequality gives , yielding the tangent separable upper bound (Hunter and Lange, 2004)
(6)
The construction follows from bounding each off-diagonal interaction by its spectral norm, so it re-
(a) Multi-scale Candidate Construction

(b) Residual-aware Tangent Majorization
Multiple probe scales give a more robust candidate pool.
Tangent upper bound at
(upper bound)
Per-position affine cost in scale
Separable quadratic surrogate
Full coupled objective → safe asurrogate.
(c) Lower-envelope Joint Index–Scale Optimization
(2)
joint codeword
Cartesian
combinations
representative
(5)
Lower-envelope geometry
Quadratic minimization on an interval
Final selection
. (7)
True-error verification
Figure 3: Overview of CoS-VQ. (a) Multi-scale probes construct candidate pools. (b) A residual-aware tangent majorizer yields separable quadratic costs and affine comparisons over the shared scale. (c) Lower-envelope breakpoints define intervals for joint index–scale optimization. The lower panels illustrate the envelope geometry and true-error verification. Proofs and boundary cases appear in Appendix A.3.2.
requires no manually chosen global curvature constant. In particular, , and all interactions are upper-bounded without discarding the gradient induced by the full residual. Thus with equality and matching continuous-weight gradients at ; Appendix A.3.1 proves these properties and gives the exact surrogate gap. As with other majorization methods, the bound can be conservative, and the resulting minimizer is not automatically optimal for the true objective.
Let . Substituting the shared-scale reconstruction into Eq. 6 yields
where , , and is independent of . To avoid limiting selection to a single scale, we build each mutable position's pool from the top-K codewords under \|sc - u_i\|_D_i^2 at multiple probes , where and \|v\|_D_i^2 = v^\top D_i v. The probe set includes the current scale and explores other points in the admissible range, since a codeword that ranks poorly at the current scale may become preferable after coordinated scale movement. The union retains the current codeword and is capped at , prioritizing repeated probe hits when truncation is necessary; nonmutable positions retain singleton pools. All candidates still belong to the fixed original codebook: probes expand the search coverage rather than the deployed representation or the number of stored scales. Moreover, all positions remain in Eq. 7 even if only indices may change, because the common scale also changes their reconstructions. The full candidate-selection rule and the group-activation schedule are specified in Appendices A.1.2 and A.1.1, respectively.
4.2 Lower-Envelope Joint Index–Scale Optimization
Although the majorizer removes explicit cross-position quadratic interactions, the shared scale still couples codeword assignments across positions. For a fixed positive scale s, candidate choices in Eq. 7 separate by position. Dividing each candidate-dependent cost by s > 0 preserves its ordering and yields the affine lines
Consequently, . Importantly, division by is used only to compare codeword candidates: the full quadratic dependence on the stored scale remains in the optimization objective. For each position, we sort its candidate lines by slope, remove dominated equal-slope lines, and maintain intersections be-tween adjacent active lines to construct the lower envelope. We then merge the active switching points across all positions with the scale-domain boundaries. Between consecutive switches, each position’s minimizing codeword stays unchanged, defining one representative joint assignment . This arrangement coordinates otherwise independent candidate rankings through their shared scale without enumerating every combination. If position i has candidates, the number of open intervals satisfies
Thus the number of representative combinations grows at most linearly in the pool sizes, rather than as . For example, 20 mutable positions with eight candidates each produce no more than 141 representative intervals; singleton positions contribute no new switching points. Simultaneous switches may further reduce the number. This is a structural bound on interval enumeration, not on the cost of building the majorizer or ranking codebook entries at the probes.
For an interval closure , let and . Its full surrogate remains quadratic, . For continuous scales and , the constrained minimizer is
The interval coefficients and can be updated incrementally at switching events, without recomputing the sums for every representative. For stored floating-point scales, we instead compare the closest legal values within each interval, explicitly handling switching boundaries and intervals without representable scales. At a switching boundary, neighboring representatives tie in the surrogate, so deterministic tie handling suffices for its minimum; tied combinations need not have identical true errors. Appendix A.3.2 details legal-scale and degenerate cases. Comparing interval minima globally solves the current surrogate over the current candidate pools, not the original coupled objective over the full codebook (Theorem 1).
The selected indices and scale are converted to their actual storage format. An update is accepted only if , where is the prescribed decrease threshold. Since the current state belongs to the pools, exact surrogate minimization implies
before thresholded acceptance, under exact arithmetic. True-error verification protects against rounding and surrogate-solver approximations. Importantly, an exact surrogate optimum is guaranteed to be non-increasing under the true objective, but a surrogate can still be too conservative to propose a genuinely improving joint move; the method does not claim unconditional escape from every coordinate-wise stall. Accepted changes update the full residual before the next scheduled group is processed, and the search stops after a sweep without accepted changes or at the prescribed iteration limit. Appendix A.3.3 derives the surrogate gap and the precise descent conditions, while Appendix A.1.4 distinguishes envelope complexity from the cost of curvature, probe scoring, and true-error verification. After joint search, we optionally freeze hard indices and fine-tune the existing scales on the same calibration data. This stage does not increase the number of stored scales and is evaluated in Table 6. Per-model breakdowns appear in Appendix A.6.
5 Experiments
5.1 Experimental Setup
Models and datasets. We evaluate four Qwen3 (Qwen Team, 2025) models (4B, 8B, 14B, and 32B) and two Llama-3.1 (Grattafiori et al., 2024b) models (8B-Instruct and 70B-Instruct). Qwen3.8-27B (Qwen Team, 2026a) is evaluated separately with thinking enabled. Perplexity is measured on WikiText-2 (Merity et al., 2017) and C4 (Raffel et al., 2020) with sequence length 2,048. We use LM Evaluation Harness v0.4.4 (Gao et al., 2024) for zero-shot ARC-Challenge and ARC-Easy (Clark et al., 2018), HellaSwag (Zellers et al., 2019), LAMBADA OpenAI (Paperno et al., 2016), PIQA (Bisk et al., 2020), BoolQ (Clark et al., 2019), MMLU (Hendrycks et al., 2021), and Wino-Grande (Sakaguchi et al., 2020). IFEval (Zhou et al., 2023) is used only for instruction/chat models with an official chat template.
Quantization protocol. The main setting uses , , and a 12-bit index (2 bits per weight), with one FP16 group scale per 128 input columns ( bit per weight). Each round selects at most four existing scale groups per row. We
Table 1: Main results on six models. PPL.AVG is the arithmetic mean of WikiText-2 and C4 perplexities. ACC.AVG is the macro-average of ARC-Challenge, ARC-Easy, HellaSwag, LAMBADA OpenAI, PIQA, and WinoGrande. Bold denotes the best result among quantized methods.
| Method | Qwen3-4B | Qwen3-8B | Qwen3-14B | |||
|---|---|---|---|---|---|---|
| PPL.AVG↓ | ACC.AVG↑ | PPL.AVG↓ | ACC.AVG↑ | PPL.AVG↓ | ACC.AVG↑ | |
| BF16 | 15.77 | 66.79 | 12.01 | 70.37 | 10.75 | 73.77 |
| PV-Tuning | 17.10 | 59.57 | 12.90 | 66.84 | 11.36 | 70.92 |
| QuIP# | 21.48 | 57.03 | 15.76 | 65.32 | 13.37 | 69.65 |
| QTIP | 18.20 | 60.30 | 13.91 | 66.80 | 12.09 | 71.50 |
| NoWag | 23.46 | 57.19 | 15.96 | 65.73 | 13.32 | 69.63 |
| AQLM | 19.25 | 60.08 | 14.28 | 67.12 | 12.39 | 71.03 |
| LLVQ | 16.13 | 60.77 | 11.57 | 67.35 | 11.32 | 71.28 |
| CoS-VQ | 15.83 | 61.42 | 12.20 | 68.61 | 10.80 | 71.01 |
| Method | Qwen3-32B | Llama-3.1-8B-Inst. | Llama-3.1-70B-Inst. | |||
| PPL.AVG↓ | ACC.AVG↑ | PPL.AVG↓ | ACC.AVG↑ | PPL.AVG↓ | ACC.AVG↑ | |
| BF16 | 9.56 | 74.81 | 8.93 | 73.55 | 5.89 | 78.37 |
| PV-Tuning | 10.18 | 74.51 | 10.78 | 64.90 | 8.33 | 73.54 |
| QuIP# | 12.15 | 73.42 | 12.30 | 64.71 | 8.39 | 71.45 |
| QTIP | 10.51 | 74.21 | 11.10 | 69.52 | 7.78 | 74.01 |
| NoWag | 11.27 | 74.29 | 12.89 | 67.67 | 8.68 | 73.09 |
| AQLM | 10.68 | 74.63 | 12.25 | 55.55 | 8.19 | 69.01 |
| LLVQ | 10.01 | 74.70 | 10.86 | 68.75 | 7.77 | 73.47 |
| CoS-VQ | 9.87 | 74.67 | 10.56 | 69.16 | 7.73 | 74.05 |
calibrate each model using 320 RedPajama-Data1T (Together Computer, 2023) sequences of length 4,096. After joint search, we freeze hard indices and fine-tune existing scales on the same calibration data. Detailed results for Table 1 appear in Appendix A.6. Table 6 evaluates scale fine-tuning, while Table 2 compares scale and assignment optimization from identical initializations.
Baselines and hardware. We compare against BF16, PV-Tuning (Malinovskii et al., 2024), QuIP# (Tseng et al., 2024a), QTIP (Tseng et al., 2024b), NoWag (Liu et al., 2025), AQLM (Egiazarian et al., 2024), and LLVQ (van der Ouderaa et al., 2026). All quality evaluations and joint-search experiments are performed on NVIDIA A100-SXM4-80GB GPUs. Decode throughput in Table 4 is measured on an NVIDIA GeForce RTX 4090.
5.2 Main Results
Table 1 compares CoS-VQ with quantization baselines at a 2-bit target across six LLMs. CoS-VQ achieves the lowest average perplexity on five of six models and the highest average downstream accuracy on three, demonstrating competitive performance across model families. On Qwen3-4B, it improves PPL.AVG from 16.13 to 15.83 and ACC.AVG from 60.77 to 61.42 compared with LLVQ. Although LLVQ and QTIP retain advantages on certain models or metrics, CoS-VQ delivers
Table 2: Same-start ablation of shared-scale optimization (Scale) and hard-index assignment (Assign). Avg. denotes the mean accuracy across eight zero-shot tasks.
| Model | Scale | Assign | Wiki2↓ | Avg.↑ |
|---|---|---|---|---|
| Qwen3-4B | × | × | 22.69 | 58.81 |
| ✓ | × | 21.01 | 59.32 | |
| ✓ | ✓ | 13.68 | 62.58 | |
| Qwen3-8B | × | × | 14.41 | 66.44 |
| ✓ | × | 13.85 | 67.19 | |
| ✓ | ✓ | 9.76 | 69.43 |
Table 3: Qwen3.8-27B with thinking enabled. Bold denotes the best quantized result.
| Method | Wiki2↓ | C4↓ | AIME25↑ | LCBv6↑ | GPQA-D↑ |
|---|---|---|---|---|---|
| BF16 | 7.05 | 11.45 | 100.00 | 85.71 | 89.90 |
| QTIP | 8.29 | 13.76 | 93.33 | 73.65 | 81.11 |
| LLVQ | 8.22 | 13.85 | 93.33 | 72.28 | 80.48 |
| CoS-VQ | 7.84 | 13.33 | 93.33 | 74.92 | 82.83 |
ers a competitive balance between language modeling and downstream accuracy. These results highlight the effectiveness of coordinated selection with low-dimensional codewords. Detailed task-wise results are provided in Appendix A.6, while storage accounting, including indices, codebooks, and scales, is discussed in Appendix A.4.
5.3 Ablation Studies
Scale and assignment. Table 2 evaluates shared-scale refinement and hard-index assignment from
Table 4: Offline quantization time on an A100-SXM4-80GB GPU and Llama-3.1-8B-Instruct inference throughput on an RTX 4090 with a 2K-token context.
| Offline Quantization Time | ||||
|---|---|---|---|---|
| Model | Q3-4B | Q3-8B | Q3-14B | Q3-32B |
| Time (h)↓ | 1.3 | 1.6 | 2.0 | 3.5 |
| Inference Throughput | ||||
| Method | Prefill (tok/s)↑ | Decode (tok/s)↑ | ||
| BF16 | 2217.6 | 21.9 | ||
| CoS-VQ | 2230.2 | 36.7 | ||
identical initializations. Avg. denotes the mean accuracy across eight zero-shot tasks: ARC-Challenge, ARC-Easy, HellaSwag, LAMBADA OpenAI, PIQA, BoolQ, MMLU, and WinoGrande. Scale-only optimization reduces WikiText-2 perplexity from 22.69/14.41 to 21.01/13.85 on Qwen3-4B/8B. In contrast, joint optimization reduces perplexity to 13.68/9.76 and improves average zero-shot accuracy from 59.32/67.19 to 62.58/69.43. These gains demonstrate that coordinated hard-index updates, rather than scale refinement alone, account for most of the improvement by enabling joint changes across positions.
Thinking-mode evaluation. Table 3 evaluates Qwen3.8-27B with thinking enabled. CoS-VQ improves WikiText-2/C4 perplexity, LiveCodeBench v6, and GPQA-D over both quantized baselines (Jain et al., 2025; Rein et al., 2023), and it matches them on AIME 2025 (Mathematical Association of America, 2025). Relative to QTIP, WikiText-2/C4 fall from 8.29/13.76 to 7.84/13.33, LiveCodeBench v6 rises from 73.65 to 74.92, and GPQA-D rises from 81.11 to 82.83; AIME 2025 is 93.33 for all three quantized methods.
5.4 Efficiency
Quantization time and inference throughput. Table 4 reports offline quantization time on an A100-SXM4-80GB GPU and inference throughput on an RTX 4090. Quantization takes 1.3 hours for Qwen3-4B and 3.5 hours for Qwen3-32B. On Llama-3.1-8B-Instruct, prefill throughput remains comparable to BF16 (2230.2 versus 2217.6 tok/s), while decode throughput increases from 21.9 to 36.7 tok/s, achieving a speedup at a 2K-token context. These gains benefit from low-dimensional codebook lookup, while joint optimization is performed entirely offline.
Base-codeword dimension. Table 5 examines the quality-rate trade-off across different base- codeword dimensions. Increasing to 8 improves all evaluated metrics but raises the bitrate to 2.59 bpw. Under an approximately 2-bpw budget, and achieve lower WikiText-2 perplexity, whereas consistently outperforms both on all four downstream tasks. We therefore adopt as the default setting, balancing downstream accuracy and storage efficiency.
Table 5: Effect of base-codeword dimension d on Qwen3-4B. The default d = 6 balances accuracy and bitrate under an approximately 2-bpw budget.
| d | bpw | Wiki2↓ | ARC-C↑ | ARC-E↑ | HellaSwag↑ | MMLU↑ |
|---|---|---|---|---|---|---|
| 4 | 2.01 | 12.96 | 41.27 | 68.90 | 62.11 | 53.23 |
| 5 | 2.02 | 12.74 | 42.50 | 69.46 | 62.78 | 53.89 |
| 6 | 2.04 | 13.68 | 42.92 | 70.12 | 63.16 | 55.01 |
| 8 | 2.59 | 11.87 | 43.27 | 70.73 | 64.28 | 55.71 |
Table 6: Ablation of end-to-end scale fine-tuning on Qwen3. Each entry reports fine-tuned / not fine-tuned.
| Model | Wiki2↓ | ARC-C↑ | HellaS↑ | WinoG↑ |
|---|---|---|---|---|
| Q3-4B | 12.18/12.69 | 42.92/42.63 | 63.17/62.28 | 62.90/62.39 |
| Q3-8B | 9.76/10.17 | 54.52/53.87 | 69.80/69.64 | 68.67/68.80 |
| Q3-14B | 8.51/9.78 | 53.24/52.76 | 75.30/75.47 | 71.98/71.01 |
| Q3-32B | 7.74/8.06 | 60.32/59.78 | 78.17/78.11 | 76.09/76.30 |
End-to-end scale fine-tuning. Table 6 evaluates scale fine-tuning after joint search with hard indices frozen. Fine-tuning consistently reduces WikiText-2 perplexity across all four Qwen3 models, particularly on Qwen3-14B (9.78 to 8.51), and improves ARC-C accuracy. HellaSwag and Wino-Grande show overall gains, with minor regressions on certain models. Unlike the coordinated index updates in Table 2, this stage refines only existing scales, providing complementary improvements rather than replacing joint selection. This ablation is distinct from the endpoints in Table 1. Additional task-wise results appear in Appendix A.6.
6 Conclusion
We presented CoS-VQ, a low-bit VQ framework preserving independently accessible, locally rewritable low-dimensional codewords through coordinated shared-scale selection. To address coordinate-wise stalls after scale re-optimization, CoS-VQ combines multi-scale candidate pools, a residual-aware tangent separable upper bound, and lower-envelope search to jointly optimize hard indices and scales without exhaustive enumeration. Same-start ablations show improvements over scale-only refinement on Qwen3-4B/8B. At approximately 2 bpw, CoS-VQ outperforms QTIP and
LLVQ on language modeling, coding, and selected reasoning benchmarks for Qwen3.8-27B. These findings establish joint selection as a promising alternative to increasing codeword dimensionality.
Limitations
CoS-VQ optimizes hard indices and shared scales within finite candidate pools, so its theoretical optimality guarantee applies to the surrogate objective rather than the original layer-output error. Although true-error verification ensures non-increasing accepted updates, the surrogate may be too conservative to escape certain coordinate-wise stalls. Moreover, candidate quality depends on the multi-scale probe coverage and the chosen codebook. Our experiments focus on selected LLM families and benchmarks, leaving broader architectures and extremely low-bit configurations for future evaluation. Finally, inference efficiency depends on hardware and codebook lookup implementations, and performance across different deployment environments remains to be explored.
Ethical Considerations
CoS-VQ reduces the memory requirements of existing LLMs through post-training quantization without modifying their underlying training objectives. Improved compression may facilitate more accessible and resource-efficient deployment, although actual energy savings depend on hardware and serving conditions and have not been independently measured. Quantization can alter model outputs, potentially affecting factual reliability, fairness, and safety-related behavior. Our evaluations do not constitute dedicated safety, bias, or privacy assessments. Furthermore, reduced deployment costs may also facilitate harmful applications of LLMs. We therefore recommend retaining appropriate access controls and safety safeguards, together with task-specific evaluations, before practical deployment.
References
Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. 2020. PIQA: Reasoning about physical commonsense in natural language. In AAAI.
Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. 2019. BoolQ: Exploring the surprising difficulty of natural yes/no questions. In NAACL.
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. 2018. Think you have solved question answering? try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457.
Alireza Dadgarnia, Soroush Tabesh, Mahdi Nikdan, Michael Helcig, Eldar Kurtic, Maximilian Kleinegger, and Dan Alistarh. 2026. GSQ: Highly-accurate low-precision scalar quantization for LLMs via Gumbel-Softmax sampling. arXiv preprint arXiv:2604.18556.
Vage Egiazarian, Andrei Panferov, Denis Kuznedelev, Elias Frantar, Artem Babenko, and Dan Alistarh. 2024. Extreme compression of large language models via additive quantization. In International Conference on Machine Learning.
Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Alain Le Noac'h, and 1 others. 2024. A framework for few-shot language model evaluation. Zenodo.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, Amy Yang, Angela Fan, Anirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, Archie Sravankumar, Artem Korenev, Arthur Hinsvark, and 542 others. 2024a. The llama 3 herd of models. Preprint, arXiv:2407.21783.
Aaron Grattafiori and 1 others. 2024b. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring massive multitask language understanding. In ICLR.
Xing Hu, Yuan Cheng, Dawei Yang, Zukang Xu, Zhi-hang Yuan, Jiangyong Yu, Chen Xu, Zhe Jiang, and Sifan Zhou. 2025. OstQuant: Refining large language model quantization with orthogonal and scaling transformations for better distribution fitting. In ICLR.
David R. Hunter and Kenneth Lange. 2004. A tutorial on MM algorithms. The American Statistician, 58(1):30–37.
Naman Jain, King Han, Alex Gu, Wen-Ding Li, Fanjia Yan, Tianjun Zhang, Sida Wang, Armando Solar-Lezama, Koushik Sen, and Ion Stoica. 2025. Live-CodeBench: Holistic and contamination free evaluation of large language models for code. In ICLR.
Lawrence Liu, Inesh Chakrabarti, Yixiao Li, Mengdi Wang, Tuo Zhao, and Lin F. Yang. 2025. NoWag: A unified framework for shape preserving compression of large language models. In Conference on Language Modeling.
Yifei Liu, Jicheng Wen, Yang Wang, Shengyu Ye, Li Lyna Zhang, Ting Cao, Cheng Li, and Mao Yang. 2024. VPTQ: Extreme low-bit vector post-training quantization for large language models. In EMNLP.
Vladimir Malinovskii, Denis Mazur, Ivan Ilin, Denis Kuznedelev, Konstantin Burlachenko, Kai Yi, Dan Alistarh, and Peter Richtarik. 2024. PV-Tuning: Beyond straight-through estimation for extreme LLM compression. In Advances in Neural Information Processing Systems.
Mathematical Association of America. 2025. American invitational mathematics examination (AIME) 2025. https://maa.org/math-competitions/aime.
Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. 2017. Pointer sentinel mixture models. In ICLR.
Denis Paperno, Germán Kruszewski, Angeliki Lazari-dou, Ngoc Quan Pham, Raffaella Bernardi, Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. 2016. The LAMBADA dataset: Word prediction requiring a broad discourse context. In ACL.
Qwen Team. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388.
Qwen Team. 2026a. Qwen3.8-27B. https://huggingface.co/Qwen/Qwen3.8-27B.
Qwen Team. 2026b. Qwen3.8-Max: A new bar for coding and cowork.
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21(140):1–67.
David Rein, Betty Li Hou, Asa Cooper Stickland, Jackson Petty, Richard Yuanzhe Pang, Julien Dirani, Julian Michael, and Samuel R. Bowman. 2023. GPQA: A graduate-level google-proof q&a benchmark. arXiv preprint arXiv:2311.12022.
Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2020. WinoGrande: An adversarial winograd schema challenge at scale. In AAAI.
Together Computer. 2023. RedPajama: An open source recipe to reproduce LLaMA training dataset. https://github.com/togethercomputer/RedPajama-Data.
Albert Tseng, Jerry Chee, Qingyao Sun, Volodymyr Kuleshov, and Christopher De Sa. 2024a. QuIP#: Even better LLM quantization with Hadamard incoherence and lattice codebooks. In International Conference on Machine Learning.
Albert Tseng, Qingyao Sun, David Hou, and Christopher De Sa. 2024b. QTIP: Quantization with trellises and incoherence processing. In Advances in Neural Information Processing Systems.
Mart van Baalen, Andrey Kuzmin, Ivan Koryakovskiy, Markus Nagel, Peter Couperus, Cedric Bastoul, Eric Mahurin, Tijmen Blankevoort, and Paul Whatmough. 2024. GPTVQ: The blessing of dimensionality for LLM quantization. arXiv preprint arXiv:2402.15319.
Tycho F. A. van der Ouderaa, Mart van Baalen, Paul Whatmough, and Markus Nagel. 2026. Leech lattice vector quantization for efficient LLM compression. arXiv preprint arXiv:2603.11021.
Chen Xu, Yuxuan Yue, Zukang Xu, Xing Hu, Jiangyong Yu, Zhixuan Chen, Sifan Zhou, Zhihang Yuan, and Dawei Yang. 2025a. RWKVQuant: Quantizing the RWKV family with proxy guided hybrid of scalar and vector quantization. In International Conference on Machine Learning.
Yuzhuang Xu, Shiyu Ji, Qingfu Zhu, and Wanxiang Che. 2024. CRVQ: Channel-relaxed vector quantization for extreme compression of LLMs. arXiv preprint arXiv:2412.09282.
Zukang Xu, Xing Hu, Qiang Wu, and Dawei Yang. 2025b. RSAVQ: Riemannian sensitivity-aware vector quantization for large language models. In NeurIPS.
Zukang Xu, Zhixiong Zhao, Xing Hu, Zhixuan Chen, and Dawei Yang. 2026. KBVQ-MoE: KLT-guided SVD with bias-corrected vector quantization for MoE large language models. In ICLR.
Yuxuan Yue, Zukang Xu, Zhihang Yuan, Dawei Yang, Jianlong Wu, and Liqiang Nie. 2025. PCDVQ: Enhancing vector quantization for large language models via polar coordinate decoupling. arXiv preprint arXiv:2506.05432.
Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. 2019. HellaSwag: Can a machine really finish your sentence? In ACL.
Zhixiong Zhao, Haomin Li, Fangxin Liu, Yuncheng Lu, Zongwu Wang, Tao Yang, Li Jiang, and Haibing Guan. 2025. Quark: Quantization-enabled circuit sharing for transformer acceleration by exploiting common patterns in nonlinear operations. In 2025 IEEE/ACM International Conference On Computer Aided Design (ICCAD), pages 1–9. IEEE.
Zhixiong Zhao, Fangxin Liu, Junjie Wang, Chenyang Guan, Zongwu Wang, Li Jiang, and Haibing Guan. 2026a. Specquant: Spectral decomposition and adaptive truncation for ultra-low-bit llms quantization. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 28786–28794.
Zhixiong Zhao, Zukang Xu, Zhixuan Chen, Xing Hu, Zhe Jiang, and Dawei Yang. 2026b. TWLA: Achieving ternary weights and low-bit activations for LLMs via post-training quantization. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 162517–162554. PMLR.
Zhixiong Zhao, Zukang Xu, Guangyu Sun, Lifeng Liu, and Dawei Yang. 2026c. All for 1-bit: Towards genuine 1-bit post-training quantization for llms. arXiv preprint arXiv:2609.06161.
Zhixiong Zhao, Zukang Xu, and Dawei Yang. 2026d. Bwla: Breaking the barrier of w1ax post-training quantization for llms. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 19264–19290.
Jeffrey Zhou, Tianjian Lu, Swaroop Mishra, Siddhartha Brahma, Sujoy Basu, Yi Luan, Denny Zhou, and Le Hou. 2023. Instruction-following evaluation for large language models. arXiv preprint arXiv:2311.07911.
A Appendix
A.1 Joint Search Procedure
A.1.1 Scheduling and Full-Group Scope
The joint-search unit is a complete existing scale group, not just the subset of mutable indices. Let contain positions sharing one stored positive scale . During one update, a scheduled subset of at most positions may change their hard indices. For , the candidate pool is the singleton . Nevertheless, all positions contribute to the coefficients in Eq. 7 and to true-error verification, because a change in modifies the reconstruction of even a fixed-index position. Group and mutable-position schedules are fixed independently of the interval optimizer; the surrogate-optimality claim is conditional on the pools they select.
To implement the search budget groups_per_row=4, we partition eligible groups into an ordered sequence of batches such that each batch activates at most four existing scale groups per matrix row. A complete sweep visits all batches in order. If more than four groups are eligible in a row, later batches process the remaining groups; none is silently removed. The parameter limits simultaneous search scope and does not create extra stored scales. After each accepted update, the current residual is updated before statistics are formed for the next group.
A.1.2 Multi-Scale Candidate-Pool Construction
For a selected group, let be the current reconstruction at position i and let , be the corresponding residual-gradient and majorizer blocks. As , the completed-square form of the position-wise surrogate is
(12)
The additive term is independent of the codeword and scale. For each , construct a finite probe set containing the current scale , the two domain endpoints, and a predetermined number of geometrically spaced interior probes (duplicates removed). The probes lie in the positive scale domain but need not themselves be stored as candidate final scales. At each probe , select the top original codewords by
Take the union of probe shortlists and explicitly insert the current index . If the union exceeds , retain and select the remaining candidates by decreasing probe-occurrence count, breaking ties by their best probe rank and then the fixed codeword index. We assume and use . Positions outside have . This rule defines a deterministic truncated pool; its role is to avoid restricting all candidate rankings to . It does not guarantee that the pool contains the true or surrogate optimum over the entire original codebook.
A.1.3 Full Joint-Search Pseudocode
Algorithm 1 spells out the alternating procedure. The algorithmic state stores the hard indices and existing group scales, while denotes the concatenated reconstructed weight vectors in group . The operator maps a reconstruction change in group to its vectorized layer-output change. Therefore the updated residual is exactly while the other groups are fixed. The packing step precedes true-error evaluation so that the verified candidate matches the deployed storage format.
Legal scale solving. The interval solver constructs the exact lower envelopes of Eq. 8, intersects their switching points with , and evaluates each interval's constrained quadratic minimizer. For floating-point storage, denotes the finite representable positive scales in the permitted range. Each interval is evaluated using its legal predecessor/successor nearest to the continuous vertex, together with any legal endpoints. When a breakpoint is exactly representable, either adjacent optimal envelope representative attains the same surrogate value there; deterministic tie handling selects one. An interval containing no legal scale is skipped. If only one legal scale exists, codeword comparisons are performed directly at that scale. Full details and a proof appear in Appendix A.3.2.
Stopping and acceptance. The check against is mandatory, not a substitute for surrogate minimization. In exact arithmetic with exact upper-bound solving, a chosen candidate cannot increase the true error, but it need not meet the strict decrease threshold . Rejected candidates leave both
Algorithm 1 CoS-VQ: coordinated hard-index and shared-scale search
Require: W, X, stored state , fixed codebooks , ordered group batches , mutable-position schedule , probe rule , K, , legal scale sets , sweep limit T, threshold
Ensure: Updated stored state
1: ;
2: for do
3: accepted false
4: for batch in the fixed sequence do
5: for group in the fixed order do
6: ;
7: ;
8: by Eq. 5
9:
10:
11: ;
12:
13: if then
14: ; ; accepted true
15: end if
16: end for
17: end for
18: if not accepted then
19: break
20: end if
21: end for
22: return
and unchanged. A sweep terminates only after all scheduled batches have been considered. For a fixed absolute , the nonnegative objective bounds the number of accepted moves by (up to the convention at equality); the explicit sweep limit also bounds runtime. If using a relative threshold in practice, its numerical definition must be recorded and the absolute bound applies only when a positive fixed absolute component is retained.
A.1.4 Complexity and Implementation Notes
Let and be the number of distinct interior switching points in the legal scale range, with . Once and the coefficient pairs are available, sorting lines by slope and building every position's lower envelope takes
while merging the switching points by a global sort takes . Initializing , takes ; updating them across adjacent intervals takes , since only positions switching at that event change their contributions. Constrained continuous-scale minimization then takes beyond the breakpoint sort. Recovering the best combination requires storing an initial representative and replaying the switching events; a full index vector for every interval is unnecessary. Discrete-scale predecessor/successor queries add their actual lookup cost (constant time with direct representable-float neighbors, or logarithmic time in the size of a sorted legal-scale array).
These bounds describe the envelope stage, not the total algorithm. Full runtime must additionally account for forming or applying the group operator, evaluating the residual and , computing the spectral block norms in Eq. 5, solving for probe centres, scoring the original codebook at all probe scales, generating coefficients, and verifying the packed candidate on the true objective. In a direct dense implementation, evaluating costs per codeword after is available; efficient implementations may exploit operator or block structure. Likewise, explicitly storing all cross-position blocks of can dominate memory when is large. Neither this overhead nor optional post-search scale fine-tuning is included in the envelope-only complexity. The base method verifies only the single best surrogate candidate per group; evaluating all interval representatives with the true objective would be a distinct algorithmic variant.
A.2 A Checkable Coordinated-Update Instance
Consider two scalar positions with targets . The current hard-codeword assignment is ; the available codewords are and . Both positions use the same scale . For each fixed pair , the reconstruction error is
Differentiating yields . As , the unconstrained optimum and the minimized error are
All four optimal scales lie inside the prescribed domain, so no clipping is needed. Table 7 gives the exact rational values and their decimal equivalents.
At the current assignment, the best error is 1/61. Changing only position 1 yields 9/29, and changing only position 2 yields 2/5: both are strictly worse even after optimally re-fitting the shared scale. However, changing both indices to (3, 3) and setting s = 1/3 gives zero error. Thus coordinate-wise stagnation need not imply joint optimality. The example isolates the scale-coupling mechanism under a Euclidean loss; the full layer-output loss additionally includes cross-position interactions. It is not a guarantee that a particular majorizer or truncated candidate pool will recover every jointly improving move. Embedding each scalar in the first coordinate of a six-dimensional vector and setting the other coordinates to zero reproduces this construction at the default base-codeword dimension d = 6.
A.3 Proofs and Theoretical Properties
A.3.1 Exact Group Objective and Block Majorization
Restricted residual model. Fix all quantized positions outside the current scale group and let collect the current reconstructions of its positions. Let be the vectorized layer-output change induced by scattering the group-wise modification back into the quantized weight matrix. Since matrix multiplication by the fixed calibration input is linear, is a linear operator. With ,
(17)
This proves Eq. 4 with and . Crucially, the used in is the full current layer residual, not a residual formed only from the current scale group's original weights. Therefore, interactions with all fixed out-of-group reconstruction errors enter the first-order term, even though only the in-group variables are optimized.
Proposition 1 (Valid upper bound and tangency). Let be partitioned into position-wise blocks, and define as in Eq. 5 with . Then and, for all group reconstruction vectors ,
(18)
The gradient equality concerns the continuous reconstruction vectors, not differentiation through hard codeword indices.
Proof. For any , symmetry of gives
(19)
Here we used . Thus . Subtracting the exact objective from Eq. 6 yields
(20)
At , this difference and its first derivative vanish, which establishes both tangency statements.
Separable coefficients. Expanding Eq. 6 with and using block diagonality gives
(21)
| Update | Combination (a, b) | Optimal scale | Optimal error |
|---|---|---|---|
| Current state | (1, 6/5) | 55/61 | 1/61 ≈ 0.016393 |
| Change position 1 only | (3, 6/5) | 35/87 | 9/29 ≈ 0.310345 |
| Change position 2 only | (1, 3) | 2/5 | 2/5 = 0.4 |
| Change both jointly | (3, 3) | 1/3 | 0 |
Table 7: A checkable coordinated-update instance for Appendix A.2. Both one-at-a-time updates remain worse even after each refits the scale, whereas a joint modification can eliminate the error.
Substituting proves Eq. 7 with and . The codebook need not be orthogonal, and different positions may access different subsets of a shared codebook. The only required conditions are the fixed-codeword representation and a common positive scale within the selected group. Because , the surrogate centre used in Appendix A.1.2 is well-defined.
A.3.2 Lower Envelopes and Candidate-Pool Optimality
Reduction to affine comparisons. For fixed and fixed candidate pools, Eq. 7 is separable in the indices. Hence
where and . Dividing by is used only to compare candidates at a fixed scale; the factor remains in the global scale objective. In particular, neither the scale variable nor the quadratic term is discarded from the optimization.
Geometry and interval bound. Every is affine. For a given candidate , the set of scales on which it is no greater than every competing line is an intersection of one-dimensional half-lines, hence an interval, a singleton, or the empty set. Sort the lines by slope, remove dominated equal-slope lines and duplicate lines using a deterministic index tie rule, and build the lower envelope using intersections of adjacent active lines. Each distinct line can occupy at most one nonempty open segment. Therefore, at position , at most interior switching points remain. Pooling the distinct breakpoints across all positions gives at most switches and open intervals, as in Eq. 9. Simultaneous switches only decrease . For example, 20 mutable positions with eight candidates each, and all other positions singletons, yield at most representative intervals rather than combinations. This is a bound on envelope intervals, not on the cost of generating the candidate pools or computing the majorizer.
Theorem 1 (Surrogate optimality within the candidate pools). Let each be finite and nonempty, containing the current index, and let be either a compact real interval or a nonempty finite set of legally representable scales within such an interval. If the lower envelopes are constructed exactly and every interval is minimized over its feasible scales with correct boundary handling, the interval procedure returns a global minimizer of on .
Proof. Partition the admissible continuous scale interval by all distinct interior envelope breakpoints. On each nonempty open subinterval, a minimizing codeword index can be chosen constant at every position; denote the joint choice by . At any breakpoint, the limiting representatives from adjacent intervals both attain at every position they change, so at least one adjacent joint representative realizes the exact envelope minimum. A line that is minimal only at an isolated breakpoint does not need a separate joint combination for the surrogate value, because the neighboring envelope lines tie with it there. It follows that minimizing the quadratic over the closure of each interval and taking the best value recovers the minimum of Eq. 22 over the full scale interval.
For continuous and , is convex and its unique unconstrained minimizer is , giving Eq. 10 after clipping. If , positive definiteness of implies that all selected , and therefore also ; the surrogate is then constant over the interval. More general implementations allowing semidefinite or approximate coefficients may handle as a linear function, choosing a legal endpoint according to the sign of .
For a finite representable scale set, restrict each interval closure to its legal elements. Convexity implies that a minimum occurs at a legal prede-cessor or successor surrounding the continuous vertex, or at the nearest legal endpoint if the vertex lies outside the interval. Breakpoint values that are exactly representable are included explicitly; candidate combinations from neighboring intervals remain optimal there. Empty intersections are skipped. When the domain consists of a single scale, directly select the lowest-cost codeword at every position. In all cases, every legal scale is considered through at least one interval closure or this singleton rule. Comparing all such minima therefore gives the global surrogate minimum over the specified pools and legal scales.
What the theorem does not claim. The theorem neither certifies the full-codebook optimum (because may be truncated) nor the true-objective optimum (because Q replaces cross-position curvature by a majorizer). On envelope boundaries, different tied assignments may have different true errors even though their surrogate values coincide. The basic solver selects one deterministic surrogate-optimal assignment and verifies that proposal, without enumerating all tied true-objective alternatives.
A.3.3 True-Error Decrease, Surrogate Gap, and Acceptance
Non-increase and additive gap. Let minimize Q over the selected candidate pools and legal-scale set. The current stored state is feasible by construction. Proposition 1 therefore yields
This is a monotonicity guarantee before the strict acceptance threshold, assuming exact surrogate minimization and consistent evaluation of the stored reconstruction. The actual algorithm additionally requires . In particular, is a sufficient certificate for acceptance but is not necessary: the upper bound may be conservative, so a move that improves the true objective by can fail the stronger surrogate test.
Let be a minimizer of the true objective F over the same pools and legal scales, and write . By Eq. 20,
(24)
As , we obtain
(25)
This bounds the additive surrogate-induced suboptimality relative to the true minimizer in the same pools, not the entire unquantized parameter space. If and is block diagonal, on the group and solver optimality transfers directly to that group's true objective. The size of the bound depends on the majorizer slack; a valid but loose majorizer may still miss true-improving joint moves. Thus the coordinated-update example in Appendix A.2 establishes the existence of coordinate-wise stalls, not an unconditional escape theorem for CoS-VQ.
Actual storage and finite termination. The accepted proposal is evaluated after packing the chosen scale and hard indices into their deployed representation. Rounding should not be applied after checking the true error. If all feasible positive scales are representable in a finite storage dtype, the complete stored-state space is finite. With , every accepted move decreases the nonnegative true error by at least , giving no more than accepted moves when is fixed. In exact continuous-scale optimization, finiteness of hard-index combinations alone does not prove finite termination, because the scale is continuous; the positive absolute threshold or an explicit sweep limit supplies a separate stopping argument.
A.3.4 Conditions for Preserving Envelope Combinations
This section characterizes when replacing the block-diagonal curvature by leaves candidate choices unchanged. Define with . For the comparison built with , let and . Let , denote the corresponding quantities under . Then
(26)
Accordingly, the pairwise difference between candidate k and is shifted by
(27)
A sufficient condition for identical pointwise minimizing assignments is that, for every position, candidate pair, and , the corresponding pairwise line differences under D and under have the same sign, including ties. A stronger and easily checked sufficient condition is that the curvature-loading term in Eq. 27 vanish identically for every candidate pair. For , this holds if all candidates at position i have both identical squared norms and identical inner products with . Equal codeword norms alone are not sufficient: the second, linear-in- term can still alter rankings. If the sign condition holds for every position, the pointwise argmin sets and resulting interval representatives are preserved (up to deterministic tie selection); even then, the minimizing scale within an interval can change because its quadratic coefficients differ. These preservation conditions concern surrogate candidate ordering and do not restore the omitted off-diagonal interactions of the true objective.
A.4 Implementation and Fair-Comparison Details
A.4.1 Actual Bitrate and Representation Scope
The actual effective bits per weight should include every stored component:
Fixed codebooks still occupy storage unless they are a specified external, shared, or analytically generated resource. Index packing, group-scale metadata, alignment, tails, and non-negligible auxiliary parameters must be counted consistently. When lossless coding is used for the compressed checkpoint, report both the effective representation rate and the actual serialized checkpoint size, as they capture different costs. Tail handling for must write back only legal parameter positions; padded vector entries must not be treated as real weights in A, H, or the error objective.
A.4.2 Group Scope, Numerical Precision, and Verification
Group updates include every position covered by the scale, even if only m indices can change. Singleton positions contribute quadratic coefficients but no switching points. To study the effect of m, keep the existing scale-group partition, codebooks, and scale count fixed; otherwise changes in scale granularity confound the comparison. If weights are reconstructed in a rotated coordinate system, both W and X must be defined in the corresponding transformed coordinates and decoding must consistently apply any inverse transform.
For discrete scales, record the stored dtype, positive admissible range, and policy for subnormal and boundary values. Higher precision may be used to compute intersection points and coefficients, but actual objective verification must use the reconstructed weights after converting the chosen scale to the stored dtype. When the nearest representable scale lies outside a candidate interval, use the inward predecessor or successor rather than associating that rounded value with an invalid interval representative. The stopping rule should state the exact absolute and relative thresholds used; when both are used, a defensible convention is with . This specifies a reproducible policy but should match the actual implementation, rather than being presented as an experimental setting without verification.
A.4.3 Reproducibility and Fair Evaluation
Implementations can batch-evaluate candidate coefficients before building position-wise envelopes. For memory efficiency, record the initial codeword representative, the sequence of switching events, and the best interval ID; replay the events once to reconstruct the best full index assignment instead of storing one M-length assignment per interval. Only the final surrogate-minimizing proposal is verified by the true error in the base algorithm. Optional reranking of every interval representative or gradient-based post-search scale refinement should be reported as a separate algorithmic step with its additional cost.
Experimental reporting should fix configurations, seeds, model-checkpoint identifiers, codebook construction, calibration samples, and software versions. Accuracy improvements on calibration data must not be substituted for unseen benchmark results. Comparisons to numbers published elsewhere should identify their source and any dif-ferences in quantized layers, actual bit budgets, calibration data, or evaluation protocol. If a single-GPU sequential execution policy is used, record it alongside measured preprocessing, search, fine-tuning, and inference runtimes so that envelope-only complexity is not mistaken for total wall-clock cost.
A.5 A Deterministic Lower-Envelope Example
Consider two positions with candidate comparison lines
(29)
The first three lines belong to position 1; the last two belong to position 2. Their nonnegative slopes are consistent with , and the intercepts equal . Position 1 changes its lower-envelope minimizer from A to B at s = 1, then from B to E at s = 2. Position 2 changes from C to D at s = 3/2. On the legal interval , merging the switching points gives
(30)
The second line lists the respective joint representatives. At a shared endpoint, the adjacent representatives tie in the surrogate, so either may be selected consistently. There are four intervals, meeting the bound in Eq. 9. To obtain the complete surrogate optimum, each representative must still be evaluated using its quadratic over the corresponding interval; choosing a minimum of the linear envelopes alone would be incorrect. The example illustrates the envelope geometry, not a particular prescribed value of the final optimal scale or a guarantee about the true layer-output error.
A.6 Supplementary Results
This appendix records the per-model task breakdown that complements the compact main tables. In Table 1, PPL.AVG is the arithmetic mean of WikiText-2 and C4 perplexities, and ACC.AVG is the macro-average of ARC-Challenge, ARC-Easy, HellaSwag, LAMBADA OpenAI, PIQA, and WinoGrande (Clark et al., 2018; Zellers et al., 2019; Paperno et al., 2016; Bisk et al., 2020; Sakaguchi et al., 2020). The component perplexities and remaining zero-shot accuracies appear in the per-model tables below (Merity et al., 2017; Raffel et al., 2020; Clark et al., 2019; Hendrycks et al., 2021; Zhou et al., 2023). IFEval is reported only for instruction models and uses prompt-level strict accuracy. Figure 2 in the main text visualizes the Qwen3-4B comparison.
Table 8: Per-task results on Qwen3-4B. WikiText-2 and C4 are perplexities (lower is better); the remaining columns are zero-shot accuracies (% , higher is better). Bold denotes the best result among quantized methods.
| Method | Wiki2↓ | C4↓ | ARC-C↑ | ARC-E↑ | HellaS↑ | LAMBADA↑ | PIQA↑ | BoolQ↑ | MMLU↑ | WinoG↑ |
|---|---|---|---|---|---|---|---|---|---|---|
| BF16 | 13.66 | 17.88 | 53.67 | 78.49 | 68.43 | 59.40 | 74.97 | 84.98 | 68.22 | 65.75 |
| PV-Tuning | 14.87 | 19.33 | 43.52 | 69.49 | 60.58 | 50.46 | 72.91 | 77.55 | 55.10 | 60.46 |
| QuIP# | 17.98 | 24.98 | 40.27 | 66.58 | 56.94 | 47.91 | 70.08 | 77.92 | 52.90 | 60.38 |
| QTIP | 15.78 | 20.62 | 43.77 | 68.69 | 60.85 | 51.58 | 73.12 | 84.13 | 58.58 | 63.77 |
| NoWag | 22.69 | 24.22 | 42.24 | 65.87 | 55.73 | 46.32 | 71.00 | 79.14 | 53.49 | 61.96 |
| AQLM | 15.12 | 23.38 | 40.96 | 67.89 | 62.92 | 55.19 | 73.07 | 78.32 | 56.11 | 60.46 |
| LLVQ | 14.27 | 17.99 | 42.58 | 71.30 | 63.48 | 54.22 | 72.09 | 77.00 | 57.80 | 60.93 |
| CoS-VQ | 13.68 | 17.97 | 42.92 | 70.12 | 63.16 | 55.79 | 73.61 | 77.13 | 55.01 | 62.90 |
Table 9: Per-task results on Qwen3-8B. WikiText-2 and C4 are perplexities (lower is better); the remaining columns are zero-shot accuracies (% , higher is better). Bold denotes the best result among quantized methods.
| Method | Wiki2↓ | C4↓ | ARC-C↑ | ARC-E↑ | HellaS↑ | LAMBADA↑ | PIQA↑ | BoolQ↑ | MMLU↑ | WinoG↑ |
|---|---|---|---|---|---|---|---|---|---|---|
| BF16 | 9.72 | 14.29 | 56.74 | 80.68 | 74.94 | 64.08 | 77.69 | 86.61 | 72.97 | 68.11 |
| PV-Tuning | 10.51 | 15.28 | 51.45 | 77.36 | 68.02 | 61.67 | 75.90 | 81.41 | 63.52 | 66.61 |
| QuIP# | 12.64 | 18.88 | 49.83 | 76.30 | 64.82 | 60.99 | 73.45 | 81.68 | 63.70 | 66.54 |
| QTIP | 11.61 | 16.20 | 50.77 | 75.42 | 68.48 | 62.68 | 76.33 | 84.50 | 66.03 | 67.09 |
| NoWag | 13.85 | 18.07 | 51.79 | 78.20 | 63.41 | 59.38 | 73.72 | 83.36 | 62.38 | 67.88 |
| AQLM | 10.71 | 17.84 | 50.17 | 76.81 | 70.09 | 62.95 | 76.06 | 81.96 | 64.25 | 66.61 |
| LLVQ | 8.78 | 14.36 | 50.94 | 78.03 | 70.58 | 62.68 | 75.19 | 80.95 | 69.60 | 66.69 |
| CoS-VQ | 9.76 | 14.64 | 54.52 | 79.92 | 69.80 | 62.74 | 76.01 | 80.55 | 63.23 | 68.67 |
Table 10: Per-task results on Qwen3-14B. WikiText-2 and C4 are perplexities (lower is better); the remaining columns are zero-shot accuracies (% , higher is better). Bold denotes the best result among quantized methods.
| Method | Wiki2↓ | C4↓ | ARC-C↑ | ARC-E↑ | HellaS↑ | LAMBADA↑ | PIQA↑ | BoolQ↑ | MMLU↑ | WinoG↑ |
|---|---|---|---|---|---|---|---|---|---|---|
| BF16 | 8.65 | 12.85 | 60.24 | 82.83 | 78.86 | 67.88 | 79.87 | 89.33 | 77.20 | 72.93 |
| PV-Tuning | 9.15 | 13.56 | 55.46 | 79.71 | 73.60 | 66.54 | 78.24 | 83.82 | 69.30 | 71.98 |
| QuIP# | 10.43 | 16.31 | 53.92 | 78.70 | 71.16 | 66.16 | 76.06 | 84.10 | 67.98 | 71.90 |
| QTIP | 9.84 | 14.33 | 56.57 | 78.70 | 73.86 | 68.97 | 78.18 | 88.38 | 71.17 | 72.69 |
| NoWag | 11.04 | 15.60 | 53.67 | 79.42 | 70.23 | 65.19 | 77.26 | 87.19 | 68.69 | 71.98 |
| AQLM | 9.25 | 15.53 | 54.27 | 79.17 | 75.17 | 67.24 | 78.40 | 84.40 | 69.91 | 71.90 |
| LLVQ | 8.98 | 13.66 | 54.95 | 80.35 | 75.54 | 67.11 | 77.64 | 83.43 | 70.93 | 72.06 |
| CoS-VQ | 8.51 | 13.09 | 53.24 | 79.21 | 75.30 | 67.36 | 78.94 | 86.73 | 69.76 | 71.98 |
Table 11: Per-task results on Qwen3-32B. WikiText-2 and C4 are perplexities (lower is better); the remaining columns are zero-shot accuracies (% , higher is better). Bold denotes the best result among quantized methods.
| Method | Wiki2↓ | C4↓ | ARC-C↑ | ARC-E↑ | HellaS↑ | LAMBADA↑ | PIQA↑ | BoolQ↑ | MMLU↑ | WinoG↑ |
|---|---|---|---|---|---|---|---|---|---|---|
| BF16 | 7.61 | 11.51 | 60.92 | 83.16 | 82.58 | 67.18 | 82.10 | 86.36 | 80.86 | 72.93 |
| PV-Tuning | 8.10 | 12.26 | 60.49 | 82.70 | 78.47 | 70.46 | 79.43 | 86.36 | 74.62 | 75.53 |
| QuIP# | 9.73 | 14.57 | 60.58 | 81.44 | 76.67 | 69.47 | 77.75 | 85.47 | 72.22 | 74.59 |
| QTIP | 8.53 | 12.49 | 60.24 | 81.69 | 79.74 | 69.77 | 79.60 | 88.29 | 77.28 | 74.19 |
| NoWag | 9.19 | 13.35 | 61.12 | 83.08 | 77.03 | 70.60 | 79.00 | 88.13 | 74.13 | 74.90 |
| AQLM | 8.15 | 13.20 | 61.12 | 82.53 | 78.97 | 70.42 | 79.49 | 86.61 | 74.77 | 75.22 |
| LLVQ | 7.87 | 12.15 | 61.09 | 82.91 | 79.09 | 70.42 | 79.22 | 86.18 | 76.35 | 75.45 |
| CoS-VQ | 7.75 | 11.99 | 60.32 | 82.74 | 78.17 | 70.83 | 79.84 | 86.94 | 76.91 | 76.09 |
Table 12: Per-task results on Llama-3.1-8B-Instruct. WikiText-2 and C4 are perplexities (lower is better); the remaining columns are zero-shot accuracies (% , higher is better). Bold denotes the best result among quantized methods.
| Method | Wiki2↓ | C4↓ | ARC-C↑ | ARC-E↑ | HellaS↑ | LAMBADA↑ | PIQA↑ | BoolQ↑ | MMLU↑ | WinoG↑ | IFEval↑ |
|---|---|---|---|---|---|---|---|---|---|---|---|
| BF16 | 7.22 | 10.63 | 55.03 | 79.67 | 79.17 | 73.08 | 80.96 | 83.85 | 67.93 | 73.40 | 73.94 |
| PV-Tuning | 8.45 | 13.10 | 46.16 | 75.42 | 54.40 | 64.10 | 78.73 | 76.39 | 54.80 | 70.56 | 60.44 |
| QuIP# | 9.75 | 14.85 | 43.26 | 69.65 | 67.70 | 61.60 | 76.82 | 76.79 | 52.60 | 69.22 | 55.08 |
| QTIP | 8.80 | 13.39 | 50.77 | 74.34 | 75.02 | 69.71 | 78.24 | 80.01 | 54.39 | 69.01 | 64.25 |
| NoWag | 10.50 | 15.28 | 47.27 | 74.09 | 70.14 | 67.48 | 77.09 | 80.52 | 55.95 | 69.93 | 56.75 |
| AQLM | 9.50 | 15.00 | 30.89 | 46.25 | 61.40 | 60.00 | 76.50 | 68.01 | 42.29 | 58.25 | 40.48 |
| LLVQ | 8.27 | 13.44 | 48.29 | 75.17 | 73.76 | 67.81 | 77.48 | 78.53 | 57.67 | 70.01 | 61.55 |
| CoS-VQ | 8.38 | 12.74 | 47.95 | 75.51 | 74.09 | 69.74 | 77.37 | 79.77 | 55.16 | 70.32 | 60.46 |
Table 13: Per-task results on Llama-3.1-70B-Instruct. WikiText-2 and C4 are perplexities (lower is better); the remaining columns are zero-shot accuracies (% , higher is better). Bold denotes the best result among quantized methods.
| Method | Wiki2↓ | C4↓ | ARC-C↑ | ARC-E↑ | HellaS↑ | LAMBADA↑ | PIQA↑ | BoolQ↑ | MMLU↑ | WinoG↑ | IFEval↑ |
|---|---|---|---|---|---|---|---|---|---|---|---|
| BF16 | 3.78 | 8.00 | 63.48 | 83.84 | 84.63 | 75.68 | 83.79 | 87.68 | 82.37 | 78.77 | 83.55 |
| PV-Tuning | 5.70 | 10.95 | 52.73 | 82.20 | 76.25 | 72.00 | 82.59 | 84.71 | 72.50 | 75.45 | 73.57 |
| QuIP# | 5.56 | 11.21 | 50.68 | 79.76 | 72.74 | 68.60 | 81.77 | 83.03 | 70.89 | 75.14 | 70.61 |
| QTIP | 5.08 | 10.48 | 54.40 | 82.60 | 76.40 | 72.65 | 82.50 | 85.12 | 73.78 | 75.51 | 75.73 |
| NoWag | 5.93 | 11.43 | 52.65 | 83.00 | 73.96 | 71.53 | 81.94 | 84.89 | 72.56 | 75.45 | 71.53 |
| AQLM | 5.33 | 11.04 | 47.44 | 72.43 | 71.63 | 69.24 | 81.88 | 80.58 | 68.15 | 71.43 | 67.10 |
| LLVQ | 4.82 | 10.71 | 53.16 | 82.53 | 75.77 | 71.71 | 82.10 | 83.88 | 73.42 | 75.53 | 73.94 |
| CoS-VQ | 4.82 | 10.63 | 54.99 | 82.70 | 75.94 | 72.46 | 82.55 | 85.49 | 73.57 | 75.69 | 68.39 |