Mixed-precision quantization: How a model gives each layer its own bit budget
Mixed-precision quantization lets a model spend more bits on sensitive layers and fewer on tolerant ones, so a fixed file size loses less accuracy. Here is how the search works and where it falls short.

Mixed-precision quantization shrinks an AI model by storing different parts of it with different numbers of bits. Sensitive layers keep more precision, and tolerant layers get less. The total size stays under a fixed limit, but less accuracy is lost than if every layer were squeezed equally.
The idea is behind recent small builds of large models, including the Inkling-2-Mini GGUF files from ISTA-DASLab.
Packing a suitcase under a weight limit
Picture a suitcase with a 20 kg airline limit. You do not wrap everything in the same amount of padding. The camera gets thick foam, and the T-shirts get none. Every item has a weight cost, and every item has a different penalty if it gets damaged.
A model works the same way. Its weights are millions of numbers grouped into layers and matrices. Plain quantization stores every number in, say, 3 bits. Mixed precision asks which matrices can drop to 2 bits without harm and which need 4 or more. The size limit plays the role of the airline scale.
Why some layers tolerate fewer bits than others

Quantization rounds each weight to the nearest value on a small grid. Fewer bits means a coarser grid and bigger rounding errors. Those errors do not hurt equally everywhere. A matrix that feeds many later computations, or one whose weights vary widely, can distort the output badly when rounded. Another matrix may barely change the result.
So each layer gets a choice from a menu, such as 2, 3, 4 or 8 bits. Each choice has a cost in file size. The goal is to pick one option per layer so the total size meets the budget and the model’s loss stays as low as possible.
This is a known puzzle called a multiple-choice knapsack. It is hard in practice because layers interact. Rounding one layer changes what the next layer sees, so the damage cannot simply be added up layer by layer.
Searching the choices with gradients instead of guessing
Earlier methods often used a proxy score per layer and a classic solver. Others used evolutionary search, which tries many assignments and keeps the best. That measures the true loss but is slow. EvoPress, a search of this kind, took 11 to 14 hours in one comparison in the RCO paper (see below).
In 2026, Michael Helcig and Dan Alistarh published “Model Compression with Exact Budget Constraints via Riemannian Manifolds”, the paper behind RCO (Riemannian Constrained Optimization). It gives each layer a set of learnable scores, one per bit option. A softmax turns the scores into probabilities. The expected size is the probability-weighted sum of option sizes, and the method keeps that expected size exactly equal to the budget at every step.
It does this by treating the budget as a surface in the space of scores. Each update step is projected to slide along that surface, and a quick one-dimensional search nudges the scores back onto it. The authors say this removes the penalty weights that other methods must tune.
On each pass, random Gumbel noise is added to the scores and a dynamic-programming solver picks a concrete assignment within the budget. The loss then guides the next update. The noise shrinks as training proceeds, and the final answer is decoded once at the end.
Making each low-bit weight better too
Choosing bit widths is only half the job. The other half is how each weight lands on its grid. Rounding to the nearest value is simple but not the best choice.
The same lab published GSQ (Gumbel-Softmax Quantization) in April 2026. Alireza Dadgarnia and co-authors, with Dan Alistarh as last author, let each weight learn a probability over nearby grid values. The method relaxes that discrete choice so ordinary gradient training can work on it. At the end, each weight takes its most likely value.
The GSQ paper reports that at about 2 bits on Llama-3.1-8B it beat the best scalar baseline it compared against, EfficientQAT. It still trailed QTIP, a more complex vector-based method, by 1.33 points on the 8B model’s zero-shot average. The paper says it also used RCO to pick per-layer 2-bit and 3-bit mixes, at 2.37 and 2.62 average bits per weight.
Where it shows up today
Mixed precision is not new. Popular GGUF files, the format used by llama.cpp, already mix bit widths across tensors in their “K-quant” types. The newer step is to search the mix against the model’s real loss rather than use fixed rules.
In the Inkling-2-Mini release, the model card (as reported in our news story) says the search covers 169 tensors: 48 routed-expert matrices, 120 attention matrices and the output head. The four files run from 2.75 to 3.5 bits per weight and from 8.98 GB to 11.43 GB, against a roughly 20 GB original. The card says the largest build keeps 99.2% of the base model’s average benchmark score. Those are the lab’s own numbers, and the card does not say they were independently reproduced.
Mixed precision also suits mixture-of-experts models, where hundreds of expert matrices may differ widely in how much they matter. The RCO paper applies the same search to deciding which experts to prune.
Limits, and what to watch
The RCO authors state that their method is a heuristic for the discrete problem. It guarantees the budget is met, not that the answer is the best possible. The budget is also met exactly only for the smooth, expected size. The final discrete model can differ slightly from the target because of rounding to the available options.
The results depend on calibration data too. The search measures loss on a sample text set, so the compressed model can drift on tasks the sample did not cover. The GSQ paper shows this on a 1-trillion-parameter Kimi-K2.5 model at 2 bits. GPQA-Diamond fell from 89.29 to 76.57 while LiveCodeBench rose from 61.37 to 69.37. The authors partly attribute the drop to math and code-heavy calibration data. The Inkling card shows a similar uneven pattern on its own numbers.
Cost is a further factor. The papers report GSQ runs of 10 hours for an 8B model and 68 hours for a 70B model on 8 H200 GPUs. That is a one-time cost paid by the publisher, not by people downloading the file.
Three things are worth watching. One is whether runtimes such as llama.cpp add more flexible per-tensor types. Another is whether independent groups reproduce the reported scores. The last is whether search costs fall enough for individuals to build their own mixes.
Sign Up for the Daily AI Pulse
One email a day. All the stories that matter.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Daniel ReedAI Research, Safety & Ethics AnalystDaniel Reed currently works as an AI Research, Safety & Ethics Analyst at Aiholics, writing about how changes in artificial intelligence are affecting and will affect scholarship,…
You may also like

On-policy distillation: How a model learns from a teacher grading its own work

Synthetic training data: How AI learns from examples made by software

Monocular metric depth: How one photo can tell a model distances in meters
