scimeatlas

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

ShadowLLM: Predictor-based Contextual Sparsity for Large Language Models

Yash Akhauri, Ahmed F. AbouElhamayed, Jordan Dotzel, Zhiru Zhang, Alexander M. Rush, Safeen Huda, Mohamed S. Abdelfattah

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: LLM pruning and scaling dataopen problems in this approach36 citations (OpenAlex)

Google · Cornell University

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
6improved
1no clear effect
2hurt
2mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use one predictor on first-layer output instead of per-layer DejaVu predictorssparsity predictor · predictor FLOPs, OPT-1.3BFLOPs: 19.11% reductionImproved
replace L2Norm magnitude criterion with gradient-informed plainact criterion (ShadowLLM vs DejaVu-style)predictor-based contextual sparsity · 7 tasks zero-shot, OPT-13B, 50% sparsityaccuracy (%): 59.28 -> 61.19Improved
ShadowLLM instead of DejaVucontextual sparsity at 50% sparsity · OPT-13Blatency (ms): 2981 -> 2562Improved
DejaVu per-layer predictors vs static sparsityDejaVu · OPT-13B latencylatency (ms): 2014 -> 2981Hurt
use global instead of per-layer (local) pruning (ablation)ShadowLLM with plainact · WikiText2 perplexity, OPT-1.3BperplexityImproved
more in-context examples (0-, 3-, 5-shot) when computing fisher criterion (ablation)fisher criterion static pruning · WikiText2 perplexity, OPT-1.3BperplexityImproved
use fisher or plainact instead of other criteria for static pruning (ablation)pruning criteria · 7 tasks accuracy / WikiText2 perplexity, OPT-1.3Baccuracy / perplexityImproved
use jacov criterion for static pruning (ablation)jacov · 7 tasks, OPT-1.3BaccuracyMixed
use grasp criterion (ablation)grasp · downstream tasks vs perplexityaccuracy / perplexityMixed
use fisher criterion with predictor (ablation)fisher · Spearman rho of predictor, OPT-1.3BSpearman rho: under 0.7Hurt
use Full Sequence ShadowLLM instead of first-layer ShadowLLM (ablation)ShadowLLM · global head rankingSpearman rhoNo clear effect

Open problems in LLM pruning and scaling data

Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?

All 5 open problems and what was already tried →

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