Saved in:
Bibliographic Details
Main Authors: Deiseroth, Björn, Meuer, Max, Gritsch, Nikolas, Eichenberg, Constantin, Schramowski, Patrick, Aßenmacher, Matthias, Kersting, Kristian
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2311.01544
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917629236609024
author Deiseroth, Björn
Meuer, Max
Gritsch, Nikolas
Eichenberg, Constantin
Schramowski, Patrick
Aßenmacher, Matthias
Kersting, Kristian
author_facet Deiseroth, Björn
Meuer, Max
Gritsch, Nikolas
Eichenberg, Constantin
Schramowski, Patrick
Aßenmacher, Matthias
Kersting, Kristian
contents Large Language Models (LLMs) have reshaped natural language processing with their impressive capabilities. However, their ever-increasing size has raised concerns about their effective deployment and the need for LLM compression. This study introduces the Divergent Token Metrics (DTMs), a novel approach to assessing compressed LLMs, addressing the limitations of traditional perplexity or accuracy measures that fail to accurately reflect text generation quality. DTMs measure token divergences that allow deeper insights into the subtleties of model compression, in particular, when evaluating components' impacts individually. Utilizing the First Divergent Token Metric (FDTM) in model sparsification reveals that 25% of all attention components can be pruned beyond 90% on the Llama-2 model family, still keeping SOTA performance. For quantization, FDTM suggests that more than 80% of parameters can be naively transformed to int8 without special outlier management. These evaluations indicate the necessity of choosing appropriate compressions for parameters individually -- and that FDTM can identify those -- while standard metrics result in deteriorated outcomes.
format Preprint
id arxiv_https___arxiv_org_abs_2311_01544
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Divergent Token Metrics: Measuring degradation to prune away LLM components -- and optimize quantization
Deiseroth, Björn
Meuer, Max
Gritsch, Nikolas
Eichenberg, Constantin
Schramowski, Patrick
Aßenmacher, Matthias
Kersting, Kristian
Computation and Language
Machine Learning
Large Language Models (LLMs) have reshaped natural language processing with their impressive capabilities. However, their ever-increasing size has raised concerns about their effective deployment and the need for LLM compression. This study introduces the Divergent Token Metrics (DTMs), a novel approach to assessing compressed LLMs, addressing the limitations of traditional perplexity or accuracy measures that fail to accurately reflect text generation quality. DTMs measure token divergences that allow deeper insights into the subtleties of model compression, in particular, when evaluating components' impacts individually. Utilizing the First Divergent Token Metric (FDTM) in model sparsification reveals that 25% of all attention components can be pruned beyond 90% on the Llama-2 model family, still keeping SOTA performance. For quantization, FDTM suggests that more than 80% of parameters can be naively transformed to int8 without special outlier management. These evaluations indicate the necessity of choosing appropriate compressions for parameters individually -- and that FDTM can identify those -- while standard metrics result in deteriorated outcomes.
title Divergent Token Metrics: Measuring degradation to prune away LLM components -- and optimize quantization
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2311.01544