paper-with-me

홈 › Papers

Compressing Large-Scale Transformer-Based Models: A Case Study on BERT

2020-02-27 · Prakhar Ganesh, Yao Chen, Xin Lou, Mohammad Ali Khan, Yin Yang, Hassan Sajjad, Preslav Nakov, Deming Chen, Marianne Winslett

Pre-trained Transformer-based models have achieved state-of-the-art performance for various Natural Language Processing (NLP) tasks. However, these models often have billions of parameters, and, thus, are too resource-hungry and computation-intensive to suit low-capability devices or applications with strict latency requirements. One potential remedy for this is model compression, which has attracted a lot of research attention. Here, we summarize the research in compressing Transformers, focusing on the especially popular BERT model. In particular, we survey the state of the art in compression for BERT, we clarify the current best practices for compressing large-scale Transformer models, and we provide insights into the workings of various methods. Our categorization and analysis also shed light on promising future research directions for achieving lightweight, accurate, and generic NLP models.

📄 PDF Abstract BibTeX arXiv:2002.11985

Code (0)

등록된 구현이 없습니다.

Tasks

Model Compression

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Weight Decay 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Modular addition without black-boxes: Compressing explanations of MLPs that compute numerical integration

2024-12-04 · Chun Hei Yip, Rajashree Agrawal, Lawrence Chan, Jason Gross

The goal of mechanistic interpretability is discovering simpler, low-rank algorithms implemented by models. While we can compress activations into features, compressing nonlinear feature-maps -- like MLP layers -- is an …

Numerical Integration

Does compressing activations help model parallel training?

2023-01-06 · Song Bian, Dacheng Li, Hongyi Wang, Eric P. Xing 외

Large-scale Transformer models are known for their exceptional performance in a range of tasks, but training them can be difficult due to the requirement for communication-intensive model parallelism. One way to improve …

modelQuantization

OATS: Outlier-Aware Pruning Through Sparse and Low Rank Decomposition

2024-09-20 · Stephen Zhang, Vardan Papyan

The recent paradigm shift to large-scale foundation models has brought about a new era for deep learning that, while has found great success in practice, has also been plagued by prohibitively expensive costs in terms of…

CPUNetwork Pruning

ArabicTransformer: Efficient Large Arabic Language Model with Funnel Transformer and ELECTRA Objective

2021-11-01 · Findings (EMNLP) 2021 11 · Sultan Alrowili, Vijay Shanker

Pre-training Transformer-based models such as BERT and ELECTRA on a collection of Arabic corpora, demonstrated by both AraBERT and AraELECTRA, shows an impressive result on downstream tasks. However, pre-training Transfo…

Language ModelingLanguage Modelling

An Empirical Study of Leveraging Knowledge Distillation for Compressing Multilingual Neural Machine Translation Models

2023-04-19 · Varun Gumma, Raj Dabre, Pratyush Kumar

Knowledge distillation (KD) is a well-known method for compressing neural models. However, works focusing on distilling knowledge from large multilingual neural machine translation (MNMT) models into smaller ones are pra…

Knowledge DistillationMachine TranslationTranslation