paper-with-me

Papers

Extreme Compression for Pre-trained Transformers Made Simple and Efficient

2022-06-04 · Xiaoxia Wu, Zhewei Yao, Minjia Zhang, Conglong Li, Yuxiong He

Extreme compression, particularly ultra-low bit precision (binary/ternary) quantization, has been proposed to fit large NLP models on resource-constraint devices. However, to preserve the accuracy for such aggressive compression schemes, cutting-edge methods usually introduce complicated compression pipelines, e.g., multi-stage expensive knowledge distillation with extensive hyperparameter tuning. Also, they oftentimes focus less on smaller transformer models that have already been heavily compressed via knowledge distillation and lack a systematic study to show the effectiveness of their methods. In this paper, we perform a very comprehensive systematic study to measure the impact of many key hyperparameters and training strategies from previous works. As a result, we find out that previous baselines for ultra-low bit precision quantization are significantly under-trained. Based on our study, we propose a simple yet effective compression pipeline for extreme compression, named XTC. XTC demonstrates that (1) we can skip the pre-training knowledge distillation to obtain a 5-layer BERT while achieving better performance than previous state-of-the-art methods, e.g., the 6-layer TinyBERT; (2) extreme quantization plus layer reduction is able to reduce the model size by 50x, resulting in new state-of-the-art results on GLUE tasks.

📄 PDF Abstract BibTeX arXiv:2206.01859

Code (1)

microsoft/DeepSpeed 공식 구현 pytorch

Tasks

Knowledge DistillationQuantization

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Weight Decay 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…

Similar Papers 제목 키워드 기반

Nix and Fix: Targeting 1000x Compression of 3D Gaussian Splatting with Diffusion Models

2026-02-04 · Cem Eteke, Enzo Tartaglione arxiv

3D Gaussian Splatting (3DGS) revolutionized novel view rendering. Instead of inferring from dense spatial points, as implicit representations do, 3DGS uses sparse Gaussians. This enables real-time performance but increas…

Knowledge Distillation in Vision Transformers: A Critical Review

2023-02-04 · Gousia Habib, Tausifa Jan Saleem, Brejesh lall

In Natural Language Processing (NLP), Transformers have already revolutionized the field by utilizing an attention-based encoder-decoder model. Recently, some pioneering works have employed Transformer-like architectures…

Decoderimage-classificationImage ClassificationKnowledge Distillation+5

Extreme Image Compression using Fine-tuned VQGANs

2023-07-17 · Qi Mao, Tinghan Yang, Yinuo Zhang, Zijian Wang 외

Recent advances in generative compression methods have demonstrated remarkable progress in enhancing the perceptual quality of compressed data, especially in scenarios with low bitrates. However, their efficacy and appli…

Image CompressionQuantization

PointMamba: A Simple State Space Model for Point Cloud Analysis

2024-02-16 · Dingkang Liang, Xin Zhou, Wei Xu, Xingkui Zhu 외

Transformers have become one of the foundational architectures in point cloud analysis tasks due to their excellent global modeling ability. However, the attention mechanism has quadratic complexity, making the design of…

GPUMamba

Transformers: State-of-the-Art Natural Language Processing

2020-10-01 · EMNLP 2020 11 · Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond 외

Recent progress in natural language processing has been driven by advances in both model architecture and model pretraining. Transformer architectures have facilitated building higher-capacity models and pretraining has …

Image ClassificationObject RecognitionSpeech Recognition