Search papers, labs, and topics across Lattice.
This paper introduces a domain-specific RISC-V microprocessor architecture optimized for Tsetlin Machine (TM) inference, addressing limitations in flexibility and programming ease seen in previous TM accelerator designs. By employing instruction profiling to guide the reduction of the instruction set and simplifying the datapath and control path, the proposed reduced instruction subset processor significantly enhances performance and lowers energy consumption. Experimental results reveal that the TM implementation not only matches or surpasses the accuracy of Binarized Neural Networks (BNNs) but also reduces execution time by up to 98% and achieves an average energy consumption reduction of $29.7\times$.
Tsetlin Machines can outperform Binarized Neural Networks in accuracy while slashing execution time and energy consumption, making them a game-changer for edge AI applications.
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.