# EvoPress: Accurate Dynamic Model Compression via Evolutionary Search

EvoPress: 진화 탐색을 통한 정확한 동적 모델 압축

Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · arXiv · 2024년 10월 18일

- **연구 문제** 기존 동적 압축 방법은 레이어 중요도 점수를 독립적으로 합산하는 가정에 기대지만, EvoPress 저자들은 LLM 압축에서 이 가정이 일반적으로 성립하지 않는다고 주장합니다.
- **연구 방법** EvoPress는 레벨 데이터베이스와 KL-divergence 적합도 위에서 (1+λ)-EA, level-switch mutation, 다단계 선택을 결합해 전역 압축 제약을 만족하는 압축 프로파일을 탐색합니다.
- **주요 결과** 원문은 깊이 가지치기, 70% 희소성, 3비트 양자화 실험에서 EvoPress가 주요 기준선보다 낮은 perplexity를 보고합니다. 선형 적합도 함수에 대해서는 λ 조건 아래의 수렴 상한을 제시합니다.

## 기존 동적 압축의 계층 독립 가정

대규모 언어 모델의 압축은 양자화, 비구조적 희소화, 구조적 가지치기로 나뉘며, 최근에는 블록이나 레이어마다 압축 수준을 다르게 정하는 동적(비균일) 압축이 주목받고 있습니다. 기존 방법들은 각 레이어나 블록의 민감도 점수를 계산하고, 전역 압축 제약을 만족하면서 점수 합을 최소화하는 할당을 찾습니다. 이 접근은 점수 합이 낮으면 전체 압축 오류도 낮다는 오류 단조성을 전제로 합니다. 저자들은 이 전제가 LLM 압축에서 일반적으로 성립하지 않는다고 주장합니다. 원문 Table 1의 Llama-3-8B 깊이 가지치기 예에서는 더 많은 블록을 제거한 구성이 perplexity를 더 낮게 만드는 사례가 제시됩니다.

![Table 1: Depth pruning is not monotone. In this example (Llama-3-8B), removing strictly more blocks (depicted in orange) can improve perplexity across sources.…](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-9be9ccbc124a38a2b2b2c611350cf4ad.png?thumb=512)

**Table 1** . Depth pruning is not monotone. In this example (Llama-3-8B), removing strictly more blocks (depicted in orange) can improve perplexity across sources. The left half of a block corresponds to the attention layer, the right half to the MLP.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## EvoPress의 탐색 구성

EvoPress는 압축 방식과 제약을 입력으로 받아 유닛별 압축 수준 벡터를 찾는 진화 탐색입니다. 먼저 각 레이어나 블록을 독립적으로 여러 압축 수준으로 압축해 레벨 데이터베이스를 만듭니다. 적합도는 원본 모델과 압축 모델의 KL-divergence로 정의되며, 값이 낮을수록 높은 적합도로 취급합니다. 탐색은 (1 + λ)-EA를 기반으로 하며, 부모 하나를 유지하고 λ개의 자손을 만듭니다. 변이 연산인 level-switch mutation은 한 유닛의 압축 수준을 올리고 같은 크기의 다른 유닛의 수준을 내려 전역 압축 비율을 보존합니다. 자손은 점점 많은 캘리브레이션 토큰으로 단계적으로 평가되어 생존자가 줄어들며, 마지막 단계에서는 부모도 함께 비교됩니다.

![Figure 1: Removing twelve transformer blocks from Llama-3-8B under the constraint that only pairs of consecutive blocks can be removed. EvoPress finds the opti…](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-d3c607ac1543a9d9cf6dc0d8b97459c9.png?thumb=512)

**Figure 1** . Removing twelve transformer blocks from Llama-3-8B under the constraint that only pairs of consecutive blocks can be removed. EvoPress finds the optimal configuration from the 8008 possible removal combinations in generation 6.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Table 6: Effect of varying the number of offspring](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-ca257fed075ea34d418423db550aa40f.png?thumb=512)

**Table 6** . Effect of varying the number of offspring.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

![Figure 5: Convergence of EvoPress for unstructured sparsity (left) and quantization (right) for different fitness functions](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-d1c412f081a277264c5135b0cacf5874.png?thumb=512)

**Figure 5** . Convergence of EvoPress for unstructured sparsity (left) and quantization (right) for different fitness functions.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.

![Table 7: Comparison of using KL-Divergence vs. Perplexity as fitness function](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-11c1f469338365a5dfa3cf12efd7c1a7.png?thumb=512)

**Table 7** . Comparison of using KL-Divergence vs. Perplexity as fitness function.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.

## 선형 적합도 함수에 대한 수렴 보장

저자들은 선형 적합도 함수 f에 대해 level-switch mutation을 쓰는 (1 + λ)-EA가 λ ∈ O(n/log n) 조건에서 기대 O(k(n − k)/λ) 세대에 최적화된다는 Theorem 3.1을 제시합니다. 이 정리는 ∥x∥1 = n − k 제약을 가진 이진 초입방체 위의 선형 함수에 적용됩니다. 원문은 λ를 늘리면 필요한 세대 수가 λ에 비례하여 줄어드는 경향을 논의합니다. 이 결과는 위 조건에서의 상한이며, 임의의 비선형 적합도 함수나 실제 LLM 적합도 지형 전체에 대한 보장으로 확장하지 않습니다.

## 깊이 가지치기 결과

깊이 가지치기 실험은 Mistral-7B-v0.3에서 Shortened Llama, ShortGPT, Weight Subcloning, Cosine Similarity(Window)와 비교합니다. 주 지표는 WikiText-2와 C4의 perplexity이며, 원문은 EvoPress가 주요 기준선보다 낮은 perplexity 격차를 보인다고 보고합니다. 저자들은 기준선이 약 31.25% 희소성 이후 실패한다고 보고하고, EvoPress는 모델의 절반을 제거한 경우에도 기능하는 부분 모델을 찾았다고 기술합니다. 이 실험에서는 Attention과 MLP 모듈을 같은 유형끼리만 교환하도록 제한했습니다.

![Figure 2: Depth pruning results, on Mistral-7B-v0.3. Relative to all prior methods, EvoPress shows significantly lower PPL gap relative to the uncompressed mod…](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-0cb4623228e2fbbd9bfb708d72e51d80.png?thumb=512)

**Figure 2** . Depth pruning results, on Mistral-7B-v0.3. Relative to all prior methods, EvoPress shows significantly lower PPL gap relative to the uncompressed model, with remarkably large gaps at medium compression rates.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Table 12: Depth pruning of Mistral-7B-v0.3](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-589e82164c797cc6c480a5ccdce1dd7f.png?thumb=512)

**Table 12** . Depth pruning of Mistral-7B-v0.3.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.

![Figure 8: Convergence of EvoPress when removing 8 transformer blocks (left) and 16 transformer blocks (right) of Mistral-7B-v0.3](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-3179d719285f69febeb416477c47a741.png?thumb=512)

**Figure 8** . Convergence of EvoPress when removing 8 transformer blocks (left) and 16 transformer blocks (right) of Mistral-7B-v0.3.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 27쪽에서 그림 영역을 추출했습니다.

## 비구조적 희소성과 양자화 결과

70% 평균 희소성의 Llama-3-8B 실험에서 EvoPress는 Uniform과 OWL과 비교되며, Wiki2 perplexity 28.76을 보고합니다. 이는 OWL의 48.07보다 낮은 값입니다. 3비트 양자화 실험에서는 Uniform과 DP 기준선과 비교되며, Llama-3-8B의 Wiki2 perplexity는 EvoPress에서 7.49, Uniform에서 12.19로 보고됩니다. 두 결과는 서로 다른 압축 방식과 기준선의 값이므로 하나의 공통 조건으로 합쳐 읽지 않아야 합니다. 양자화 실험에서 DP는 NMSE 최소화 기반 동적 계획법입니다.

![Table 3: Performance of various profiles at 3 bit quantization, for PPL and avg. zero-shot accuracy](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa/figures/figure-0241d762caa55171fd0ed2a8c28a69d4.png?thumb=512)

**Table 3** . Performance of various profiles at 3 bit quantization, for PPL and avg. zero-shot accuracy.

[원문](https://arxiv.org/abs/2410.14649v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan · EvoPress: Accurate Dynamic Model Compression via Evolutionary Search · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 질문

이 결과는 원문에 보고된 모델, 데이터셋, 지표 조건에서 얻은 것입니다. 주 평가는 perplexity와 zero-shot 정확도이며, 이는 언어 성능의 일부 측면을 측정합니다. 깊이 가지치기 실험의 모듈 교환 제약은 Attention과 MLP 수를 자유롭게 바꾸는 가능성을 아직 열어 둔 상태로 남깁니다. 저자들은 Theorem 3.1의 결과를 level-switch mutation과 λ 조건 아래의 선형 적합도 함수로 제한합니다. 따라서 임의의 LLM 압축 문제에 대한 최적성이나 보장으로 해석하지 않아야 합니다.

## 논문 정보

- **저자**: Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 10월 18일
- **등록일**: 2026년 10월 29일
- **수정일**: 2025년 7월 1일
- **버전**: v2
- **arXiv**: 2410.14649
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2410.14649v2) · [원문 PDF ↗](https://arxiv.org/pdf/2410.14649v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

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}.

## 원문 인용

Sieberling, Oliver, Kuznedelev, Denis, Kurtic, Eldar, Alistarh, Dan (2024). EvoPress: Accurate Dynamic Model Compression via Evolutionary Search. arXiv:2410.14649v2. https://arxiv.org/abs/2410.14649v2

**BibTeX**

```
@misc{oliver2024evopress,
  title = {{EvoPress: Accurate Dynamic Model Compression via Evolutionary Search}},
  author = {Sieberling, Oliver and Kuznedelev, Denis and Kurtic, Eldar and Alistarh, Dan},
  year = {2024},
  eprint = {2410.14649},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.14649v2}
}
```

## 이 논문의 용어

- [Perplexity](https://refivu.com/terms/2b204e513801-perplexity)
- [C4](https://refivu.com/terms/87725552ed79-c4)
- [GPTQ](https://refivu.com/terms/9c1044f95540-gptq)
- [KL-divergence](https://refivu.com/terms/ec24ed6c4b84-kl-divergence)
- [FineWeb-Edu](https://refivu.com/terms/ec01acbdc208-fineweb-edu)
- [SparseGPT](https://refivu.com/terms/104184b30234-sparsegpt)
- [zero-shot accuracy](https://refivu.com/terms/51018930c0be-zero-shot-accuracy)
- [OWL](https://refivu.com/terms/76d6f04dabba-owl)

## 다른 논문 해설

- [SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantization](https://refivu.com/papers/5328df78-371a-4c98-b607-4082e43abef7-sageattention2-efficient-attention-with-thorough-outlier.md)
- [SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inference](https://refivu.com/papers/6a719301-c428-424d-9dc3-3159ff623aea-spargeattention-accurate-and-training-free-sparse-attention.md)
- [SlideSparse: Fast and Flexible (2N-2):2N Structured Sparsity](https://refivu.com/papers/ab6a6e6e-3c2f-43c0-b139-ef3fc21d206e-slidesparse-fast-and-flexible-2n-2-2n-structured.md)
- [Equivariance via Minimal Frame Averaging for More Symmetries and Efficiency](https://refivu.com/papers/32bc8ef8-c642-464b-9bf1-e0299140e50c-equivariance-via-minimal-frame-averaging-for-more-symmetries.md)
- [Scaling Continual Learning to 300+ Tasks with Bi-Level Routing Mixture-of-Experts](https://refivu.com/papers/1524bd80-2de2-4335-91cb-f2dfb5503a91-scaling-continual-learning-to-300-tasks-with-bi.md)
- [Debiased Model-based Representations for Sample-efficient Continuous Control](https://refivu.com/papers/00e57e36-4415-4d19-875a-7522ba4dc33f-debiased-model-based-representations-for-sample-efficient.md)
- [Hardware and Software Platform Inference](https://refivu.com/papers/6781f817-b239-4485-abd3-92cc8cd29db4-hardware-and-software-platform-inference.md)
- [Improving Consistency Models with Generator-Augmented Flows](https://refivu.com/papers/805b43bc-e24b-4a82-9b1d-0b75f3b5e976-improving-consistency-models-with-generator-augmented-flows.md)
- [any4: Learned 4-bit Numeric Representation for LLMs](https://refivu.com/papers/7f8c7c0f-5cbf-497b-af22-9a5935d53aea-any4-learned-4-bit-numeric-representation-for-llms.md)
- [Posterior Inference with Diffusion Models for High-dimensional Black-box Optimization](https://refivu.com/papers/df54b967-35f0-4217-af0f-4c91e3fffee5-posterior-inference-with-diffusion-models-for-high.md)
- [Oscillation-Reduced MXFP4 Training for Vision Transformers](https://refivu.com/papers/6c4185e8-d6ea-457d-92d9-b2402cacc8ac-oscillation-reduced-mxfp4-training-for-vision-transformers.md)
- [Open Materials Generation with Stochastic Interpolants](https://refivu.com/papers/8d5533d2-d4cb-4d87-9bf6-440cd9d3d4d7-open-materials-generation-with-stochastic-interpolants.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/9b751a25-3027-4f44-b8fd-a5a56de096fa-evopress-accurate-dynamic-model-compression-via-evolutionary)
