← Latest papers
🤖 AI

FOCUS: FP4 Optimization via Coupled-Relaxation and Dual-Granularity Scaling

This paper introduces FOCUS, a post-training quantization framework that enhances FP4 accuracy for large language models by employing Coupled-Relaxation Scaling to decouple learnable quantization scales from hardware constraints and Dual-Granularity Scaling for finer weight adaptation, achieving state-of-the-art performance without additional inference overhead.

Original authors: Xianglong Yan, Hong Liu, Chengzhu Bao, Tianao Zhang, Guanghua Yu, Jianchen Zhu, Yulun Zhang

Published 2026-08-04
📖 4 min read☕ Coffee break read

Original authors: Xianglong Yan, Hong Liu, Chengzhu Bao, Tianao Zhang, Guanghua Yu, Jianchen Zhu, Yulun Zhang

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

Imagine you are trying to fit a massive, intricate library of knowledge into a tiny, portable backpack. This is the daily struggle for "Large Language Models" (LLMs), the super-smart computer brains that can write stories, solve math problems, and chat like humans. The problem is that these brains are so huge they need enormous amounts of memory and power to run, making them expensive and slow to use on everyday devices. To fix this, scientists use a trick called "quantization." Think of this like translating a high-definition, 4K movie into a lower-resolution format so it fits on an old phone. The goal is to shrink the data without losing the plot. Recently, a new, super-tiny format called "FP4" has emerged, supported by modern computer chips, which promises to shrink these models even further. However, there's a catch: squeezing the data this small often makes the model "forget" things or get confused, losing accuracy. The big question is: how do we shrink the model to this tiny size without ruining its intelligence?

This paper introduces a clever new method called FOCUS to solve that exact problem. The researchers realized that the current way of shrinking these models was too rigid. Imagine you are packing a suitcase. The standard rule says: "You must use the exact same small, pre-made boxes to pack your clothes, and you must use those same boxes to unpack them later." The paper argues that this is silly. While you do need to use the small boxes to store the clothes (because that's what fits in the suitcase), you don't need to use those same tiny boxes to figure out how to fold the clothes in the first place. You could use a giant, flexible measuring tape to plan the packing, and then just fit the result into the small boxes.

FOCUS uses this insight to improve how models are prepared for the tiny FP4 format. It introduces two main tricks:

  1. Coupled-Relaxation Scaling (CRS): This is the "flexible measuring tape." In the old way, the computer had to use a very rough, low-precision ruler to decide how to shrink the numbers, and it had to use that same rough ruler to put them back together. FOCUS says, "Let's use a super-precise, full-size ruler to do the shrinking math, and then squeeze the result into the rough box." This allows the computer to find a much better way to pack the data without breaking the rules of the tiny format.
  2. Dual-Granularity Scaling (DGS): This is about packing smaller items. The old method treated a whole group of 32 numbers as one big chunk, using one ruler for all of them. But what if some numbers in that group are huge and others are tiny? FOCUS splits that big group into smaller sub-groups (like cutting a big pizza into slices) and gives each slice its own custom ruler. This lets the computer adapt to the specific details of the data, rather than forcing everything into a one-size-fits-all box.

The results are impressive. When the researchers tested FOCUS on several different AI models (like Qwen and LLaMA), it consistently outperformed all other methods. For example, on a model called Qwen3-4B, FOCUS managed to recover 98.2% of the original model's accuracy when using the NVFP4 format, and 96.2% with MXFP4. This is a significant jump compared to previous techniques, which often struggled to stay above 90% or 94%.

Crucially, the paper shows that FOCUS doesn't make the model slower or harder to use. Even though the computer does extra math while preparing the model (during the "training" or "calibration" phase), the final model runs just as fast as any other FP4 model. It takes about 19 minutes to prepare a Qwen3-4B model on a single high-end GPU, which is actually faster than some competing methods. The researchers emphasize that this is a "post-training" method, meaning they don't need to re-teach the model from scratch; they just tweak the packing instructions.

In short, FOCUS suggests that by loosening the rules on how we calculate the shrinkage (while keeping the final storage format strict), we can fit these giant AI brains into tiny spaces without losing their smarts. It's a bit like realizing you can fold a shirt perfectly using a large table, even if you only have a small drawer to store it in. The paper proves that this approach works better than the old, rigid ways, offering a path to run powerful AI on devices that currently can't handle them.

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 →