Blockwise Compression of Transformer-based Models without Retraining
Not on the map. Why?
Abstract (arXiv)
Transformer-based models, exemplified by GPT-3, ChatGPT, and GPT-4, have recently garnered considerable attention in both academia and industry due to their promising performance in general language tasks. Nevertheless, these models typically involve computationally encoding processes, and in some cases, decoding processes as well, both of which are fundamentally large-scale matrix multiplication. These operations bring the inevitable challenges of massive computation resources and huge memory footprint, usually requiring at least 10^23 FLOPs and hundreds of gigabytes, respectively. A common method to address this issue is to reduce the computational and memory requirements by applying layerwise quantization to the transformer, replacing the usual fp32 data type with a low-bit equivalent. Unfortunately, this method often leads to decreased model accuracy and necessitates time-consuming retraining. Such retraining not only requires fine-tuning skills but also substantial computational resources, posing challenges for users. To specifically tackle these issues, we propose BCT, a framework of blockwise compression for transformers without retraining, aiming to facilitate model deployment. Unlike layerwise compression methods, BCT achieves finer compression of the entire transformer by operating blockwise. This method mitigates data distribution deviation caused by quantization, eliminating the requirement for retraining. BCT effectively compresses all components of the model, including but not limited to the embedding, matrix multiplication, GELU, Softmax, layer normalization, and intermediate results. In a case study, an efficient model is compressed by BCT achieving up to 7.988x compression. Subsequently, we also evaluate it on several General Language Understanding Evaluation (GLUE) datasets.
Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Builds on 12 of its 14 references that are in the map. First posted on arXiv 4 Apr 2023.
Builds on
12 of 14 references.
References · 12
- 2017Attention Is All You Needcited by 60,106
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2016Layer Normalizationcited by 5,624
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,880
- 2016Gaussian Error Linear Units (GELUs)cited by 3,472
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,103
- 2015Empirical Evaluation of Rectified Activations in Convolutional Networkcited by 517
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
- 2019Q8BERT: Quantized 8Bit BERTcited by 299
- 2021I-BERT: Integer-only BERT Quantizationcited by 254
- 2016Convolutional Neural Networks using Logarithmic Data Representationcited by 99
- 2021Hardware Acceleration of Fully Quantized BERT for Efficient Natural Language Processingcited by 22
Built on by
Citing papers per year: 2023: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- 2026LLM Compression by Block Removal with Constrained Binary Optimization
- 2023Does compressing activations help model parallel training?
- 2024A Survey on Transformer Compression
- 2024RepQuant: Towards Accurate Post-Training Quantization of Large Transformer Models via Scale Reparameterization
- 2026Variance Is Not Importance: Structural Analysis of Transformer Compressibility Across Model Scales
- 2025GPTAQ: Efficient Finetuning-Free Quantization for Asymmetric Calibration
- 2024FrameQuant: Flexible Low-Bit Quantization for Transformers