Saved in:
Bibliographic Details
Main Authors: Yu, Mengxia, Wang, De, Shan, Qi, Reed, Colorado J, Wan, Alvin
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.07191
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912469189918720
author Yu, Mengxia
Wang, De
Shan, Qi
Reed, Colorado J
Wan, Alvin
author_facet Yu, Mengxia
Wang, De
Shan, Qi
Reed, Colorado J
Wan, Alvin
contents Recent works have shown a surprising result: a small fraction of Large Language Model (LLM) parameter outliers are disproportionately important to the quality of the model. LLMs contain billions of parameters, so these small fractions, such as 0.01%, translate to hundreds of thousands of parameters. In this work, we present an even more surprising finding: Pruning as few as a single parameter can destroy an LLM's ability to generate text -- increasing perplexity by 3 orders of magnitude and reducing zero-shot accuracy to guessing. We propose a data-free method for identifying such parameters, termed super weights, using a single forward pass through the model. We additionally find that these super weights induce correspondingly rare and large activation outliers, termed super activations. When preserved with high precision, super activations can improve simple round-to-nearest quantization to become competitive with state-of-the-art methods. For weight quantization, we similarly find that by preserving the super weight and clipping other weight outliers, round-to-nearest quantization can scale to much larger block sizes than previously considered. To facilitate further research into super weights, we provide an index of super weight coordinates for common, openly available LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2411_07191
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Super Weight in Large Language Models
Yu, Mengxia
Wang, De
Shan, Qi
Reed, Colorado J
Wan, Alvin
Computation and Language
Artificial Intelligence
Recent works have shown a surprising result: a small fraction of Large Language Model (LLM) parameter outliers are disproportionately important to the quality of the model. LLMs contain billions of parameters, so these small fractions, such as 0.01%, translate to hundreds of thousands of parameters. In this work, we present an even more surprising finding: Pruning as few as a single parameter can destroy an LLM's ability to generate text -- increasing perplexity by 3 orders of magnitude and reducing zero-shot accuracy to guessing. We propose a data-free method for identifying such parameters, termed super weights, using a single forward pass through the model. We additionally find that these super weights induce correspondingly rare and large activation outliers, termed super activations. When preserved with high precision, super activations can improve simple round-to-nearest quantization to become competitive with state-of-the-art methods. For weight quantization, we similarly find that by preserving the super weight and clipping other weight outliers, round-to-nearest quantization can scale to much larger block sizes than previously considered. To facilitate further research into super weights, we provide an index of super weight coordinates for common, openly available LLMs.
title The Super Weight in Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2411.07191