arXiv cs.CL· Patrick Haller, Filipe Laitenberger, Alan Akbik·· 13 小时前AI 评分31
PACE:面向四比特循环状态的分段与通道对齐量化编码
PACE: Periodic and Channel-Aligned Encoding of Four-Bit Recurrent States
AI 导读
PACE 是一种事后四比特状态量化器,不再每生成一个 token 就舍入状态,而是每隔几个 token 舍入一次,中间 token 暂存于小缓冲区,以减少状态中累积的误差。
正文 · 原文
Abstract:Linear-attention language models keep their context in a recurrent state of fixed size, where an inference system stores one copy of this state for every sequence it decodes at the same time. Storing the state at lower precision therefore lets more sequences share an accelerator. Existing state quantizers round the state after every generated token and report that four bits lose accuracy unless the bit width is raised or the model is fine-tuned.\par We introduce PACE, a post-hoc four-bit state quantizer. PACE rounds the state only once every few generated tokens, as chunked kernels already do once per chunk during prefill, and keeps the tokens generated in between in a small buffer. Rounding less often reduces the error that accumulates in the state. Additionally, we find that the large entries of the gated-delta state gather in columns, because some channels of the update written at each token remain large across many tokens. PACE therefore shares each quantization scale within one column. It also keeps the heads that retain rounding error longest at eight bits. On four hybrid models from 4B to 35B parameters, PACE with mixed four- and eight-bit heads is competitive with eight-bit DAMP on the three larger models at about two thirds of its memory, PACE with four-bit heads throughout scores higher than Q-Mamba at equal memory, and rounding every few tokens preserves the decoding speedup of the buffer.
| Comments: | 11 pages, 6 tables, 7 figures |
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2610.29545 [cs.CL] |
| (or arXiv:2610.29545v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.29545 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Patrick Haller [view email]
[v1]
Wed, 21 Oct 2026 10:31:52 UTC (411 KB)
来源:arXiv cs.CL · arxiv.org