English

Tree-based machine learning performed in-memory with memristive analog CAM

Emerging Technologies 2021-10-27 v2

Abstract

Tree-based machine learning techniques, such as Decision Trees and Random Forests, are top performers in several domains as they do well with limited training datasets and offer improved interpretability compared to Deep Neural Networks (DNN). However, while easier to train, they are difficult to optimize for fast inference without accuracy loss in von Neumann architectures due to non-uniform memory access patterns. Recently, we proposed a novel analog, or multi-bit, content addressable memory(CAM) for fast look-up table operations. Here, we propose a design utilizing this as a computational primitive for rapid tree-based inference. Large random forest models are mapped to arrays of analog CAMs coupled to traditional analog random access memory (RAM), and the unique features of the analog CAM enable compression and high performance. An optimized architecture is compared with previously proposed tree-based model accelerators, showing improvements in energy to decision by orders of magnitude for common image classification tasks. The results demonstrate the potential for non-volatile analog CAM hardware in accelerating large tree-based machine learning models.

Keywords

Cite

@article{arxiv.2103.08986,
  title  = {Tree-based machine learning performed in-memory with memristive analog CAM},
  author = {Giacomo Pedretti and Catherine E. Graves and Can Li and Sergey Serebryakov and Xia Sheng and Martin Foltin and Ruibin Mao and John Paul Strachan},
  journal= {arXiv preprint arXiv:2103.08986},
  year   = {2021}
}
R2 v1 2026-06-24T00:13:54.287Z