paper-with-me

Papers

Compresso: Structured Pruning with Collaborative Prompting Learns Compact Large Language Models

2023-10-08 · Song Guo, Jiahang Xu, Li Lyna Zhang, Mao Yang

Despite the remarkable success of Large Language Models (LLMs), the massive size poses significant deployment challenges, particularly on resource-constrained hardware. While existing LLM compression methods focus on quantization, pruning remains relatively unexplored due to the high cost of training-based approaches and data collection challenges. One-shot pruning methods, although cost-effective and data-free, have become dominant in LLM pruning, but lead to performance decline under the structured pruning setting. In this work, we introduce a new paradigm for structurally pruning LLMs, called Compresso. Our approach, through the collaboration of the proposed resource-efficient pruning algorithm and the LLM itself, learns optimal pruning decisions during the training process. Compresso addresses the challenges of expensive training costs and data collection by incorporating Low-Rank Adaptation (LoRA) into the $L_0$ regularization during the instruction tuning process. Then, we further augment the pruning algorithm by introducing a collaborative prompt that fosters collaboration between the LLM and the pruning algorithm, significantly boosting the overall performance. To this end, Compresso prunes LLaMA-7B to 5.4B, maintaining original performance and even surpassing LLaMA-7B in reading comprehension by 2.62%. Extensive experiments demonstrate that Compresso significantly outperforms one-shot pruning baselines across various sparsity ratios, achieving up to 2.21%, 11.43%, 7.04%, and 4.81% higher scores on the commonsense reasoning, reading comprehension, MMLU, and BBH benchmarks, respectively.

📄 PDF Abstract BibTeX arXiv:2310.05015

Code (1)

microsoft/moonlit 공식 구현 pytorch

Tasks

MMLUNatural Language UnderstandingReading Comprehension

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…
Pruning 설명 없음

Similar Papers 제목 키워드 기반

Unity is Power: Semi-Asynchronous Collaborative Training of Large-Scale Models with Structured Pruning in Resource-Limited Clients

2024-10-11 · Yan Li, Mingyi Li, Xiao Zhang, Guangwei Xu 외

In this work, we study to release the potential of massive heterogeneous weak computing power to collaboratively train large-scale models on dispersed datasets. In order to improve both efficiency and accuracy in resourc…

Transfer LearningUnity

Layer-adaptive Structured Pruning Guided by Latency

2023-05-23 · Siyuan Pan, Linna Zhang, Jie Zhang, Xiaoshuang Li 외

Structured pruning can simplify network architecture and improve inference speed. Combined with the underlying hardware and inference engine in which the final model is deployed, better results can be obtained by using l…

Network Pruning

MC-MoE: Mixture Compressor for Mixture-of-Experts LLMs Gains More

2024-10-08 · Wei Huang, Yue Liao, Jianhui Liu, Ruifei He 외

Mixture-of-Experts large language models (MoE-LLMs) marks a significant step forward of language models, however, they encounter two critical challenges in practice: 1) expert parameters lead to considerable memory consu…

Mixture-of-ExpertsQuantization

Delta Decompression for MoE-based LLMs Compression

2025-02-24 · Hao Gu, Wei Li, Lujun Li, Qiyuan Zhu 외

Mixture-of-Experts (MoE) architectures in large language models (LLMs) achieve exceptional performance, but face prohibitive storage and memory requirements. To address these challenges, we present $D^2$-MoE, a new delta…

DiversityMixture-of-Experts

Personalized Federated Learning by Structured and Unstructured Pruning under Data Heterogeneity

2021-05-02 · Saeed Vahidian, Mahdi Morafah, Bill Lin

The traditional approach in FL tries to learn a single global model collaboratively with the help of many clients under the orchestration of a central server. However, learning a single global model might not work well f…

Federated LearningPersonalized Federated Learning