Cargando…

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

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, these models are difficult to optimize for fast...

Descripción completa

Detalles Bibliográficos
Autores principales: Pedretti, Giacomo, Graves, Catherine E., Serebryakov, Sergey, Mao, Ruibin, Sheng, Xia, Foltin, Martin, Li, Can, Strachan, John Paul
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8490381/
https://www.ncbi.nlm.nih.gov/pubmed/34608133
http://dx.doi.org/10.1038/s41467-021-25873-0
_version_ 1784578510746025984
author Pedretti, Giacomo
Graves, Catherine E.
Serebryakov, Sergey
Mao, Ruibin
Sheng, Xia
Foltin, Martin
Li, Can
Strachan, John Paul
author_facet Pedretti, Giacomo
Graves, Catherine E.
Serebryakov, Sergey
Mao, Ruibin
Sheng, Xia
Foltin, Martin
Li, Can
Strachan, John Paul
author_sort Pedretti, Giacomo
collection PubMed
description 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, these models are difficult to optimize for fast inference at scale without accuracy loss in von Neumann architectures due to non-uniform memory access patterns. Recently, we proposed a novel analog content addressable memory (CAM) based on emerging memristor devices for fast look-up table operations. Here, we propose for the first time to use the analog CAM as an in-memory computational primitive to accelerate tree-based model inference. We demonstrate an efficient mapping algorithm leveraging the new analog CAM capabilities such that each root to leaf path of a Decision Tree is programmed into a row. This new in-memory compute concept for enables few-cycle model inference, dramatically increasing 10(3) × the throughput over conventional approaches.
format Online
Article
Text
id pubmed-8490381
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-84903812021-10-07 Tree-based machine learning performed in-memory with memristive analog CAM Pedretti, Giacomo Graves, Catherine E. Serebryakov, Sergey Mao, Ruibin Sheng, Xia Foltin, Martin Li, Can Strachan, John Paul Nat Commun Article 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, these models are difficult to optimize for fast inference at scale without accuracy loss in von Neumann architectures due to non-uniform memory access patterns. Recently, we proposed a novel analog content addressable memory (CAM) based on emerging memristor devices for fast look-up table operations. Here, we propose for the first time to use the analog CAM as an in-memory computational primitive to accelerate tree-based model inference. We demonstrate an efficient mapping algorithm leveraging the new analog CAM capabilities such that each root to leaf path of a Decision Tree is programmed into a row. This new in-memory compute concept for enables few-cycle model inference, dramatically increasing 10(3) × the throughput over conventional approaches. Nature Publishing Group UK 2021-10-04 /pmc/articles/PMC8490381/ /pubmed/34608133 http://dx.doi.org/10.1038/s41467-021-25873-0 Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Pedretti, Giacomo
Graves, Catherine E.
Serebryakov, Sergey
Mao, Ruibin
Sheng, Xia
Foltin, Martin
Li, Can
Strachan, John Paul
Tree-based machine learning performed in-memory with memristive analog CAM
title Tree-based machine learning performed in-memory with memristive analog CAM
title_full Tree-based machine learning performed in-memory with memristive analog CAM
title_fullStr Tree-based machine learning performed in-memory with memristive analog CAM
title_full_unstemmed Tree-based machine learning performed in-memory with memristive analog CAM
title_short Tree-based machine learning performed in-memory with memristive analog CAM
title_sort tree-based machine learning performed in-memory with memristive analog cam
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8490381/
https://www.ncbi.nlm.nih.gov/pubmed/34608133
http://dx.doi.org/10.1038/s41467-021-25873-0
work_keys_str_mv AT pedrettigiacomo treebasedmachinelearningperformedinmemorywithmemristiveanalogcam
AT gravescatherinee treebasedmachinelearningperformedinmemorywithmemristiveanalogcam
AT serebryakovsergey treebasedmachinelearningperformedinmemorywithmemristiveanalogcam
AT maoruibin treebasedmachinelearningperformedinmemorywithmemristiveanalogcam
AT shengxia treebasedmachinelearningperformedinmemorywithmemristiveanalogcam
AT foltinmartin treebasedmachinelearningperformedinmemorywithmemristiveanalogcam
AT lican treebasedmachinelearningperformedinmemorywithmemristiveanalogcam
AT strachanjohnpaul treebasedmachinelearningperformedinmemorywithmemristiveanalogcam