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
Google · Cornell University
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| use one predictor on first-layer output instead of per-layer DejaVu predictors | sparsity predictor · predictor FLOPs, OPT-1.3B | FLOPs: 19.11% reduction | Improved |
| replace L2Norm magnitude criterion with gradient-informed plainact criterion (ShadowLLM vs DejaVu-style) | predictor-based contextual sparsity · 7 tasks zero-shot, OPT-13B, 50% sparsity | accuracy (%): 59.28 -> 61.19 | Improved |
| ShadowLLM instead of DejaVu | contextual sparsity at 50% sparsity · OPT-13B | latency (ms): 2981 -> 2562 | Improved |
| DejaVu per-layer predictors vs static sparsity | DejaVu · OPT-13B latency | latency (ms): 2014 -> 2981 | Hurt |
| use global instead of per-layer (local) pruning (ablation) | ShadowLLM with plainact · WikiText2 perplexity, OPT-1.3B | perplexity | Improved |
| more in-context examples (0-, 3-, 5-shot) when computing fisher criterion (ablation) | fisher criterion static pruning · WikiText2 perplexity, OPT-1.3B | perplexity | Improved |
| use fisher or plainact instead of other criteria for static pruning (ablation) | pruning criteria · 7 tasks accuracy / WikiText2 perplexity, OPT-1.3B | accuracy / perplexity | Improved |
| use jacov criterion for static pruning (ablation) | jacov · 7 tasks, OPT-1.3B | accuracy | Mixed |
| use grasp criterion (ablation) | grasp · downstream tasks vs perplexity | accuracy / perplexity | Mixed |
| use fisher criterion with predictor (ablation) | fisher · Spearman rho of predictor, OPT-1.3B | Spearman rho: under 0.7 | Hurt |
| use Full Sequence ShadowLLM instead of first-layer ShadowLLM (ablation) | ShadowLLM · global head ranking | Spearman rho | No 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?
- Experiments are small and larger models or corpora are untested. · 34 papers state it
- The method adds training or compute overhead over the baseline. · 20 papers state it
- Most evaluation uses English or a few high-resource languages. · 13 papers state it
Closest papers by meaning
- Sparsing Law: Towards Large Language Models with Greater Activation Sparsity (ICML 2025 · similarity 0.92)
- MaskLLM: Learnable Semi-Structured Sparsity for Large Language Models (NeurIPS 2024 · similarity 0.92)
- Adaptive Layer Sparsity for Large Language Models via Activation Correlation Assessment (NeurIPS 2024 · similarity 0.91)
- Polar Sparsity: High Throughput Batched LLM Inferencing with Scalable Contextual Sparsity (NeurIPS 2025 · similarity 0.91)
- SparseLLM: Towards Global Pruning of Pre-trained Language Models (NeurIPS 2024 · similarity 0.91)
- The Sparsity Whisperer (NeurIPS 2026 · similarity 0.90)
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.