paper-with-me

홈 › Papers

Outliers and Calibration Sets have Diminishing Effect on Quantization of Modern LLMs

2024-05-31 · Davide Paglieri, Saurabh Dash, Tim Rocktäschel, Jack Parker-Holder

Post-Training Quantization (PTQ) enhances the efficiency of Large Language Models (LLMs) by enabling faster operation and compatibility with more accessible hardware through reduced memory usage, at the cost of small performance drops. We explore the role of calibration sets in PTQ, specifically their effect on hidden activations in various notable open-source LLMs. Calibration sets are crucial for evaluating activation magnitudes and identifying outliers, which can distort the quantization range and negatively impact performance. Our analysis reveals a marked contrast in quantization effectiveness across models. The older OPT model, upon which much of the quantization literature is based, shows significant performance deterioration and high susceptibility to outliers with varying calibration sets. In contrast, newer models like Llama-2 7B, Llama-3 8B, Command-R 35B, and Mistral 7B demonstrate strong robustness, with Mistral 7B showing near-immunity to outliers and stable activations. These findings suggest a shift in PTQ strategies might be needed. As advancements in pre-training methods reduce the relevance of outliers, there is an emerging need to reassess the fundamentals of current quantization literature. The emphasis should pivot towards optimizing inference speed, rather than primarily focusing on outlier preservation, to align with the evolving characteristics of state-of-the-art LLMs.

📄 PDF Abstract BibTeX arXiv:2405.20835

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Methods 이 논문이 사용한 방법론

OPT OPT is a suite of decoder-only pre-trained transformers ranging from 125M to 175B parameters. The model uses an AdamW optimizer and weight decay of 0.1. It follows a linear…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Outlier Guided Optimization of Abdominal Segmentation

2020-02-10 · Yuchen Xu, Olivia Tang, Yucheng Tang, Ho Hin Lee 외

Abdominal multi-organ segmentation of computed tomography (CT) images has been the subject of extensive research interest. It presents a substantial challenge in medical image processing, as the shape and distribution of…

Active LearningComputed Tomography (CT)Organ SegmentationSegmentation

ZeroLiers: Diminishing Large Outliers in ReLU-like Activations

2021-09-29 · Yeha Kim, Wookeun Jung, Jaejin Lee

As the number of learnable parameters is getting bigger and bigger, overfitting is still one of the main challenges in training DNNs. Even though DNNs with billions or even a few hundred billions of parameters are propos…

Preliminary assessment of a cost-effective headphone calibration procedure for soundscape evaluations

2022-05-10 · Bhan Lam, Kenneth Ooi, Karn N. Watcharasupat, Zhen-Ting Ong 외

The introduction of ISO 12913-2:2018 has provided a framework for standardized data collection and reporting procedures for soundscape practitioners. A strong emphasis was placed on the use of calibrated head and torso s…

Robust Conformal Outlier Detection under Contaminated Reference Data

2025-02-07 · Meshi Bashari, Matteo Sesia, Yaniv Romano

Conformal prediction is a flexible framework for calibrating machine learning predictions, providing distribution-free statistical guarantees. In outlier detection, this calibration relies on a reference set of labeled i…

Conformal PredictionOutlier Detection

Asymptotic Characterisation of Robust Empirical Risk Minimisation Performance in the Presence of Outliers

2023-05-30 · Matteo Vilucchio, Emanuele Troiani, Vittorio Erba, Florent Krzakala

We study robust linear regression in high-dimension, when both the dimension $d$ and the number of data points $n$ diverge with a fixed ratio $\alpha=n/d$, and study a data model that includes outliers. We provide exact …