atlas

Research map / Architectures and efficiency / Quantization

BiE: Bi-Exponent Block Floating-Point for Large Language Models Quantization

ICML 2024 · Architectures and efficiency › Quantization · approach: Ultra-low-bit LLM quantization

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Bi-Exponent Block Floating-Point (BiE), a block numerical format with two shared exponents (normal and outlier) split by a per-tensor threshold found via Bayesian optimization, enabling accurate 4-bit and 3-bit PTQ of OPT and LLaMA-2 with an FPGA accelerator design.

Problem

Low-bit LLM quantization suffers from activation outliers and wide-but-redundant value distributions, while mainstream INT and standard block floating-point formats either lose accuracy at 4-bit or add hardware cost.

Approach

Each block stores two shared exponents, one for values below a per-tensor threshold and one for outliers above it, with a 1-bit type flag per element; the threshold is tuned offline with Bayesian optimization over a percentile-pruned search space using output MSE.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use BiE W4A4 instead of BFP W4A4OPT-6.7B · WikiText2perplexity: 11.22 -> 10.93Helped
Use BiE W4A4 instead of BFP W4A4OPT-13B · WikiText2perplexity: 11.15 -> 10.39Helped
Use BiE W4A4 instead of BFP W4A4OPT-30B · WikiText2perplexity: 9.90 -> 9.37Helped
Use BiE W4A4 instead of BFP W4A4OPT-66B · WikiText2perplexity: 14.16 -> 9.82Helped
Use BiE W4A4 instead of BFP W4A4OPT-30B · Zero-shot task averageaccuracy: 68.55% -> 70.22%Helped
Use BiE W4A4 instead of BFP W4A4OPT-66B · Zero-shot task averageaccuracy: 68.69% -> 71.23%Helped
Use BiE W4A4 instead of BFP W4A4LLaMA-2-7B · Zero-shot task averageaccuracy: 68.65 -> 72.83Helped
Use BiE W4A4 instead of BFP W4A4LLaMA-2-13B · Zero-shot task averageaccuracy: 71.20 -> 75.90Helped
Use BiE W4A4 instead of BFP W4A4LLaMA-2-70B · Zero-shot task averageaccuracy: 80.24 -> 80.21Hurt
Use BiE W4A4 instead of FP16OPT-30B · Zero-shot task averageaccuracy: 69.90% -> 70.22%Helped
Use BiE W4A4 instead of FP16OPT-66B · Zero-shot task averageaccuracy: 71.76% -> 71.23%Hurt
Use BiE W4A4 instead of SmoothQuant W8A8OPT-30B · WikiText2perplexity: 9.35 -> 9.37No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Pile (128 calibration samples) WikiText2 LAMBADA ARC-easy PIQA COPA QNLI SST2

Benchmarks: WikiText2 LAMBADA ARC-easy PIQA COPA QNLI SST2

Metrics: perplexity accuracy average accuracy throughput memory efficiency

Baselines: SmoothQuant BFP (Zhang et al., 2023) FP16

Builds on: block floating point SmoothQuant LLM.int8() AFP

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