atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Prompt-based Depth Pruning of Large Language Models

ICML 2025 · Architectures and efficiency › Pruning and efficient tuning · approach: Layer-wise pruning of LLMs · 0 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.

Proposes PuDDing, a prompt-routed dynamic depth pruning method that uses a BERT-based router to pick one of a small set of task-derived omission sets per prompt, pruning blocks of LLMs for faster on-device inference.

Problem

Static depth pruning removes the same transformer blocks regardless of input, but block importance is task-dependent, so one fixed omission set degrades some tasks. Dynamic per-token routing needs all weights in fast memory, which is unsuitable for memory-constrained on-device inference.

Approach

Route once per prompt: build a small pool of omission sets from multiple task calibration splits using a task likelihood loss (and its difference variant), then train a BERT-based router with MSE on soft labels to pick the minimum-loss omission set from the prompt, so only the chosen blocks are loaded.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
route prompts to task-appropriate omission sets instead of using static pruningLLaMA-3.1-8B with 7 blocks pruned · Commonsense reasoningaverage accuracy (%): 57.24 -> 61.93Helped
use 10 candidate omission sets instead of 5 (ablation)PuDDing · Zero-shot commonsense reasoningaverage accuracy (%): 61.19 -> 61.93Helped
increase candidate omission sets from 10 to 30 (ablation)PuDDing · Zero-shot commonsense reasoningaverage accuracy (%): 61.93 -> 61.69Hurt
use task likelihood instead of batch-PPL for static omission selection (ablation)Static pruning · Zero-shot commonsense reasoningaverage accuracy (%): 59.32 -> 61.02Helped
use task likelihood instead of batch-PPL for dynamic routing (ablation)Dynamic pruning with a trained router · Zero-shot commonsense reasoningaverage accuracy (%): 58.19 -> 61.93Helped
train with log-likelihood labels and MSE instead of log-likelihood labels and cross-entropy (ablation)PuDDing router · Zero-shot commonsense reasoningaverage accuracy (%): 60.44 -> 61.93Helped
add diverse MathQA, PubMedQA, and SciQ calibration data (ablation)PuDDing · Mixed commonsense and domain-specific tasksaverage accuracy (%): 61.28 -> 62.37Helped
quantize weights to 8-bit with AWQ (ablation)PuDDing · Zero-shot commonsense reasoningaverage accuracy (%): 61.93 -> 61.68No clear effect
quantize weights to 4-bit with AWQ (ablation)PuDDing · Zero-shot commonsense reasoningaverage accuracy (%): 61.93 -> 58.58Hurt
reformat WinoGrande as question-answer and score the answer with task likelihood instead of sentence-level likelihood (ablation)PuDDing · WinoGrandeaccuracy (%): 61.09% -> 64.16%Helped
replace block 30 pruning with block 29 pruningSLEB omission set on LLaMA-3.1-8B · BoolQaccuracy (%): 62.2% -> 38.0%, 62.5% -> 37.9%Hurt
replace block 30 pruning with block 29 pruningSLEB omission set on LLaMA-3.1-8B · PIQA and WinoGrandeaccuracyMixed

Surprising findings

Limitations

Experimental setup

Datasets: ARC-Challenge ARC-Easy HellaSwag PIQA WinoGrande WikiText-2 BookCorpus Alpaca MathQA PubMedQA SciQ

Benchmarks: ARC-Challenge ARC-Easy BoolQ HellaSwag PIQA WinoGrande OpenBookQA MathQA MMLU PubMedQA SciQ

Metrics: zero-shot accuracy average accuracy wall-clock latency (TTFT, pre-fill + generation) speedup

Baselines: SLEB Shortened LLaMA FLAP SliceGPT LLM-Streamline SLEB per prompt

Builds on: SLEB Shortened LLaMA D-LLM Mixture-of-Depths

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