CAT-Q:面向大语言模型的高效精准三值量化 CAT-Q: Cost-efficient and Accurate Ternary Quantization for LLMs 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-25
👁️ 预览文献
💡 AI 中文简介
本研究提出CAT-Q,一种无需量化感知训练的后训练三值量化方法,通过可学习调制和软化三值化两个组件,仅用512个校准样本即可将1.7B至8B参数的大语言模型高效量化,性能超越用100B token训练的BitNet 1.58-bit系列,训练token减少约10万倍。CAT-Q还能在8至60小时内将14B至235B参数的大模型量化为领先的三值模型,显著降低计算成本。
领域自然语言处理/模型压缩与量化
适合谁读需要一定专业背景
核心贡献1. 提出无需量化感知训练的后训练三值量化方案,大幅降低训练成本;2. 首次实现14B至235B参数大模型的高效三值量化,并在极短时间内完成。
关键数据仅用512个校准样本,训练token减少约100,000倍;在1.7B-8B模型上性能超越BitNet 1.58-bit v1/v2(1.3B-7B,100B token训练);14B-235B模型量化仅需8-60小时(8块A100-80GB GPU)。
推荐理由如果你关注大模型压缩和高效推理,这篇论文用极低成本实现高质量三值量化,绝对值得一读!
关键词["三值量化", "大语言模型", "后训练量化", "模型压缩", "高效推理"]

原文摘要

查看英文原文摘要

In this paper, we present CAT-Q, Cost-efficient and Accurate Ternary Quantization, for compressing and accelerating LLMs. Unlike existing state-of-the-art ternary quantization methods that rely on data-intensive and costly quantization-aware training to mitigate severe performance degradation, CAT-Q is a simple yet effective post-training quantization scheme that is readily applicable to LLMs with diverse architectures and model sizes. It has two key components, learnable modulation (LM) and softened ternarization (ST), which are coupled from an optimization perspective. LM leverages a composition of learnable factors to modulate the distribution of pre-trained high-precision weights and the ternary threshold, making them less sensitive to ternarization. ST further introduces a differentiable transition function to guide the ternarization process toward stable convergence. We show that, for pre-trained LLMs with 1.7B to 8B parameters, CAT-Q can efficiently quantize them into ternary models using only 512 calibration samples, while achieving superior performance than the seminal BitNet 1.58-bit v1 and v2 families (with 1.3B to 7B parameters) trained with 100B tokens, yielding about a 100,000X reduction in training tokens. Moreover, we show for the first time that CAT-Q can quantize much larger pre-trained LLMs having 14B to 235B parameters into leading ternary models within just 8 to 60 hours on 8 A100-80GB GPUs. Code is available at https://github.com/IntelChina-AI/BitTern.