AI Paper Atlas

Research map / Architectures and efficiency / Quantization

LLM-FP4: 4-Bit Floating-Point Quantized Transformers

Shih-yang Liu, Zechun Liu, Xijie Huang, Pingcheng Dong, Kwang-Ting Cheng

EMNLP 2023Architectures and efficiency › Quantizationapproach: Post-training quantization of LLMs162 citations (OpenAlex)

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

13measured effects
9improved
4no clear effect

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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add pre-shifted exponent bias (per-channel activation scales folded into weight exponent biases) (ablation)FPQ baseline · LLaMA-13B zero-shot, 4/4/4average accuracy: 44.5 -> 63.1Improved
add pre-shifted exponent bias (ablation)FPQ baseline · LLaMA-7B zero-shot, 4/4/4average accuracy: 42.7 -> 58.1Improved
add pre-shifted exponent bias (ablation)FPQ baseline · GLUE dev (BERT), 4/4/4average score: 44.5 -> 80.1Improved
add pre-shifted exponent bias (ablation)FPQ baseline · ImageNet DeiT-S, 4/4accuracy: 6.57 -> 75.0Improved
add pre-shifted exponent bias (ablation)FPQ baseline · LLaMA-7B zero-shot, 8/8/8average accuracy: 66.1 -> 66.0No clear effect
add pre-shifted exponent bias (ablation)FPQ baseline · LLaMA-7B zero-shot, 4/4/16average accuracy: 65.7 -> 65.5No clear effect
use floating-point instead of integer MinMax quantizationMinMax quantization · LLaMA-7B zero-shot, 8/8/8average accuracy: 52.9 -> 66.1Improved
use search-based format/max-value instead of gradient-learned (ablation)FPQ · DeiT-S ImageNet, 8-bitaccuracy: 74.38 -> 79.88Improved
increase calibration size from 32 to 128 (ablation)FPQ · GLUE CoLA, 4/4/4CoLA score: 44.4 -> 52.6Improved
use different search ranges (gamma1, gamma2) (ablation)FPQ · GLUE MNLI/QQP/CoLAaccuracy / score: QQP 4/4/4: 89.2 (0.01,1.2) vs 88.4 (0.5,1.5)No clear effect
increase reconstruction granularity from layer to block or larger (ablation)FPQ baseline · LLaMA / BERT / ViTaccuracyNo clear effect
use parallel instead of sequential quantization (ablation)FPQ baseline · LLaMA / BERT / ViTaccuracyImproved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 4 of 4 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

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