在嵌入式系统中实现机器学习时,决策树通常因其简单性和可扩展性而受到青睐。Hoeffding树是一种决策树,它利用Hoeffding界来学习数据中的模式,而不必连续存储数据样本以供将来重新处理。这使得它们特别适合在嵌入式设备上部署。在这项工作中,我们突出的HLS实现的Hoeffding树的功能。实现参数包括样本的特征大小(D)、输出类的数量(K)和树允许增长的最大节点数量(Nd)。我们的目标是Xilinx MPSoC ZCU 102,并评估:设计的资源需求和时钟频率为不同数量的类和功能大小,不同的样本大小(N)的几个合成数据集上的执行时间,输出类的数量和执行时间和准确性的两个数据集从UCI。对于D3、K5和N40000的问题大小,在103 MHz下运行的单个决策树的推理速度比1.2 GHz ARM Cortex-A53内核快8.3倍。与Hoeffding树的参考实现相比,我们在UCI数据集上实现了相当的分类精度。
英文摘要:
Decision trees are often preferred when implementing Machine Learning in embedded systems for their simplicity and scalability. Hoeffding Trees are a type of Decision Trees that take advantage of the Hoeffding Bound to allow them to learn patterns in data without having to continuously store the data samples for future reprocessing. This makes them especially suitable for deployment on embedded devices. In this work we highlight the features of an HLS implementation of the Hoeffding Tree. The implementation parameters include the feature size of the samples (D), the number of output classes (K), and the maximum number of nodes to which the tree is allowed to grow (Nd). We target a Xilinx MPSoC ZCU102, and evaluate: the design's resource requirements and clock frequency for different numbers of classes and feature size, the execution time on several synthetic datasets of varying sample sizes (N), number of output classes and the execution time and accuracy for two datasets from UCI. For a problem size of D3, K5, and N40000, a single decision tree operating at 103MHz is capable of 8.3x faster inference than the 1.2GHz ARM Cortex-A53 core. Compared to a reference implementation of the Hoeffding tree, we achieve comparable classification accuracy for the UCI datasets.
PowerGear: Early-Stage Power Estimation in FPGA HLS via Heterogeneous Edge-Centric GNNs
Peng Cheng Laboratory(鹏城实验室);The University of Auckland(奥克兰大学);Shanghai Jiao Tong University(上海交通大学);The Hong Kong University of Science and Technology(香港科技大学);Peking University(北京大学)
Compressing deep neural networks on FPGAs to binary and ternary precision with HLS4ML
European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));Institute of Physics Belgrade(贝尔格莱德物理研究所);Columbia University(哥伦比亚大学);University of California San Diego(加州大学圣地亚哥分校);Massachusetts Institute of Technology(麻省理工学院);Fermi National Accelerator Laboratory(费米国家加速器实验室);HawkEye360;Boston University(波士顿大学);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);Rhodes College(罗德学院)
Fast inference of Boosted Decision Trees in FPGAs for particle physics
European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));Columbia University(哥伦比亚大学);University of California San Diego(加利福尼亚大学圣迭戈分校);Massachusetts Institute of Technology(麻省理工学院);Rhodes College(罗德学院);Fermi National Accelerator Laboratory(费米国家加速器实验室);Institute of Physics Belgrade(贝尔格莱德物理研究所);University of Illinois at Chicago(伊利诺伊大学芝加哥分校)
hls4ml: A Flexible, Open-Source Platform for Deep Learning Acceleration on Reconfigurable Hardware
Purdue University(普渡大学);ETH Zurich(苏黎世联邦理工学院);California Institute of Technology(加州理工学院);Fermi National Accelerator Lab(费米国家加速器实验室);European Organization for Nuclear Research (CERN)(欧洲核子研究中心);University of California San Diego(加州大学圣地亚哥分校);Imperial College London(伦敦帝国理工学院);National Technical University of Athens(希腊国家技术大学);University of Geneva(日内瓦大学);Altera Corporation(阿尔特拉公司);Discovery Partners Institute(发现伙伴研究所);Massachusetts Institute of Technology(麻省理工学院);National Yang Ming Chiao Tung University(国立阳明交通大学);Northwestern University(西北大学);Princeton University(普林斯顿大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Michigan(密歇根大学);University of Pennsylvania(宾夕法尼亚大学);University of Washington(华盛顿大学)
Open-source FPGA-ML codesign for the MLPerf Tiny Benchmark
Heidelberg University(海德堡大学);Columbia University(哥伦比亚大学);University of California San Diego(加州大学圣地亚哥分校);European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));Fermi National Accelerator Laboratory(费米国家加速器实验室);University of Washington(华盛顿大学);Harvard University(哈佛大学);AMD Adaptive and Embedded Computing Group (AECG) Labs(AMD自适应与嵌入式计算集团(AECG)实验室)
End-to-end codesign of Hessian-aware quantized neural networks for FPGAs and ASICs
Fermi National Accelerator Laboratory(费米国家加速器实验室);University of California Berkeley(加州大学伯克利分校);International Computer Science Institute(国际计算机科学研究所);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);University of California San Diego(加州大学圣地亚哥分校)
Accelerated Charged Particle Tracking with Graph Neural Networks on FPGAs
University of California San Diego(加州大学圣地亚哥分校);Princeton University(普林斯顿大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Fermi National Accelerator Laboratory(费米国家加速器实验室);Massachusetts Institute of Technology(麻省理工学院);Institute of Physics Belgrade(贝尔格莱德物理研究所);European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));California Institute of Technology(加州理工学院);Purdue University(普渡大学);HawkEye360;University of Illinois at Chicago(伊利诺伊大学芝加哥分校)
Firmware implementation of a recurrent neural network for the computation of the energy deposited in the liquid argon calorimeter of the ATLAS experiment