AI Glossary Term

What does “Model Quantization” mean?

Definition

Reducing numeric precision of model weights to decrease memory and inference cost.

How Model Quantization works

Diagram for Model Quantization comparing Full precision (16 or 32 bits per weight, More memory, Slower) with Quantized (8 or 4 bits per weight, Much smaller, Faster, small quality loss).Full precision16 or 32 bits perweightMore memorySlowerQuantized8 or 4 bits perweightMuch smallerFaster, smallquality loss

Example

A language model that needs 28 GB of memory at 16-bit precision can fit in roughly a quarter of that at 4-bit precision, letting it run on a consumer graphics card with a small drop in quality.

Why it matters

Quantization reduces memory and cost, which makes bigger models usable on smaller hardware. Quality losses should be tested, not assumed.

Common questions

Does quantization hurt accuracy?

Usually slightly, and more at very low precision. Good methods keep the loss small for many tasks.

When is quantization applied?

Often after training, but it can also be built into training.

Is it the same as Quantization (the glossary term)?

Yes, the two terms describe the same idea of lowering numeric precision for model weights.

Learn more in our free guides

Test yourself

See also