atlas

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

Instruction-Following Pruning for Large Language Models

ICML 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 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 IFPruning, which uses a small sparsity predictor conditioned on the user instruction to select input-dependent FFN neurons of an LLM, jointly trained with the LLM via continued pre-training and SFT, so that a 9B model yields a 3B-active model.

Problem

Static structured pruning yields one fixed smaller model that cannot adapt to diverse tasks; contextual sparsity methods reload parameters at every decoding step and mostly target ReLU models.

Approach

A sparsity predictor (302M LM plus two-layer MLP head) maps the user prompt to FFN masks via SoftTopK; the masks select a fixed sub-network before decoding, and predictor and LLM are co-optimized with next-token loss on pre-training chunks and SFT data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use IFPruning 9B→3B instead of Dense-3BIFPruning · HumanEvalpass@1: 35.2 -> 42.4Helped
Use IFPruning 9B→3B instead of Dense-3BIFPruning · MBPPpass@1: 28.8 -> 41.8Helped
Use IFPruning 9B→3B instead of Dense-3BIFPruning · GSM8Kaccuracy: 69.3 -> 72.0Helped
Use IFPruning 9B→3B instead of Dense-3BIFPruning · MATHaccuracy: 31.8 -> 36.7Helped
Use IFPruning 9B→3B instead of Dense-3BIFPruning · Tool Planningperformance: 25.2 -> 45.4Helped
Use IFPruning 9B→3B instead of Dense-3BIFPruning · MMLUaccuracy: 61.8 -> 65.5Helped
Use IFPruning 9B→3B instead of Dense-3BIFPruning · WinoGrandeaccuracy: 69.8 -> 67.0Hurt
Add continued pre-training before SFT (ablation)IFPruning 6B→3B · HumanEvalpass@1: 25.3 -> 31.9Helped
Add continued pre-training before SFT (ablation)IFPruning 6B→3B · MBPPpass@1: 24.4 -> 35.3Helped
Add continued pre-training before SFT (ablation)IFPruning 6B→3B · MultiPL-Epass@1: 15.3 -> 22.4Helped
Add continued pre-training before SFT (ablation)IFPruning 6B→3B · GSM8Kaccuracy: 50.9 -> 61.3Helped
Add continued pre-training before SFT (ablation)IFPruning 6B→3B · MATHaccuracy: 13.5 -> 20.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: internal SFT dataset FLAN-V2 web-crawled pre-training data GPTeacher Code-Alpaca

Benchmarks: IFEval AlpacaEval 2.0 Arena-Hard-Auto HumanEval MBPP MultiPL-E GSM8K MATH ARC-Challenge ARC-Easy HellaSwag WinoGrande

Metrics: accuracy pass@1 length-controlled win rate win rate BLEU time-to-first-token decode time

Baselines: Dense-3B Pruning+Distill 3B Dense-9B Sheared LLaMA Qwen1.5-MoE-A2.7B

Builds on: SoftTopK Sheared LLaMA Tulu 2 Minitron

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