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 条
  • [1] Investigation of cyclic real-time processes with random distributions of realization time
    Baums, AK
    Zaznova, NE
    AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2000, 34 (04) : 41 - 45
  • [2] Comparative Evaluation of Random Forest and Fern Classifiers for Real-Time Feature Matching
    Barandiaran, Inigo
    Cottez, Charlote
    Paloc, Celine
    Grana, Manuel
    WSCG 2008, FULL PAPERS, 2008, : 159 - +
  • [3] IDRandom-Forest: Advanced Random Forest for Real-Time Intrusion Detection
    Azhar, Muhammad
    Perveen, Shahida
    Iqbal, Asma
    Lee, Bumshik
    IEEE ACCESS, 2024, 12 : 113842 - 113854
  • [4] Random forest classifiers for real-time optical markerless tracking
    Barandiaran, Inigo
    Cottez, Charlotte
    Paloc, Celine
    Grana, Manuel
    VISAPP 2008: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON COMPUTER VISION THEORY AND APPLICATIONS, VOL 2, 2008, : 559 - +
  • [5] Real-Time Hand Gesture Detection and Recognition by Random Forest
    Zhao, Xian
    Song, Zhan
    Guo, Jian
    Zhao, Yanguo
    Zheng, Feng
    COMMUNICATIONS AND INFORMATION PROCESSING, PT 2, 2012, 289 : 747 - +
  • [6] Random Forest on an Embedded Device for Real-time Machine State Classification
    Kueppers, Fabian
    Albers, Jonas
    Haselhoff, Anselm
    2019 27TH EUROPEAN SIGNAL PROCESSING CONFERENCE (EUSIPCO), 2019,
  • [7] Optimal real-time lunar soft landing using random forest
    Jiang Chunsheng
    Shen Hongxin
    Li Hengnian
    Wang Yong
    CHINESE SPACE SCIENCE AND TECHNOLOGY, 2018, 38 (03) : 8 - 14
  • [8] Real-Time Detection of DDoS Attacks Based on Random Forest in SDN
    Ma, Ruikui
    Wang, Qiuqian
    Bu, Xiangxi
    Chen, Xuebin
    APPLIED SCIENCES-BASEL, 2023, 13 (13):
  • [9] Real-time tree rendering
    Remolar, I
    Rebollo, C
    Chover, M
    Ribelles, J
    COMPUTATIONAL SCIENCE - ICCS 2004, PROCEEDINGS, 2004, 3039 : 173 - 180
  • [10] Real-Time Prediction of Online Shoppers' Purchasing Intention Using Random Forest
    Baati, Karim
    Mohsil, Mouad
    ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS, AIAI 2020, PT I, 2020, 583 : 43 - 51