atlas

Research map / Architectures and efficiency / Quantization

Pushing the Limits of BFP on Narrow Precision LLM Inference

AAAI 2025 · Architectures and efficiency › Quantization · approach: Ultra-low-bit LLM quantization · 3 citations (OpenAlex)

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 DB-Attn, a hardware-software co-design that applies an adaptive block floating-point variant (DBFP) and a hierarchical LUT (DH-LUT) to nonlinear Softmax in attention, with an RTL engine for FPGA/ASIC.

Problem

Nonlinear operations such as Softmax in LLM attention remain in floating-point and become bottlenecks as sequence length grows; vanilla block floating-point (BFP) loses accuracy when applied to them due to outlier-driven exponent alignment and coarse granularity.

Approach

DBFP aligns exponents to a median-like pivot rather than the group maximum (pivot-focus) and groups elements by exponent interval (adaptive grouping); DH-LUT uses a non-uniform hierarchical lookup table over DBFP data so exponentials can be computed in a BFP-like, integer-friendly format.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DBFP with DH-LUT for Attention nonlinear operationsLLaMA models · LLaMA series Softmax on GPUlatency: 74%Helped
Use DBFP-based Softmaxdiverse model architectures · GPU Softmaxspeed: at least 30%Helped
Align exponent to the maximum rather than the median (ablation)Softmax BFP · Softmaxloss: 9.6xHurt
Add pivot-focus alignment using the median exponent (ablation)DBFP Softmax · SoftmaxaccuracyHelped
Add adaptive grouping based on exponent intervals (ablation)DBFP · Nonlinear operationsaccuracyHelped
Vary LUT bit width to 5-7 bits (ablation)DB-Attn Softmax · Softmax accuracy, computational error, and LUT memorytrade-off: 5-7Helped
Use DBFP in a 4-level adder treeDBFP adder tree · 4-level adder treelatency: 42%Helped
Use the DBFP Divider instead of an FP16 dividerSoftmax division · Softmaxlatency: 83%Helped
Use DBFP with DH-LUT instead of vanilla BFPLLaMA models · Zero-shot tasksaccuracyHelped
Use DBFP-based Softmax accelerator at input length 1024FPGA Softmax accelerator · Softmax accelerator FPGAFOM: 10xHelped

Surprising findings

Limitations

Experimental setup

Datasets: WikiText2 C4 PIQA ARC-e ARC-c BoolQ HellaSwag Winogrande ImageNet COCO

Benchmarks: WikiText2 C4 PIQA ARC-e ARC-c BoolQ HellaSwag Winogrande ImageNet COCO

Metrics: perplexity zero-shot accuracy top-1 accuracy mAP latency LUT FF FOM ADP EDP

Baselines: FP8 e4m3 FP8 e5m2 vanilla BFP Hyft TCAS-I'22 ISCAS'23 TCAS-II'22 Xilinx FP IP

Builds on: block floating point MXFP BSFP

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