Metis: Training LLMs with FP4 Quantization

Hengjie Cao, Mengyi Chen, Yifeng Yang, Fang Dong, Ruijun Huang, Jixian Zhou, Anrui Chen, Mingzhi Dong, Yujiang Wang, Jinlong Hou, Yuan Cheng, Fan Wu, Fan Yang, Tun Lu, Ning Gu, Li Shang

TL;DR

Metis is a new framework that makes 4-bit (FP4) training of Large Language Models (LLMs) a reality by tackling "anisotropy"—the tendency of a few massive values to dominate a model's mathematical structure. By isolating these dominant components and quantizing them separately, Metis achieves near-lossless performance (within 0.1% accuracy of BF16) while significantly reducing the memory and computational footprint of training.

What Problem Does This Paper Address?

As LLMs grow, the cost of training them in standard formats like BF16 becomes prohibitive. While the industry has moved toward 8-bit (FP8) training, the next frontier is 4-bit (FP4), which promises massive speedups (up to 7x for matrix multiplications on Nvidia’s Blackwell architecture).

However, FP4 has a very narrow "dynamic range"—it can’t easily represent both very large and very small numbers at the same time. The authors identify a fundamental roadblock: Anisotropy. In LLM weights, activations, and gradients, a tiny fraction of "singular values" (the core components of a matrix) are much larger than the rest.

Singular spectrum and numeric value distributions showing anisotropy in weights, activations, and gradients.

Standard quantization methods get "distracted" by these outliers, rounding the smaller, more nuanced values to zero. This "spectral distortion" destabilizes training and tanks model accuracy.

Methods: Spectral-Domain Quantization

The authors introduce Metis, a spectral-domain quantization framework. Instead of quantizing a whole matrix at once, Metis performs a mathematical surgery on it:

  1. Spectral Decomposition: It uses Singular Value Decomposition (SVD) to split a matrix into two parts: a low-rank component (containing the few dominant, high-energy singular values) and a residual component (the remaining "long-tail" values).
  2. Independent Quantization: The dominant components are kept in higher precision, while the residual—which now has a much narrower, "quantization-friendly" distribution—is compressed to FP4.
  3. Efficiency Optimizations: Since SVD is mathematically expensive to compute at every training step, Metis uses three clever tricks:
  4. Sparse Sampling: It estimates the dominant structure using less than 1% of the data sequences.
  5. Random Projection: It captures the matrix's "essence" in a smaller dimension to speed up calculations.
  6. Temporal Reuse: It only refreshes the decomposition every 8 steps, as the dominant directions in a model don't change instantly.

Datasets and Evaluation

The researchers evaluated Metis using:

  • Models: GPT-2 (130M and 1.1B parameters) and LLaMA-3 (8B parameters).
  • Pre-training Data: 100 Billion tokens from the DCLM dataset.
  • Downstream Benchmarks: A suite of standard tasks including ARC (Challenge and Easy), BoolQ, LAMBADA, PIQA, RACE, and HellaSwag to test reasoning, classification, and cloze prediction.

Key Insights and Ideas

  • Anisotropy is Universal: The authors analyzed models up to 671B parameters (DeepSeek-V3) and found that this "imbalanced spectrum" exists across all scales and architectures. It is a feature, not a bug, of modern LLMs.
  • The "Aha" Moment on Residuals: The paper shows that once you remove the top ~1.5% to 3% of singular components, the remaining matrix distribution becomes incredibly stable. This "residual" is what allows FP4 to work without losing the model's "soul."
  • Spectral vs. Element-wise: Unlike previous methods (like Nvidia’s Hadamard recipe) that try to smooth out outliers in the raw data, Metis works in the "spectral domain." This preserves the directional integrity of the model's internal representations, which is critical for maintaining performance.

Key Results

  • Near-Lossless Training: On LLaMA-3 8B, Metis enabled W4A4G4 (4-bit weights, activations, and gradients) training with only a 0.4% increase in training loss and a negligible 0.1% drop in downstream accuracy compared to full BF16 training.
  • Outperforming the Giants: Metis consistently beat Nvidia’s own FP4 training recipe, achieving lower loss and higher accuracy across the board.
GPT-2 (1.1B) training loss comparing BF16 baseline, Metis+NVFP4, and standard NVFP4.
  • Low Overhead: Despite the extra math involved in SVD, the optimized Metis implementation adds only about 10% total runtime overhead compared to a baseline FP4 setup, making it a practical choice for real-world training.

Limitations and Future Work

  • Simulation-Based: The current results are largely based on simulating FP4 behavior within BF16 containers. While this is standard practice for research before new hardware (like Blackwell) is widely available, true hardware-native performance remains to be seen.
  • Rank Sensitivity: While a 1.5% rank was sufficient for their tests, very different architectures (like Mixture-of-Experts models) might require more tuning of how much of the "dominant" spectrum needs to be isolated.
  • Future Directions: The authors plan to explore hardware-native deployment and scaling Metis to even larger models to see if the 4-bit training benefits increase with scale.

Summary updated

BibTeX
@inproceedings{cao2026metis,
  author = {Hengjie Cao and Mengyi Chen and Yifeng Yang and Fang Dong and Ruijun Huang and Jixian Zhou and Anrui Chen and Mingzhi Dong and Yujiang Wang and Jinlong Hou and Yuan Cheng and FAN WU and Fan Yang and Tun Lu and Ning Gu and Li Shang},
  title = {{Metis: Training LLMs with FP4 Quantization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=I2ZrCi5O84},
}
Figure