arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.08986cs.ET
收藏

使用忆阻模拟CAM在内存中执行基于树的机器学习

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

Giacomo Pedretti, Catherine E. Graves, Can Li, Sergey Serebryakov, Xia Sheng, Martin Foltin, Ruibin Mao, John Paul Strachan

摘要:

基于树的机器学习技术,如决策树和随机森林,在几个领域表现最好,因为它们在有限的训练数据集上表现良好,并且与深度神经网络(DNN)相比,提供了更好的可解释性。然而,虽然更容易训练,但由于非均匀的存储器访问模式,它们难以在冯诺依曼架构中优化快速推理而不损失准确性。最近,我们提出了一种新的模拟,或多位,内容可寻址存储器(CAM)的快速查找表操作。在这里,我们提出了一个设计,利用这作为一个计算原语的快速基于树的推理。大型随机森林模型被映射到耦合到传统模拟随机存取存储器(RAM)的模拟CAM阵列,并且模拟CAM的独特功能实现了压缩和高性能。一个优化的架构相比,以前提出的基于树的模型加速器,提高能源的数量级的共同图像分类任务的决定。结果表明,非易失性模拟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, 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑