arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10431cs.LG
收藏

QTALE: 面向LLM的量化鲁棒令牌自适应层执行

QTALE: Quantization-Robust Token-Adaptive Layer Execution for LLMs

Department of Semiconductor Systems Engineering, Sungkyunkwan University(成均馆大学半导体系统工程系)

Kanghyun Noh, Jinheon Choi, Yulhwa Kim

AI总结:

提出QTALE框架,通过多样化训练路径和后训练调整机制,实现令牌自适应层执行与量化的无缝集成,在保持精度的同时降低计算和内存开销。

摘要:

大型语言模型(LLM)需要大量的计算和内存资源,给高效部署带来了挑战。为了解决这些问题,出现了两种互补的方法:令牌自适应层执行,通过选择性跳过层来减少浮点运算(FLOPs);以及量化,通过降低权重精度来减少内存占用。然而,简单地将这些技术集成会导致额外的精度下降,因为令牌自适应模型中的冗余减少。我们提出了QTALE(面向LLM的量化鲁棒令牌自适应层执行),一种新颖的框架,能够在保持精度的同时实现令牌自适应执行与量化的无缝集成。传统的令牌自适应方法通过两种方式减少冗余:(1)限制微调过程中探索的训练路径的多样性,(2)降低推理过程中活跃参与的参数数量。为了克服这些限制,QTALE引入了两个关键组件:(1)一种训练策略,确保在微调过程中积极探索多样化的执行路径,(2)一种后训练机制,允许在推理时灵活调整执行比率,以在需要时重新引入冗余。实验结果表明,QTALE能够实现令牌自适应层执行与量化的无缝集成,同时在CommonsenseQA基准测试中,与仅量化模型的精度差距保持在0.5%以内。通过结合令牌自适应执行以减少FLOPs和量化以节省内存,QTALE为高效部署LLM提供了一种有效的解决方案。

英文摘要:

Large language models (LLMs) demand substantial computational and memory resources, posing challenges for efficient deployment. Two complementary approaches have emerged to address these issues: token-adaptive layer execution, which reduces floating-point operations (FLOPs) by selectively bypassing layers, and quantization, which lowers memory footprint by reducing weight precision. However, naively integrating these techniques leads to additional accuracy degradation due to reduced redundancy in token-adaptive models. We propose QTALE (Quantization-Robust Token-Adaptive Layer Execution for LLMs), a novel framework that enables seamless integration of token-adaptive execution with quantization while preserving accuracy. Conventional token-adaptive methods reduce redundancy in two ways: (1) by limiting the diversity of training paths explored during fine-tuning, and (2) by lowering the number of parameters actively involved in inference. To overcome these limitations, QTALE introduces two key components: (1) a training strategy that ensures diverse execution paths are actively explored during fine-tuning, and (2) a post-training mechanism that allows flexible adjustment of the execution ratio at inference to reintroduce redundancy when needed. Experimental results show that QTALE enables seamless integration of token-adaptive layer execution with quantization, while keeping the accuracy gap to quantization-only models below 0.5% on CommonsenseQA benchmarks. By combining tokenadaptive execution for FLOPs reduction and quantization for memory savings, QTALE provides an effective solution for efficient LLM deployment.

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

↑