arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2206.04746cs.LG
收藏

HDTorch:利用 GP-GPU 加速超维计算以进行设计空间探索

HDTorch: Accelerating Hyperdimensional Computing with GP-GPUs for Design Space Exploration

Swiss Federal Institute of Technology Lausanne (EPFL)(洛桑联邦理工学院)

William Andrew Simon, Una Pale, Tomas Teijeiro, David Atienza

AI总结:

本文提出基于 PyTorch 与 CUDA 的开源 HDC 库 HDTorch,通过 GPU 加速支持设计空间探索,并在基准及完整 CHB-MIT 数据集上验证其速度、内存与泛化分析价值。

摘要:

超维计算(HyperDimensional Computing,HDC)作为一种机器学习范式,对于涉及长期监测的持续、半监督学习应用极具吸引力。然而,其准确率尚不能与其他机器学习(ML)方法相提并论。为了使 HD 计算具备与其他 ML 技术竞争的能力,需要能够快速进行设计空间探索以找到实用算法的框架。为此,我们推出 HDTorch,这是一个开源、基于 PyTorch 的 HDC 库,并带有用于超向量运算的 CUDA 扩展。我们通过采用经典和在线 HD 训练方法,从准确率、运行时间和内存消耗方面分析四个 HDC 基准数据集,展示了 HDTorch 的实用性。我们证明,对于经典/在线 HD,平均(训练)/推理加速分别达到(111倍/68倍)/87倍。此外,我们分析了改变超参数对运行时间和准确率的影响。最后,我们展示 HDTorch 如何支持探索应用于大型真实世界数据集的 HDC 策略。我们首次对完整 CHB-MIT EEG 癫痫数据库进行了 HD 训练和推理分析。结果表明,在数据子集上训练的典型方法并不一定能泛化到整个数据集,这是未来为医疗可穿戴设备开发 HD 模型时的一个重要因素。

英文摘要:

HyperDimensional Computing (HDC) as a machine learning paradigm is highly interesting for applications involving continuous, semi-supervised learning for long-term monitoring. However, its accuracy is not yet on par with other Machine Learning (ML) approaches. Frameworks enabling fast design space exploration to find practical algorithms are necessary to make HD computing competitive with other ML techniques. To this end, we introduce HDTorch, an open-source, PyTorch-based HDC library with CUDA extensions for hypervector operations. We demonstrate HDTorch's utility by analyzing four HDC benchmark datasets in terms of accuracy, runtime, and memory consumption, utilizing both classical and online HD training methodologies. We demonstrate average (training)/inference speedups of (111x/68x)/87x for classical/online HD, respectively. Moreover, we analyze the effects of varying hyperparameters on runtime and accuracy. Finally, we demonstrate how HDTorch enables exploration of HDC strategies applied to large, real-world datasets. We perform the first-ever HD training and inference analysis of the entirety of the CHB-MIT EEG epilepsy database. Results show that the typical approach of training on a subset of the data does not necessarily generalize to the entire dataset, an important factor when developing future HD models for medical wearable devices.

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

↑