Saved in:
Bibliographic Details
Main Authors: Behtash, Alireza, Fofonjka, Marijan, Baird, Ethan, Mauer, Tyler, Moghimifam, Hossein, Stout, David, Dennison, Joel
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.04704
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929747002392576
author Behtash, Alireza
Fofonjka, Marijan
Baird, Ethan
Mauer, Tyler
Moghimifam, Hossein
Stout, David
Dennison, Joel
author_facet Behtash, Alireza
Fofonjka, Marijan
Baird, Ethan
Mauer, Tyler
Moghimifam, Hossein
Stout, David
Dennison, Joel
contents We present a novel approach to selective model quantization that transcends the limitations of architecture-specific and size-dependent compression methods for Large Language Models (LLMs) using Entropy-Weighted Quantization (EWQ). By analyzing the entropy distribution across transformer blocks, EWQ determines which blocks can be safely quantized without causing significant performance degradation, independent of model architecture or size. Our method outperforms uniform quantization approaches, maintaining Massive Multitask Language Understanding (MMLU) accuracy scores within 0.5% of unquantized models while reducing memory usage by up to 18%. We demonstrate the effectiveness of EWQ across multiple architectures -- from 1.6B to 70B parameters -- and showcase consistent improvements in the quality-compression trade-off regardless of model scale or architectural design. A surprising finding of EWQ is its ability to reduce perplexity compared to unquantized models, suggesting the presence of beneficial regularization through selective precision reduction. This improvement holds across different model families, indicating a fundamental relationship between layer-level entropy and optimal precision requirements. Additionally, we introduce FastEWQ, a rapid method for entropy distribution analysis that eliminates the need for loading model weights. This technique leverages universal characteristics of entropy distribution that persist across various architectures and scales, enabling near-instantaneous quantization decisions while maintaining 80% classification accuracy with full entropy analysis. Our results demonstrate that effective quantization strategies can be developed independently of specific architectural choices or model sizes, opening new possibilities for efficient LLM deployment.
format Preprint
id arxiv_https___arxiv_org_abs_2503_04704
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Universality of Layer-Level Entropy-Weighted Quantization Beyond Model Architecture and Size
Behtash, Alireza
Fofonjka, Marijan
Baird, Ethan
Mauer, Tyler
Moghimifam, Hossein
Stout, David
Dennison, Joel
Machine Learning
Artificial Intelligence
We present a novel approach to selective model quantization that transcends the limitations of architecture-specific and size-dependent compression methods for Large Language Models (LLMs) using Entropy-Weighted Quantization (EWQ). By analyzing the entropy distribution across transformer blocks, EWQ determines which blocks can be safely quantized without causing significant performance degradation, independent of model architecture or size. Our method outperforms uniform quantization approaches, maintaining Massive Multitask Language Understanding (MMLU) accuracy scores within 0.5% of unquantized models while reducing memory usage by up to 18%. We demonstrate the effectiveness of EWQ across multiple architectures -- from 1.6B to 70B parameters -- and showcase consistent improvements in the quality-compression trade-off regardless of model scale or architectural design. A surprising finding of EWQ is its ability to reduce perplexity compared to unquantized models, suggesting the presence of beneficial regularization through selective precision reduction. This improvement holds across different model families, indicating a fundamental relationship between layer-level entropy and optimal precision requirements. Additionally, we introduce FastEWQ, a rapid method for entropy distribution analysis that eliminates the need for loading model weights. This technique leverages universal characteristics of entropy distribution that persist across various architectures and scales, enabling near-instantaneous quantization decisions while maintaining 80% classification accuracy with full entropy analysis. Our results demonstrate that effective quantization strategies can be developed independently of specific architectural choices or model sizes, opening new possibilities for efficient LLM deployment.
title Universality of Layer-Level Entropy-Weighted Quantization Beyond Model Architecture and Size
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2503.04704