← Latest papers
🤖 machine learning

QUADS: Stabilizing NVFP4 Reinforcement Learning for MoE via QUantization-error Alignment across Dual Sides

The paper proposes QUADS, a dual-sided quantization-error alignment method that stabilizes NVFP4 reinforcement learning for Mixture-of-Experts models by addressing activation errors through asymmetric quantization-aware training and residual activation compensation, thereby achieving BF16-level accuracy with significantly improved throughput compared to FP8.

Original authors: Zhengyang Zhuge, Hao Yu, Xin Wang, Zheng Li, Yizhong Cao, Dayiheng Liu, Jianwei Zhang

Published 2026-07-20
📖 4 min read☕ Coffee break read

Original authors: Zhengyang Zhuge, Hao Yu, Xin Wang, Zheng Li, Yizhong Cao, Dayiheng Liu, Jianwei Zhang

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.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 teaching a super-smart robot to solve complex puzzles, like math problems or writing code. To get really good at this, the robot doesn't just memorize answers; it practices by trying out thousands of different solutions, getting feedback on what worked, and then adjusting its brain to do better next time. This process is called Reinforcement Learning. However, there's a catch: the part of the robot that thinks and learns (the trainer) is often separated from the part that generates the answers (the rollout engine). For the learning to work, these two parts need to speak the exact same language. If the trainer thinks in high-definition (like a 4K movie) but the generator is forced to speak in a blurry, low-resolution version (like a pixelated 8-bit game), the robot gets confused. It starts making mistakes because the "importance" of its actions gets distorted by the blur. This mismatch is a huge problem because it slows down the whole learning process, making the robot take forever to get smart.

Now, imagine we want to make the robot think faster. We could shrink its brain even more, using a super-low-resolution format called "NVFP4." This is like trying to run a high-speed race car on a dirt track made of tiny, coarse pebbles. It promises to be incredibly fast—much faster than the current standard—but the pebbles are so rough that the car's wheels (the robot's logic) start to slip and spin out of control. The robot tries to learn, but the rough track makes it crash after just a few laps. The big question is: Can we make this super-fast, rough track work without the robot crashing?

This is exactly what the researchers in this paper set out to solve. They discovered that simply putting the robot on this rough, fast track causes it to fail spectacularly within about 150 steps of training. The robot's confidence scores (log-probabilities) drift apart so wildly that it stops learning entirely. Through careful experiments, they figured out why this happens. It turns out the problem isn't the weights (the robot's stored knowledge), which can be synchronized easily. The real culprit is the activations—the fresh, on-the-fly calculations the robot makes while thinking. Because the rough track (NVFP4) is so coarse, these fresh calculations get distorted in a way that the trainer can't fix just by looking at the weights.

To fix this, the team invented a clever two-part strategy they call QUADS (QUantization-error Alignment across Dual Sides). Think of it like a dance between the trainer and the generator. On the trainer's side, they use a special technique called "Asymmetric Quantization-Aware Training." Instead of trying to force the trainer to speak the rough language of the generator, they keep the trainer's "thinking" (activations) in high-definition but force its "memory" (weights) to match the generator's rough format. This way, the trainer knows exactly what the generator is seeing when it looks at the weights, preventing confusion.

But that wasn't enough on its own. The generator was still stumbling over the rough pebbles when it tried to calculate new thoughts. So, on the generator's side, they added a "Residual Activation Compensation." Imagine the generator is walking on the rough track, and it realizes, "Hey, my foot is slipping on this specific pebble!" Instead of stopping the whole race to fix the track, it takes a tiny, quick step to correct just that one slip before moving on. They identified the specific parts of the calculation that were most likely to slip (the "high-residual channels") and gave them a tiny, extra boost to stay on track, all while keeping the rest of the race super-fast.

The results are impressive. By using this dual-sided dance, the robot didn't just survive on the rough track; it performed almost as well as if it were running on a smooth, high-definition track. In their tests, the new method improved the robot's success rate by about 21.5 points compared to trying to use the rough track without any help. Even better, it kept the speed advantage, running about 16% faster than the previous standard method. The paper shows that while the rough track is dangerous on its own, with the right alignment and a little bit of extra correction for the slippery spots, we can finally make these super-fast, low-precision AI models work reliably.

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 →