arjun10g commited on
Commit
2616369
·
verified ·
1 Parent(s): a03cb8f

Sync 1 audio file(s) and transcripts

Browse files
audio/training-free-compression.mp3 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:72b85e509fa4cb55e95a934562045fbfddf8bac0af3021e92a9bca8f30ae52c8
3
- size 25885171
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbe7eeff855fbf6d4342a6c19a9c0b9533393dc2d85a6e8b22e5798bd5d006dd
3
+ size 34043634
lectures/training-free-compression.md CHANGED
@@ -2,7 +2,7 @@
2
 
3
  ### The state of the art in training-free model compression, and where it goes next
4
 
5
- *About forty minutes spoken. A survey lecture, built from a literature review of papers up to late 2026. Numbers are rounded and said in words; the exact tables and sources are in the review notes. Where a claim is my own reasoning rather than a published result, I'll say so.*
6
 
7
  ---
8
 
@@ -10,184 +10,216 @@
10
 
11
  Suppose someone hands you a trained language model with seventy billion parameters, and asks you to make it cheaper to run. You have a few GPUs for an afternoon, a few hundred example documents, and no budget to retrain anything. What can you do, and what is the best anyone has managed?
12
 
13
- That is the question of training-free compression, and it matters more than it sounds. Retraining a large model, even partially, costs real money and needs the original training data, which you usually don't have. Training-free methods take the model as it is, look at how it behaves on a small amount of calibration text, and produce a smaller or cheaper model in minutes to hours, on one or a few GPUs. Almost every compressed model you can download today was made this way.
14
 
15
- There are four broad families, and we'll take them in turn. Quantization stores the numbers with fewer bits. Pruning deletes individual weights. Structured compression removes whole rows, columns, dimensions, or matrices, often by replacing a matrix with a low-rank approximation. And depth or expert removal deletes entire layers, or entire experts in a mixture-of-experts model. We'll also look at compressing the attention cache, which is often the real memory bottleneck.
16
 
17
  The lecture has a verdict, so let me give it now and then earn it. At equal memory, quantization wins, clearly, and four-bit weight-only quantization is essentially a solved problem. The other families earn their place only in specific situations, or stacked on top of quantization. And the most interesting open problems are statistical ones that the field has mostly ignored.
18
 
 
 
19
  ## What training-free actually means
20
 
21
- The phrase hides three different things, and it's worth separating them, because papers blur them.
22
 
23
- The strictest tier is data-free. You compress the model using nothing but the weights themselves. Rounding every weight to the nearest four-bit value is data-free. So is a method called HIGGS, which we'll meet shortly, and so is rounding to NVIDIA's four-bit floating-point format.
24
 
25
  The middle tier is calibration-only. You run a few hundred sequences of text through the model, record the activations, and use them in a closed-form computation: a least-squares solve, an eigendecomposition, a scaling rule. No gradients, no optimiser. GPTQ, AWQ, SparseGPT, Wanda and SliceGPT all live here.
26
 
27
- The loosest tier is calibrated optimisation. The weights themselves are frozen, but small auxiliary parameters, such as a rotation, an affine transform, or a rounding offset, are learned by gradient descent on the calibration data. SpinQuant and FlatQuant are the best-known examples. They don't retrain the model, but they do run an optimiser, and some papers explicitly mark them as not fine-tuning-free.
28
 
29
- Keep the three tiers in mind, because comparisons across them are often unfair. A method that runs gradient descent for six hours will usually beat one that solves a closed form in twenty minutes, and the honest question is whether it's worth the difference.
30
 
31
  ## The objective almost every method shares
32
 
33
- Before the families, one idea unites nearly all of them, and it's worth seeing clearly because it's also where the statistics comes in.
34
 
35
- Most training-free methods compress one layer at a time. For a linear layer with weights W, they collect the inputs X that layer sees on the calibration data, and they look for a compressed weight matrix, call it W-hat, that makes W-hat times X as close as possible to W times X. That's a least-squares problem: minimise the squared difference between the original layer's outputs and the compressed layer's outputs, over the calibration activations.
36
 
37
- Expand that squared error and a single matrix appears: X times its own transpose, the second-moment matrix of the layer's inputs. That matrix is the Hessian of the layer's reconstruction error, and it's the hero of this whole field. It tells you which directions of input space the layer actually uses, and how strongly. A weight that multiplies an input direction with large variance matters a lot. A weight that multiplies a direction that is almost always near zero barely matters at all.
38
 
39
- This is the old Optimal Brain Surgeon idea from the early nineties, applied one layer at a time. Remove or round a weight, then use the Hessian to adjust the remaining weights so they compensate for the error. GPTQ does exactly this for quantization: it rounds one column of weights at a time, and after each column it updates all the columns not yet rounded to absorb the rounding error. SparseGPT does the same for pruning. And SliceGPT, which deletes principal directions of the residual stream, is computing an eigendecomposition of essentially the same kind of matrix.
40
 
41
- Hold on to that objective, because the most important limitations of the field come from it. It is a layer-by-layer proxy. It ignores how errors in one layer change the inputs to the next. It ignores what the model's actual loss cares about. And it depends entirely on how well a few hundred calibration sequences estimate a matrix with tens of millions of entries.
42
 
43
  ## Weight-only quantization: four bits is solved
44
 
45
  Start with the simplest and most successful family: store each weight in fewer bits, keep the activations in sixteen-bit, and convert the weights back on the fly inside the matrix-multiply kernel.
46
 
47
- At four bits per weight, this works. A large evaluation of the Llama three point one models, at eight, seventy and four hundred and five billion parameters, found that four-bit weight-only quantization recovers about ninety-nine point four percent of the original model's accuracy on average. Studies focused on reasoning tasks find drops of about one percent or less. The standard tools, GPTQ and AWQ with a group of a hundred and twenty-eight weights sharing each scale, get you there in minutes to a couple of hours: GPTQ takes about a fifth of a GPU-hour for an eight-billion-parameter model and under two for seventy billion.
48
 
49
- Even data-free methods come close. HIGGS uses a random Hadamard rotation to make the weights look Gaussian, then rounds them to a grid designed to be optimal for Gaussian data. It lands within about a third of a perplexity point of GPTQ at four bits, without seeing a single calibration token.
50
 
51
- There's one caution worth knowing. Plain GPTQ with one scale per output channel, rather than per group, can fail badly on some newer models. One recent paper reports Llama three seventy billion jumping to a perplexity of about twenty-seven at four bits that way, against under three for the original. Group-wise scales or a rotation fix it. The lesson is that four bits is solved with the right settings, not with any settings.
52
 
53
  ## Three bits and two bits: where the frontier is
54
 
55
  Below four bits, the methods separate.
56
 
57
- At three bits, the leaders are QTIP and a newer method called KronQ. QTIP, which you may remember from the trellis lecture, uses a trellis code over rotated weights, so the effective codebook dimension is very large while decoding stays cheap on a GPU. On Llama three eight billion it reaches a perplexity of about six, against five and a half for the original.
58
 
59
- At two bits, quality is still the hard problem. QTIP is the clear quality leader: on Llama two seven billion, without any fine-tuning, it reaches a perplexity of about six point eight, against about five point one for the original, and it beats the older vector-quantization methods, QuIP-sharp and AQLM, even when those are allowed to fine-tune. But those vector methods are expensive: published figures put QuIP-sharp at about two hundred and seventy GPU-hours and AQLM at over three hundred for a seventy-billion-parameter model. Cheaper calibration-only methods like KronQ now get Llama three seventy billion to a perplexity of about eight at two bits with only a hundred and twenty-eight calibration samples, though that's a single group's result and still well above the original.
60
 
61
- And here's the sobering comparison. One benchmark found that a two-bit seventy-billion model is worse than a four-bit seven-billion model. If your memory budget is fixed, it's often better to quantize a smaller model gently than a larger one brutally. Two bits is a research frontier, not yet a deployment default.
62
 
63
- One more cross-cutting finding: newer models are harder to quantize. Models trained on more tokens, like Llama three and Qwen three, and reasoning models in particular, lose more at the same bit width. In one study, Qwen three eight billion at three bits more than doubled its perplexity under AWQ, while Llama three eight billion rose by about a quarter. A plausible reading is that a model trained on more data packs more information into each weight, leaving less slack to round away.
64
 
65
  ## Quantizing activations too
66
 
67
  Weight-only quantization saves memory and speeds up decoding, but the arithmetic still happens in sixteen-bit. To use the low-precision tensor cores, you have to quantize the activations as well, and that's much harder, for one reason: outliers.
68
 
69
- Large language models develop a few activation channels with enormous values, sometimes tens of thousands of times larger than typical. A four-bit integer format has only sixteen levels. If one channel is a thousand times larger than the rest, its scale swallows everything, and the ordinary channels all round to zero.
70
 
71
- The fixes form a lineage. SmoothQuant divides each activation channel by a factor and multiplies the corresponding weights by the same factor, so the product is unchanged but the difficulty moves from activations to weights. That works well at eight bits. At four bits, the field turned to rotations. QuaRot multiplies the activations by a random Hadamard matrix, which spreads every outlier across all channels, and applies the inverse rotation to the weights, so the network's output is unchanged. This is the same computational-invariance trick SliceGPT uses, and it's training-free. SpinQuant learns the rotation instead of using a random one, by gradient descent on a small calibration set. FlatQuant goes further and learns a general affine transform per layer.
72
 
73
- The current results look like this. FlatQuant is the strongest widely replicated result at four-bit weights and four-bit activations. On Llama three eight billion it reaches a perplexity of about seven and a zero-shot average of seventy-one, against about six point one and seventy-three for the original, and its calibration takes about an hour for eight billion and six for seventy. On the same model, QuaRot with plain rounding sits near ten and a half, and SpinQuant between seven and a half and eight. A method called PrefixQuant shows that much of the outlier problem comes from a few specific tokens, and removes it with a training-free step that takes about a minute.
74
 
75
- So four-bit activations are close, but not lossless, and the closer you get, the more calibrated optimisation you need. A study of reasoning under quantization recommends FlatQuant for four-bit weights and activations, AWQ for weight-only, and QuaRot for the attention cache.
76
 
77
- One more method belongs here because it attacks the shared objective directly. GPTAQ changes a single thing in GPTQ: instead of making the quantized layer match the original layer on the original inputs, it makes the quantized layer, fed its actual, already-quantized inputs, match what the original model would have produced. In other words, each layer corrects the errors of the layers before it. It's closed-form, adds about twenty lines of code, and runs on one GPU. On the four-hundred-billion-parameter Llama, quantized to four-bit weights and activations, it cut perplexity from nearly six to about three and a half compared with GPTQ.
78
 
79
  ## The hardware formats
80
 
81
- The newest GPUs push the choice toward specific formats, and the evidence on them is clearer than the marketing.
82
 
83
- Eight-bit floating point, for both weights and activations, is effectively lossless. If your hardware supports it, it's the safe default.
84
 
85
- Four-bit floating point comes in two flavours: the industry microscaling format, MX-FP-four, with a shared scale per thirty-two values, and NVIDIA's NV-FP-four, with a finer scale per sixteen values. A careful study published at ICLR this year found they are not equivalent. On a Llama three point one eight-billion instruction model at four-bit weights and activations, NV-FP-four with GPTQ-style rounding recovered about ninety-six percent of the original accuracy. MX-FP-four with plain rounding recovered under eighty-eight, and with a QuaRot rotation, under eighty. The finer scale groups of NV-FP-four absorb much of what rotations were doing, so rotations stop helping and can even hurt.
86
 
87
- The authors' summary is worth quoting: four-bit floating point is not an automatic upgrade over four-bit integers. A hypothetical integer format with the same fine scales did slightly better still. With good kernels, these formats give about a two-times end-to-end speedup on the newest data-centre GPUs.
88
 
89
  ## Compressing the attention cache
90
 
91
- For long contexts and big batches, the largest memory cost is often not the weights at all, but the attention cache: the stored keys and values for every previous token. It grows with context length and batch size, and it's read on every decoding step.
92
 
93
- The cache compresses well without training. KIVI quantizes keys per channel and values per token to two bits, needs no tuning, and reported over two and a half times less peak memory and roughly two and a half to three and a half times higher throughput. KVQuant reaches under a tenth of a perplexity point of loss at three bits, calibrated on just sixteen samples. And a recent method called TurboQuant, which is data-oblivious, matched the full-precision cache on a long-context benchmark at three and a half bits and lost only a little at two and a half.
94
 
95
- There's an important caution from the systems side, though. A 2026 benchmark found that the compression ratio of a cache method doesn't reliably predict its end-to-end speed. Quantizing the cache saves memory, but adds conversion work on every attention step, and at small batch sizes a four-bit cache has been measured to be slower than a sixteen-bit one. The win is real at long context and large batch, which is exactly where you need it.
96
 
97
  ## Pruning individual weights
98
 
99
  Now the second family: setting weights to zero.
100
 
101
- The baselines are SparseGPT, which applies the Optimal Brain Surgeon update while pruning, and Wanda, which simply ranks each weight by its magnitude times the norm of its input activation, with no update at all. Wanda's simplicity is the point: one pass, no Hessian inverse, and results close to SparseGPT's at moderate sparsity.
102
 
103
- The biggest improvements since then have come not from better scoring but from better allocation. OWL observed that layers with more activation outliers are more sensitive, and gave them lower sparsity, with higher sparsity elsewhere. At seventy percent sparsity on a seven-billion model, that took Wanda's perplexity from about eighty-six down to about twenty-five. Methods like DSnoT, which iteratively swaps pruned and kept weights, and ALPS, which solves the layer problem more exactly, improve on that further.
104
 
105
- But two facts keep weight pruning from competing with quantization. The first is quality at equal memory: a recent benchmark on Llama three point one eight billion found four-bit quantization kept essentially all of the model's knowledge-test performance, while fifty-percent pruning kept under ninety percent. And both lost far more on reasoning than on knowledge.
106
 
107
- The second is speed. Unstructured sparsity barely speeds anything up on GPUs, because the zeros are scattered. The two-out-of-four pattern, where exactly two of every four consecutive weights are zero, does run on sparse tensor cores, but the measured gains are modest: about one and a half times on individual matrix multiplies and far less end to end, and they shrink at realistic batch sizes. In March of this year, vLLM removed its two-out-of-four kernels as not widely used. Sparsity's best case now is stacking with quantization: a combined four-bit, two-out-of-four kernel reached about three times end to end.
108
 
109
  ## Narrower and smaller matrices
110
 
111
- The third family removes structure: whole dimensions, rows, columns, or replaces matrices with low-rank products, so that every remaining matrix is smaller and dense, and runs on ordinary kernels.
112
 
113
- SliceGPT is the clearest example, so let's take a moment on it. It relies on computational invariance: in a transformer with RMS normalisation, you can multiply the residual stream by any orthogonal matrix, and multiply the adjacent weights by its transpose, without changing the network's output. SliceGPT chooses that matrix, layer by layer, from the principal components of the residual stream on calibration data, then deletes the directions with the least variance. Every matrix that touches the residual stream shrinks. The cost is a small extra matrix on each residual connection, to translate between neighbouring layers' bases.
114
 
115
- On its own terms it works: slicing a quarter of the residual dimension of the seventy-billion Llama two raised perplexity from about three point three to about four point six, and let the model run on three GPUs instead of four. But next to four-bit quantization, which costs almost nothing in quality for a larger memory saving, that's a weak trade. And its speedups were modest: about eleven to seventeen percent lower latency for a single request, with the real benefit being fewer GPUs.
116
 
117
- Its successors fix the quality problem. MoDeGPT decomposes each module jointly with methods matched to its structure, and at thirty percent compression on Llama two seven billion, it reached a perplexity of about seven and a half against SliceGPT's ten and a half, and a zero-shot average about seven points higher. On Llama three eight billion at twenty-five percent, the zero-shot gap was nearly eighteen points.
118
 
119
- Low-rank methods replace each weight matrix with a product of two thinner ones. The key improvement was to make the decomposition activation-aware: SVD-LLM whitens the weights by the activation covariance before truncating, so the discarded singular values correspond exactly to output error. Its second version is the training-free leader, reaching a perplexity of about eight on Llama three eight billion at twenty percent compression, against about six for the original, and measured speedups from about one point three times at twenty percent compression to about two point seven at eighty.
120
 
121
- There's a systems trap in this whole family. A narrower matrix is only faster if its new dimension suits the hardware. GPU tensor cores work in tiles, and a dimension that isn't a multiple of eight, or better sixty-four, can erase the speedup entirely. One study found a low-rank method at fifteen percent compression with no speedup at all, and a width-pruning method thirty-eight percent slower than the original, purely from awkward dimensions. Rounding to aligned sizes recovered up to one and a half times.
122
 
123
  ## Removing layers and experts
124
 
125
- The coarsest family removes whole layers. Methods like ShortGPT, LaCo and SLEB measure how much each layer changes its input, and delete the least useful ones. This gives the cleanest real speedup of all, close to linear in the fraction removed: about one and a quarter times at twenty percent of layers and about one and a half at thirty-five. But without retraining, quality suffers more than with width methods, especially on generation, and one study found depth pruning particularly harms reasoning that relies on long chains of thought.
126
 
127
- Mixture-of-experts models offer a gentler version: remove whole experts. The current leader is a method called REAP, which scores each expert by how strongly the router selects it, times how large its output is. Across models from twenty billion to a trillion parameters, it clearly beat merging similar experts together: on coding tasks, removing a quarter of the experts lost under two percent, against over five percent for merging, and removing half lost about seven percent, against over twenty. One sharp caveat: the calibration data has to match the domain. Calibrating on general web text and then evaluating on code lost essentially everything.
128
 
129
  ## The verdict at equal memory
130
 
131
- So, putting the families side by side at equal memory, three independent benchmark studies agree: four-bit weight-only quantization beats every pruning method. Low-rank and structured methods sit in between, and are worth it mainly when your hardware has no good low-bit kernels, when you want the result to stay a smaller dense model, or when you stack them with quantization.
132
 
133
- Two more findings hold across every family. Knowledge-style multiple-choice benchmarks barely move under compression, while reasoning and long generation move a lot, so a compression paper that reports only multiple-choice accuracy is telling you the least important number. And there is no single leaderboard: papers copy each other's baseline numbers, define compression ratios differently, and evaluate at different context lengths. The same SliceGPT setting appears as a perplexity of seven point seven in one paper and eight point two in another. Only comparisons within a single table are safe.
134
 
135
- ## Where it actually gets faster
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
 
137
- A short tour of real speedups, because quality is only half the story.
138
 
139
- Four-bit weight-only quantization with good kernels gives close to four times faster matrix multiplies at small batch sizes, falling toward one and a half at a batch of around a hundred and twenty-eight, and up to nearly three times end to end in a serving engine. A large study estimated two to three times lower cost per query at about ninety-nine percent of the accuracy. Four-bit weights and activations, with rotations, give two to three times faster prompt processing and three to four times less peak memory. Eight-bit floating point is close to free in quality and is supported everywhere. Two-out-of-four sparsity gives about one and a half times at best. Depth pruning gives near-linear speedups. Width and low-rank methods give modest speedups, if and only if the dimensions are aligned.
140
 
141
- On deployability, the major serving engines all support the main weight-only formats, eight-bit floating point, and four-bit floating point on new hardware. None of them supports a sliced model out of the box; you'd need a custom model class. And here's a gap worth noticing: I found no benchmark that runs every family through one serving engine on one GPU. That benchmark would settle a lot of arguments.
 
 
 
 
 
 
 
 
 
 
142
 
143
  ## Improving it statistically
144
 
145
- Now the part I find most interesting, because it's where a statistician has the most to add. Training-free compression is, at heart, an estimation problem: we estimate a few large matrices from a small, dependent sample, then make a decision based on them. The field mostly treats those estimates as exact. Here are the places where better statistics should help. Some have published results; others are my own proposals, and I'll say which.
146
 
147
- The first problem is the objective. Each layer is compressed to match its own outputs, not to preserve the model's loss. SliceGPT's version of this is especially clear: principal component analysis keeps the directions with the most variance, but the error that matters is variance weighted by how much the next layers amplify it. Plain PCA is optimal only if the next layer treats all directions equally, which it doesn't. Whitening-based methods like SVD-LLM fix this for low-rank compression: whitening by the activation covariance makes truncation exactly equivalent to minimising output error, which is a reduced-rank regression. Fisher-weighted decompositions go a step further toward the actual loss. And GPTAQ, which we met earlier, addresses error propagation between layers by calibrating each layer on the already-compressed inputs it will really receive. A statistician would recognise that as an errors-in-variables regression: the predictors themselves are noisy, and ignoring it biases the fit.
148
 
149
- The second problem is how much data we really have. A typical calibration set is about a thousand sequences of two thousand tokens, and the layer dimension is four to eight thousand. If the tokens were independent, two million samples for a four-thousand-dimensional covariance would be plenty. But tokens within a sequence are strongly correlated, so the effective sample size lies somewhere between the number of sequences and the number of tokens, and it's rarely measured. My own back-of-envelope: if the effective sample size is closer to the sequence count, the ratio of dimension to samples is about four, which is deep in the regime where random matrix theory says sample eigenvalues are biased, and small eigen-directions are essentially noise. If it's closer to the token count, the estimates are fine. That single unknown decides whether the bottom of the spectrum, exactly the part slicing and low-rank methods throw away, is being estimated or invented.
150
 
151
- Third, shrinkage. GPTQ already adds a small multiple of the identity to its Hessian before inverting it, which is a crude shrinkage estimator. A principled version, such as Ledoit-Wolf shrinkage, would choose that amount from the data. But note a subtlety, again my own reasoning: shrinking toward a multiple of the identity changes eigenvalues but not eigenvectors, so it helps methods that invert the matrix, like GPTQ and whitening, but does nothing for methods that only use its principal directions, like SliceGPT. Those need a different target or a robust estimator.
152
 
153
- Fourth, heavy tails. Activations contain a few enormous outliers, which dominate any sample covariance. Robust estimators exist, but the classic ones are too expensive at this dimension. Cheaper options, which I'd propose rather than cite, include estimating the covariance on token-normalised activations, which matches what RMS normalisation does anyway, and keeping the outlier channels in a small, always-retained subspace, rather than letting them distort the estimate of everything else. Notably, the outliers shouldn't simply be clipped, because they carry real function in the model.
154
 
155
- Fifth, calibration design. The choice of calibration text matters more than most papers admit. Several studies show domain effects, and one 2026 study found that simply redrawing the calibration sample reversed the ranking of GPTQ and AWQ. Expert pruning on code with web-text calibration failed completely. Practical recipes include mixing calibration domains deliberately, or choosing weights to protect the worst-off domain, a maximin version of the objective.
156
 
157
- Sixth, uncertainty. Every compressed model is a decision made from a random sample, yet no method reports how stable that decision is. A cheap proposal: compute the calibration statistics per group of sequences, then resample those groups, by jackknife or bootstrap, and report a confidence interval on the quantities that matter, like the variance retained or the error at each layer's chosen size. The cut point itself can be chosen with tools statisticians already have, such as parallel analysis or the Gavish-Donoho optimal threshold for singular values. To my knowledge no published work applies these formally to SliceGPT-style compression, so this is genuinely open.
158
 
159
- And seventh, allocation. The biggest single improvement in weight pruning came from giving different layers different budgets, which is OWL's contribution. The general version is a constrained optimisation: estimate each layer's error as a function of how much you compress it, then choose the per-layer budgets to minimise total error under a size constraint, a knapsack or Lagrangian problem. Using bootstrap-stabilised sensitivity estimates there, rather than single noisy ones, is another of my proposals.
160
 
161
- ## Improving it for efficiency
162
 
163
- On the systems side, the improvements are more concrete.
164
 
165
- Align every compressed dimension to the hardware's tile sizes; it's free and can be the difference between a speedup and a slowdown. Prefer formats the hardware runs natively, eight-bit floating point everywhere and four-bit floating point with fine-grained scales on the newest GPUs, over formats that need software decoding. Stack compatible methods: quantization with structured compression, or quantization with cache compression, each targeting a different cost. Make the compression procedure itself cheaper: SliceGPT spends about three and a half hours on one GPU for seventy billion parameters, mostly on eigendecompositions in double precision, which randomized or streaming methods could cut. And build serving support for the structural methods; until a sliced or low-rank model loads in a standard engine, it remains a research artefact.
166
 
167
  ## What to remember
168
 
169
- Let me close with the key ideas.
170
-
171
- Training-free compression means no retraining of weights, but it spans three tiers, from data-free rounding to calibrated optimisation of rotations, and fair comparisons stay within a tier. Nearly all methods share one objective: make each compressed layer reproduce its original outputs on calibration data, with the input second-moment matrix as the Hessian. Four-bit weight-only quantization is solved and is the default. Two bits is a frontier, led by trellis codes, and a gently quantized small model often beats a brutally quantized large one. Four-bit activations work with rotations or learned transforms but aren't lossless. Eight-bit floating point is free, and four-bit floating point needs fine-grained scales. The attention cache compresses well at three to four bits. Weight pruning, structured slicing, low-rank, and depth removal all lose to quantization at equal memory, and are best used where quantization can't go, or stacked on top of it. And the statistics underneath, effective sample size, heavy tails, calibration design, uncertainty and allocation, are mostly unaddressed, which makes them the most promising place to improve.
172
 
173
  ## Self-check questions
174
 
175
- Eight questions, with brief answers.
176
 
177
  One. What are the three tiers of training-free compression? Data-free, calibration-only with closed-form computation, and calibrated optimisation of auxiliary parameters such as rotations, with the weights frozen.
178
 
179
  Two. What objective do most methods share, and what matrix sits at its heart? Matching each compressed layer's outputs to the original on calibration data; the second-moment matrix of the layer's inputs, which acts as the Hessian.
180
 
181
- Three. Why are activations harder to quantize than weights, and how do rotations help? A few channels carry huge outliers that swamp a four-bit scale; an orthogonal rotation spreads them across all channels, while computational invariance keeps the network's output unchanged.
182
 
183
- Four. Why can a two-bit seventy-billion model lose to a four-bit seven-billion one? At two bits the quantization error is large enough to outweigh the bigger model's advantage; at a fixed memory budget, gentle compression of a smaller model can win.
184
 
185
- Five. Why don't rotations help NVIDIA's four-bit floating-point format much? Its scale is shared by only sixteen values, so the fine-grained scaling already absorbs most of the outlier problem that rotations were solving.
186
 
187
  Six. What does GPTAQ change about GPTQ? It calibrates each layer on the inputs it will actually receive from the already-quantized earlier layers, so it corrects propagated errors, at almost no extra cost.
188
 
189
- Seven. Why might the bottom of an activation spectrum be unreliable? Tokens within a sequence are correlated, so the effective sample size may be close to the number of sequences, putting the estimate in the regime where small eigenvalues and their directions are mostly noise.
 
 
 
 
190
 
191
- Eight. Why can a narrower matrix fail to run faster? If its new dimension isn't aligned to the GPU's tile sizes, the kernel wastes work or falls back to slower paths, and the speedup can vanish or reverse.
192
 
193
  That's the state of training-free compression. Thanks for listening.
 
2
 
3
  ### The state of the art in training-free model compression, and where it goes next
4
 
5
+ *About forty minutes spoken. A survey lecture, built from a literature review of papers up to late twenty twenty-six, and updated in October with a uniform head-to-head study of nineteen of these methods under one protocol. Numbers are rounded; exact tables are in the review notes. Where a claim is my own reasoning rather than a published result, I'll say so.*
6
 
7
  ---
8
 
 
10
 
11
  Suppose someone hands you a trained language model with seventy billion parameters, and asks you to make it cheaper to run. You have a few GPUs for an afternoon, a few hundred example documents, and no budget to retrain anything. What can you do, and what is the best anyone has managed?
12
 
13
+ That is the question of training-free compression. Training-free methods take the model as it is, look at how it behaves on a small amount of calibration text, and produce a smaller or cheaper model in minutes to hours.
14
 
15
+ There are four broad families. Quantization stores the numbers with fewer bits. Pruning deletes individual weights. Structured compression removes whole rows, columns or dimensions, or replaces a matrix with a low-rank approximation. And depth or expert removal deletes entire layers, or entire experts in a mixture-of-experts model.
16
 
17
  The lecture has a verdict, so let me give it now and then earn it. At equal memory, quantization wins, clearly, and four-bit weight-only quantization is essentially a solved problem. The other families earn their place only in specific situations, or stacked on top of quantization. And the most interesting open problems are statistical ones that the field has mostly ignored.
18
 
19
+ Later on we'll meet a uniform study that put nineteen training-free methods through one identical protocol. Most of the verdict survives it, and the study sharpens it in several places.
20
+
21
  ## What training-free actually means
22
 
23
+ The phrase hides three different things, and papers blur them.
24
 
25
+ The strictest tier is data-free: you compress using nothing but the weights themselves. Rounding every weight to the nearest four-bit value is data-free. So is a method called HIGGS, which we'll meet shortly, and so is rounding to NVIDIA's four-bit floating-point format.
26
 
27
  The middle tier is calibration-only. You run a few hundred sequences of text through the model, record the activations, and use them in a closed-form computation: a least-squares solve, an eigendecomposition, a scaling rule. No gradients, no optimiser. GPTQ, AWQ, SparseGPT, Wanda and SliceGPT all live here.
28
 
29
+ The loosest tier is calibrated optimisation. The weights are frozen, but small auxiliary parameters, such as a rotation, an affine transform or a rounding offset, are learned by gradient descent on the calibration data. SpinQuant and FlatQuant are the best-known examples. They don't retrain the model, but they do run an optimiser, and some papers explicitly mark them as not fine-tuning-free.
30
 
31
+ Keep the tiers in mind, because comparisons across them are often unfair. A method that runs gradient descent for six hours will usually beat one that solves a closed form in twenty minutes, and the honest question is whether it's worth the difference.
32
 
33
  ## The objective almost every method shares
34
 
35
+ Before the families, one idea unites nearly all of them, and it's also where the statistics comes in.
36
 
37
+ Most training-free methods compress one layer at a time. For a linear layer with weights W, they collect the inputs X that layer sees on the calibration data, and look for a compressed matrix, call it W-hat, that makes W-hat times X as close as possible to W times X. That's a least-squares problem over the calibration activations.
38
 
39
+ Expand that squared error and a single matrix appears: X times its own transpose, the second-moment matrix of the layer's inputs. Up to a factor of two, that is the Hessian of the layer's reconstruction error, and the same matrix serves every row of weights. It's the hero of this whole field: it tells you which input directions the layer actually sees, and how strongly.
40
 
41
+ This is the old Optimal Brain Surgeon idea from the early nineties, applied one layer at a time. Remove or round a weight, then use the inverse of the Hessian to adjust the remaining weights so they compensate. GPTQ does exactly this for quantization: it rounds one column at a time, and after each column it updates the columns not yet rounded to absorb the error. SparseGPT does the same for pruning. And SliceGPT, which deletes principal directions of the residual stream, is computing an eigendecomposition of essentially the same matrix.
42
 
43
+ Hold on to that objective, because the field's most important limitations come from it. It is a layer-by-layer proxy. It ignores how errors in one layer change the inputs to the next. It ignores what the model's actual loss cares about. And it depends entirely on how well a calibration set of a hundred or so sequences, a few hundred thousand tokens in all, estimates a matrix with tens of millions of entries.
44
 
45
  ## Weight-only quantization: four bits is solved
46
 
47
  Start with the simplest and most successful family: store each weight in fewer bits, keep the activations in sixteen-bit, and convert the weights back on the fly inside the matrix-multiply kernel.
48
 
49
+ At four bits per weight, this works. The reference is a large evaluation of the Llama three point one family, from eight billion up to four hundred and five billion parameters. It found that four-bit weight-only quantization recovers about ninety-nine point four percent of the original accuracy on average across the standard academic benchmarks. On a harder suite, it recovered about ninety-six percent for the eight-billion model and ninety-seven for the seventy-billion. Studies focused on reasoning tasks find drops of about one percent or less. The standard tools are GPTQ and AWQ, with a group of a hundred and twenty-eight weights sharing each scale, and they run in minutes to a couple of hours.
50
 
51
+ Even data-free methods come close. HIGGS uses a random Hadamard rotation to make the weights look Gaussian, then rounds them to a grid designed for Gaussian data. At about four bits it matches or slightly beats GPTQ on perplexity in its own paper's table, without seeing a single calibration token.
52
 
53
+ One caution. Plain GPTQ with one scale per output channel, rather than per group, can fail badly on some newer models. One recent paper reports the seventy-billion Llama three model jumping to a perplexity of about twenty-seven at four bits that way, against under three for the original. Group-wise scales or a rotation fix it.
54
 
55
  ## Three bits and two bits: where the frontier is
56
 
57
  Below four bits, the methods separate.
58
 
59
+ At three bits, the leaders are QTIP and a newer method called KronQ. QTIP, which you may remember from the trellis lecture, uses a trellis code over rotated weights. On the eight-billion Llama three model it reaches a perplexity of about six, against five and a half for the original.
60
 
61
+ At two bits, quality is still the hard problem. QTIP leads among methods that don't fine-tune: on the seven-billion Llama two model it reaches a perplexity of about six point eight, against about five point one for the original. That is competitive with the older vector-quantization methods, QuIP-sharp and AQLM, even when those are allowed to fine-tune. Those methods are expensive: published figures put QuIP-sharp at about two hundred and seventy GPU-hours and AQLM at over three hundred for a seventy-billion-parameter model. KronQ needs just one backward pass over the calibration set and only a hundred and twenty-eight calibration samples. It gets the seventy-billion Llama three model to a perplexity of about eight at two bits, against under three for the original, though that's a single group's result.
62
 
63
+ A sobering comparison. One benchmark found that, with the older two-bit method it tested, a seventy-billion model did worse than a seven-billion model at four bits. And the two-bit model takes roughly five times the memory. Better two-bit methods like QTIP do much better at seventy billion, so two-bit results depend heavily on the method. But the direction is worth remembering: a gently quantized smaller model can beat a brutally quantized larger one.
64
 
65
+ One more cross-cutting finding: newer models are harder to quantize. Models trained on more tokens, like Llama three and Qwen three, and reasoning models in particular, lose more at the same bit width. In one study at three bits under AWQ, the eight-billion-parameter Qwen three model more than doubled its perplexity. The eight-billion Llama three model rose by about a quarter.
66
 
67
  ## Quantizing activations too
68
 
69
  Weight-only quantization saves memory and speeds up decoding, but the arithmetic still happens in sixteen-bit. To use the low-precision tensor cores, you have to quantize the activations as well, and that's much harder, for one reason: outliers.
70
 
71
+ Large language models develop a few activation channels with enormous values, sometimes tens of thousands of times larger than typical. A four-bit integer format has only sixteen levels. If one channel is a thousand times larger than the rest and they all share one scale, that scale is set by the outlier, and the ordinary channels all round to zero.
72
 
73
+ SmoothQuant divides each activation channel by a factor and multiplies the corresponding weights by the same factor, so the product is unchanged but the difficulty moves to the weights. That works well at eight bits. At four bits, the field turned to rotations. QuaRot, which is training-free, multiplies the activations by a random Hadamard matrix, which spreads every outlier across all channels, and applies the inverse rotation to the weights, so the network's output is unchanged. Why this helps is simple geometry: a rotation preserves length, so one huge channel becomes many moderate ones, each shrunk by about the square root of the number of channels, and rounding error depends on the ratio of the largest entry to a typical one, not on the length. SpinQuant learns the rotation by gradient descent on a small calibration set instead of drawing it at random. FlatQuant goes further and learns a general affine transform per layer.
74
 
75
+ The current results: FlatQuant and PrefixQuant are among the strongest widely replicated integer results at four-bit weights and four-bit activations. On the eight-billion Llama three model, FlatQuant reaches a perplexity of about seven, against six point one for the original. Its zero-shot average is seventy-one, against seventy-three. On the same model, QuaRot with plain rounding sits near ten and a half, and SpinQuant between seven and a half and eight. PrefixQuant instead pins the few specific tokens that cause much of the outlier problem, a training-free step that takes about a minute.
76
 
77
+ So four-bit activations are close, but not lossless, and the closer you get, the more calibrated optimisation you need.
78
 
79
+ One more method attacks the shared objective directly. GPTAQ changes a single thing in GPTQ: the quantized layer, fed its actual, already-quantized inputs, is made to match what the original model would have produced, so each layer corrects the errors of the layers before it. It's closed-form and cheap. On the four-hundred-and-five-billion Llama at four-bit weights and activations, GPTQ gave a perplexity of nearly six. GPTAQ cut that to about three and a half, against about one and a half for the original.
80
 
81
  ## The hardware formats
82
 
83
+ The newest GPUs push the choice toward specific formats.
84
 
85
+ Eight-bit floating point, for both weights and activations, is effectively lossless on the GPUs that support it, and is the safe default there.
86
 
87
+ Four-bit floating point comes in two flavours: the industry microscaling format, MX-FP-four, with a shared scale per thirty-two values, and NVIDIA's NV-FP-four, with a finer scale per sixteen values. A careful study published at I-C-L-R this year found they are not equivalent. The test model was the eight-billion-parameter instruction model from Llama three point one, at four-bit weights and activations. NV-FP-four with GPTQ-style rounding recovered about ninety-six percent of the original accuracy. MX-FP-four with plain rounding recovered under eighty-eight, and with a QuaRot rotation, under eighty. The authors' reading, which I find plausible, is that the finer scale groups of NV-FP-four absorb much of what rotations were doing: an outlier then only spoils the sixteen values that share its scale, and a rotation that smears it into every group can make things worse for the rest. One caution: NV-FP-four also uses a finer, non-power-of-two scale, so the comparison doesn't isolate group size alone.
88
 
89
+ Their summary: four-bit floating point is not an automatic upgrade over four-bit integers. With good kernels, these formats give about a two-times end-to-end speedup on the newest data-centre GPUs.
90
 
91
  ## Compressing the attention cache
92
 
93
+ For long contexts and big batches, the largest memory cost is often not the weights but the attention cache: the stored keys and values for every previous token, read on every decoding step.
94
 
95
+ The cache compresses well without training. KIVI quantizes keys per channel and values per token to two bits, with no tuning. It reported over two and a half times less peak memory and roughly two and a half to three and a half times higher throughput. KVQuant reaches under a tenth of a perplexity point of loss at three bits, calibrated on just sixteen samples.
96
 
97
+ The systems caution: a twenty twenty-six benchmark found that a cache method's compression ratio doesn't reliably predict its end-to-end speed. Quantizing the cache saves memory but adds conversion work on every attention step, and at small batch sizes a four-bit cache has been measured to be slower than a sixteen-bit one. The win is real at long context and large batch, which is exactly where you need it.
98
 
99
  ## Pruning individual weights
100
 
101
  Now the second family: setting weights to zero.
102
 
103
+ The baselines are SparseGPT, which applies the Optimal Brain Surgeon update while pruning, and Wanda, which simply ranks each weight by its magnitude times the norm of its input activation, with no update at all, and comes close to SparseGPT at moderate sparsity.
104
 
105
+ Some of the biggest improvements since then have come from allocation rather than scoring. OWL observed that layers with more activation outliers are more sensitive, and gave them lower sparsity, with higher sparsity elsewhere. At seventy percent sparsity on a seven-billion model, Wanda's perplexity was about eighty-six. OWL took it down to about twenty-five.
106
 
107
+ But two facts keep weight pruning from competing with quantization. The first is quality at equal memory. In a recent benchmark on the eight-billion model from Llama three point one, four-bit quantization kept essentially all of the model's knowledge-test performance, while fifty-percent pruning kept under ninety percent. Both lost more on reasoning than on knowledge, though how much a four-bit model loses on reasoning varies a lot from study to study.
108
 
109
+ The second is speed. Unstructured sparsity barely speeds anything up on GPUs, because the zeros are scattered. The two-out-of-four pattern, exactly two zeros in every four consecutive weights, does run on sparse tensor cores, but the gains are modest: about one and a half times on individual matrix multiplies, far less end to end, and shrinking at realistic batch sizes. In March of this year, V-L-L-M removed its two-out-of-four kernels as not widely used. Sparsity's best case now is stacking with quantization: a combined four-bit, two-out-of-four kernel reached up to about three times end to end.
110
 
111
  ## Narrower and smaller matrices
112
 
113
+ The third family removes structure: whole dimensions, rows or columns, or replaces matrices with low-rank products, so that every remaining matrix is smaller and dense, and runs on ordinary kernels.
114
 
115
+ SliceGPT is the clearest example. It relies on computational invariance: in a transformer with RMS normalisation, once the norm's learned scale has been folded into the neighbouring weights, you can multiply the residual stream by any orthogonal matrix, and the adjacent weights by its transpose, without changing the network's output, because an orthogonal matrix leaves a vector's length unchanged and the normalisation can't tell. SliceGPT chooses that matrix, layer by layer, from the principal components of the residual stream on calibration data, then deletes the directions with the least variance. The cost is an extra square matrix on each residual connection, as wide as the sliced residual stream, to translate between neighbouring layers' bases.
116
 
117
+ On its own terms it works. Slicing a quarter of the residual dimension of the seventy-billion Llama two raised perplexity from about three point three to about four point six. It also let the model run on three GPUs instead of four. But next to four-bit quantization, which costs almost nothing in quality for a larger memory saving, that's a weak trade. And its speedups were modest: eleven to seventeen percent lower latency for a single request, with the real benefit being fewer GPUs.
118
 
119
+ Successors such as MoDeGPT report much better quality at the same ratio in their own tables. At thirty percent compression on the seven-billion Llama two model, MoDeGPT reached a perplexity of about seven and a half. SliceGPT's was ten and a half.
120
 
121
+ Low-rank methods replace each weight matrix with a product of two thinner ones. The key improvement was to make the decomposition activation-aware: SVD-LLM whitens the weights by the activation covariance before truncating, so the discarded singular values correspond exactly to output error. Its second version is reported as the training-free leader in its own tables. On the eight-billion Llama three model at twenty percent compression, it reaches a perplexity of about eight. The original is about six. Hold that ranking loosely; the uniform study later in this lecture puts a different low-rank method first.
122
 
123
+ There's a systems trap in this whole family. A narrower matrix is only faster if its new dimension suits the hardware. A dimension that isn't a multiple of eight, or better sixty-four, can erase the speedup entirely. One study found a low-rank method at fifteen percent compression with no speedup at all, and a width-pruning method thirty-eight percent slower than the original, purely from awkward dimensions. Rounding to aligned sizes recovered up to one and a half times.
124
 
125
  ## Removing layers and experts
126
 
127
+ The coarsest family removes whole layers. Methods like ShortGPT, LaCo and SLEB delete or merge the layers that matter least. This gives the cleanest real speedup of all, close to linear in the fraction removed. At batch size one, removing a fifth of the layers gave about one and a quarter times faster decoding. Removing a third gave about one and a half. Without retraining, quality tends to suffer more than with width methods, especially on generation, although the comparisons are mixed, and one study found depth pruning particularly harms reasoning that relies on long chains of thought.
128
 
129
+ Mixture-of-experts models offer a gentler version: remove whole experts. The current leader is REAP, which scores each expert by how strongly the router selects it, times how large its output is. It clearly beat merging similar experts on generative tasks such as coding. Removing a quarter of the experts lost under two percent on coding, against over five percent for merging. Removing half lost about seven percent, against over twenty. One sharp caveat: the calibration data has to match the domain. Calibrating on general web text and then evaluating on code lost essentially everything. And a second caveat: deleting experts shrinks the model on disk, but not necessarily what each token reads. The uniform study later makes that concrete, and on perplexity it also ranks pruning and merging the other way round.
130
 
131
  ## The verdict at equal memory
132
 
133
+ Putting the families side by side at equal memory, three independent benchmark studies agree: four-bit weight-only quantization beats every pruning method. Low-rank and structured methods sit in between, and are worth it mainly when your hardware has no good low-bit kernels, when you want the result to stay a smaller dense model, or when you stack them with quantization.
134
 
135
+ Two more findings hold across every family. Knowledge-style multiple-choice benchmarks barely move under compression, while reasoning and long generation move a lot, so a paper that reports only multiple-choice accuracy is telling you the least important number. And there is no single leaderboard: papers copy each other's baseline numbers, define compression ratios differently, and evaluate at different context lengths. The same SliceGPT setting appears as a perplexity of seven point seven in one paper and eight point two in another. Only comparisons within a single table are safe, which is why the next chapter's study was worth running.
136
 
137
+ ## A uniform head-to-head study
138
+
139
+ The study took two models from the Qwen three family. One is a small dense model with one point seven billion parameters. The other is a mixture-of-experts model with thirty billion parameters, of which about three billion are active for each token. It covered nineteen training-free methods across the two models, with one calibration set and one evaluation protocol for every point. Perplexity was measured on WikiText and on the C-four web corpus. Each method was asked to remove a fifth, about a third, or half of the bytes in the model's linear layers. Every point was measured twice: on its own in sixteen-bit, and stacked with four-bit microscaling, the MX-FP-four format we met earlier. The whole thing came to about a hundred and sixty verified results, in about three and a half hours of rented GPU time, for under twenty dollars. A few things weren't run: one method at the two larger budgets and a search method called DarwinLM, for lack of time, and two mixture-of-experts variants.
140
+
141
+ The results were ranked on decode bytes per token: how many bytes of weights the hardware must read to generate each new token. At small batch, decoding is limited by memory traffic, so time tracks bytes read; as the batch grows, the hardware becomes compute-limited and byte savings stop translating into speed. The measure also leaves out the attention cache, which at long context can dominate. Stored bytes, the size of the model on disk, were reported alongside, and the gap between the two is one of the study's main lessons.
142
+
143
+ The starting points: the dense model scores a C-four perplexity of about twenty-two point four, rising to about twenty-six with plain four-bit microscaling. The mixture-of-experts model scores about fourteen, rising to about fifteen and a half.
144
+
145
+ Now the seven findings.
146
+
147
+ First, unstructured sparsity is the strongest of the removal families, as measured by perplexity. SparseGPT, with Wanda close behind, removed a fifth of the dense model's linear bytes for essentially no change in perplexity. A third cost around six percent. Half cost about thirty. On the mixture-of-experts model the costs were smaller still: about three percent at a third. At half, about ten. But there's a catch. Those savings only become real bytes if the hardware stores and executes a sparse format; on hardware that stores zeros densely, you've saved nothing. And a sparse format has to record where the survivors are. Take a simple one-bit mask at half sparsity. In sixteen-bit, that's nine bits per original weight against sixteen. In four-bit, it's three against four. So a halving becomes a cut of about a quarter, before counting the scales. And the structured patterns that hardware does support, two out of four and four out of eight, were clearly worse: at half sparsity, two-out-of-four SparseGPT nearly doubled the perplexity.
148
+
149
+ Second, and this is the finding I'd underline: on the dense model, no structured, low-rank or weight-sharing method beat simply using a smaller model from the same family. The six-hundred-million-parameter Qwen three model is about three times smaller than the one point seven billion model. It scores a perplexity of about thirty. The best structured methods, removing only a fifth of the bytes, landed at about thirty to thirty-six. So they paid the same quality, or worse, for far less compression. Beyond a fifth, almost every structured or low-rank method more than tripled the original perplexity. If a smaller sibling of your model exists, that's the baseline any structured compression has to beat, and at this scale none did.
150
+
151
+ Third, on the mixture-of-experts model, the cheapest saving in decode bytes was simply activating fewer experts per token. The model normally routes each token to eight experts. Cutting that to six, in a variant the study labels L-D-A, cost under one percent of perplexity for about a seventh fewer decode bytes. Cutting to five cost under two and a half percent for a little over a fifth fewer. Stacked with four-bit microscaling, five experts per token cut decode bytes to just over a fifth of the original. The perplexity was about sixteen, against fifteen and a half for microscaling alone and fourteen for the original. In sixteen-bit, unstructured sparsity was slightly better than cutting experts, but it lost that advantage under four-bit microscaling, because the mask metadata eats a large share of the saving, as we just saw. Once quantization was applied, fewer experts per token was clearly the best option on this model.
152
+
153
+ Fourth, removing or merging experts shrinks storage, not decode bytes. If the router still picks eight experts for every token, the bytes read per token don't change, however many you delete. In this study, REAP cost about six percent in perplexity with a fifth of the experts removed. With half removed, it cost nearly half. Merging experts was actually better at a fifth, costing about one and a half percent, and then collapsed beyond it. That ordering differs from the REAP paper's. My reading, not the study's, is that they measure different things: the paper measured generative coding tasks, and found merging does fine on multiple-choice tests, while the study measured perplexity. Pruning the width inside each expert does cut decode bytes, but cost about fifteen percent at a fifth.
154
+
155
+ Fifth, low rank was weak, and the ranking differs from the literature's. The best low-rank method was one called Zero-Sum SVD, and even it lost about half again in perplexity at a fifth of the bytes removed. Then came a cluster of near-equals, including SVD-LLM and its second version. Interestingly, that second version's choice of a different rank for each layer did worse than plain uniform ranks here. And on the mixture-of-experts model, applying low rank to the attention layers alone was catastrophic.
156
 
157
+ Sixth, a free improvement. GPTQ combined with a search over the shared exponent scales costs no extra bytes compared with plain rounding to four-bit microscaling. It closed more than half of the quality gap on the dense model, from about twenty-six back to about twenty-four. On the mixture-of-experts model it closed more than a quarter. It cost nothing here, so it's worth trying if you ship microscaling formats.
158
 
159
+ And seventh, stacking can fail outright. SliceGPT collapsed when combined with four-bit microscaling, its perplexity going from the tens and low hundreds to the hundreds of thousands. The most plausible reason is those extra shortcut matrices on the residual connections. They're dense, they act on the residual stream, which carries the largest outliers, and they sit in every layer, so their rounding errors compound with depth. The study attributes the collapse to them, but as far as I know it didn't isolate that by keeping just those matrices in sixteen-bit. And three attention-compression methods that are normally followed by recovery training, namely Palu, M-H-A-to-M-L-A and DeltaLLM, were unusable without it.
160
 
161
+ One caveat, from the study's author: a one point seven billion model is pessimistic for structural methods. In a separate measurement on the two hundred and thirty-five billion Qwen model, the SliceGPT penalty was about a third of the small model's. My guess is that small models have less redundancy to remove. So the numbers will move with scale, and whether the family ordering holds is a hypothesis rather than a result: that check was one method at one point, on a model that is itself a mixture of experts, so scale and architecture are mixed together.
162
+
163
+ A word on what uniform does and doesn't buy. It removes differences in calibration data, evaluation text and byte accounting, and because every method is scored on the same evaluation text, the differences are paired, so evaluation noise is small. What it doesn't remove is noise from the calibration draw. Each point is a single run with one calibration sample and no confidence interval, and as we'll see in the statistics chapter, redrawing the calibration sample has been reported to reverse the ranking of two methods. So a doubling or tripling of perplexity is safe to read, but small gaps, like two percent against one and a half, or near-ties among the low-rank methods, shouldn't be read as orderings. And this is perplexity only; compression hurts reasoning and long generation more than simple tests show, so these costs are likely lower bounds on what you'd see downstream.
164
+
165
+ Put together, the study sharpens the verdict rather than overturning it, within its limits: two models, one scale each, perplexity only. Four-bit quantization done well, meaning GPTQ with the exponent search, gave nearly four times compression for about seven percent of perplexity on the dense model. Plain rounding cost about seventeen percent. None of the removal methods measured on their own came close to that trade. Among them, measure what your hardware actually reads at your batch size, not what the file stores; on a dense model like this one, beat a smaller sibling or don't bother; and on this fine-grained mixture-of-experts model, the cheapest lever was how many experts each token uses, not how many exist.
166
+
167
+ ## Where it actually gets faster
168
+
169
+ Four-bit weight-only quantization with good kernels gives close to four times faster matrix multiplies at small batch sizes. That falls toward one and a half times at a batch of around a hundred and twenty-eight: the same roofline, since the saving is in bytes read. End to end in a serving engine, it gives up to nearly three times, and a large study estimated two to three times lower cost per query at about ninety-nine percent of the accuracy. Four-bit weights and activations, with rotations, gave two to three times faster prompt processing and three to four times less peak memory, in the QuaRot paper's research kernels on a consumer GPU.
170
+
171
+ On deployability, the major serving engines all support the main weight-only formats, eight-bit floating point, and four-bit floating point on new hardware. I found no sign that any of them supports a sliced model out of the box; you'd likely need a custom model class. I found no benchmark that runs every family through one serving engine on one GPU. The uniform study counted bytes; a timed version of it on one engine would settle a lot of arguments.
172
 
173
  ## Improving it statistically
174
 
175
+ Now the part I find most interesting, because it's where a statistician has the most to add. Training-free compression is, at heart, an estimation problem: we estimate a few large matrices from a small, dependent sample, then make a decision based on them. The field mostly treats those estimates as exact. Here are seven places where better statistics should help. Some have published results; others are my own proposals, and I'll say which.
176
 
177
+ First, the objective. Each layer is compressed to match its own outputs, not to preserve the model's loss. SliceGPT's version is especially clear: principal component analysis keeps the directions with the most variance, but the error that matters is variance weighted by how much the next layers amplify it, and plain PCA is optimal only if the next layer treats all directions equally, which it doesn't. Whitening by the activation covariance, as SVD-LLM does, fixes this for low-rank compression: truncation then minimises output error on the calibration data exactly, a reduced-rank regression, but it needs an invertible, well-conditioned covariance, which is exactly where the sample-size problem below bites. And GPTAQ, which we met earlier, addresses error propagation by calibrating each layer on the already-compressed inputs it will really receive. A statistician would recognise a cousin of errors-in-variables regression, though not the textbook case, since the noise is deterministic and correlated with the signal. The cleaner statement is: fit on the input distribution you'll actually deploy on.
178
 
179
+ Second, how much data we really have. A common default is a hundred and twenty-eight sequences of about two thousand tokens, around a quarter of a million tokens in all. The layer dimension is four to eight thousand. Tokens within a sequence are strongly correlated, so the effective sample size lies somewhere between the number of sequences and the number of tokens. My own back-of-envelope: if the effective sample size were as small as the sequence count, the ratio of dimension to samples would be about thirty, far past one. In that regime the sample covariance is rank-deficient, random matrix theory says its eigenvalues are spread out and biased, and the small eigen-directions are essentially noise. Close to the token count, the ratio would be about one in sixty and the estimates would be fine. The truth is in between, and it isn't one number: slowly varying directions, like topic, have few effective samples, while token-level directions have many. Heavy tails make it worse. So effective sample size, how fast the spectrum decays, and tail weight together decide whether the bottom of the spectrum, exactly the part slicing and low-rank methods throw away, is being estimated or invented.
180
 
181
+ The sharpest version of this is in mixture-of-experts models. Each expert's statistics come only from the tokens routed to it. With a hundred and twenty-eight experts and eight chosen per token, the average expert sees about a sixteenth of the calibration tokens, and rare experts see far fewer. So an expert's covariance, or a pruning score, may rest on very little data, and the rarely used experts are exactly the ones pruning wants to delete. That's my reasoning, not a published result, but it suggests reporting tokens per expert, and remembering that unused on the calibration set isn't the same as unused.
182
 
183
+ Third, shrinkage. GPTQ already adds a small multiple of the identity to its Hessian before inverting it, a crude shrinkage estimator, though its purpose is mainly numerical stability. A principled version, such as Ledoit-Wolf shrinkage, would choose that amount from the data, though it optimises covariance accuracy rather than the compression objective, so the best amount for downstream error may differ. But note a subtlety, again my own reasoning: shrinking toward a multiple of the identity changes eigenvalues but not eigenvectors. So it helps methods that invert the matrix, like GPTQ and whitening, but it can't change which principal subspace a method like SliceGPT keeps, only eigenvalue-based decisions such as how many components to keep. Better eigenvectors need more data, structure such as a factor model, or a robust estimator.
184
 
185
+ Fourth, heavy tails. Activations contain a few enormous outliers, which dominate any sample covariance, and the classic robust estimators are too expensive at this dimension. Two cheap options, which I'd propose rather than cite. One is to estimate the covariance on token-normalised activations. That already happens for layers that read the output of an RMS normalisation, so it matters where the input isn't normalised, such as the feed-forward down projection and the raw residual stream that SliceGPT works on. The other is to keep the outlier channels in a small, always-retained subspace, rather than letting them distort the estimate of everything else. The outliers shouldn't simply be clipped, because they carry real function in the model.
186
 
187
+ Fifth, calibration design. The choice of calibration text matters more than most papers admit. Several studies show domain effects, and one twenty twenty-six study reported that, in most of its test cases, simply redrawing the calibration sample was enough to reverse the ordering of GPTQ and AWQ. Practical recipes include mixing calibration domains deliberately, or choosing weights to protect the worst-off domain, a maximin version of the objective.
188
 
189
+ Sixth, uncertainty. Every compressed model is a decision made from a random sample, yet no method reports how stable that decision is. A cheap proposal: compute the calibration statistics per group of sequences, and resample whole groups, since sequences, not tokens, are the roughly independent units. Use a jackknife or bootstrap to put an interval on smooth quantities, like the error at each layer's chosen size. Two cautions. Variance retained should be measured on held-out sequences, with the subspace fitted on the rest, because in-sample it's optimistic. And in this high-dimensional regime the bootstrap is unreliable for the eigenvalues and eigenvectors themselves. Familiar cut-point tools, parallel analysis and the Gavish-Donoho threshold, assume independent noise with a clean signal-plus-noise structure that activations don't have, so treat them as diagnostics, not answers. To my knowledge nobody has applied these formally to SliceGPT-style compression, so this is genuinely open.
190
 
191
+ And seventh, allocation. One of the biggest improvements in weight pruning came from giving different layers different budgets, OWL's contribution. The general version is a constrained optimisation: estimate each layer's error as a function of how much you compress it, then choose per-layer budgets to minimise total error under a size constraint. That assumes errors add across layers, which propagation breaks. And the uniform study hints that the estimates matter: SVD-LLM's second version did worse with a different rank per layer than with uniform ranks. That's what you'd expect if the sensitivities are noisy, because optimising against noisy estimates favours the layers whose errors were underestimated, a winner's curse. That's my reading; the study didn't test it. Bootstrap-stabilised sensitivities are another of my proposals.
192
 
193
+ ## Improving it for efficiency
194
 
195
+ On the systems side, the improvements are more concrete. Align every compressed dimension to the hardware's tile sizes; it's free and can be the difference between a speedup and a slowdown. Prefer formats the hardware runs natively, eight-bit floating point on recent data-centre GPUs and four-bit floating point with fine-grained scales on the newest, over formats that need software decoding. Make the compression procedure itself cheaper: SliceGPT spends about three and a half hours on a single H one hundred for seventy billion parameters, with double-precision eigendecompositions a major cost that randomized methods could cut.
196
 
197
  ## What to remember
198
 
199
+ Training-free compression spans three tiers, from data-free rounding to calibrated optimisation of rotations, and fair comparisons stay within a tier. Nearly all methods share one objective: make each compressed layer reproduce its original outputs on calibration data, with the input second-moment matrix as the Hessian. Four-bit weight-only quantization is solved and is the default. Two bits is a frontier. Pruning, slicing, low-rank and depth removal all lose to quantization at equal memory, and are best used where quantization can't go, or stacked on top of it. The uniform study broadly confirmed this and added four rules: on a dense model, beat a smaller sibling or don't bother; measure decode bytes per token, not stored bytes; on a mixture-of-experts model, fewer experts per token was the cheapest lever; and stacking can fail outright, as SliceGPT did under four-bit microscaling. Finally, the statistics underneath, effective sample size, heavy tails, calibration design, uncertainty and allocation, are mostly unaddressed, which makes them, in my judgement, a promising place to improve.
 
 
200
 
201
  ## Self-check questions
202
 
203
+ Ten questions, with brief answers.
204
 
205
  One. What are the three tiers of training-free compression? Data-free, calibration-only with closed-form computation, and calibrated optimisation of auxiliary parameters such as rotations, with the weights frozen.
206
 
207
  Two. What objective do most methods share, and what matrix sits at its heart? Matching each compressed layer's outputs to the original on calibration data; the second-moment matrix of the layer's inputs, which acts as the Hessian.
208
 
209
+ Three. Why are activations harder to quantize than weights, and how do rotations help? A few channels carry huge outliers that swamp a shared four-bit scale; an orthogonal rotation spreads them across all channels, while computational invariance keeps the network's output unchanged.
210
 
211
+ Four. Why can a two-bit seventy-billion model lose to a four-bit seven-billion one? With some older two-bit methods, the quantization error outweighs the bigger model's advantage, even though the bigger model uses far more memory; gentle compression of a smaller model can win.
212
 
213
+ Five. Why don't rotations help NVIDIA's four-bit floating-point format much? Its scale is shared by only sixteen values, and the scale itself is finer, so the scaling already absorbs most of the outlier problem, and a rotation can spread outliers into groups that had none.
214
 
215
  Six. What does GPTAQ change about GPTQ? It calibrates each layer on the inputs it will actually receive from the already-quantized earlier layers, so it corrects propagated errors, at almost no extra cost.
216
 
217
+ Seven. Why might the bottom of an activation spectrum be unreliable? Tokens within a sequence are correlated, so the effective sample size may be far below the token count, and for slowly varying directions close to the sequence count, where small eigenvalues and their directions are mostly noise.
218
+
219
+ Eight. Why can a narrower matrix fail to run faster? If its new dimension isn't aligned to the GPU's tile sizes, the kernel falls back to slower paths and the speedup can vanish or reverse.
220
+
221
+ Nine. In the head-to-head study, why is decode bytes per token a better axis than stored bytes? At small batch, decoding is limited by memory traffic. Removing or merging experts shrinks storage, but if the router still picks the same number of experts per token, the bytes read per token don't change.
222
 
223
+ Ten. On a small dense model, what baseline must a structured or low-rank method beat, and did any? A smaller model from the same family. None did at this scale: the best methods paid the same or worse perplexity for far less compression.
224
 
225
  That's the state of training-free compression. Thanks for listening.