paper-with-me

홈 › Papers

TWEO: Transformers Without Extreme Outliers Enables FP8 Training And Quantization For Dummies

2025-11-28 · Guang Liang, Jie Shao, Ningyuan Tang, Xinyao Liu, Jianxin Wu arxiv

Native FP8 support in modern hardware is essential for training large Transformers, but is severely hindered by extreme activation outliers. Existing solutions either rely on complex mixed-precision engineering or invasive architectural modifications. This paper fundamentally challenges the conventional wisdom that outliers are data-driven. We demonstrate that extreme outliers are a data-independent, mechanically-produced artifact of training, originating from specific structural properties of the weight matrices (i.e., colinearity). Based on this insight, we propose TWEO (Transformers Without Extreme Outliers), a novel, non-invasive loss function. TWEO effectively prevents extreme outliers via a very simple loss term, which reduces outliers from 10000+ to less than 20. TWEO then enables full-model FP8 pre-training with neither engineering tricks nor architectural changes for both LLM and ViT. When standard FP8 training catastrophically collapses, TWEO achieves performance comparable to the BF16 baseline while delivering a 36% increase in training throughput. Also, TWEO enables a new quantization paradigm. Hardware-friendly W8A8 per-tensor static quantization of LLMs, previously considered completely unusable due to outliers, achieves SOTA performance for the first time on TWEO-trained models.

📄 PDF Abstract BibTeX arXiv:2511.23225

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Colinearity Decay: Training Quantization-Friendly ViTs with Outlier Decay

2026-05-02 · Jin Tong, Guang Liang, Peilin Sun, Jianxin Wu arxiv

Low-bit quantization is a practical route for efficiently deploying vision Transformers, yet activation outliers complicate fully quantized deployment. Existing methods either handle quantization post-training or suppres…

Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothing

2023-06-22 · NeurIPS 2023 11

Transformer models have been widely adopted in various domains over the last years, and especially large language models have advanced the field of AI significantly. Due to their size, the capability of these networks ha…

Quantization

DiTAS: Quantizing Diffusion Transformers via Enhanced Activation Smoothing

2024-09-12 · Zhenyuan Dong, Sai Qian Zhang

Diffusion Transformers (DiTs) have recently attracted significant interest from both industry and academia due to their enhanced capabilities in visual generation, surpassing the performance of traditional diffusion mode…

Image GenerationQuantization

Robust Online Convex Optimization in the Presence of Outliers

2021-07-05 · Tim van Erven, Sarah Sachs, Wouter M. Koolen, Wojciech Kotłowski

We consider online convex optimization when a number k of data points are outliers that may be corrupted. We model this by introducing the notion of robust regret, which measures the regret only on rounds that are not ou…

ConvRot: Rotation-Based Plug-and-Play 4-bit Quantization for Diffusion Transformers

2025-12-03 · Feice Huang, Zuliang Han, Xing Zhou, Yihuang Chen 외 arxiv

Diffusion transformers have demonstrated strong capabilities in generating high-quality images. However, as model size increases, the growing memory footprint and inference latency pose significant challenges for practic…