一种基于存内计算的单类超维计算模型用于异常值检测
A Computing-in-Memory-based One-Class Hyperdimensional Computing Model for Outlier Detection
AI总结:
本文提出基于超维计算的异常检测算法 ODHD 及其存内计算实现 IM-ODHD,通过软硬件协同设计在多个数据集上超越 OCSVM、隔离森林等基线方法,并显著提升延迟与能效。
摘要:
在这项工作中,我们提出了 ODHD,一种基于超维计算(HDC)这一非经典学习范式的异常值检测算法。除了基于 HDC 的算法之外,我们还提出了 IM-ODHD,一种基于硬件/软件(HW/SW)协同设计的存内计算(CiM)实现,以提高延迟和能效。ODHD 的训练和测试阶段可以使用传统的 CPU/GPU 硬件执行,也可以使用我们提出的 HW/SW 协同设计技术、基于 SRAM 的 CiM 架构 IM-ODHD 来执行。我们在来自不同应用领域的六个数据集上使用三个指标(即准确率、F1 分数和 ROC-AUC)评估了 ODHD 的性能,并将其与多种基线方法(如 OCSVM、隔离森林和自编码器)进行了比较。实验结果表明,在 CPU/GPU 和 CiM 两种实现方式下,ODHD 在每个数据集上的这三项指标均优于所有基线方法。此外,我们进行了广泛的设计空间探索,以展示 ODHD 在延迟、能效和性能之间的权衡。我们证明,在 IM-ODHD 上对异常值检测进行 HW/SW 协同设计实现,在训练/测试延迟方面能够比基于 GPU 的 ODHD 实现至少高出 331.5 倍/889 倍,在训练/测试能耗方面平均高出 14.0 倍/36.9 倍。
英文摘要:
In this work, we present ODHD, an algorithm for outlier detection based on hyperdimensional computing (HDC), a non-classical learning paradigm. Along with the HDC-based algorithm, we propose IM-ODHD, a computing-in-memory (CiM) implementation based on hardware/software (HW/SW) codesign for improved latency and energy efficiency. The training and testing phases of ODHD may be performed with conventional CPU/GPU hardware or our IM-ODHD, SRAM-based CiM architecture using the proposed HW/SW codesign techniques. We evaluate the performance of ODHD on six datasets from different application domains using three metrics, namely accuracy, F1 score, and ROC-AUC, and compare it with multiple baseline methods such as OCSVM, isolation forest, and autoencoder. The experimental results indicate that ODHD outperforms all the baseline methods in terms of these three metrics on every dataset for both CPU/GPU and CiM implementations. Furthermore, we perform an extensive design space exploration to demonstrate the tradeoff between delay, energy efficiency, and performance of ODHD. We demonstrate that the HW/SW codesign implementation of the outlier detection on IM-ODHD is able to outperform the GPU-based implementation of ODHD by at least 331.5x/889x in terms of training/testing latency (and on average 14.0x/36.9x in terms of training/testing energy consumption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。