Lune

ICLR2025顶会

LLaMaFlex: Many-in-one LLMs via Generalized Pruning and Weight Sharing

Ruisi Cai, Saurav Muralidharan, Hongxu Yin, Zhangyang Wang, Jan Kautz, Pavlo Molchanov

摘要

Large Language Model (LLM) providers typically train a family of models, each of a different size targeting a specific deployment scenario. Models in the family are all trained from scratch, making the process extremely resource intensive. Recent work has successfully reduced the cost of training model families through a combination of structured pruning and knowledge distillation; here, only the largest model in the family is trained from scratch, and smaller models are obtained via pruning. We observe that while effective, this strategy must still perform pruning and distillation with hundreds of billions of training tokens for every new model, keeping overall training costs high. In this work, we introduce a novel nested weight-shared architecture named LLAMAFLEX that can be pruned across both width and depth dimensions in a zero-shot manner to instantly yield a large number of highly accurate compressed models. LLAMAFLEX starts from a pretrained model, and only requires a single continued training phase consisting of ∼ 60B tokens, which trains the elastic network and an end-to-end Gumbel Softmax-based router; this router is able to interpolate smoothly across model sizes, enabling the "train once, deploy many" paradigm. We train LLAMAFLEX on Llama 3.1 8B and use it to zero-shot generate a family of compressed models that achieves accuracy on par with or better than state-of-the-art pruned, elastic/flexible, and trained-from-scratch models.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs 引用了 Measuring Massive Multitask Language Understanding
  • UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs 引用了 Jet-Nemotron: Efficient Language Model with Post Neural Architecture Search
  • UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMs 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Measuring Massive Multitask Language Understanding 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Jet-Nemotron: Efficient Language Model with Post Neural Architecture Search 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Jet-Nemotron: Efficient Language Model with Post Neural Architecture Search 引用了 Measuring Massive Multitask Language Understanding
  • Scalable Diffusion Models with Transformers 引用了 Denoising Diffusion Probabilistic Models
  • Boomerang Distillation Enables Zero-Shot Model Size Interpolation 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Boomerang Distillation Enables Zero-Shot Model Size Interpolation 引用了 Measuring Massive Multitask Language Understanding
  • Boomerang Distillation Enables Zero-Shot Model Size Interpolation 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Týr-the-Pruner: Structural Pruning LLMs via Global Sparsity Distribution Optimization 引用了 Measuring Massive Multitask Language Understanding
  • Týr-the-Pruner: Structural Pruning LLMs via Global Sparsity Distribution Optimization 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Jet-Nemotron: Efficient Language Model with Post Neural Architecture SearchYuxian Gu, Qinghao Hu, Haocheng Xi, Junyu Chen 等NeurIPS 2025 · 39 次引用
  2. Týr-the-Pruner: Structural Pruning LLMs via Global Sparsity Distribution OptimizationGuanchen Li, Yixing Xu, Zeping Li, Ji Liu 等NeurIPS 2025 · 7 次引用
  3. UniQL: Unified Quantization and Low-rank Compression for Adaptive Edge LLMsHung-Yueh Chiang, Chi-Chih Chang, Yu-Chen Lu, Chien-Yu Lin 等ICLR 2026 · 6 次引用
  4. Deep Hierarchical Learning with Nested Subspace Networks for Large Language ModelsPaulius Rauba, Mihaela van der SchaarICLR 2026 · 3 次引用
  5. Boomerang Distillation Enables Zero-Shot Model Size InterpolationSara Kangaslahti, Nihal V. Nayak, Jonathan Geuter, Marco Fumero 等ICLR 2026 · 3 次引用

它引用的 Paper23

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
  2. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
  3. Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 次引用
  4. WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
  5. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用

相关 Paper

  1. Pruning Large Language Models with Semi-Structural Adaptive Sparse TrainingWeiyu Huang, Yuezhou Hu, Guohao Jian, Jun Zhu 等AAAI 2025 · 25 次引用
  2. Flextron: Many-in-One Flexible Large Language ModelRuisi Cai, Saurav Muralidharan, Greg Heinrich, Hongxu Yin 等ICML 2024 · 38 次引用
  3. Star Elastic: Many-in-One Reasoning LLMs with Efficient Budget ControlAli Taghibakhshi, Ruisi Cai, Saurav Muralidharan, Sharath Turuvekere Sreenivas 等ICML 2026 · 1 次引用
  4. FlexRank: Nested Low-Rank Knowledge Decomposition for Adaptive Model DeploymentRiccardo Zaccone, Stefanos Laskaridis, Marco Ciccone, Samuel HorváthICML 2026 · 1 次引用
  5. GPTailor: Large Language Model Pruning Through Layer Cutting and StitchingGuinan Su, Li Shen, Lu Yin, Shiwei Liu 等ICLR 2026 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖