atlas

Research map / Large language models / Language, safety and interpretability

Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language Models

ICML 2024 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Uses genetic programming over a symbolic search space of weight, gradient and activation operations to evolve a post-training LLM pruning metric (Pruner-Zero) that beats Wanda and SparseGPT without weight updates.

Problem

Post-training pruning metrics for LLMs are hand-designed through trial and error and are highly sensitive to their exact formulation, so better metrics are hard to find systematically.

Approach

Formulate pruning-metric design as symbolic regression: represent metrics as expression trees over W, G, X with unary/binary operators, search them with genetic programming using WikiText2 perplexity as fitness, and prune redundant equivalent forms with an Opposing Operation Simplification strategy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Pruner-Zero instead of WandaLLaMA-2-7B at 50% sparsity · WikiText2perplexity: 6.42 -> 6.26Helped
Use Pruner-Zero instead of SparseGPTLLaMA-2-70B at 50% sparsity · WikiText2perplexity: 3.98 -> 3.82Helped
Use Pruner-Zero instead of SparseGPTLLaMA-2-7B at 2:4 sparsity · WikiText2perplexity: 10.17 -> 10.52Hurt
Use Pruner-Zero instead of SparseGPTLLaMA-2-7B at 50% sparsity · zero-shot mean accuracymean accuracy (%): 56.24 -> 58.87Helped
Use Pruner-Zero instead of SparseGPTLLaMA-2-70B at 50% sparsity · zero-shot mean accuracymean accuracy (%): 67.28 -> 71.10Helped
Use Pruner-Zero instead of WandaLLaMA-2-13B, 8-shot · GSM8Kaccuracy: 0.1312 -> 0.1403Helped
Add Opposing Operation Simplification (OOS) (ablation)Pruner-Zero on LLaMA-2-7B · WikiText2, 50% unstructured sparsityperplexity: 6.8395 -> 6.7079Helped
Add LoRA fine-tuning (ablation)Pruner-Zero on LLaMA-7B · WikiText2, 50% sparsityperplexity: 6.95 -> 6.74Helped
Add LoRA fine-tuning (ablation)Pruner-Zero on LLaMA-7B · WikiText2, 2:4 sparsityperplexity: 10.61 -> 8.24Helped
Add LoRA fine-tuning (ablation)Pruner-Zero on LLaMA-2-7B · WikiText2, 50% sparsityperplexity: 6.26 -> 6.41Hurt
Add LoRA fine-tuning (ablation)Pruner-Zero on LLaMA-2-7B · WikiText2, 2:4 sparsityperplexity: 10.52 -> 7.73Helped
Use evolutionary search instead of random search (ablation)Pruner-Zero metric search · search convergenceiterations to converge: fewer than 100 iterations vs. approximately 300 iterationsHelped

Surprising findings

Limitations

Experimental setup

Datasets: WikiText2 C4 GSM8K BoolQ RTE HellaSwag WinoGrande ARC OBQA

Benchmarks: WikiText2 BoolQ RTE HellaSwag WinoGrande ARC OBQA GSM8K

Metrics: perplexity zero-shot accuracy in-context learning accuracy

Baselines: Magnitude SparseGPT Wanda GBLM-Pruner

Builds on: Wanda SparseGPT GBLM-Pruner AutoML-Zero EMQ

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy