paper-with-me

Papers

MINI-LLM: Memory-Efficient Structured Pruning for Large Language Models

2024-07-16 · Hongrong Cheng, Miao Zhang, Javen Qinfeng Shi

As Large Language Models (LLMs) grow dramatically in size, there is an increasing trend in compressing and speeding up these models. Previous studies have highlighted the usefulness of gradients for importance scoring in neural network compressing, especially in pruning medium-size networks. However, the substantial memory requirements involved in calculating gradients with backpropagation impede the utilization of gradients in guiding LLM pruning. As a result, most pruning strategies for LLMs rely on gradient-free criteria, such as weight magnitudes or a mix of magnitudes and activations. In this paper, we devise a hybrid pruning criterion, which appropriately integrates magnitude, activation, and gradient to capitalize on feature map sensitivity for pruning LLMs. To overcome memory requirement barriers, we estimate gradients using only forward passes. Based on this, we propose a Memory-effIcieNt structured prunIng procedure for LLMs (MINI-LLM) to remove no-critical channels and multi-attention heads. Experimental results demonstrate the superior performance of MINI-LLM over existing gradient-free methods on three LLMs: LLaMA, BLOOM, and OPT across various downstream tasks (classification, multiple-choice, and generation), while MINI-LLM maintains a GPU memory footprint akin to gradient-free methods.

📄 PDF Abstract BibTeX arXiv:2407.11681

Code (0)

등록된 구현이 없습니다.

Tasks

GPUMultiple-choice

Methods 이 논문이 사용한 방법론

BLOOM BLOOM is a decoder-only Transformer language model that was trained on the ROOTS corpus, a dataset comprising hundreds of sources in 46 natural and 13 programming languages…
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…
OPT OPT is a suite of decoder-only pre-trained transformers ranging from 125M to 175B parameters. The model uses an AdamW optimizer and weight decay of 0.1. It follows a linear…
Pruning 설명 없음

Similar Papers 제목 키워드 기반

SPAP: Structured Pruning via Alternating Optimization and Penalty Methods

2025-05-06 · Hanyu Hu, Xiaoming Yuan

The deployment of large language models (LLMs) is often constrained by their substantial computational and memory demands. While structured pruning presents a viable approach by eliminating entire network components, exi…

Iterative Structured Pruning for Large Language Models with Multi-Domain Calibration

2026-01-06 · Guangxin Wu, Hao Zhang, Zhang Zhibin, Jiafeng Guo 외 arxiv

Large Language Models (LLMs) have achieved remarkable success across a wide spectrum of natural language processing tasks. However, their ever-growing scale introduces significant barriers to real-world deployment, inclu…

StructPrune: Structured Global Pruning asymptotics with $\mathcal{O}(\sqrt{N})$ GPU Memory

2025-09-25 · Xinyuan Song, Guangji Bai, Liang Zhao arxiv

Pruning is critical for scaling large language models (LLMs). Global pruning achieves strong performance but requires $\mathcal{O}(N)$ memory, which is infeasible for billion-parameter models. Local pruning reduces GPU m…

QPruner: Probabilistic Decision Quantization for Structured Pruning in Large Language Models

2024-12-16 · Changhai Zhou, Yuhua Zhou, Shijie Han, Qian Qiao 외

The rise of large language models (LLMs) has significantly advanced various natural language processing (NLP) tasks. However, the resource demands of these models pose substantial challenges. Structured pruning is an eff…

Bayesian OptimizationQuantization

EGGS-PTP: An Expander-Graph Guided Structured Post-training Pruning Method for Large Language Models

2025-08-13 · Omar Bazarbachi, Zijun Sun, Yanning Shen arxiv

As Large Language Models (LLMs) become more widely adopted and scale up in size, the computational and memory challenges involved in deploying these massive foundation models have grown increasingly severe. This undersco…