paper-with-me

홈 › Papers

Pruning Large Language Models with Semi-Structural Adaptive Sparse Training

2024-07-30 · Weiyu Huang, Yuezhou Hu, Guohao Jian, Jun Zhu, Jianfei Chen

The remarkable success of Large Language Models (LLMs) relies heavily on their substantial scale, which poses significant challenges during model deployment in terms of latency and memory consumption. Recently, numerous studies have attempted to compress LLMs using one-shot pruning methods. However, these methods often suffer from considerable performance degradation on complex language understanding tasks, raising concerns about the feasibility of pruning in LLMs. To address this issue, we propose Adaptive Sparse Trainer (AST), a novel and efficient retraining framework tailored for semi-structured sparse models. AST enables models to learn optimal masks during the weight update process without incurring additional computational overhead. Furthermore, we demonstrate that incorporating knowledge distillation significantly improves retraining efficiency and enhances model performance under fixed computational constraints. Additionally, a supplementary set of well-initialized parameters is integrated to further augment the model's efficacy. AST achieves state-of-the-art performance with minimal training cost. When applied to the LLaMA2-7B model, AST reduces the perplexity and zero-shot accuracy gap between dense and 2:4 semi-structured sparse models to 0.6 and 1.16%, respectively, utilizing less than 0.4% of the pretraining tokens and GPU hours. Our work demonstrates the feasibility of deploying semi-structured sparse LLMs and offers a promising alternative for achieving highly compressed models when combined with existing quantization techniques.

📄 PDF Abstract BibTeX arXiv:2407.20584

Code (1)

thu-ml/adaptive-sparse-trainer 공식 구현 pytorch

Tasks

GPUKnowledge DistillationQuantization

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
Pruning 설명 없음

Similar Papers 제목 키워드 기반

DISP-LLM: Dimension-Independent Structural Pruning for Large Language Models

2024-10-15 · Shangqian Gao, Chi-Heng Lin, Ting Hua, Tang Zheng 외

Large Language Models (LLMs) have achieved remarkable success in various natural language processing tasks, including language modeling, understanding, and generation. However, the increased memory and computational cost…

Language ModelingLanguage Modelling

Dependency-Aware Semi-Structured Sparsity of GLU Variants in Large Language Models

2024-05-03 · Zhiyu Guo, Hidetaka Kamigaito, Taro Wanatnabe

The rapid advancement in Large Language Models (LLMs) has markedly enhanced the capabilities of language understanding and generation. However, the substantial model size poses hardware challenges, affecting both memory …

Computational EfficiencyModel CompressionNetwork Pruning

Adapt-Pruner: Adaptive Structural Pruning for Efficient Small Language Model Training

2025-02-05 · Boyao Wang, Rui Pan, Shizhe Diao, Xingyuan Pan 외

Small language models (SLMs) have attracted considerable attention from both academia and industry due to their broad range of applications in edge devices. To obtain SLMs with strong performance, conventional approaches…

Language ModelingLanguage ModellingMMLUSmall Language Model

Adaptive Pruning for Large Language Models with Structural Importance Awareness

2024-12-19 · Haotian Zheng, Jinke Ren, Yushan Sun, Ruichen Zhang 외

The recent advancements in large language models (LLMs) have significantly improved language understanding and generation capabilities. However, it is difficult to deploy LLMs on resource-constrained edge devices due to …

Text Generationzero-shot-classificationZero-Shot Learning

ARMOR: High-Performance Semi-Structured Pruning via Adaptive Matrix Factorization

2025-10-07 · Lawrence Liu, Alexander Liu, Mengdi Wang, Tuo Zhao 외 arxiv

Large language models (LLMs) present significant deployment challenges due to their immense computational and memory requirements. While semi-structured pruning, particularly 2:4 sparsity, offers a path to practical hard…

Model Compression