Publication Details
LGBM2VHDL: Mapping of LightGBM Models to FPGA
Kořenek Jan, doc. Ing., Ph.D. (CESNET)
Čejka Tomáš, Ing., Ph.D. (FIT CTU)
Gradient Boosting; LightGBM; Hardware acceleration; FPGA;
Gradient boosting (GB) is an effective and widely used type of ensemble machine-learning method. The opportunity to transform the trained GB models to the hardware level represents the potential for significant acceleration of many applications and their availability as embedded systems. In this work, we have therefore developed the LGBM2VHDL tool for the automated mapping of models trained by the LightGBM library to circuits described by VHDL. Compared to existing tools, we have used an architecture that is better suited for large-scale GB models involving up to thousands of decision trees. We have further optimized the architecture using two newly proposed techniques. By applying these techniques to the tested models, the amount of memory required was significantly reduced to almost half of the original resources, and the amount of basic configurable blocks was reduced by up to 4 times on average. The developed tool is available as open-source.
@INPROCEEDINGS{FITPUB13139, author = "Tom\'{a}\v{s} Mart\'{i}nek and Jan Ko\v{r}enek and Tom\'{a}\v{s} \v{C}ejka", title = "LGBM2VHDL: Mapping of LightGBM Models to FPGA", pages = "97--103", booktitle = "2024 IEEE 32nd Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM) ", year = 2024, location = "Orlando, FL, US", publisher = "IEEE Computer Society", ISBN = "979-8-3503-7243-4", doi = "10.1109/FCCM60383.2024.00020", language = "english", url = "https://www.fit.vut.cz/research/publication/13139" }