paper-with-me

홈 › Papers

BlockDialect: Block-wise Fine-grained Mixed Format Quantization for Energy-Efficient LLM Inference

2025-01-02 · Wonsuk Jang, Thierry Tambe

The rapidly increasing size of large language models (LLMs) presents significant challenges in memory usage and computational costs. Quantizing both weights and activations can address these issues, with hardware-supported fine-grained scaling emerging as a promising solution to mitigate outliers. However, existing methods struggle to capture nuanced block data distributions. We propose BlockDialect, a block-wise fine-grained mixed format technique that assigns a per-block optimal number format from a formatbook for better data representation. Additionally, we introduce DialectFP4, a formatbook of FP4 variants (akin to dialects) that adapt to diverse data distributions. To leverage this efficiently, we propose a two-stage approach for online DialectFP4 activation quantization. Importantly, DialectFP4 ensures energy efficiency by selecting representable values as scaled integers compatible with low-precision integer arithmetic. BlockDialect achieves 10.78% (7.48%) accuracy gain on the LLaMA3-8B (LLaMA2-7B) model compared to MXFP4 format with lower bit usage per data, while being only 5.45% (2.69%) below full precision even when quantizing full-path matrix multiplication. Focusing on how to represent over how to scale, our work presents a promising path for energy-efficient LLM inference.

📄 PDF Abstract BibTeX arXiv:2501.01144

Code (1)

https://code.stanford.edu/tambe-lab/blockdialect 공식 구현

Tasks

Quantization

Similar Papers 제목 키워드 기반

SFMP: Fine-Grained, Hardware-Friendly and Search-Free Mixed-Precision Quantization for Large Language Models

2026-02-01 · Xin Nie, Haicheng Zhang, Liang Dong, Beining Feng 외 arxiv

Mixed-precision quantization is a promising approach for compressing large language models under tight memory budgets. However, existing mixed-precision methods typically suffer from one of two limitations: they either r…

ScaleBITS: Scalable Bitwidth Search for Hardware-Aligned Mixed-Precision LLMs

2026-02-06 · Xinlin Li, Timothy Chou, Josh Fromm, Zichang Liu 외 arxiv

Post-training weight quantization is crucial for reducing the memory and inference cost of large language models (LLMs), yet pushing the average precision below 4 bits remains challenging due to highly non-uniform weight…

FGMP: Fine-Grained Mixed-Precision Weight and Activation Quantization for Hardware-Accelerated LLM Inference

2025-04-19 · Coleman Hooper, Charbel Sakr, Ben Keller, Rangharajan Venkatesan 외

Quantization is a powerful tool to improve large language model (LLM) inference efficiency by utilizing more energy-efficient low-precision datapaths and reducing memory footprint. However, accurately quantizing LLM weig…

Large Language ModelQuantization

Learning Deep Bilinear Transformation for Fine-grained Image Representation

2019-11-09 · NeurIPS 2019 12 · Heliang Zheng, Jianlong Fu, Zheng-Jun Zha, Jiebo Luo

Bilinear feature transformation has shown the state-of-the-art performance in learning fine-grained image representations. However, the computational cost to learn pairwise interactions between deep feature channels is p…

Fine-Grained Image Recognition

Block-wise LoRA: Revisiting Fine-grained LoRA for Effective Personalization and Stylization in Text-to-Image Generation

2024-03-12 · Likun Li, Haoqi Zeng, Changpeng Yang, Haozhe Jia 외

The objective of personalization and stylization in text-to-image is to instruct a pre-trained diffusion model to analyze new concepts introduced by users and incorporate them into expected styles. Recently, parameter-ef…

Image Generationparameter-efficient fine-tuningText to Image GenerationText-to-Image Generation