English
Related papers

Related papers: Quantizable Transformers: Removing Outliers by Hel…

200 papers

Outlier Features (OFs) are neurons whose activation magnitudes significantly exceed the average over a neural network's (NN) width. They are well known to emerge during standard transformer training and have the undesirable effect of…

Machine Learning · Computer Science 2024-11-08 Bobby He , Lorenzo Noci , Daniele Paliotta , Imanol Schlag , Thomas Hofmann

Large Language Models (LLMs) excel in NLP, but their demands hinder their widespread deployment. While Quantization-Aware Training (QAT) offers a solution, its extensive training costs make Post-Training Quantization (PTQ) a more practical…

Computation and Language · Computer Science 2024-04-09 Jing Liu , Ruihao Gong , Xiuying Wei , Zhiwei Dong , Jianfei Cai , Bohan Zhuang

While Transformer-based language models are generally very robust to pruning, there is the recently discovered outlier phenomenon: disabling only 48 out of 110M parameters in BERT-base drops its performance by nearly 30% on MNLI. We…

Computation and Language · Computer Science 2024-06-19 Giovanni Puccetti , Anna Rogers , Aleksandr Drozd , Felice Dell'Orletta

As new optimizers gain traction and model quantization becomes standard for efficient deployment, a key question arises: how does the choice of optimizer affect model performance in the presence of quantization? Despite progress in both…

Machine Learning · Computer Science 2025-10-03 Georgios Vlassis , Saleh Ashkboos , Alexandra Volkova , Torsten Hoefler , Dan Alistarh

Quantization techniques, including quantization-aware training (QAT) and post-training quantization (PTQ), have become essential for inference acceleration of image super-resolution (SR) networks. Compared to QAT, PTQ has garnered…

Computer Vision and Pattern Recognition · Computer Science 2025-11-04 Hailing Wang , jianglin Lu , Yitian Zhang , Yun Fu

We consider the problem of accurate quantization for language models, where both the weights and activations are uniformly quantized to 4 bits per parameter, the lowest bitwidth format natively supported by GPU hardware. In this context,…

Machine Learning · Computer Science 2024-08-28 Aniruddha Nrusimha , Mayank Mishra , Naigang Wang , Dan Alistarh , Rameswar Panda , Yoon Kim

Training large language models using 4-bit arithmetic enhances throughput and memory efficiency. Yet, the limited dynamic range of FP4 increases sensitivity to outliers. While NVFP4 mitigates quantization error via hierarchical…

Transformer-based deep learning models have achieved state-of-the-art performance across numerous language and vision tasks. While the self-attention mechanism, a core component of transformers, has proven capable of handling complex data…

Machine Learning · Computer Science 2025-08-05 Laziz Abdullaev , Tan M. Nguyen

Quantization can improve the execution latency and energy efficiency of neural networks on both commodity GPUs and specialized accelerators. The majority of existing literature focuses on training quantized DNNs, while this work examines…

Machine Learning · Computer Science 2019-05-24 Ritchie Zhao , Yuwei Hu , Jordan Dotzel , Christopher De Sa , Zhiru Zhang

In this paper, I introduce the retrieval problem, a simple yet common reasoning task that can be solved only by transformers with a minimum number of layers, which grows logarithmically with the input size. I empirically show that large…

Machine Learning · Computer Science 2025-10-29 Tiberiu Musat

Large language models require significant computational resources for deployment, making quantization essential for practical applications. However, the main obstacle to effective quantization lies in systematic outliers in activations and…

Machine Learning · Computer Science 2025-11-25 Cuong Pham , Hoang Anh Dung , Cuong C. Nguyen , Trung Le , Gustavo Carneiro , Jianfei Cai , Thanh-Toan Do

Transformers have revolutionized deep learning in numerous fields, including natural language processing, computer vision, and audio processing. Their strength lies in their attention mechanism, which allows for the discovering of complex…

Machine Learning · Computer Science 2024-04-02 Uladzislau Yorsh , Martin Holeňa , Ondřej Bojar , David Herel

Outliers in weights and activations pose a key challenge for fixed-point quantization of neural networks. While they can be addressed by fine-tuning, this is not practical for ML service providers (e.g., Google or Microsoft) who often…

Machine Learning · Computer Science 2021-05-28 Ritchie Zhao , Jordan Dotzel , Zhanqiu Hu , Preslav Ivanov , Christopher De Sa , Zhiru Zhang

Large language models (LLMs) require substantial compute, and thus energy, at inference time. While quantizing weights and activations is effective at improving efficiency, naive quantization of LLMs can significantly degrade performance…

Machine Learning · Computer Science 2025-06-06 Boris van Breugel , Yelysei Bondarenko , Paul Whatmough , Markus Nagel

The presence of outliers in Large Language Models (LLMs) weights and activations makes them difficult to quantize. Recent work has leveraged rotations to mitigate these outliers. In this work, we propose methods that learn fusible rotations…

Machine Learning · Computer Science 2026-01-13 Advait Gadhikar , Riccardo Grazzi , James Hensman

The point cloud learning community witnesses a modeling shift from CNNs to Transformers, where pure Transformer architectures have achieved top accuracy on the major learning benchmarks. However, existing point Transformers are…

Computer Vision and Pattern Recognition · Computer Science 2022-03-25 Zhang Cheng , Haocheng Wan , Xinyi Shen , Zizhao Wu

Quantization effectively reduces the serving costs of Large Language Models (LLMs) by speeding up data movement through compressed parameters and enabling faster operations via integer arithmetic. However, activating integer arithmetic…

Machine Learning · Computer Science 2025-06-04 Patrik Czakó , Gábor Kertész , Sándor Szénási

This paper investigates the limitations of transformers for entity-tracking tasks in large language models. We identify a theoretical constraint, showing that transformers require at least $\log_2 (n+1)$ layers to handle entity tracking…

Machine Learning · Computer Science 2024-12-12 Erwan Fagnou , Paul Caillon , Blaise Delattre , Alexandre Allauzen

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…

Computation and Language · Computer Science 2025-12-01 Guang Liang , Jie Shao , Ningyuan Tang , Xinyao Liu , Jianxin Wu

Quantization of large language models (LLMs) faces significant challenges, particularly due to the presence of outlier activations that impede efficient low-bit representation. Traditional approaches predominantly address Normal Outliers,…

Computation and Language · Computer Science 2024-11-04 Haokun Lin , Haobo Xu , Yichen Wu , Jingzhi Cui , Yingtao Zhang , Linzhan Mou , Linqi Song , Zhenan Sun , Ying Wei