Cargando…

Convolutional Layer Implementations in High-Level Synthesis for FPGAs

Field programmable gate arrays (FPGAs) offer a flexible hardware platform on which machine learning algorithms can be efficiently implemented. However, developing these algorithms on FPGAs can be prohibitive due to complex implementation details. We use the HLS4ML (High-Level Synthesis for Machine L...

Descripción completa

Detalles Bibliográficos
Autor principal: Lin, Kelvin
Lenguaje:eng
Publicado: 2021
Materias:
Acceso en línea:http://cds.cern.ch/record/2776765
_version_ 1780971644863381504
author Lin, Kelvin
author_facet Lin, Kelvin
author_sort Lin, Kelvin
collection CERN
description Field programmable gate arrays (FPGAs) offer a flexible hardware platform on which machine learning algorithms can be efficiently implemented. However, developing these algorithms on FPGAs can be prohibitive due to complex implementation details. We use the HLS4ML (High-Level Synthesis for Machine Learning) framework to translate models trained using traditional machine learning libraries into C++ which can then be translated into FPGAs firmware using High-Level Synthesis (HLS). We propose an alternative approach for convolutional neural networks within the HLS4ML framework. Using the new approach on benchmark convolutional neural network (CNN) models, we show a potential reduction of FPGA critical resource consumption by up to 30% and latency by up to 12%. Lastly, we describe the process in which we integrate the proposed approach in the HLS4ML framework
id cern-2776765
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2021
record_format invenio
spelling cern-27767652021-07-30T22:43:20Zhttp://cds.cern.ch/record/2776765engLin, KelvinConvolutional Layer Implementations in High-Level Synthesis for FPGAsComputing and ComputersField programmable gate arrays (FPGAs) offer a flexible hardware platform on which machine learning algorithms can be efficiently implemented. However, developing these algorithms on FPGAs can be prohibitive due to complex implementation details. We use the HLS4ML (High-Level Synthesis for Machine Learning) framework to translate models trained using traditional machine learning libraries into C++ which can then be translated into FPGAs firmware using High-Level Synthesis (HLS). We propose an alternative approach for convolutional neural networks within the HLS4ML framework. Using the new approach on benchmark convolutional neural network (CNN) models, we show a potential reduction of FPGA critical resource consumption by up to 30% and latency by up to 12%. Lastly, we describe the process in which we integrate the proposed approach in the HLS4ML frameworkCERN-THESIS-2021-098oai:cds.cern.ch:27767652021-07-25T17:12:19Z
spellingShingle Computing and Computers
Lin, Kelvin
Convolutional Layer Implementations in High-Level Synthesis for FPGAs
title Convolutional Layer Implementations in High-Level Synthesis for FPGAs
title_full Convolutional Layer Implementations in High-Level Synthesis for FPGAs
title_fullStr Convolutional Layer Implementations in High-Level Synthesis for FPGAs
title_full_unstemmed Convolutional Layer Implementations in High-Level Synthesis for FPGAs
title_short Convolutional Layer Implementations in High-Level Synthesis for FPGAs
title_sort convolutional layer implementations in high-level synthesis for fpgas
topic Computing and Computers
url http://cds.cern.ch/record/2776765
work_keys_str_mv AT linkelvin convolutionallayerimplementationsinhighlevelsynthesisforfpgas