Instruction-Following Pruning: Prompt-Chosen Slices of Large Language Models

Bairu Hou, Qibin Chen, Jianyu Wang, Guoli Yin, Chong Wang, Nan Du, Ruoming Pang, Shiyu Chang, Tao Lei · Apple / UCSB · ICML 2025
arXiv 2501.02086 Interactive page

Pipeline: prompt → predictor → mask → compact dense model

Step through the method. Counts (302M, 56 layers, 24,576 units, 6,656 kept) are from the episode.

Stored vs. active parameters

Schematic ratio only (9B stored, ≈3B active; decoding is weight-read bound). Illustrative

Mask picker: which FFN units survive?Illustrative

Toy grid: 8 layers × 32 units (real model: 56 × 24,576, keep 6,656 ≈ 27%). Early layers share units across prompts; later layers diverge, as the paper's overlap study describes. Scores here are synthetic.
keep/layer
Right column: overlap of the selected prompt's mask with the Chat mask. Pruned columns of W1 and rows of W2 vanish; the remainder is a small dense matrix.

Prompt-level vs per-token selection

Schematic of weight fetches over 6 decode steps. Illustrative

Reported results

Single run each; no seeds or intervals reported.

Direction vs dense 3B (episode summary, no values)

Latency (GPU, batch size 1, seconds)

Is the 3B comparison like-for-like?

Host's back-of-envelope (not the paper's): params × tokens, in billion-parameter × trillion-token units.

Fairness checklist (click a row)

Click a row to see what the paper does or doesn't report.

References