arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.16368cs.LGcs.AI
收藏

LoopQuant:面向循环Transformer的精准高效训练后量化

LoopQuant: Accurate and Efficient Post-Training Quantization for Looped Transformers

School of Integrated Circuits, Peking University(北京大学集成电路学院);Houmo AI

Zhixiong Zhao, Zukang Xu, Xing Hu, Lifeng Liu, Guangyu Sun, Dawei Yang

AI总结:

针对循环Transformer低位量化的挑战,提出LoopQuant框架,通过三个核心组件实现更优性能,在Ouro-2.6B上实现内存压缩、速度提升,优于现有方法。

摘要:

循环语言模型(LoopLMs)通过递归复用共享Transformer模块提升参数效率,但它们在不断演化的循环状态上的重复计算给低位部署带来了新挑战。现有的训练后量化(PTQ)方法大多针对前馈Transformer设计,未考虑跨循环激活动态、异构循环敏感性及递归误差传播,导致低位精度下性能大幅下降。为解决这些挑战,我们提出LoopQuant,一种面向LoopLMs的精准高效低位量化的循环感知PTQ框架。LoopQuant基于三个核心组件构建:1)跨循环分布规范化(CLDC),在保留参数共享的同时学习循环状态间共享的量化友好表示;2)交互感知循环级精度分配(ILPA),通过建模任务级循环敏感性和跨循环交互,在固定比特预算下分配激活精度;3)循环条件任务校准(LCTC),通过轻量任务空间校准进一步使量化推理与低位递归轨迹对齐。在多种LoopLM架构上的大量实验表明,LoopQuant始终优于现有低位PTQ方法。在Ouro-2.6B上,采用W4A4的LoopQuant性能超过所有W4A8基线,同时将模型内存减少65.3%,仅比普通INT4增加3.4%的存储开销,且解码速度比BF16提升1.7倍。这些结果证明了LoopQuant在精度、压缩率和推理效率间的强平衡,为低位LoopLM推理提供了实用且利于部署的解决方案。代码可在[this https URL]获取。

英文摘要:

Looped Language Models (LoopLMs) improve parameter efficiency by recursively reusing shared Transformer modules, yet their repeated computation over evolving recurrent states poses new challenges for low-bit deployment. Existing post-training quantization (PTQ) methods, largely designed for feed-forward Transformers, fail to account for cross-loop activation dynamics, heterogeneous loop sensitivity, and recursive error propagation, leading to substantial performance degradation at low precision. To address these challenges, we propose LoopQuant, a loop-aware PTQ framework for accurate and efficient low-bit quantization of LoopLMs. LoopQuant is built on three core components: 1) Cross-Loop Distribution Canonicalization (CLDC) learns a shared quantization-friendly representation across recurrent states while preserving parameter sharing; 2) Interaction-Aware Loop-wise Precision Allocation (ILPA) allocates activation precision under a fixed bit budget by modeling task-level loop sensitivity and cross-loop interactions; and 3) Loop-Conditioned Task Calibration (LCTC) further aligns quantized inference with the low-bit recursive trajectory through lightweight task-space calibration. Extensive experiments across LoopLM architectures demonstrate that LoopQuant consistently outperforms existing low-bit PTQ methods. On Ouro-2.6B, LoopQuant under W4A4 surpasses all W4A8 baselines in performance, while reducing model memory by 65.3% with only 3.4% additional storage overhead over naive INT4 and achieving a 1.7 times decoding speedup over BF16. These results demonstrate a strong balance among accuracy, compression, and inference efficiency, providing a practical and deployment-friendly solution for low-bit LoopLM inference. The code is available at [https://github.com/Kishon-zzx/LoopQuant].

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑