用于边缘Tsetlin Machine推理的低能耗精简RISC-V指令子集处理器
Low-Energy Reduced RISC-V Instruction Subset Processor for Tsetlin Machine Inference at the Edge
AI总结:
针对Tsetlin Machine推理,提出一种领域专用RISC-V微处理器架构,通过指令精简和数据路径简化,在保持可编程性的同时实现高达98%的执行时间减少和29.7倍能耗降低。
摘要:
Tsetlin Machine (TM) 是一种基于逻辑的机器学习方法,依赖于简单的位运算和有限状态自动机,使其适用于边缘AI部署。最近的工作集中在基于Tsetlin Machine (TM) 的协处理器和加速器设计上。尽管这些设计实现了高性能,但它们通常依赖于紧密耦合的接口、微码风格的编程和外部主机处理器,限制了灵活性和编程简易性。在这项工作中,我们提出了一种面向TM推理的领域专用RISC-V微处理器架构和设计流程。利用RISC-V的模块化结构,我们设计了一个精简指令子集处理器,在保持可编程性的同时,针对TM工作负载提高了性能并降低了能耗。采用指令分析来指导指令精简,随后针对TM推理进行数据路径和控制路径的简化。在多个数据集上评估了基线RV32IM核心和所提出的精简核心,并与二值神经网络 (BNN) 进行比较,BNN由于在推理过程中依赖位运算而被用作硬件高效基线。结果表明,TM实现了相当或更高的准确率(例如,在CIFAR-2上高达88.18%,而BNN为60.0%),同时在多个数据集上执行时间减少了高达98%。此外,所提出的设计实现了平均29.7倍的能耗降低,证明了其在可编程且高效的边缘AI系统中的有效性。
英文摘要:
Tsetlin Machine (TM) is a logic-based machine learning approach that relies on simple bitwise operations and finite-state automata, which makes it attractive for edge AI deployments. Recent work has focused on co-processor and accelerator designs based on Tsetlin Machines (TMs). Although these designs achieve high performance, they typically depend on tightly coupled interfaces, microcode-style programming, and external host processors, limiting flexibility and ease of programming. In this work, we present a domain-specific RISC-V microprocessor architecture and design flow tailored for TM inference. Leveraging the modular structure of RISC-V, we design a reduced instruction subset processor that retains programmability while targeting improved performance and lower energy consumption for TM workloads. Instruction profiling is employed to guide instruction reduction, followed by datapath and control path simplifications tailored to TM inference. Both the baseline RV32IM core and the proposed reduced core are evaluated across multiple datasets and compared with Binarized Neural Networks (BNNs), which serve as a hardware-efficient baseline due to their reliance on bitwise operations during inference. Results show that TM achieves comparable or higher accuracy (e.g., up to 88.18% on CIFAR-2 compared to 60.0% for BNN) while reducing execution time by up to 98% across multiple datasets. Furthermore, the proposed design achieves an average $29.7\times$ reduction in energy consumption, demonstrating its effectiveness for programmable and efficient edge AI systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。