mlsanityData to 14 Oct 2026

rule4ml: An Open-Source Tool for Resource Utilization and Latency Estimation for ML Models on FPGA

arXiv 2408.05314 ↗First posted 9 Aug 2024cs.LG cs.AI cs.ARcited by 3

Not on the map. Why?

Abstract (arXiv)

Implementing Machine Learning (ML) models on Field-Programmable Gate Arrays (FPGAs) is becoming increasingly popular across various domains as a low-latency and low-power solution that helps manage large data rates generated by continuously improving detectors. However, developing ML models for FPGAs is time-consuming, as optimization requires synthesis to evaluate FPGA area and latency, making the process slow and repetitive. This paper introduces a novel method to predict the resource utilization and inference latency of Neural Networks (NNs) before their synthesis and implementation on FPGA. We leverage HLS4ML, a tool-flow that helps translate NNs into high-level synthesis (HLS) code, to synthesize a diverse dataset of NN architectures and train resource utilization and inference latency predictors. While HLS4ML requires full synthesis to obtain resource and latency insights, our method uses trained regression models for immediate pre-synthesis predictions. The prediction models estimate the usage of Block RAM (BRAM), Digital Signal Processors (DSP), Flip-Flops (FF), and Look-Up Tables (LUT), as well as the inference clock cycles. The predictors were evaluated on both synthetic and existing benchmark architectures and demonstrated high accuracy with R2 scores ranging between 0.8 and 0.98 on the validation set and sMAPE values between 10% and 30%. Overall, our approach provides valuable preliminary insights, enabling users to quickly assess the feasibility and efficiency of NNs on FPGAs, accelerating the development and deployment processes. The open-source repository can be found at https://github.com/IMPETUS-UdeS/rule4ml, while the datasets are publicly available at https://borealisdata.ca/dataverse/rule4ml.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 14 of its 45 references that are in the map. First posted on arXiv 9 Aug 2024.

Builds on

14 of 45 references.

References · 14

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,424
  4. 2016Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimizationcited by 699
  5. 2018Fast inference of deep neural networks in FPGAs for particle physicscited by 133
  6. 2019Grid Search, Random Search, Genetic Algorithm: A Big Comparison for NAScited by 83
  7. 2021hls4ml: An Open-Source Codesign Workflow to Empower Scientific Low-Power Machine Learning Devicescited by 62
  8. 2021Fast convolutional neural networks on FPGAs with hls4mlcited by 42
  9. 2020Fast inference of Boosted Decision Trees in FPGAs for particle physicscited by 26
  10. 2019Pyramid: Machine Learning Framework to Estimate the Optimal Timing and Resource Usage of a High-Level Synthesis Designcited by 17
  11. 2022Ultra-low latency recurrent neural network inference on FPGAs for physics applications with hls4mlcited by 14
  12. 2022Real-time semantic segmentation on FPGAs for autonomous vehicles with hls4mlcited by 11
2 more
  1. 2021Nanosecond machine learning event classification with boosted decision trees in FPGA for high energy physicscited by 9
  2. 2022Open-source FPGA-ML codesign for the MLPerf Tiny Benchmarkcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.