paper-with-me

홈 › Papers

Tequila: Trapping-free Ternary Quantization for Large Language Models

2025-09-28 · Hong Huang, Decheng Wu, Rui Cen, Guanghua Yu, Zonghang Li, Kai Liu, Jianchen Zhu, Peng Chen, Xue Liu, Dapeng Wu arxiv

Quantization techniques are essential for the deployment of Large Language Models (LLMs) on edge devices. However, prevailing methods often rely on mixed-precision multiplication that lacks efficient hardware support, making it not feasible. Ternary weight quantization addresses this by constraining weights to {-1, 0, 1}, replacing expensive multiplications with hardware-efficient additions. However, such aggressive compression leads to significant accuracy degradation, even after costly quantization-aware training with massive data. We identify the core issue as deadzone trapping: a large number of weights are trapped at the deadzone boundary. This occurs because these weights receive only noisy, uninformative gradients, preventing stable escape from the deadzone and severely impeding model capacity and optimization. To address this issue, we propose Tequila, a trapping-free quantization optimization method that reactivates deadzone-trapped weights by repurposing them as dynamic biases. This allows the repurposed weights to provide a continuous signal in the forward pass and, critically, receive direct, meaningful gradient signals during backpropagation, thereby enhancing model capacity and optimization with nearly zero inference overhead. Extensive evaluations demonstrate that Tequila outperforms state-of-the-art (SOTA) ternary quantization methods across five benchmarks. Specifically, on the ARC benchmark, it achieves >4% accuracy gain over the SOTA baseline, nearly matching full-precision performance (within <1% gap) with a 3.0x inference speedup. Consequently, Tequila offers a highly practical and efficient implementation for the deployment of advanced LLMs in resource-constrained environments. The code is available at https://github.com/Tencent/AngelSlim.

📄 PDF Abstract BibTeX arXiv:2509.23809

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Sherry: Hardware-Efficient 1.25-Bit Ternary Quantization via Fine-grained Sparsification

2026-01-12 · Hong Huang, Decheng Wu, Qiangqiang Hu, Guanghua Yu 외 arxiv

The deployment of Large Language Models (LLMs) on resource-constrained edge devices is increasingly hindered by prohibitive memory and computational requirements. While ternary quantization offers a compelling solution b…

An Extra RMSNorm is All You Need for Fine Tuning to 1.58 Bits

2025-05-12 · Cody Steinmetz, Gavin Childress, Aaron Herbst, Gavin Jones 외

Large language models (LLMs) have transformed natural-language processing, yet their scale makes real-world deployment costly. Post-training quantization reduces memory and computation but often degrades accuracy, while …

AllKnowledge DistillationLanguage ModelingLanguage Modelling+1

Designing strong baselines for ternary neural network quantization through support and mass equalization

2023-06-30 · Edouard Yvinec, Arnaud Dapogny, Kevin Bailly

Deep neural networks (DNNs) offer the highest performance in a wide range of applications in computer vision. These results rely on over-parameterized backbones, which are expensive to run. This computational burden can …

Quantization

PT$^2$-LLM: Post-Training Ternarization for Large Language Models

2025-09-27 · Xianglong Yan, Chengzhu Bao, Zhiteng Li, Tianao Zhang 외 arxiv

Large Language Models (LLMs) have shown impressive capabilities across diverse tasks, but their large memory and compute demands hinder deployment. Ternarization has gained attention as a promising compression technique,…

Computational Efficiency

Ternary Quantization: A Survey

2023-03-02 · Dan Liu, Xue Liu

Inference time, model size, and accuracy are critical for deploying deep neural network models. Numerous research efforts have been made to compress neural network models with faster inference and higher accuracy. Prunin…

QuantizationSurvey