This episode examines Instruction-Following Pruning (IFPruning), a method where a small 302M-parameter predictor reads each prompt and picks which feed-forward units of a 9B model to keep, yielding a roughly 3B-sized active model for the whole response. It explains why this targets on-device decoding, where memory bandwidth for reading weights is the bottleneck. It contrasts the approach with static structured pruning (Sheared LLaMA, Minitron) and with per-token sparsity methods like Deja Vu, which struggle with SwiGLU-style layers and repeated weight fetches. The discussion covers the differentiable SoftTopK masking, the two-stage training (continued pre-training, then supervised fine-tuning), and limits such as no mid-response adaptation and awkward batching. Listeners get a skeptical look at whether the headline comparison against a dense 3B model is truly like-for-like, given that the active slice comes from a larger, separately trained 9B model.
Sources:
1. Instruction-Following Pruning: Prompt-Chosen Slices of Large Language Models
https://arxiv.org/pdf/2501.02086
2. Instruction-Following Pruning for Large Language Models — Bairu Hou, Qibin Chen, Jianyu Wang, Guoli Yin, Chong Wang, Nan Du, Ruoming Pang, Shiyu Chang, Tao Lei, 2025 (ICML 2025, arXiv 2501.02086)
https://scholar.google.com/scholar?q=Instruction-Following+Pruning+for+Large+Language+Models
3. Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning — Mengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi Chen, 2023 (ICLR 2024)
https://scholar.google.com/scholar?q=Sheared+LLaMA%3A+Accelerating+Language+Model+Pre-training+via+Structured+Pruning
4. Compact Language Models via Pruning and Knowledge Distillation (Minitron) — Saurav Muralidharan, Sharath Turuvekere Sreenivas, Raviraj Joshi, Marcin Chochowski, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro, Jan Kautz, Pavlo Molchanov, 2024
https://scholar.google.com/scholar?q=Compact+Language+Models+via+Pruning+and+Knowledge+Distillation+%28Minitron%29
5. Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time — Zichang Liu, Jue Wang, Tri Dao, Tianyi Zhou, Binhang Yuan, Zhao Song, Anshumali Shrivastava, Ce Zhang, Yuandong Tian, Beidi Chen, 2023 (ICML 2023)
https://scholar.google.com/scholar?q=Deja+Vu%3A+Contextual+Sparsity+for+Efficient+LLMs+at+Inference+Time
6. Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity — William Fedus, Barret Zoph, Noam Shazeer, 2021 (JMLR 2022)
https://scholar.google.com/scholar?q=Switch+Transformers%3A+Scaling+to+Trillion+Parameter+Models+with+Simple+and+Efficient+Sparsity
7. CoLT5: Faster Long-Range Transformers with Conditional Computation — Joshua Ainslie, Tao Lei, Michiel de Jong, et al., 2023
https://scholar.google.com/scholar?q=CoLT5%3A+Faster+Long-Range+Transformers+with+Conditional+Computation
8. Learning Sparse Neural Networks through L0 Regularization (HardConcrete) — Christos Louizos, Max Welling, Diederik P. Kingma, 2018
https://scholar.google.com/scholar?q=Learning+Sparse+Neural+Networks+through+L0+Regularization+%28HardConcrete%29
9. Once-for-All: Train One Network and Specialize it for Efficient Deployment — Han Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang, Song Han, 2020
https://scholar.google.com/scholar?q=Once-for-All%3A+Train+One+Network+and+Specialize+it+for+Efficient+Deployment
10. Slimmable Neural Networks — Jiahui Yu, Linjie Yang, Ning Xu, Jianchao Yang, Thomas Huang, 2019
https://scholar.google.com/scholar?q=Slimmable+Neural+Networks
11. LLM in a Flash: Efficient Large Language Model Inference with Limited Memory — Keivan Alizadeh, Iman Mirzadeh, Dmitry Belenko, et al. (Apple), 2023
https://scholar.google.com/scholar?q=LLM+in+a+Flash%3A+Efficient+Large+Language+Model+Inference+with+Limited+Memory
12. ShadowLLM: Predictor-based Contextual Sparsity for Large Language Models — Yash Akhauri, Ahmed F. AbouElhamayed, Jordan Dotzel, et al., 2024
https://scholar.google.com/scholar?q=ShadowLLM%3A+Predictor-based+Contextual+Sparsity+for+Large+Language+Models
13. Prompt-prompted Mixture of Experts for Efficient LLM Generation (GRIFFIN) — Harry Dong, Beidi Chen, Yuejie Chi, 2024
https://scholar.google.com/scholar?q=Prompt-prompted+Mixture+of+Experts+for+Efficient+LLM+Generation+%28GRIFFIN%29
14. Mixtral of Experts / DeepSeekMoE — Albert Jiang et al. (Mistral); Damai Dai et al. (DeepSeek), 2024
https://scholar.google.com/scholar?q=Mixtral+of+Experts+%2F+DeepSeekMoE
15. LoRA: Low-Rank Adaptation of Large Language Models — Edward Hu et al., 2022
https://scholar.google.com/scholar?q=LoRA%3A+Low-Rank+Adaptation+of+Large+Language+Models
Interactive Visualization: Instruction-Following Pruning: Prompt-Chosen Slices of Large Language Models