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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Duan, Shengyu, Sartori, Marcos L. L., Shafik, Rishad, Yakovlev, Alex, Ozer, Emre
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913819925676032
author Duan, Shengyu
Sartori, Marcos L. L.
Shafik, Rishad
Yakovlev, Alex
Ozer, Emre
author_facet Duan, Shengyu
Sartori, Marcos L. L.
Shafik, Rishad
Yakovlev, Alex
Ozer, Emre
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_02181
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient FPGA Implementation of Time-Domain Popcount for Low-Complexity Machine Learning
Duan, Shengyu
Sartori, Marcos L. L.
Shafik, Rishad
Yakovlev, Alex
Ozer, Emre
Machine Learning
Hardware Architecture
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.
title Efficient FPGA Implementation of Time-Domain Popcount for Low-Complexity Machine Learning
topic Machine Learning
Hardware Architecture
url https://arxiv.org/abs/2505.02181