arXiv cs.AI· Johannes Knittel, Alec Helbling, Hanspeter Pfister·· 2 天前AI 评分32
RoleQ:按角色对齐的缩放策略将语言模型转换为三值权重
RoleQ: Role-Aligned Scales for Converting Language Models to Ternary
AI 导读
RoleQ 是一种按 Transformer 单元功能角色而非权重矩阵布局来放置缩放因子的量化框架,无需搜索、校准或存储状态。在 0.6B 到 14B 的多个模型家族中,其三值量化困惑度较基于布局的方案最多降低一半,而按行缩放会让 MMLU 跌至随机水平。
正文 · 原文
Abstract:Weight quantization below four bits shrinks memory and bandwidth at a perplexity that looks acceptable, but often at the cost of factual knowledge and task accuracy. Ternary weights have mostly been obtained by training from scratch or long fine-tuning. We introduce RoleQ, a quantization framework that places scales by the functional roles of Transformer units rather than by the layout of the weight matrix, as conventional formats do. Vectors that read from the residual stream take one scale per output unit; those that write to it, one per input unit. The rule is structural, needs no search, calibration or stored state, and holds on integer and ternary grids. In a rotated basis it matches a per-layer axis search at half the solver work, and at ternary it cuts perplexity by up to half against layout-based placement in two families at every size from 0.6B to 14B, where per-row scales leave MMLU at chance. Our lightweight post-training pipeline converts an existing checkpoint to 1.59 bits per weight in a few GPU-hours, a fraction of the cost of learned ternarization, and leads every post-training ternary method at matched or lower memory-resident bits on perplexity, zero-shot accuracy and MMLU, most widely on knowledge. A sparse second ternary plane placed by a per-unit Fisher saliency keeps the matmul multiplication-free and recovers what ternary loses first: at 8B, a fraction of a bit returns about half the MMLU that conversion costs, well ahead of random or Hessian-based placement at equal bits.
| Subjects: | Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2610.21808 [cs.AI] |
| (or arXiv:2610.21808v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.21808 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Johannes Knittel [view email]
[v1]
Thu, 15 Oct 2026 12:56:57 UTC (268 KB)
来源:arXiv cs.AI · arxiv.org