paper-with-me

홈 › Papers

Greedy-layer Pruning: Speeding up Transformer Models for Natural Language Processing

2021-05-31 · David Peer, Sebastian Stabinger, Stefan Engl, Antonio Rodriguez-Sanchez

Fine-tuning transformer models after unsupervised pre-training reaches a very high performance on many different natural language processing tasks. Unfortunately, transformers suffer from long inference times which greatly increases costs in production. One possible solution is to use knowledge distillation, which solves this problem by transferring information from large teacher models to smaller student models. Knowledge distillation maintains high performance and reaches high compression rates, nevertheless, the size of the student model is fixed after pre-training and can not be changed individually for a given downstream task and use-case to reach a desired performance/speedup ratio. Another solution to reduce the size of models in a much more fine-grained and computationally cheaper fashion is to prune layers after the pre-training. The price to pay is that the performance of layer-wise pruning algorithms is not on par with state-of-the-art knowledge distillation methods. In this paper, Greedy-layer pruning is introduced to (1) outperform current state-of-the-art for layer-wise pruning, (2) close the performance gap when compared to knowledge distillation, while (3) providing a method to adapt the model size dynamically to reach a desired performance/speedup tradeoff without the need of additional pre-training phases. Our source code is available on https://github.com/deepopinion/greedy-layer-pruning.

📄 PDF Abstract BibTeX arXiv:2105.14839

Code (1)

deepopinion/greedy-layer-pruning 공식 구현 pytorch

Tasks

Knowledge DistillationUnsupervised Pre-training

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
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.…

Similar Papers 제목 키워드 기반

Faster gaze prediction with dense networks and Fisher pruning

2018-01-17 · Twitter 2018 1 · Lucas Theis, Iryna Korshunova, Alykhan Tejani, Ferenc Huszár

Predicting human fixations from images has recently seen large improvements by leveraging deep representations which were pretrained for object recognition. However, as we show in this paper, these networks are highly ov…

Gaze EstimationGaze PredictionKnowledge DistillationObject Recognition+2

Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruning

2026-02-04 · Yuxi Guo, Paul Sheridan arxiv

Attention head pruning has emerged as an effective technique for transformer model compression, an increasingly important goal in the era of Green AI. However, existing pruning methods often rely on static importance sco…

Model Compression

CoMFLP: Correlation Measure based Fast Search on ASR Layer Pruning

2023-09-21 · Wei Liu, Zhiyuan Peng, Tan Lee

Transformer-based speech recognition (ASR) model with deep layers exhibited significant performance improvement. However, the model is inefficient for deployment on resource-constrained devices. Layer pruning (LP) is a c…

speech-recognitionSpeech Recognition

A Greedy Hierarchical Approach to Whole-Network Filter-Pruning in CNNs

2024-08-22 · Kiran Purohit, Anurag Reddy Parvathgari, Sourangshu Bhattacharya

Deep convolutional neural networks (CNNs) have achieved impressive performance in many computer vision tasks. However, their large model sizes require heavy computational resources, making pruning redundant filters from …

Network Pruning

Don't Be Greedy, Just Relax! Pruning LLMs via Frank-Wolfe

2025-10-15 · Christophe Roux, Max Zimmer, Alexandre d'Aspremont, Sebastian Pokutta arxiv

Pruning is a common technique to reduce the compute and storage requirements of Neural Networks. While conventional approaches typically retrain the model to recover pruning-induced performance degradation, state-of-the-…