Saved in:
Bibliographic Details
Main Authors: Liu, Yijiang, Fang, Hengyu, He, Liulu, Zhang, Rongyu, Bai, Yichuan, Du, Yuan, Du, Li
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.16385
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913854113447936
author Liu, Yijiang
Fang, Hengyu
He, Liulu
Zhang, Rongyu
Bai, Yichuan
Du, Yuan
Du, Li
author_facet Liu, Yijiang
Fang, Hengyu
He, Liulu
Zhang, Rongyu
Bai, Yichuan
Du, Yuan
Du, Li
contents Deploying Large Language Models (LLMs) on edge devices is increasingly important, as it eliminates reliance on network connections, reduces expensive API calls, and enhances user privacy. However, on-device deployment is challenging due to the limited computational resources of edge devices. In particular, the key bottleneck stems from memory bandwidth constraints related to weight loading. Weight-only quantization effectively reduces memory access, yet often induces significant accuracy degradation. Recent efforts to incorporate sub-branches have shown promise for mitigating quantization errors, but these methods either lack robust optimization strategies or rely on suboptimal objectives. To address these gaps, we propose FeedBack Quantization (FBQuant), a novel approach inspired by negative feedback mechanisms in automatic control. FBQuant inherently ensures that the reconstructed weights remain bounded by the quantization process, thereby reducing the risk of overfitting. To further offset the additional latency introduced by sub-branches, we develop an efficient CUDA kernel that decreases 60% of extra inference time. Comprehensive experiments demonstrate the efficiency and effectiveness of FBQuant across various LLMs. Notably, for 3-bit Llama2-7B, FBQuant improves zero-shot accuracy by 1.2%.
format Preprint
id arxiv_https___arxiv_org_abs_2501_16385
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FBQuant: FeedBack Quantization for Large Language Models
Liu, Yijiang
Fang, Hengyu
He, Liulu
Zhang, Rongyu
Bai, Yichuan
Du, Yuan
Du, Li
Machine Learning
Computation and Language
Deploying Large Language Models (LLMs) on edge devices is increasingly important, as it eliminates reliance on network connections, reduces expensive API calls, and enhances user privacy. However, on-device deployment is challenging due to the limited computational resources of edge devices. In particular, the key bottleneck stems from memory bandwidth constraints related to weight loading. Weight-only quantization effectively reduces memory access, yet often induces significant accuracy degradation. Recent efforts to incorporate sub-branches have shown promise for mitigating quantization errors, but these methods either lack robust optimization strategies or rely on suboptimal objectives. To address these gaps, we propose FeedBack Quantization (FBQuant), a novel approach inspired by negative feedback mechanisms in automatic control. FBQuant inherently ensures that the reconstructed weights remain bounded by the quantization process, thereby reducing the risk of overfitting. To further offset the additional latency introduced by sub-branches, we develop an efficient CUDA kernel that decreases 60% of extra inference time. Comprehensive experiments demonstrate the efficiency and effectiveness of FBQuant across various LLMs. Notably, for 3-bit Llama2-7B, FBQuant improves zero-shot accuracy by 1.2%.
title FBQuant: FeedBack Quantization for Large Language Models
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2501.16385