一兆參數模型能否壓縮至 1 GB?測量結果給出否定答案
I Tried to Fit a Trillion-Parameter Model in a Gigabyte. The Measurements Said No.
作者實測多種壓縮方法,發現無損壓縮最佳結果為 1.463×,剪枝、量化及知識蒸餾也未能把一兆參數模型縮至 1 GB。135M 模型配合外部知識庫,整套系統為 272 MB,答對原本無法回答的 30 題中的 20 題,但對知識庫沒有答案的問題,10 次都編造答案。
Modern AI models are files. Very large files.
Moonshot's Kimi K3.1 Pro — the model that started this question for me — ships as 96 weight files totalling about 1.56 terabytes. A few weeks ago I asked a simple question: the file is just an encoding of what the model knows. How small can the knowledge itself be? Could it fit in a gigabyte?
I did not want to publish an opinion. I wanted measurements. So I ran them, on hardware I actually have — a laptop and a small cloud machine — and wrote the results up as a paper. It is published now, free to read: "Compression of Knowledge: Can a Trillion-Parameter Model Fit in a Gigabyte?" — https://doi.org/10.5281/zenodo.24492922
The short answer is no. Here is what the numbers showed.
Lossless compression has a hard ceiling
If you demand the exact same model back, bit for bit, the best published results are around 1.5×. I reproduced the reason on my own machine: I split a model's weights into their high and low bytes and measured the information in each stream. The high byte compresses (2.75 bits of entropy). The low byte — the fine detail — measures 7.97 bits out of 8. It is essentially noise.
You cannot squeeze what is already random-looking. My own best lossless result was 1.463×. The target needs roughly 1000×.
Pruning collapses fast
I removed weights from a 1.5B model at seven levels. At 30% removed, it survived, wounded. At 50% removed — where the file was finally 37% smaller — it answered 0 of 24 factual probes correctly, and perplexity went from 16.65 to 345. A smarter method (Wanda) kept 14 of 24 probes at 50% — better, and still below the quality bar I had set before running anything.
Quantization wins on size and still is not close
8-bit weights were nearly free in quality (+1.1% perplexity). At 4 bits, the error rate doubled — and the artifact was still only about 2.75× smaller. Nothing I measured comes within two orders of magnitude of 1000×.
The teacher was the bottleneck, not the student
Distillation surprised me most. On my test set of arithmetic word problems, the 1.5B teacher scored 2 out of 60. Its 135M student, before any training, scored 13 out of 60. Training the student on the teacher's surviving explanations made it slightly worse (11/60).
You cannot distill what the teacher does not have.
Retrieval works — with a catch
A 135M model plus a small external knowledge store answered 20 of 30 questions it scored 0 on alone. The whole system — model, documents, index, everything counted — was 272 MB, comfortably inside a gigabyte.
But asked questions whose answers were not in the store, it never once said "I don't know." It invented answers, 10 times out of 10. Retrieval buys knowledge. It does not buy honesty.
What survives
The original dream fails, and the paper shows the arithmetic of why. But a harder, honest version survives:
A compact student plus a bounded external store — or a compact program that generates knowledge on demand — might retain a defined subset of a large model's behaviour inside a total budget of 1 GB, with every byte counted.
That is now a falsifiable hypothesis with pre-registered tests, not a fantasy. The paper states exactly what would prove it wrong.
I work by one rule: if I claim it, I can show it. A negative result with real numbers saves everyone who comes after me from re-running the same dead ends — and the one direction that survived measurement (small model + counted external memory) is now a sharper target than the dream was.
Full paper, all tables and methods: https://doi.org/10.5281/zenodo.24492922 (also on academia.edu and written up on my Substack).
— Odiwuor Zacharia Omollo
來源:DEV Community · dev.to