Realization of Random Forest for Real-Time Evaluation through Tree Framing

被引:22
|
作者
Buschjaeger, Sebastian [1 ]
Chen, Kuan-Hsun [2 ]
Chen, Jian-Jia [2 ]
Morik, Katharina [1 ]
机构
[1] TU Dortmund Univ, Artificial Intelligence Unit, Dortmund, Germany
[2] TU Dortmund Univ, Design Automat Embedded Syst Grp, Dortmund, Germany
关键词
random forest; decision trees; caching; computer architecture;
D O I
10.1109/ICDM.2018.00017
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The optimization of learning has always been of particular concern for big data analytics. However, the ongoing integration of machine learning models into everyday life also demand the evaluation to be extremely fast and in real-time. Moreover, in the Internet of Things, the computing facilities that run the learned model are restricted. Hence, the implementation of the model application must take the characteristics of the executing platform into account Although there exist some heuristics that optimize the code, principled approaches for fast execution of learned models are rare. In this paper, we introduce a method that optimizes the execution of Decision Trees (DT). Decision Trees form the basis of many ensemble methods, such as Random Forests (RF) or Extremely Randomized Trees (ET). For these methods to work best, trees should be as large as possible. This challenges the data and the instruction cache of modern CPUs and thus demand a more careful memory layout. Based on a probabilistic view of decision tree execution, we optimize the two most common implementation schemes of decision trees. We discuss the advantages and disadvantages of both implementations and present a theoretically well-founded memory layout which maximizes locality during execution in both cases. The method is applied to three computer architectures, namely ARM (RISC), PPC (Extended RISC) and Intel (CISC) and is automatically adopted to the specific architecture by a code generator. We perform over 1800 experiments on several real-world data sets and report an average speed-up of 2 to 4 across all three architectures by using the proposed memory layout. Moreover, we find that our implementation outperforms sklearn, which was used to train the models by a factor of 1500.
引用
收藏
页码:19 / 28
页数:10
相关论文
共 50 条
  • [31] A Real-Time Hearing-Aid Research Platform (HARP): Realization, Calibration, and Evaluation
    Buchholz, Joerg M.
    ACTA ACUSTICA UNITED WITH ACUSTICA, 2013, 99 (03) : 477 - 492
  • [32] Real-time Testing of True Random Number Generators through Dynamic Reconfiguration
    Hotoleanu, Dan
    Cret, Octavian
    Suciu, Alin
    Gyorfi, Tamas
    Vacariu, Lucia
    13TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN: ARCHITECTURES, METHODS AND TOOLS, 2010, : 247 - +
  • [33] REAL-TIME ANIMATION OF INTERACTIVE AGENTS: SPECIFICATION AND REALIZATION
    Heloir, Alexis
    Kipp, Michael
    APPLIED ARTIFICIAL INTELLIGENCE, 2010, 24 (06) : 510 - 529
  • [34] The Calculation and Realization of Real-Time Compensation for Moment of Inertia
    Sun, Biao
    Hua, Hongyan
    PROCEEDINGS OF 2009 INTERNATIONAL CONFERENCE OF MANAGEMENT ENGINEERING AND INFORMATION TECHNOLOGY, VOLS 1 AND 2, 2009, : 775 - 779
  • [35] Real-time preprocessing satellite image of and realization of hardware
    Ren, DH
    Dai, M
    Cui, HY
    You, Z
    PROCEEDINGS OF THE SECOND INTERNATIONAL SYMPOSIUM ON INSTRUMENTATION SCIENCE AND TECHNOLOGY, VOL 2, 2002, : 763 - 767
  • [36] Efficient Realization of Decision Trees for Real-Time Inference
    Chen, Kuan-Hsun
    Su, Chiahui
    Hakert, Christian
    Buschjaeger, Sebastian
    Lee, Chao-Lin
    Lee, Jenq-Kuen
    Morik, Katharina
    Chen, Jian-Jia
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2022, 21 (06)
  • [37] Research and realization of remote real-time interactive system
    Jia, ZS
    Wei, HQ
    PROCEEDINGS OF ICCE'98, VOL 2 - GLOBAL EDUCATION ON THE NET, 1998, : 523 - 526
  • [38] Real-Time Directed Rapidly Exploring Random Tree Path Planning for Air Collision Avoidance
    Lee, Minkyu
    Noh, Geemoon
    Park, Jihoon
    Lee, Daewoo
    JOURNAL OF AEROSPACE INFORMATION SYSTEMS, 2022, 19 (05): : 330 - 343
  • [39] Real-time reliability evaluation based on independent increment process with random effect
    Hao, Huibing
    Su, Chun
    Li, Chunping
    QUALITY TECHNOLOGY AND QUANTITATIVE MANAGEMENT, 2017, 14 (03): : 325 - 340
  • [40] Towards real-time suffix tree construction
    Amir, Amihood
    Kopelowitz, Tsvi
    Lewenstein, Moshe
    Lewenstein, Noa
    STRING PROCESSING AND INFORMATION RETRIEVAL, PROCEEDINGS, 2005, 3772 : 67 - 78