TOM:一种用于LLM赋能边缘智能的三进制只读存储器加速器
TOM: A Ternary Read-only Memory Accelerator for LLM-powered Edge Intelligence
AI总结:
TOM通过三进制量化与混合ROM-SRAM架构,实现高密度、低功耗的边缘智能推理加速。
摘要:
将大型语言模型(LLMs)用于边缘设备上的实时智能的部署正在迅速增长。然而,传统硬件架构面临一个根本性的内存墙挑战,即有限的设备内存容量和带宽严重限制了可部署模型的大小及其推理速度,同时也限制了设备上的适应能力。为了解决这一挑战,我们提出了TOM,一种混合ROM-SRAM加速器,与三进制量化相结合进行联合设计,平衡了极高的密度与设备上的可调性。TOM利用三进制量化与ROM之间的协同效应,实现极高的内存密度和带宽,同时通过设计用于QLoRA基于可调性的混合ROM-SRAM架构保持灵活性。具体而言,我们引入了:(1)一种稀疏性感知的ROM架构,将三进制权重合成标准单元逻辑,消除零值位带来的面积开销;(2)一种分布式的处理架构,将高密度ROM银行与灵活的基于SRAM的QLoRA适配器和计算单元进行协同定位;(3)一种基于工作负载的动态电源门控方案,利用ROM的逻辑特性来关闭非活动银行,从而最小化动态能耗。TOM使用BitNet-2B模型实现了3,306 TPS的推理吞吐量,证明了其在提供实时、节能的边缘智能方面的有效性。
英文摘要:
The deployment of Large Language Models (LLMs) for real-time intelligence on edge devices is rapidly growing. However, conventional hardware architectures face a fundamental memory wall challenge, where limited on-device memory capacity and bandwidth severely constrain the size of deployable models and their inference speed, while also limiting on-device adaptation. To address this challenge, we propose TOM, a hybrid ROM-SRAM accelerator co-designed with ternary quantization, which balances extreme density with on-device tunability. TOM exploits the synergy between ternary quantization and ROM to achieve extreme memory density and bandwidth, while preserving flexibility through a hybrid ROM-SRAM architecture designed for QLoRA-based tunability. Specifically, we introduce: (1) a sparsity-aware ROM architecture that synthesizes ternary weights as standard-cell logic, eliminating area overhead from zero-valued bits; (2) a distributed processing architecture that co-locates high-density ROM banks with flexible SRAM-based QLoRA adapters and compute units; and (3) a workload-aware dynamic power gating scheme that exploits the logic-based nature of ROM to power down inactive banks, minimizing dynamic energy consumption. TOM achieves an inference throughput of 3,306 TPS using BitNet-2B model, demonstrating its effectiveness in delivering real-time, energy-efficient edge intelligence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。