BitSkip:Transformer中量化与早退机制的实证分析
BitSkip: An Empirical Analysis of Quantization and Early Exit Composition in Transformers
AI总结:
本文通过BitSkip框架实证分析Transformer中量化与早退机制的交互作用,发现简单8位量化模型在性能和速度上均优于更复杂的4位和Hadamard增强模型,并与全精度基线持平。
摘要:
为高效大语言模型(LLM)追求而发展出的极端量化和动态路由等复杂技术,其单独效益已得到充分验证,但组合效应仍不明确。本文引入BitSkip混合架构框架系统探索这些交互作用。反直觉发现,一个简单的8位量化模型(无Hadamard变换,BitSkip-V1)不仅优于更复杂的4位和Hadamard增强模型,而且在质量上与全精度基线持平(困惑度1.13 vs 1.19)。Hadamard变换的引入,即使在8位精度下,也导致性能下降超过37,000%,追溯到基本训练不稳定。BitSkip-V1配方展示了优越的早退特性,第18层提供最优的32.5%速度增益,同时仅导致4%的质量损失。
英文摘要:
The pursuit of efficient Large Language Models (LLMs) has led to increasingly complex techniques like extreme quantization and dynamic routing. While individual benefits of these methods are well-documented, their compositional effects remain poorly understood. This paper introduces BitSkip, a hybrid architectural framework for systematically exploring these interactions. Counter-intuitively, our findings reveal that a simple 8-bit quantized model without Hadamard transform (BitSkip-V1) not only outperforms its more complex 4-bit and Hadamard-enhanced counterparts but also competes the full-precision baseline in quality (perplexity of 1.13 vs 1.19) . The introduction of Hadamard transforms, even at 8-bit precision, catastrophically degraded performance by over 37,000%, tracing fundamental training instability. Our BitSkip-V1 recipe demonstrates superior early-exit characteristics, with layer 18 providing optimal 32.5% speed gain for minimal 4% quality loss.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。