← Latest papers
💬 NLP

Multi-Bitwidth Quantization for LLMs Using Additive Codebooks

The paper introduces Drop-by-Drop, a novel post-training quantization framework that leverages additive codebooks and Matryoshka-style supervision to enable a single LLM checkpoint to support adaptive, multi-bitwidth inference with minimal storage overhead while maintaining competitive accuracy across various model architectures.

Original authors: Liza Babaoglu, Shuangyi Chen, Ashish Khisti

Published 2026-06-12
📖 5 min read🧠 Deep dive

Original authors: Liza Babaoglu, Shuangyi Chen, Ashish Khisti

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: One Size Doesn't Fit All

Imagine you have a massive, incredibly detailed library of knowledge (a Large Language Model or LLM). This library is so huge that it requires a giant warehouse to store it.

  • The Cloud: If you run this library on a giant supercomputer in the cloud, you have plenty of space. You can keep every single book open and read the finest details.
  • The Phone: If you try to run this same library on a smartphone or a small edge device, the warehouse is too big. The phone's memory (RAM) and battery can't handle the full size.

The Current Solution (The "Static" Approach):
Right now, if you want to use this library on different devices, you have to make separate copies of the library:

  1. A "Deluxe Edition" for the supercomputer (high quality, huge size).
  2. A "Pocket Edition" for the phone (compressed, lower quality).
  3. A "Travel Edition" for a tablet (medium size).

This is inefficient. You have to train, store, and maintain three different versions of the same library. If you want to switch from the phone to the tablet, you have to swap the whole file.

The New Solution: "Drop-by-Drop"

The authors propose a new method called Drop-by-Drop. Instead of making three different libraries, they create one single library that can magically shrink or grow depending on the device it's on, without needing to be retrained or swapped out.

Think of the library not as a stack of books, but as a Russian Nesting Doll (Matryoshka doll).

  • The Outer Shell: The smallest, most basic version. It fits in your pocket but only knows the most important facts.
  • The Middle Layer: If you open the shell, you find a slightly bigger doll with more details.
  • The Inner Core: The full-sized doll with every single detail.

With Drop-by-Drop, you don't need to carry three different dolls. You carry one.

  • On a phone, you just use the outer shell.
  • On a tablet, you open the shell to use the middle layer.
  • On a supercomputer, you open it all the way to use the full core.

How It Works: The "Additive Codebook" Recipe

To make this nesting doll work, the authors use a technique called Additive Quantization.

Imagine you are trying to describe a complex painting to someone over a phone call.

  1. Standard Method: You send a low-resolution photo (blurry) for the phone, and a high-resolution photo for the computer. These are two different files.
  2. Drop-by-Drop Method: You send a base sketch first.
    • If the listener has a tiny screen, they stop there. They have a rough idea of the painting.
    • If they have a bigger screen, you send Layer 2: a few more lines to define the shapes.
    • If they have a huge screen, you send Layer 3: the final colors and details.

The magic is that Layer 2 and Layer 3 are useless without Layer 1, but Layer 1 is perfect on its own. The layers are "additive"—they stack on top of each other to build a clearer picture.

The Secret Sauce: "Matryoshka" Training

Usually, when you train an AI to compress data, it learns to make the best possible final picture. It doesn't care if the first few layers look bad. If you stop early, the picture is a mess.

The authors introduced a special training rule called Matryoshka Supervision.

  • The Analogy: Imagine a teacher grading a student's essay.
    • Old Way: The teacher only grades the final, 10-page essay. If the student stops at page 1, the teacher says, "That's garbage, I can't grade it."
    • Drop-by-Drop Way: The teacher grades the student at every stage. "Okay, page 1 is a good summary. Page 3 adds good details. Page 10 is perfect."
  • The Result: Because the AI was trained to make sure that every partial version (1 layer, 2 layers, 3 layers) was accurate, you can safely "drop" the extra layers when you are on a small device, and the remaining layers still work perfectly.

Why This Matters (According to the Paper)

  1. One Model, Many Devices: You only need to store and download one file. The device decides how much of the file to "unpack" based on its memory.
  2. No Retraining: You don't need to train a new model for every phone or tablet. The single model adapts automatically.
  3. Smooth Transition: As you move from a low-power device to a high-power one, the quality improves smoothly, rather than jumping between different, incompatible models.
  4. Proven Theory: The paper uses math (Information Theory) to prove that this "nesting" approach is theoretically possible for the types of data LLMs use, ensuring that you don't lose efficiency by adding these layers.

Summary

Drop-by-Drop turns a rigid, one-size-fits-all AI model into a flexible, "smart" model that can shrink down to fit in your pocket or expand to fill a supercomputer, all from a single file. It does this by training the AI to be good at every level of detail, not just the final, most detailed version.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →