---
title: "GPTVQ: The Blessing of Dimensionality for LLM Quantization"
description: "GPTVQ compresses language model weights in small groups and uses fast table lookups to reduce memory use and speed up token…"
canonical: "https://research.elamur.ai/free/en/papers/baalen-2024-gptvq-blessing-dimensionality-llm-quantization/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/baalen-2024-gptvq-blessing-dimensionality-llm-quantization/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / GPTVQ: The Blessing of Dimensionality for LLM Quantization

# GPTVQ: The Blessing of Dimensionality for LLM Quantization

Paper · 2024 · Mart van Baalen, Andrey Kuzmin, Ivan Koryakovskiy et al.

**Authors:** Mart van Baalen, Andrey Kuzmin, Ivan Koryakovskiy, Markus Nagel, Peter Couperus, Cedric Bastoul, Eric Mahurin, [Tijmen Blankevoort](https://md.research.elamur.ai/free/en/authors/tijmen-blankevoort/) and Paul Whatmough · **Year:** 2024 · **Venue:** arXiv:2402.15319 · **Licence:** [CC BY 4.0 (arXiv)](http://creativecommons.org/licenses/by/4.0/)

[licence](http://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2402.15319)
- [arXiv 2402.15319](https://arxiv.org/abs/2402.15319)

## Summary

A phone can have enough computing power to run a [large language model](https://md.research.elamur.ai/free/en/concepts/large-language-models/) and still struggle to feed its processor. The weights take up main memory, and during text generation the processor has to read them repeatedly. Storing the weights in fewer bits helps on both counts, provided the processor can unpack them quickly enough. GPTVQ tackles these requirements together. It compresses weights in pairs for the mobile implementation and uses a small dictionary of possible pairs that the processor can read with instructions it already supports.

The compression method starts with a trained network. It uses a sample of text to estimate which changes to the weights would most affect each layer’s output, then works through each weight matrix in order. When it replaces a group of weights with a dictionary entry, it adjusts weights that are still awaiting compression to compensate. The dictionary, called a codebook, is fitted to local groups of weights. Representing a pair jointly gives its codebook more freedom than choosing each value independently, even at the same total storage cost. The authors also test larger vectors, which generally improve prediction quality but cost more to fit and decode.

On a Snapdragon X Elite running Llama3-8B, the authors report a 19% reduction in DRAM footprint and a 10% increase in token generation rate relative to their own optimized INT4 implementation. The vector format in that experiment uses 3.125 effective bits per weight. Separate evaluations on Llama, Mistral and Mixtral examine how the compression changes next-token prediction and zero-shot task accuracy. GPTVQ generally fares better than the uniform quantizers in these comparisons, particularly at low bit widths. A comparison with another vector method, AQLM, shows why the fitting procedure matters too. With AQLM’s additional decoder-block [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) disabled, GPTVQ achieves lower WikiText2 test perplexity in the reported Llama-v2-7B comparison.

The paper also tests whether the compressed weights can serve as a base for LoRA, a small trainable addition used to adapt a network to a task. The combination improves WikiText2 perplexity and GSM8k accuracy in the authors’ experiments and recovers quality lost under aggressive compression. Taken together, the experiments address separate questions about storage, decoding speed and prediction quality. The measured speed gain belongs to the small codebook format and inference engine tested on the mobile CPU. The broader accuracy experiments show what the quantization algorithm can achieve across a wider range of formats.

## Deep dive: GPTVQ: The Blessing of Dimensionality for LLM Quantization

GPTVQ compresses language model weights in small groups and uses fast table lookups to reduce memory use and speed up token generation on a mobile CPU. · about 38 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Why reading the weights matters

During autoregressive generation, the network predicts the next token using the tokens already available. The generated token then becomes part of the input for the next prediction. Each step uses the weights again. For the workload the authors target, repeatedly moving those weights from dynamic random-access memory, or DRAM, constrains how fast the CPU can generate text. The paper highlights contexts of up to 8K–16K tokens as a common range in which this constraint is especially relevant. Its argument concerns the traffic during generation, when the next token depends on having produced the preceding one.

Capacity is a separate problem. The paper describes a typical phone with around 8GB of DRAM. After the operating system and active applications have taken their share, the network typically has less than 4GB available. A smaller weight representation can make room for a network with more parameters or reduce how much memory a given network occupies. A format that lowers the amount read per token can also improve generation speed. Whether it does depends on how the processor turns the stored bytes into values its arithmetic can use.

Quantization replaces high-precision weights with values drawn from a finite set. A typical mobile baseline in the paper stores the weights as INT4, with a shared scale for a group of weights. The scale sets the spacing between representable values. Giving different groups different scales lets the same integer format serve weights with different ranges. The values within a scaled group still lie on a uniform grid. A weight between grid points must be approximated by one of them, and decreasing the bit width leaves fewer points available.

A non-uniform quantizer can use differently spaced values by storing them in a codebook. Each weight is then stored as an index that tells the processor which value to retrieve. Vector quantization extends this idea by making each entry a set of weights. For a pair, one index now picks a point with a coordinate for each weight. A table of independently selected scalar values permits only the combinations made by crossing the possible values of one coordinate with those of the other. A table of pairs can place its points where they do the most work for the distribution being compressed. This is the sense in which dimensionality is a benefit in the paper’s title.

The price of that flexibility appears in both the stored representation and the inference kernel. A codebook has to be stored alongside the indices. A larger vector also means more coordinate values to retrieve when decoding an index. The lookup instructions discussed in the paper accept short indices and return small integer values. Once a table exceeds the size the instruction can address, the implementation needs extra work to select the entry. An improvement in the accuracy of the stored weights can therefore come with a decoding cost large enough to erase the speed benefit of reading fewer bytes.

#### How earlier methods approached the problem

The paper traces vector quantization back to methods that compressed convolutional and fully connected layers. A common procedure reshaped the weights into a matrix and used K-means clustering to fit representative vectors. Clustering assigns each weight vector to a centroid, a representative around which similar vectors gather. Some earlier work alternated between changing these assignments and changing the centroid values. Other approaches made clustering differentiable so that the network could adjust the quantized representation using its original training loss. Across these methods, fitting a compact set of representative weights and preserving the network’s behavior were related optimization problems.

For language networks at the scale studied here, the time required to fit the representation is consequential. GPTQ, the immediate predecessor, addressed the cost of uniform post-training quantization by using calibration inputs to estimate the sensitivity of each layer to weight changes. It fixed weights a column at a time and transferred some of the resulting error to columns that were still free to change. This approach grew out of Optimal Brain Quantization. The paper also connects it to older work that used second-order information for pruning, where the corresponding problem was estimating the effect of removing parameters. AdaRound supplied another important premise for GPTVQ. Matching the outputs of individual layers on representative inputs gives a tractable substitute for directly optimizing the change in the network’s full loss.

Recent vector methods had prioritized the quality obtainable at very low bit widths. AQLM, for example, initializes codebooks using K-means, then alternates improvements to the entries and the indices. The authors describe 100 iterations of a phase that combines gradient-based codebook fitting with a beam search over indices. AQLM can subsequently fit entries across an entire decoder block to minimize that block’s output error. These operations give the system room to correct errors that a single local assignment could leave behind. They also require repeated work during compression. AQLM uses vectors with dimensionality 8, and the large codebooks discussed in the paper are difficult to map onto the short-index instructions targeted by GPTVQ.

The earlier PV-tuning work addresses how to improve indices during training. An index is a discrete choice. A small change in an underlying weight can leave the chosen entry the same, then switch it abruptly when a boundary is crossed. The paper explains that a straight-through estimator, commonly used for uniform quantization, passes gradients to higher-precision copies of the weights as though the discrete operation permitted that update. In the vector setting, PV-tuning found that changing all the choices together could produce excessively large updates. It uses a trust ratio to restrict which weights can change. That gives the authors of GPTVQ a point of comparison for their own later attempt to refine indices.

The paper also distinguishes GPTVQ from LLM-codebook, which uses layer sensitivities obtained from gradients to update codebooks and includes an adaptation procedure based on LoRA. QuIP# enters the comparisons as another route to low-bit vector compression. These predecessors place GPTVQ in a field already exploring codebooks, calibration and further training. Its specific design question is whether a GPTQ-style pass can deliver competitive quality with codebooks small enough for the intended CPU lookup path. The layout of the stored weights and the optimization used to produce them are both part of that question.

### The method, step by step

#### From a weight to a table index

A weight matrix multiplies a vector of inputs to produce a vector of outputs. GPTVQ starts from the floating-point entries of such a matrix. It partitions them into groups, fits a separate codebook for each group, and stores an index for every vector of weights assigned to a codebook entry. The word *group* refers to the weights that share a dictionary. The word *vector* refers to the weights represented jointly by one index. A group can contain many vectors, and the locality of a group gives its table a chance to match the weights it represents.

A uniform quantizer offers a useful starting point for the notation.

```
𝐱 ≈ s𝐱ᵢₙₜ
```

Here 𝐱 is the original floating-point vector, 𝐱ᵢₙₜ contains its integer approximations and s is the common quantization scale. Each component of 𝐱ᵢₙₜ is a b-bit integer, where b is the width of the integer format. The sign ≈ indicates that multiplying by the scale reconstructs an approximation to the original vector. The same multiplication rescales all its components.

A non-uniform codebook replaces the evenly spaced reconstruction values with a collection of centroids.

```
C = {c₁, c₂, …, cₖ}
```

Here C is the codebook, c is a centroid and its subscript identifies its entry. The braces denote the collection, the ellipsis denotes intervening entries and k is its size. A scalar codebook stores one value per centroid. A vector codebook stores d values per centroid, with d denoting the number of weights encoded together.

```
index width = ⌈log₂ k⌉
```

Here index width is the number of bits needed to identify one of the k entries. The base-two logarithm, log₂, expresses the number of binary choices needed, and the ceiling brackets round up to a whole number of bits. The configurations used for GPTVQ choose k so that the logarithm is already an integer.

The paper illustrates the geometry with a 3-bit representation per weight. Encoding a pair then gives a budget of 6 bits and 64 possible points. A uniform grid distributes those points at regular intervals. A non-uniform scalar grid can vary the spacing along its axes, while the vector codebook can place each pair individually. Imagine the region of the plot where many pairs of weights lie close together. A codebook can place extra representatives in that region even if the resulting arrangement cannot be reproduced by crossing two lists of scalar values. The total number of available points stays fixed in this illustration.

The authors measure this gain in representational accuracy using the signal-to-quantization-noise ratio.

```
SQNR_dB = 10 log₁₀(𝔼[W²] / 𝔼[(W − Q(W))²])
```

Here SQNR_dB is the ratio expressed in decibels, W denotes the original weight values and Q is the function that replaces them with their quantized reconstructions. The expectation symbol 𝔼 represents averaging over the weights being considered, and the superscript ² indicates squaring. The numerator measures the signal’s mean squared magnitude and the denominator measures the mean squared reconstruction error. The slash forms their ratio, log₁₀ is the base-ten logarithm and 10 gives the decibel conversion used in the paper. A higher result means the reconstruction changes the weights less relative to their magnitude. The paper uses a fixed codebook overhead in this analysis so that the extra flexibility can be compared under a common storage allowance.

#### What calibration tells the quantizer

A small change to a weight can have a large effect when the input associated with that weight is prominent. Changes to different weights can also interact when their inputs tend to vary together. GPTVQ uses the inputs observed on calibration text to take these effects into account. Calibration here means running representative data through the pretrained network to collect the input activations used in fitting the compressed weights. The quantities that guide the fit are derived from those activations. The vector codebooks themselves contain weights, even though text supplies the evidence about which weight approximations matter.

From calibration inputs to decoded GPTVQ weights The steps in order.

The approximation inherited from earlier post-training methods connects a change in network loss to layer reconstruction errors.

```
𝔼[ℒ(θ + ε) − ℒ(θ)] ≈ ∑ₗ ‖WˡXˡ − ŴˡXˡ‖²_F
```

Here ℒ is the network loss, θ is the original collection of parameters and ε is the perturbation caused by quantizing them. The expectation 𝔼 denotes an average over data. The index l identifies a layer and ∑ₗ sums over the layers. Wˡ is the original weight matrix for that layer, Ŵˡ is the matrix after quantization and Xˡ contains calibration inputs arranged as columns. The two products are the original and reconstructed layer outputs on those same inputs. The squared Frobenius norm, ‖·‖²_F, adds the squared differences across all entries of the output matrix. The approximation treats these local discrepancies as a proxy for the change in the full loss.

```
Ŵˡ = Wˡ + εˡ
```

Here Ŵˡ is the reconstructed matrix for layer l and Wˡ is its original matrix. The term εˡ is the part of the overall weight perturbation that affects that layer. In the calibration matrix Xˡ, the paper uses R for the dimensionality of an input and N for the number of input observations. The matrix has shape R × N, so each column holds one input and each row follows one input coordinate across observations.

The layer reconstruction objective is quadratic in the weights. GPTQ and GPTVQ use its curvature, represented by a Hessian, to guide the approximation.

```
H⁽ˡ⁾ = X⁽ˡ⁾(X⁽ˡ⁾)ᵀ
```

Here H⁽ˡ⁾ is the Hessian quantity used for layer l in the paper’s convention. X⁽ˡ⁾ is that layer’s calibration-input matrix, and ᵀ denotes a transpose, which swaps its rows and columns. The product describes how strongly input coordinates vary and how they vary together. Every output row of a layer sees the same input activations. Thus the same curvature information can guide changes in every row, even when the weights and their quantization errors differ.

#### The column pass and error compensation

GPTQ supplies the structure of the pass. It walks across the matrix from left to right and processes all rows in a column in parallel. To understand the compensation step, consider a column that has just been fixed to representable values. The difference between its current weights and those representable values contributes an error to the layer output. The still-unquantized columns offer ways to offset the error on the observed inputs. The inverse Hessian supplies the coefficients for distributing that adjustment. When the pass reaches the next column, its starting values already reflect the adjustments received so far.

The paper presents the GPTQ error quantities as follows.

```
E = ∑q ‖E_q‖²₂
```

Here E is the aggregate error quantity, q indexes the processed columns, ∑q sums across them and E_q is the contribution associated with column q. The notation ‖·‖²₂ means a squared Euclidean norm over the components of the contribution.

```
E_q = (W_{:,q} − quant(W_{:,q}))² / [H⁻¹]_{qq}
```

Here W is the current working weight matrix, and the subscript :,q selects all rows of column q. The function quant maps those weights to their allowed reconstructed values. The squared difference in the numerator is taken over the weight errors in that column as displayed in the paper. H⁻¹ denotes the inverse Hessian and [H⁻¹]_{qq} is its diagonal entry at q. The division weights the column’s error by that entry.

The paper writes the compensation step in the following form.

```
δ = −(W_{:,q} − quant(W_{:,q})) / [H⁻¹]_{qq} · H_{:,(q+1):}
```

Here δ is the adjustment to the weights still awaiting quantization. W_{:,q}, quant and [H⁻¹]*{qq} have the same meanings as in the column-error expression. The minus sign gives the direction of compensation. The multiplication dot applies the column residual, after scaling, using the Hessian-related coefficients for the remaining columns. In the displayed rule, H*{:,(q+1):} denotes the factor indexed from after q onward. The surrounding algorithm describes calculating updates with inverse-Hessian information and a Cholesky decomposition, a factorization used to handle that information more stably. The displayed expressions are best read alongside that description of a column residual driving a coordinated update.

Applying every small update to the entire remaining matrix would cause an excessive amount of data movement during quantization. GPTQ instead processes a block of B columns, where B is the size of this computational block. It applies the immediate adjustments within the active block, accumulates the information needed for the later blocks, and updates the remaining columns together at the block boundary. This block describes how the optimizer schedules work. A group sharing a vector codebook describes how the weights are represented. The two serve different purposes.

#### Fitting and using the codebooks

GPTVQ adds a codebook fitting step to the column pass. To fit a group, it gathers d-dimensional vectors from the current weights. The groups are local, and the authors use groups spanning at most 256 columns so that initialization can reflect the changes already made by compensation. The paper gives 2,048 weights as an example, arranged in 8 rows by 256 columns. The fit is therefore based on a section of a tensor and can respond to its current weight distribution.

To define the distance used in fitting, GPTVQ turns the diagonal of the inverse Hessian into a set of coordinate weights.

```
D = diag(1/[H⁻¹]₁₁, …, 1/[H⁻¹]cc)
```

Here D is a diagonal matrix, diag places the listed values on its diagonal, H⁻¹ is the inverse Hessian and c is the number of columns in the weight matrix. The entries [H⁻¹]₁₁ through [H⁻¹]cc are the relevant diagonal entries. The ellipsis represents all intervening coordinates. For a particular vector of weights, the algorithm uses the d × d part of D associated with the columns that supplied its components. Different rows using the same columns share those coordinate weights.

The fitting problem is to choose representative vectors and find which representative each candidate vector should use.

```
min_{I, {c⁽ᵐ⁾}} ∑ₘ ∑_{i ∈ Iₘ} (x⁽ⁱ⁾ − c⁽ᵐ⁾)ᵀ D⁽ⁱ⁾(x⁽ⁱ⁾ − c⁽ᵐ⁾)
```

Here min denotes minimization over the assignments I and the collection of centroids {c⁽ᵐ⁾}. The outer sum ranges over the centroid labels m. The inner sum ranges over vectors i assigned to a particular centroid, and Iₘ is that set of vector indices. The symbol ∈ denotes membership of a set. The vector x⁽ⁱ⁾ contains the current weights for observation i, c⁽ᵐ⁾ is its candidate centroid and D⁽ⁱ⁾ is the selected part of the diagonal weighting matrix. The residual is transposed on one side of D⁽ⁱ⁾ so that the product gives a scalar cost. The paper describes k centroids, with k controlling the storage budget. The summation here uses the centroid labels directly.

This objective extends K-means. With identity weights, the cost is ordinary squared distance in the space of weight vectors. The Hessian-derived weights can make a discrepancy on one coordinate more costly than the same discrepancy on another. Consequently, the best centroid for a vector can depend on both how close the centroid is and which of its coordinates account for the remaining error. The authors report that replacing the diagonal weighting with the full inverse sub-Hessian for a vector produced no performance difference in their practical comparison.

The clustering procedure alternates between assignment and centroid fitting. In the assignment step the table is held fixed.

```
mᵢ = argminₘ (x⁽ⁱ⁾ − c⁽ᵐ⁾)ᵀ D⁽ⁱ⁾(x⁽ⁱ⁾ − c⁽ᵐ⁾)
```

Here mᵢ is the selected entry for vector i, and argminₘ returns the label m giving the lowest cost. The input weight vector is x⁽ⁱ⁾, the candidate entry is c⁽ᵐ⁾ and the distance uses D⁽ⁱ⁾, the sensitivity weights for the vector’s coordinates. The transpose ᵀ turns the residual on the left into a row. This is also the assignment rule used later when the pass commits a vector to its stored index.

With assignments fixed, each entry is updated to fit the weights assigned to it.

```
c⁽ᵐ⁾ = argmin_c ∑_{i ∈ Iₘ} (x⁽ⁱ⁾ − c)ᵀ D⁽ⁱ⁾(x⁽ⁱ⁾ − c)
```

Here c⁽ᵐ⁾ is the updated centroid, c ranges over candidate vectors, and argmin_c picks the vector minimizing the stated cost. The sum covers all i in Iₘ, the assigned set for centroid m. The vectors x⁽ⁱ⁾ are the weights in that set and D⁽ⁱ⁾ weights the residuals as before. The objective is quadratic in c. The paper gives its minimizer in closed form.

```
c⁽ᵐ⁾ = (∑_{i ∈ Iₘ} D⁽ⁱ⁾)⁺ (∑_{i ∈ Iₘ} D⁽ⁱ⁾x⁽ⁱ⁾)
```

Here the first sum combines the sensitivity matrices of vectors assigned to centroid m, and the second combines the corresponding sensitivity-weighted vectors. The superscript ⁺ denotes the Moore–Penrose pseudoinverse, which generalizes matrix inversion. Together these operations produce the centroid c⁽ᵐ⁾. A vector with greater weight along a particular coordinate has greater influence on where the fitted centroid lands along that coordinate.

The authors compare two ways of choosing the initial centroids before these alternating steps. One is K-means++. Their alternative sorts the candidate vectors by their Mahalanobis distance from the group mean. This distance measures how far a point is from the mean relative to the spread of the data, including how the coordinates vary together. The method then chooses points at regular intervals in the sorted list.

```
seed spacing = ⌊N / (k − 1)⌉
```

Here seed spacing is the interval in ranks between selected points. N is the number of candidate vectors in the group, k is the number of centroids and the mixed brackets indicate rounding to the nearest integer. The division distributes the seed picks across the ordered distances. In this use of N, the counted objects are weight vectors for clustering. The earlier calibration notation counted input observations.

After fitting the current codebook, the pass quantizes d columns at a time. Within each row, those columns form a vector of d weights. Its entry is chosen using the weighted assignment rule. Quantization fixes those weights, and the residuals from the d coordinates are combined for an update to the weights that remain. The placement across columns was chosen for the device implementation. The authors note that selecting several weights from within a single column could absorb the error more effectively. The chosen orientation makes the decoding and multiplication layout easier to implement efficiently.

#### Refining entries and counting their cost

At the end of the pass, a codebook may still reflect weights from before some of the compensation updates. There is another opportunity to improve it once all the indices have been selected. The refinement keeps every index fixed and changes the values at the corresponding addresses. Any weights using the same entry move together when that entry moves. The layer’s calibration outputs determine which movements help.

```
min_{C₀, …, C_N} ‖WX − QX‖²_F
```

Here C₀ through C_N denote the codebooks of the layer in the appendix’s notation, with the subscripts labeling the groups. W is the original weight matrix, X contains the calibration inputs and Q is the matrix reconstructed by looking up the fixed indices in the current codebooks. The two products compare layer outputs on the same inputs and ‖·‖²_F sums their squared differences. The min operation targets the codebook values. Because lookup with fixed indices is linear in those values, this is a convex quadratic problem. The authors use gradient descent in PyTorch, which they found faster than their closed-form implementation while reaching equally good solutions. Every step reconstructs Q with the revised entries and the original assignments.

A bit width quoted for an index describes only part of the stored representation. The paper counts the index payload and the codebook itself in its bits-per-value expression.

```
bpv = log₂(k)/d + k d b_c/l
```

Here bpv is bits per weight value, k is the number of centroids per table and d is the number of components in a centroid. The symbol b_c is the bit width used for one stored codebook component. The group size l counts the individual weights sharing that table. The first term divides the bits in one index among the weights it encodes. The second counts the bits needed for the table and spreads them over its group. The plus sign combines these costs. The formula makes the interaction between the design choices visible. Larger tables can represent more combinations, while larger groups give each table more weights over which to spread its cost.

The authors also consider blockwise normalization before initializing a codebook. A group can contain sub-rows with quite different weight magnitudes. Giving each sub-row its own scale brings those weights into ranges that a single shared table can represent more evenly.

```
Wᵢ ⊘ Sᵢ
```

Here Wᵢ denotes the submatrix for codebook group i, Sᵢ gives the corresponding scales expanded across its elements, and ⊘ denotes elementwise division. The scales are calculated on sub-rows of the group. The paper gives block sizes of 16, 32 and 64 as examples.

```
s⁽ⁱ⁾ = maxⱼ |wⱼ⁽ⁱ⁾|
```

Here s⁽ⁱ⁾ is the scale for sub-row i, wⱼ⁽ⁱ⁾ is its weight at position j and the vertical bars give that weight’s absolute magnitude. The maxⱼ operation chooses the greatest magnitude over the sub-row. The appendix uses 4-bit integers to represent these scales and describes quantizing their logarithms to capture a wide range of magnitudes.

```
s_int⁽ⁱ⁾ = ⌈(log₂[s⁽ⁱ⁾] − z)/a⌋ a
```

Here s_int⁽ⁱ⁾ denotes the quantized scale in the notation of the appendix, s⁽ⁱ⁾ is the block scale and log₂ puts it in base-two logarithmic coordinates. The symbol z is the floating-point offset, a is the scale shared among the group for quantizing these logarithms, and the mixed brackets denote rounding. The appendix motivates the offset by the importance of representing zero in logarithmic space accurately, since that corresponds to unit scaling. The offset can be shared within columns of the weight matrix.

```
w · 2^(−a s_int − s₀)
```

Here w is the sub-row being normalized, the dot denotes multiplication by a scalar, and the power of 2 converts a logarithmic scaling factor into a multiplier. The symbols a and s_int denote the shared quantizer scale and the quantized scale used for this sub-row. The appendix defines the remaining offset as follows.

```
s₀ = log₂(z)
```

Here s₀ is the logarithmic offset in the normalization expression, z is the floating-point offset and log₂ is the base-two logarithm. The scaled weights go into codebook initialization, and decoding reverses the scaling. The appendix gives separate expressions for storing and applying the scales, so their precise conventions matter when moving between those steps.

#### What the CPU retrieves

The main mobile implementation uses 2D vectors with 6-bit indices. Each index accounts for a pair of weights, giving an index payload of 3 bits per weight, with the table contributing additional storage. The stored data for a group include the packed indices, a small lookup table and a scale. The indices and table data travel from DRAM to the processor. Once in cache, the decode kernel uses the CPU’s lookup instructions to turn the index into signed 8-bit values for matrix-vector multiplication. Each coordinate of the pair is retrieved through its corresponding lookup. The 6-bit instruction discussed in the main implementation can address a table with at most 64 entries.

The engine is the authors’ own C implementation of a parameterizable [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/). It uses vector intrinsics for the computational kernels, parallelizes work using the architecture’s structure, and applies compiler optimizations for fine-grained vectorization. Packing the short indices tightly saves DRAM traffic. Arranging the indices, tables and scales for vector access helps the kernel turn that saving into throughput. The table-based representation is a storage type. The downstream arithmetic operates on decoded integers.

The paper also examines packing centroid components into 4 bits. A pair of such components can be returned by one byte lookup, which is attractive both for the instruction sequence and for cache use. To keep this smaller centroid format accurate, the authors introduce a separate set of groups for INT4 scaling, ordinarily containing 128 weights. These can be much smaller than the group sharing a vector codebook. The initial scale is selected by minimizing a Hessian-weighted quantization error.

```
s_g = argmin_s ‖(w_g − Q(w_g, s, b)) h_g‖²₂
```

Here s_g is the selected scale for group g and s is a candidate scale. The vector w_g contains the group’s weights, Q(w_g, s, b) reconstructs them under b-bit quantization with scale s, and h_g denotes the corresponding Hessian diagonal weights. The multiplication expresses the application of those weights to the residual, and ‖·‖²₂ sums the squared weighted components. The authors then feed scaled floating-point values to clustering.

```
w_gˢ = (1/s_g) w_g
```

Here w_gˢ denotes group g after scaling, w_g contains the original values, s_g is the chosen scale and 1/s_g divides the values by that scale. The procedure keeps their fractional values through initialization. Once the codebook is fitted in this coordinate system, its entries are clipped and rounded to INT4. Subsequent vector assignment compares a scaled weight vector to these entries.

```
mᵢ = argminₘ ((1/s⁽ⁱ⁾)x⁽ⁱ⁾ − c⁽ᵐ⁾)ᵀ D⁽ⁱ⁾((1/s⁽ⁱ⁾)x⁽ⁱ⁾ − c⁽ᵐ⁾)
```

Here mᵢ is the selected centroid index for vector i, argminₘ searches over candidate centroid labels m, and s⁽ⁱ⁾ is the scale for the INT4 group containing x⁽ⁱ⁾. The vector c⁽ᵐ⁾ is the candidate centroid on the INT4 scale. The matrix D⁽ⁱ⁾ again weights the components, and ᵀ denotes the transpose used to form a scalar distance. In this procedure the scaling changes the coordinates in which the codebook is fitted and searched. The weights still share codebook entries according to the larger GPTVQ grouping, except in the modified Mistral configuration considered by the authors.

### Experiments and results

#### A complete generation run on a mobile CPU

The main hardware test uses Llama3-8B on Snapdragon X Elite with Windows. The authors compile their implementation with Clang 18.1 and Polly enabled. The benchmark compares three ways of deploying the same named network. One uses llama.cpp and its Q4_0 INT4 format. Another uses the authors’ own engine with INT4 g128. In the final case, their engine applies two-dimensional vector quantization with 6-bit indices and groups of 8,192. The latter configuration is reported at 3.125 effective bits per weight, with 3 bits per dimension in the index payload.

The outcome of interest is end-to-end token generation rate. Measuring it through the complete engine keeps the decoding overhead in the comparison. Timing just the lookup would leave out the cost of moving indices and tables into cache and the way their layout affects the arithmetic that follows. The other outcome is the DRAM footprint of the deployed network. For an application that has to share memory with the operating system and other processes, the footprint is useful even when the generation rate already meets the application’s needs.

The authors’ INT4 implementation itself improves token rate over llama.cpp. That comparison includes a change of engine and a difference in the INT4 configurations. The test within the authors’ engine provides the closer comparison for the representation. Against its INT4 g128 configuration, vector quantization yields a 10% improvement in token generation rate. The paper reports a simultaneous 19% reduction in DRAM footprint relative to its optimized INT4 baseline. These are relative changes for the Llama3-8B mobile run. The result shows that the saving in weight traffic can survive the cost of decoding, including against an INT4 baseline already optimized for the tested platform.

The appendix adds measurements on a mobile CPU and an Nvidia GeForce RTX 3080 GPU. For the data-transfer experiment it uses the Llamav2-7B `gate_proj` weight matrix, of shape 11,008 × 4096. The timing includes transfer and unpacking or decoding. It compares vector and uniform formats, with FP16 also included on GPU. The CPU kernel in this experiment uses the `TBL` instruction with indices of at most 5 bits and chains lookups for 2D vectors. The GPU kernel uses native CUDA vector types and larger packed combinations to move data. The authors say they will release the code for these kernels at a later date.

Those kernel measurements report reduced footprint and favorable latency effects on the CPU, with effects ranging from negligible to favorable on the GPU. The appendix also integrates a CPU decode kernel with matrix multiplication for a Llamav2-7B token generation run using 1D quantization. These measurements complement the main Llama3-8B benchmark by asking whether particular transfers and unpacking paths are feasible. The GPU evidence concerns the selected layer transfer and decoding experiment. The end-to-end throughput result in the main test belongs to the mobile CPU.

#### Prediction quality at comparable storage budgets

The main quality study covers Llama-1, Llama-2 and Llama-3, along with Mistral-7B-v0.1 and Mixtral-MoE-8x7B-v0.1. BLOOM-560M is used for a separate ablation. For standard calibration, the authors take 128 sequences from WikiText2’s training split, each containing 2,048 tokens. They measure token perplexity on the WikiText2 validation split using sequences of length 2048. Perplexity reflects how much probability the system assigns to the tokens that occur. Lower perplexity indicates better predictions on the evaluated text under the specified protocol.

The task experiments measure zero-shot accuracy, with the quantized networks evaluated on the tasks without training on them for this comparison. The paper uses ARC-easy, ARC-challenge and [PIQA](https://md.research.elamur.ai/free/en/papers/bisk-2019-piqa-reasoning-about-physical-commonsense/). It also includes BoolQ, HellaSwag and WinoGrande. PIQA tests reasoning about physical commonsense. The reported average combines the task scores into a broader view of prediction quality. The Llama3-8B average excludes BoolQ so that it follows the protocol of the study from which the authors obtain the Llama3 baseline results. Apart from WikiText2 perplexity, the evaluations use the LLM-evaluation-harness.

The baselines include Round-to-Nearest, GPTQ, AWQ and OmniQuant. The authors take the AWQ and OmniQuant figures from the OmniQuant study and the Llama3 baselines from the separate Llama3 quantization study. They produce the remaining baseline figures themselves. The experiments compare quantizers at the same overall bits per value by accounting for the overhead associated with scales or codebooks. In particular, group sizes are chosen to give 0.125 bits per value of codebook overhead across the selected index settings, with 0.25 bits per value also examined at the low-bit setting described in the paper. These allowances are chosen to match the overhead associated with a 16-bit scale and the baseline group sizes of 128 and 64.

Across the scalar comparisons, the authors report that non-uniform GPTVQ generally improves over uniform post-training quantization methods. The advantage is most pronounced at low bit widths and for the largest networks tested. One numerical example in the paper is the comparison between GPTVQ 2D and OmniQuant W2@g128 on Llamav2-70B. The authors describe a gain of nearly 2 perplexity points on WikiText2 under the main quality protocol. The dimensionality comparison also generally favors 2D over 1D, with further gains for 4D. The paper includes additional WikiText2 perplexity results at 4.125 bpv and individual task scores for selected Llama, Mistral and Mixtral variants.

The scalar comparison concerns quality at a storage budget. It establishes that a codebook can allocate bits effectively even after its entries have been counted. The deployed format makes a more specific choice from the available quantization settings. The authors use the lower-dimensional configuration in the mobile benchmark, where a centroid has to be decoded repeatedly in the path of every generated token. Gains for 4D in the quality study describe the statistical benefit of extra flexibility under the experimental settings.

#### Other vector methods

For the comparison with AQLM and QuIP#, the authors follow a different quality protocol. AQLM and GPTVQ use the same SlimPajama calibration data, comprising 4096 samples of 2048 tokens. The evaluation uses 4096-token sequences from the WikiText2 test split. WinoGrande, PIQA and HellaSwag contribute to the zero-shot average, along with the two ARC tasks. The AQLM experiments use the original AQLM code adapted to follow the comparison setup closely. Holding the calibration and evaluation conditions aligned matters because sequence length, data split and task composition differ from the main scalar comparisons.

Llama-v2-7B perplexity on the WikiText2 test split GPTVQ has lower perplexity than AQLM with block fine-tuning disabled.

**The numbers**

| System or setting | perplexity |
| --- | --- |
| AQLM without block fine-tuning | 7.49 |
| GPTVQ (this paper) | 7.11 |

The comparison in the chart isolates the AQLM variant the authors regard as closest to the GPTVQ procedure. AQLM can use an additional block fine-tuning stage to improve its performance. The paper characterizes GPTVQ as broadly on par with AQLM in the size–accuracy tradeoff when that extra stage is disabled. It also acknowledges an advantage for the stronger configurations that use larger vectors or further fitting. QuIP# and the larger AQLM configurations are relevant to the quality attainable through vector quantization, while GPTVQ’s smaller codebooks are designed around the CPU’s available lookup instructions.

Fitting time adds another dimension to this comparison. The appendix’s comparison reports that compressing Llamav2-7B with AQLM takes as long as 35 hours on an H100, whereas GPTVQ takes 30 minutes to 3 hours on a single H100 GPU. In the separate runtime discussion, the authors give between 30 minutes and 1 hour for Llamav2-7B and between 3 and 11 hours for Llamav2-70B. These ranges are reported for different discussions of the settings. The paper identifies vector dimensionality, bit width, group size and the amount of fitting as factors that change the time. The fitting measurements describe preparation of the compressed weights. The Snapdragon experiment measures the later use of those weights.

#### Task adaptation with a compressed base

LoRA introduces a trainable low-rank adjustment to the computation while leaving the base weights in place. The paper tests it on top of GPTVQ to see whether a compact base retains enough flexibility for useful task adaptation. The authors train WikiText2 adapters on the WikiText2 training split and GSM8k adapters on the GSM8k training split. They then evaluate on the corresponding test splits. WikiText2 is scored by perplexity, while GSM8k is scored by accuracy. These results address a different use of the data from the zero-shot study, since the adapter can learn from examples of the target task.

The authors also test a frozen adapter taken from an FP16 base and applied to the vector-quantized base. That setting asks whether an existing adjustment carries over after compression. Fitting the adapter with GPTVQ weights already in place allows it to respond to the specific errors introduced by the compressed base. A comparison to LoftQ includes an overhead adjustment of 0.127 bpv. For WikiText2 perplexity, the authors omit LoftQ’s value because its measurement protocol differs. The results distinguish configurations whose training diverged from ones that completed and could be evaluated.

The reported direction is favorable on both tasks. The trained adapters improve WikiText2 perplexity and GSM8k accuracy and help recover the quality lost when quantization is aggressive. The authors report gains over earlier adapter-based methods in the comparison. This is evidence that the compressed representation can serve as a base for task adaptation. The mechanism uses an additional trainable component and task training data, so its outcomes answer a different question from the accuracy of the compressed base before adaptation.

### What the ablations show

#### How much fitting the codebook needs

The choice of starting centroids affects what a clustering procedure can accomplish in a finite number of passes. The authors compare Mahalanobis initialization and K-means++ using Llamav2-7B with 2D 3-bit VQ and block size 2048. They assess the completed quantization through perplexity. The faster initialization based on ranked distances gives comparable perplexity to K-means++ in that setting. The comparison tests the final consequence of the choice. It leaves open whether the two schemes discover similar centroids or whether the later assignment and refinement steps make their differences small.

A second ablation varies the number of clustering iterations. It uses BLOOM-560M with 2D 3-bit VQ and block size 4096, measuring WikiText2 test perplexity. The authors observe small gains continuing up to 100 iterations and adopt 100 as their default. The comparison links the quality of the initialized table to final predictive performance. Even after the column compensation pass, the degree of effort invested in the original table has a detectable effect. The modest size of the reported gains also helps explain why iteration count is a runtime parameter.

Refitting centroids after assignment addresses a different issue. The initial codebook is fitted to weights available when the pass reaches a group. After some of its columns are quantized, compensation moves the weights left in that group. The entries can then be stale relative to the weights later assigned to them. In the Llamav2-7B ablation, updating codebook values at fixed indices improves final perplexity in every setting considered. The authors describe the additional running time as moderate and include this update in their usual runs. This experiment supports the value of revisiting centroid values using the layer output after all assignments have been made.

The practical comparison between diagonal and full inverse sub-Hessian weighting deals with the distance used in assigning weights. A full submatrix would account for interactions among coordinates within a vector. The diagonal form gives each coordinate its own weight and is simpler. The authors observe no performance difference between the alternatives in their comparison, supporting the simpler distance for the configurations they ran. The compensation across columns still uses the Hessian-related update machinery. The choice under examination applies to the distance calculation for fitting and assigning vectors.

#### Dimensionality and the overhead budget

The signal-to-quantization-noise analysis uses Llama-v2 7B weights and keeps the codebook overhead at 0.25 bit per weight for each method. With that charge held fixed, the authors observe higher SQNR as dimensionality rises. This comparison concerns reconstruction of the weight values. Its value is that it shows the geometric advantage of flexible joint placement under a common overhead constraint. The WikiText2 and zero-shot results then test whether more accurate weight reconstruction yields better predictions. The general pattern favoring 2D over 1D and 4D over 2D is consistent with that account.

The adjustment is meaningful because growing a codebook can improve reconstruction simply by giving the quantizer more choices. Then the stored table costs more. Holding the overhead fixed requires changes elsewhere, such as the number of weights that share a table. A comparison that held only the index payload fixed could assign very different total storage costs to the alternatives. The fixed-overhead analysis supports the authors’ argument about flexibility while keeping the numerical question distinct from what the mobile instruction sequence can support.

The blockwise scaling experiments examine another way to allocate a fixed budget. One varies the scaling block size for Llamav2-7B using codebooks quantized to 8 bits. Another compares configurations with and without scaling at equal overhead across the networks examined. A smaller scaling block can make nearby weights better matched to the codebook’s range, while the additional scale data consume space. The controlled comparison asks whether spending part of the budget on local normalization helps perplexity. This is a different intervention from increasing vector dimensionality, since it changes how weights are brought into the codebook’s coordinate range.

#### Changing how the codebooks are stored

The codebook compression appendix compares lowering centroid precision with reducing the rank of a collection of codebooks and with using larger groups to amortize FP16 entries. For the rank experiment, it stacks the scalar codebooks of a tensor and first sorts the entries in each one. The indices are reassigned to track the new entry order. Without this alignment, a column of the stacked matrix could contain small entries from some groups and large entries from others solely because of the arbitrary order in which clustering named them.

Singular value decomposition factors the stacked table into matrices describing its shared directions and their importance. The paper absorbs the singular values into one factor, truncates the factors and then fits them against layer reconstruction error. It gives the intermediate and reconstructed quantities in the following forms, using C for the stacked codebook matrix.

```
U′ = UΣ
```

Here U contains the left singular vectors of C, Σ holds the singular values, and U′ is the factor with those values absorbed into it. The prime marks the transformed factor.

```
Ĉ = U″(V′)ᵀ
```

Here Ĉ is the reconstructed stack of codebooks, U″ is the reduced version of U′, and V′ denotes the retained part of the right-hand factor. The symbol ᵀ denotes a transpose. The approximation keeps a subset of the directions shared by the group codebooks. The authors fit the retained factors with gradient descent, quantize the larger factor and reconstruct and quantize the individual codebooks for inference.

The rank comparison includes a 50% reduction and compares it with 8-bit codebook quantization and with FP16 codebooks shared by larger groups. The paper matches their codebook overhead and finds the best quality with 8-bit quantization. The low-rank approach is also harder to generalize beyond scalar centroids because vector entries have no obvious common sorting order. These findings explain the choice of INT8 entries as the default. That choice responds both to the matched-budget comparison and to the desire to use the same basic codebook approach at different vector dimensions.

The INT4 study asks how much prediction quality is lost at a lower entry precision. Its table concerns WikiText2 perplexity for 2D, 3B VQ with block size 4096. The authors report very minor perplexity increases from compressing the entries to INT4 in the configurations considered. Mistral-7B uses a modified scaling scheme with codebook quantization groups equal to the GPTVQ groups. Thus the favorable Mistral outcome comes with a different grouping choice. The result supports the prospect of cheaper packed lookups, while the quality experiment itself measures what rounding the centroids does to perplexity.

#### Fitting across layers and checking variability

The appendix also tests end-to-end centroid fine-tuning. The idea is to let the final behavior of the network guide codebook and scale changes across layers. The study runs for 1,000 steps on SlimPajama, using batches of 32 and sequences of length 1,024. It applies Adam with warmup and a cosine schedule. The authors choose the codebook learning rate by grid search and reduce the scale learning rate by 10³ times. The experiment covers Llama variants, Mistral and Phi-3 mini 4k instruct. It reports WikiText2 perplexity at context length 2048 and average zero-shot accuracy.

The authors report improvements across the tested networks and bit settings except for zero-shot accuracy at 3.125 bits. This qualification matters because an update that lowers held-out perplexity can still affect the task average differently. It also distinguishes the end-to-end procedure from the fixed-index layer update used in the usual GPTVQ pass. Both adjust continuous values in codebooks. They use evidence at different points in the network, and the end-to-end procedure requires a separate training run.

The authors also try to update the assignments with an approach similar to PV-tuning. They see no significant improvement. Their interpretation is that the compensated pass may already choose indices close to the best ones available for its format. The experiment shows limited benefit from the particular attempted refinement. Establishing closeness to a globally optimal assignment would require additional evidence, since a discrete search can fail to improve a solution for several reasons.

Finally, the paper reports means and standard deviations over 10 random seeds for Llamav2-7B with 2D quantization and an 8-bit codebook. This checks how much variability can arise when the same configuration is rerun. Its scope is the tested configuration. The timing analysis likewise emphasizes variation with settings, identifying cluster initialization as an important source of extra runtime at higher vector dimensionality. Together these analyses show why the fit cannot be characterized by a single quality score or a single compression duration across the full family of configurations.

### Limitations

#### Limits the authors identify

GPTVQ uses a greedy layer-wise procedure. At the time the pass fixes an assignment, the algorithm has only the current weight vector, its codebook and the locally estimated curvature to work with. It minimizes an approximation to layer output error. The global network objective can favor different choices because quantization errors propagate through subsequent operations. The authors give a second reason for suboptimality within each group. Compensation changes weights later in the group after its codebook has already been selected, so the chosen entries may represent those weights less effectively by the time they are quantized.

The fixed-index codebook update can help with this mismatch by moving entries in response to the completed layer reconstruction. End-to-end fine-tuning can additionally account for downstream effects. The reported exception on zero-shot accuracy at 3.125 bits qualifies the reach of that second intervention. The authors’ attempt to improve the indices themselves also yielded no significant gain. These outcomes leave the main procedure with the practical benefits of a greedy pass and the usual limits of decisions made with local information.

The authors also acknowledge a deliberate tradeoff in the direction used to form vectors. Selecting weights across columns makes the deployed representation easier to handle, although grouping weights within a column could absorb quantization error more effectively. They accept smaller codebooks and lower dimensions in the mobile design knowing that larger configurations can achieve better perplexity or task accuracy. The benefit depends on the CPU lookup path and the organization of weights for downstream arithmetic. Higher dimensionality also makes the offline clustering step substantially slower.

AQLM’s additional decoder-block fitting offers another means to correct errors after layer-wise quantization. The paper reports stronger results when that stage is used and identifies the extra fitting time as its cost. Likewise, the codebook factorization experiment is limited by the difficulty of aligning vector centroids across groups. The proposal to extend the idea through a higher-dimensional factorization is discussed as a possibility. The matched-overhead evidence is for the scalar factorization the authors tried.

#### Limits of the experimental setup

The main deployment result is a specific comparison on Snapdragon X Elite, using one network, a small-vector format and the authors’ engine. The reported footprint and generation-rate improvements measure the outcome of that combination. The result leaves the size of any benefit on other processors, at other context lengths or with larger codebooks open. A processor’s table instructions, cache and memory subsystem all influence the balance between saved transfers and decoding work. The appendix adds a different CPU configuration and a GPU layer experiment, extending the evidence to additional kernels while leaving GPU end-to-end generation outside that comparison.

The two INT4 rows also answer different comparison questions. The llama.cpp result includes the effects of a different inference implementation. The in-house INT4 g128 row is the better reference for asking what happens when the authors switch representations in their engine. The benchmark is about token generation and weight footprint. It provides no direct measurements of energy use or initial prompt processing, and gives no basis for quantifying those outcomes from the generation-rate figure.

For predictive quality, the main scalar study and the AQLM comparison use different WikiText2 splits, sequence lengths and calibration data. Their zero-shot averages also differ in composition. The Llama3 result within the main study omits BoolQ to match its source baseline. Perplexities and averages should therefore be interpreted with the named protocols attached. The AQLM chart supports a comparison within its shared test setup. It cannot establish the same ordering under every quality and calibration protocol, particularly when further block fine-tuning is allowed.

The experiments cover several network families and task types, but the observed tasks remain a limited sample of uses. Perplexity measures the likelihood assigned to the evaluation text. A zero-shot average can hide a change on an individual task, which is one reason the paper reports individual scores separately. The adapter experiments are specific to the training and test splits of WikiText2 and GSM8k. They show recoverable quality under those adaptation procedures. More general claims about task adaptation, or about training behavior at compression settings beyond those tested, would require further measurements. Likewise, the random-seed study assesses variation in one configuration and gives limited evidence about the stability of the others.

### What came after

The later study [“Give Me BF16 or Give Me Death”? Accuracy-Performance Trade-Offs in LLM Quantization](https://md.research.elamur.ai/free/en/papers/kurtic-2025-give-me-bf16-or-give/) takes up the broader evaluation question raised by GPTVQ. A useful comparison of weight formats has to consider the quality retained and the performance achieved when the weights are used. GPTVQ gives a concrete instance of the tradeoff with a small vector format tested against INT4 on a mobile CPU. The later study frames the question around comparisons with BF16. Its citation of GPTVQ links the work at the level of that evaluation problem. The specific use it makes of GPTVQ’s column updates or lookup layout is unspecified.

[SCVQ: Sparse-Compensated Vector Quantization for Large Language Models](https://md.research.elamur.ai/free/en/papers/zhou-2026-scvq-sparse-compensated-vector-quantization/) takes up vector quantization together with sparse compensation. The connection to GPTVQ is the problem of preserving prediction quality after choosing a compact set of representative vectors. GPTVQ compensates during quantization by adjusting weights that are still free to change. SCVQ’s title identifies sparse compensation as the focus of its approach. The citation establishes a connection to prior vector quantization work. The particulars of that compensation, and which parts of GPTVQ it uses, are unspecified.

## Cite

Cite as 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:2402.15319.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2402.15319](https://doi.org/10.48550/arxiv.2402.15319) · [arXiv 2402.15319](https://arxiv.org/abs/2402.15319)

```bibtex
@misc{baalen2024gptvq,
  title = {{GPTVQ: The Blessing of Dimensionality for LLM Quantization}},
  author = {Mart {van Baalen}, Andrey Kuzmin, Ivan Koryakovskiy, Markus Nagel, Peter Couperus, Cedric Bastoul, Eric Mahurin, Tijmen Blankevoort and Paul Whatmough},
  year = {2024},
  doi = {10.48550/arxiv.2402.15319},
  eprint = {2402.15319},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2402.15319}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
