LGOct 18, 2024

EvoPress: Accurate Dynamic Model Compression via Evolutionary Search

arXiv:2410.14649v214 citationsh-index: 41Has CodeICML
Originality Highly original
AI Analysis

This work addresses the high computational costs of LLMs for users needing efficient deployment, representing a novel method rather than an incremental improvement.

The paper tackles the problem of dynamic compression for large language models (LLMs) by addressing the non-independence of layer contributions, proposing EvoPress, an evolutionary framework that achieves state-of-the-art performance on models like Llama, Mistral, and Phi across pruning, sparsity, and quantization.

The high computational costs of large language models (LLMs) have led to a flurry of research on LLM compression, via methods such as quantization, sparsification, or structured pruning. A new frontier in this area is given by dynamic, non-uniform compression methods, which adjust the compression levels (e.g., sparsity) per-block or even per-layer in order to minimize accuracy loss, while guaranteeing a global compression threshold. Yet, current methods rely on estimating the importance of a given layer, implicitly assuming that layers contribute independently to the overall compression error. We begin from the motivating observation that this independence assumption does not generally hold for LLM compression: pruning a model further may even significantly recover performance. To address this, we propose EvoPress, a novel evolutionary framework for dynamic LLM compression. By formulating dynamic compression as a general optimization problem, EvoPress identifies optimal compression profiles in a highly efficient manner, and generalizes across diverse models and compression techniques. Via EvoPress, we achieve state-of-the-art performance for dynamic compression of Llama, Mistral, and Phi models, setting new benchmarks for structural pruning (block/layer dropping), unstructured sparsity, and quantization with dynamic bitwidths. Our code is available at https://github.com/IST-DASLab/EvoPress}.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes