arXiv:2502.07823cs.ARcs.AI2025-02中稿 · as a full paper by…被引 2

在边缘设备上实现可运行时调节的低资源机器学习推理。

Runtime Tunable Tsetlin Machines for Edge Inference on eFPGAs

  • 采用位压缩的特斯林机架构,避免乘法运算,仅用位操作和加法。
  • 相比现有设计减少2.5倍LUT、3.38倍寄存器,能耗降低129倍。
  • 支持现场动态调整模型大小与输入维度,无需重新综合。

嵌入式现场可编程门阵列(eFPGA)相比传统FPGA平台可在更低功耗下设计边缘机器学习(ML)应用的硬件加速器。然而,eFPGA的逻辑与存储资源有限,严重制约了计算能力与模型规模。因此,将ML应用部署于eFPGA与当前主流FPGA方法——追求特定架构实现与最大化吞吐量——形成鲜明对比。本文聚焦于该权衡的另一端:所提出的eFPGA加速器以最小化资源使用为核心,并支持现场可调的模型重构。通过特斯林机(Tsetlin Machine, TM)算法的位压缩推理架构实现,其计算仅依赖位与、或、非、求和与加法,无需乘法运算。此外,TM模型压缩使整个模型可放入eFPGA片上块存储器(block RAM)。本文利用该加速器提出一种运行时模型调优策略,相较当前最节省资源的设计,减少2.5倍查找表(LUTs)和3.38倍寄存器,同时相比运行相同ML任务的低功耗微控制器,能效提升最高达129倍。

原文摘要 · Abstract (English)

Embedded Field-Programmable Gate Arrays (eFPGAs) allow for the design of hardware accelerators of edge Machine Learning (ML) applications at a lower power budget compared with traditional FPGA platforms. However, the limited eFPGA logic and memory significantly constrain compute capabilities and model size. As such, ML application deployment on eFPGAs is in direct contrast with the most recent FPGA approaches developing architecture-specific implementations and maximizing throughput over resource frugality. This paper focuses on the opposite side of this trade-off: the proposed eFPGA accelerator focuses on minimizing resource usage and allowing flexibility for on-field recalibration over throughput. This allows for runtime changes in model size, architecture, and input data dimensionality without offline resynthesis. This is made possible through the use of a bitwise compressed inference architecture of the Tsetlin Machine (TM) algorithm. TM compute does not require any multiplication operations, being limited to only bitwise AND, OR, NOT, summations and additions. Additionally, TM model compression allows the entire model to fit within the on-chip block RAM of the eFPGA. The paper uses this accelerator to propose a strategy for runtime model tuning in the field. The proposed approach uses 2.5x fewer Look-up-Tables (LUTs) and 3.38x fewer registers than the current most resource-fugal design and achieves up to 129x energy reduction compared with low-power microcontrollers running the same ML application.

边缘计算特斯林机eFPGA低功耗

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。