Papers › EvoPress: Towards Optimal Dynamic Model Compression via Evolutionary Search

EvoPress: Towards Optimal Dynamic Model Compression via Evolutionary Search

18 Oct 2024arXiv:2410.14649archive 2025-07-28

Oliver Sieberling, Denis Kuznedelev, Eldar Kurtic, Dan Alistarh

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 \emph{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 heuristics for identifying the "importance" of a given layer towards the loss, based on assumptions such as \emph{error monotonicity}, i.e. that the end-to-end model compression error is proportional to the sum of layer-wise errors. In this paper, we revisit this area, and propose a new and general approach for dynamic compression that is provably optimal in a given input range. We begin from the motivating observation that, in general, \emph{error monotonicity does not hold for LLMs}: compressed models with lower sum of per-layer errors can perform \emph{worse} than models with higher error sums. To address this, we propose a new general evolutionary framework for dynamic LLM compression called EvoPress, which has provable convergence, and low sample and evaluation complexity. We show that these theoretical guarantees lead to highly competitive practical performance for dynamic compression of Llama, Mistral and Phi models. Via EvoPress, we set new state-of-the-art results across all compression approaches: structural pruning (block/layer dropping), unstructured sparsity, as well as quantization with dynamic bitwidths. Our code is available at https://github.com/IST-DASLab/EvoPress.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.14649")

Code

Syntology Ran 10 of 17 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ist-daslab/evopress officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 10 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
1ran · fixture could not drive it
5ran
7unverified

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from IST-DASLab/EvoPress. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_cosine_similarity IST-DASLab/EvoPress/drop_scoring.py official repository ran Apache-2.0 (permissive) · 224d81b67a1c2965 · report
compute_fitness ist-daslab/evopress/evo_drop_search.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · a03e24b71865a274 · report
compute_kl_div ist-daslab/evopress/evo_drop_search.py official repository ran · our draft was wrong Apache-2.0 (permissive) · a7fde36611f443e7 · report
compute_l2_error IST-DASLab/EvoPress/drop_scoring.py official repository ran Apache-2.0 (permissive) · 5e9ff500210ac761 · report
compute_l2_error_normalized IST-DASLab/EvoPress/drop_scoring.py official repository ran Apache-2.0 (permissive) · 4ba54cabefb848f1 · report
compute_perplexity ist-daslab/evopress/evo_drop_search.py official repository ran · our draft was wrong Apache-2.0 (permissive) · e1d3ed66ce398037 · report
get_attn_layer_name ist-daslab/evopress/evo_drop_search.py official repository ran · our draft was wrong Apache-2.0 (permissive) · e530b636de6951b7 · report
get_legal_mask IST-DASLab/EvoPress/evo_drop_search.py official repository ran Apache-2.0 (permissive) · ae2d0c398eb4627a · report
get_mlp_layer_name ist-daslab/evopress/evo_drop_search.py official repository ran · our draft was wrong Apache-2.0 (permissive) · b0abeec22706332c · report
is_valid_state IST-DASLab/EvoPress/evo_drop_search.py official repository ran Apache-2.0 (permissive) · 51b6841c58c15248 · report
get_layer_drop_config IST-DASLab/EvoPress/brute_force_drop.py official repository unverified Apache-2.0 (permissive) · 5288f0e7d0a12f03 · report
load_compressed_weights IST-DASLab/EvoPress/eval_ppl.py official repository unverified Apache-2.0 (permissive) · 0611818d879db651 · report
load_compressed_weights IST-DASLab/EvoPress/lmeval.py official repository unverified Apache-2.0 (permissive) · 5d2893037018209d · report
load_states ist-daslab/evopress/evo_drop_search.py official repository unverified Apache-2.0 (permissive) · 2539ab93d1be2ac3 · report
make_dummy_forward ist-daslab/evopress/evo_drop_search.py official repository unverified Apache-2.0 (permissive) · d7a0175db86b90db · report
restore_forward ist-daslab/evopress/evo_drop_search.py official repository unverified Apache-2.0 (permissive) · 3943134b24b7864b · report
selection ist-daslab/evopress/evo_drop_search.py official repository unverified Apache-2.0 (permissive) · e0f2f410f7063ffa · report

Tasks

Model CompressionQuantization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

PruningSET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections