paper-with-me

홈 › Papers

LSAQ: Layer-Specific Adaptive Quantization for Large Language Model Deployment

2024-12-24 · Binrui Zeng, Bin Ji, Xiaodong Liu, Jie Yu, Shasha Li, Jun Ma, Xiaopeng Li, Shangwen Wang, Xinran Hong, Yongtao Tang

As Large Language Models (LLMs) demonstrate exceptional performance across various domains, deploying LLMs on edge devices has emerged as a new trend. Quantization techniques, which reduce the size and memory requirements of LLMs, are effective for deploying LLMs on resource-limited edge devices. However, existing one-size-fits-all quantization methods often fail to dynamically adjust the memory requirements of LLMs, limiting their applications to practical edge devices with various computation resources. To tackle this issue, we propose Layer-Specific Adaptive Quantization (LSAQ), a system for adaptive quantization and dynamic deployment of LLMs based on layer importance. Specifically, LSAQ evaluates the importance of LLMs' neural layers by constructing top-k token sets from the inputs and outputs of each layer and calculating their Jaccard similarity. Based on layer importance, our system adaptively adjusts quantization strategies in real time according to the computation resource of edge devices, which applies higher quantization precision to layers with higher importance, and vice versa. {Experimental results show that LSAQ consistently outperforms the selected quantization baselines in terms of perplexity and zero-shot tasks. Additionally, it can devise appropriate quantization schemes for different usage scenarios to facilitate the deployment of LLMs.

📄 PDF Abstract BibTeX arXiv:2412.18135

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language ModelQuantization

Similar Papers 제목 키워드 기반

QTALE: Quantization-Robust Token-Adaptive Layer Execution for LLMs

2026-02-11 · Kanghyun Noh, Jinheon Choi, Yulhwa Kim arxiv

Large language models (LLMs) demand substantial computational and memory resources, posing challenges for efficient deployment. Two complementary approaches have emerged to address these issues: token-adaptive layer exec…

Arbitrary Bit-width Network: A Joint Layer-Wise Quantization and Adaptive Inference Approach

2022-04-21 · Chen Tang, Haoyu Zhai, Kai Ouyang, Zhi Wang 외

Conventional model quantization methods use a fixed quantization scheme to different data samples, which ignores the inherent "recognition difficulty" differences between various samples. We propose to feed different dat…

Quantization

OAC: Output-adaptive Calibration for Accurate Post-training Quantization

2024-05-23 · Ali Edalati, Alireza Ghaffari, Mahsa Ghazvini Nejad, Lu Hou 외

Deployment of Large Language Models (LLMs) has major computational costs, due to their rapidly expanding size. Compression of LLMs reduces the memory footprint, latency, and energy required for their inference. Post-trai…

Quantization

CALM: A CKA-Guided Adaptive Layer-Wise Modularization Framework for LLM Quantization

2025-12-18 · Jinhao Zhang, Yunquan Zhang, Daning Chen, JunSun 외 arxiv

Current mainstream post-training quantization methods for large language models typically apply a uniform quantization strategy across all network layers, overlooking the substantial differences in algorithmic suitabilit…

MixQuant: Adaptive Mixed-Precision Quantization for Large Language Models

2026-07-25 · Ashitabh Misra, Madhav Agrawal, Arham Jain, Tarek Abdelzaher arxiv

Mixed-precision quantization improves the accuracy of post-training quantization by allocating higher bitwidths to sensitive layers, but existing methods solve the allocation for a single fixed memory budget. In practice…