← Back to concept explainers

Concept Fable

Double quantization

Conclusion first:Double Quantization is a quantization technique in QLoRA: after model weights are quantized, constants such as quantization scales still need to be stored; double quantization further quantizes these quantization constants, thereby saving additional GPU memory, about 0.4 bit/parameter in the paper. Its value is not in changing model capability, but in continuing to lower fine-tuning and deployment costs while preserving quality as much as possible, allowing larger models to fit into smaller hardware budgets.

Double Quantization · Quantization

Read the story first. There is no rush to give a definition here; let the question grow on its own first.

Fable

The silversmith also under-weighed the weights

In the mountain city there was a silver shop where all patterns were preserved in ancestral molds. The molds were precise and heavy—moving one took four people. The shop wanted to reach more markets, and the first challenge wasn't craftsmanship but the box.

After the business expanded, the silversmith wanted to take the molds everywhere. The apprentice suggested shrinking the large molds into small scales, recording only approximate dimensions. This made the boxes much lighter, and the patterns were still recognizable.

For the first few days everyone was satisfied. But beside every small scale they also had to place a packet of calibration weights, explaining how much this scale should be enlarged or reduced. The molds became lighter, but the weights piled up more and more.

Someone suggested discarding the weights and keeping only the scale. As a result, the fine patterns began to deform, some silver leaves were so thin they broke, and some bird eyes were as large as copper coins. The weight saved turned into unsellable defective goods.

Another apprentice said, don't throw away the weights—first see whether the weights themselves can be recorded in a coarser way. What truly needs extreme precision is the pattern, not necessarily every trace of weight in each calibration number.

So they first shrank the mold to small graduations, then grouped the calibration weights and preserved them with lighter markings. The box became lighter again, and the key patterns could still be restored. The silversmith required striking a sample piece before every stall setup, and if the error exceeded the line, they went back to the heavier box.

The apprentice also discovered that although the calibration weights were small, each set of patterns came with a packet, and after ten markets they piled up to half a cart. The weight saved the first time by shrinking the mold was almost eaten back by these instructions.

Later, the shop could travel farther with complex molds. Everyone remembered this lesson: sometimes the compressed accompanying instructions also become a burden, and even they must be compressed, but not so much that the system forgets how to restore the original shape. The silversmith also accounted separately for the two weight reductions: the first saved on the large mold, the second saved on the calibration kit that came with the mold. If only the first entry is considered, the shop will overestimate its portability; if the second compression is too severe, the patterns will be distorted again. True craftsmanship finds a balance between these two lines. Later, before packing, the apprentice would ask twice: Is the main body light enough, and have the accompanying instructions become a new burden? Only when both pass is the long journey truly easier. Later, during the retrospective, everyone wrote this lesson into the daily rules: first see where on site the result truly changed, then decide what to keep, repair or restrict.

Reveal

This story is about: dual quantization

Double Quantization is a quantization technique in QLoRA: after model weights are quantized, constants such as quantization scales still need to be stored; double quantization further quantizes these quantization constants, thereby saving additional GPU memory, about 0.4 bit/parameter in the paper. Its value is not in changing model capability, but in continuing to lower fine-tuning and deployment costs while preserving quality as much as possible, allowing larger models to fit into smaller hardware budgets.

What matters is that it is not just a term, but a structural problem that repeatedly appears in real AI / Agent systems. Understanding it lets you judge when to add a model, when to change a process, and when to add governance.

Metaphor mapping

  • Heirloom mold: the original high-precision model weights
  • Small scale: low-bit weights after the first quantization
  • Calibration weights: auxiliary constants such as quantization scale and zero point
  • Group the weights and record them lightly too: re-quantizing the quantization constants
  • Run a sample batch: quantified quality assessment
  • A more distant market: fine-tuning or deployment scenarios with lower VRAM and lower cost
  • Do not compress to the point of forgetting how to restore: the boundary between compression gains and precision loss

Andy Ren Xu's judgment

The practical value of this concept is that it helps you break "AI features that look smart" into deliverable, verifiable, and governable units of work.

QLoRANF4quantization
京ICP备2026014272号