scimeatlas

Research map / Architectures and efficiency / Quantization

Compression of Generative Pre-trained Language Models via Quantization

Chaofan Tao, Lu Hou, Wei Zhang, Lifeng Shang, Xin Jiang, Qun Liu, Ping Luo, Ngai Wong

ACL 2022Architectures and efficiency › Quantizationapproach: Post-training quantization of LLMsopen problems in this approach82 citations (OpenAlex)

The University of Hong Kong · Huawei Technologies

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
10improved
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

This paper tried a common change: Add a contrastive loss

add contrastive loss to training · PTB · training time and memory: 0.61 -> 0.67 sec/iter; 14700 -> 14839 MB Hurt

What 1,804 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use token-level contrastive loss with full-precision negatives (ablation)QuantGPT (2-bit) · PTBperplexity: 16.93 -> 16.12Improved
use module-wise dynamic scaling gradient instead of PACT-style gradient (ablation)QuantGPT (2-bit) · WikiText103perplexity: 25.54 -> 17.78Improved
use token-level instead of sequence-level (in-batch) negatives (ablation)QuantGPT (2-bit) · PTBperplexity: 19.23 -> 16.12Improved
use full-precision representations of other tokens as negatives instead of random vocabulary tokens (ablation)QuantGPT (2-bit) · PTBperplexity: 16.63 -> 16.12Improved
reduce in-batch batch size from 32 to 16 (ablation)in-batch contrastive variant · PTBperplexity: 19.23 -> 17.11Improved
increase number of negative samples (ablation)QuantGPT (2-bit) · PTBperplexityImproved
use moving-average representations of negatives in memory bank (ablation)QuantGPT (2-bit) · PTBperplexityImproved
apply contrastive loss on last decoder layer rather than first (ablation)QuantGPT (2-bit) · WikiText2perplexity: 18.02 -> 17.30Improved
apply contrastive loss on decoder rather than encoder (ablation)QuantBART (2-bit) · XSumROUGE-1: 38.91 -> 39.15Improved
add contrastive loss to trainingQuantGPT (2-bit) · PTBtraining time and memory: 0.61 -> 0.67 sec/iter; 14700 -> 14839 MBHurt
use QuantGPT instead of LSQ at 2-bitGPT-2 · WikiText2perplexity: 847.54 -> 17.30Improved
quantize weights to 8 bitsQuantGPT · Persona-Chataccuracy: 77.01 -> 76.12Hurt

Open problems in post-training quantization of LLMs

Can post-training quantization reach 2-bit and activation-level compression with real speedups on large models?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy