arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.02181cs.LGcs.AR
收藏

面向低复杂度机器学习的高效时域种群计数FPGA实现

Efficient FPGA Implementation of Time-Domain Popcount for Low-Complexity Machine Learning

Microsystems Research Group, Newcastle University, Newcastle upon Tyne, UK(新堡大学微系统研究组);Pragmatic Semiconductor, Cambridge, UK(务实半导体公司)

Shengyu Duan, Marcos L. L. Sartori, Rishad Shafik, Alex Yakovlev, Emre Ozer

AI总结:

本文针对Tsetlin Machine中popcount和argmax运算的高计算成本问题,提出基于可编程延迟线和仲裁器的时域实现方法及FPGA设计流程,在异步TM中实现延迟降低38%、动态功耗降低43.1%和资源节省15%。

摘要:

种群计数(popcount)是许多低复杂度机器学习(ML)算法的关键运算,其中包括Tsetlin Machine(TM)——一种前景广阔的新型ML方法,尤其适合解决分类任务。TM中的推理机制由每个类别内基于命题逻辑的结构组成,随后采用多数投票方案做出分类决策。在TM中,投票者是布尔子句的输出。投票机制包含两种运算:对每个类别进行popcount,以及通过argmax运算确定得票最多的类别。虽然TM提供了一种轻量级的ML替代方案,但其性能往往受到popcount和比较运算的高计算成本限制,这些运算用于产生argmax结果。在本文中,我们提出了一种创新方法,通过在时域中执行这些运算来加速和优化它们。我们的时域实现使用可编程延迟线(PDLs)和仲裁器,通过基于延迟的机制高效地管理这些任务。我们还提出了一种FPGA设计流程,用于时域popcount的实际实现,解决延迟偏差问题,并确保其行为与模型预期功能一致。通过利用所提出的popcount与异步架构的天然兼容性,我们展示了在异步TM中的显著改进,与使用基于加法器的popcount的同步TM相比,延迟最多降低38%,动态功耗降低43.1%,资源利用率节省15%。

英文摘要:

Population count (popcount) is a crucial operation for many low-complexity machine learning (ML) algorithms, including Tsetlin Machine (TM)-a promising new ML method, particularly well-suited for solving classification tasks. The inference mechanism in TM consists of propositional logic-based structures within each class, followed by a majority voting scheme, which makes the classification decision. In TM, the voters are the outputs of Boolean clauses. The voting mechanism comprises two operations: popcount for each class and determining the class with the maximum vote by means of an argmax operation. While TMs offer a lightweight ML alternative, their performance is often limited by the high computational cost of popcount and comparison required to produce the argmax result. In this paper, we propose an innovative approach to accelerate and optimize these operations by performing them in the time domain. Our time-domain implementation uses programmable delay lines (PDLs) and arbiters to efficiently manage these tasks through delay-based mechanisms. We also present an FPGA design flow for practical implementation of the time-domain popcount, addressing delay skew and ensuring that the behavior matches that of the model's intended functionality. By leveraging the natural compatibility of the proposed popcount with asynchronous architectures, we demonstrate significant improvements in an asynchronous TM, including up to 38% reduction in latency, 43.1% reduction in dynamic power, and 15% savings in resource utilization, compared to synchronous TMs using adder-based popcount.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑