paper-with-me

Papers

Structured Pruning Learns Compact and Accurate Models

2022-04-01 · ACL 2022 5 · Mengzhou Xia, Zexuan Zhong, Danqi Chen

The growing size of neural language models has led to increased attention in model compression. The two predominant approaches are pruning, which gradually removes weights from a pre-trained model, and distillation, which trains a smaller compact model to match a larger one. Pruning methods can significantly reduce the model size but hardly achieve large speedups as distillation. However, distillation methods require large amounts of unlabeled data and are expensive to train. In this work, we propose a task-specific structured pruning method CoFi (Coarse- and Fine-grained Pruning), which delivers highly parallelizable subnetworks and matches the distillation methods in both accuracy and latency, without resorting to any unlabeled data. Our key insight is to jointly prune coarse-grained (e.g., layers) and fine-grained (e.g., heads and hidden units) modules, which controls the pruning decision of each parameter with masks of different granularity. We also devise a layerwise distillation strategy to transfer knowledge from unpruned to pruned models during optimization. Our experiments on GLUE and SQuAD datasets show that CoFi yields models with over 10x speedups with a small accuracy drop, showing its effectiveness and efficiency compared to previous pruning and distillation approaches.

📄 PDF Abstract BibTeX arXiv:2204.00408

Code (2)

princeton-nlp/cofipruning 공식 구현 pytorch
jongwooko/nash-pruning-official pytorch

Tasks

Model Compression

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

Structured Pruning Learns Compact and Accurate Models

2021-11-16 · ACL ARR November 2021 11 · Anonymous

The growing size of neural language models has led to increased attention in model compression. Pruning methods start from a large model and gradually remove model weights---they can significantly reduce the model size b…

Model Compression

Pivoting Factorization: A Compact Meta Low-Rank Representation of Sparsity for Efficient Inference in Large Language Models

2025-01-31 · Jialin Zhao, Yingtao Zhang, Carlo Vittorio Cannistraci

The rapid growth of Large Language Models has driven demand for effective model compression techniques to reduce memory and computation costs. Low-rank pruning has gained attention for its tensor coherence and GPU compat…

GPUModel Compression

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 qua…

MMLUNatural Language UnderstandingReading Comprehension

Robust Binary Models by Pruning Randomly-initialized Networks

2022-02-03 · Chen Liu, Ziqi Zhao, Sabine Süsstrunk, Mathieu Salzmann

Robustness to adversarial attacks was shown to require a larger model capacity, and thus a larger memory footprint. In this paper, we introduce an approach to obtain robust yet compact models by pruning randomly-initiali…

Fine-tune Before Structured Pruning: Towards Compact and Accurate Self-Supervised Models for Speaker Diarization

2025-05-30 · Jiangyu Han, Federico Landini, Johan Rohdin, Anna Silnova 외

Self-supervised learning (SSL) models like WavLM can be effectively utilized when building speaker diarization systems but are often large and slow, limiting their use in resource constrained scenarios. Previous studies …

GPUKnowledge DistillationSelf-Supervised Learningspeaker-diarization+1