Back to Search Start Over

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

Authors :
Simon, William Andrew
Pale, Una
Teijeiro, Tomas
Atienza, David
Publication Year :
2022

Abstract

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.<br />Comment: Submitted to the ICCAD 2022 conference (23.5.2022.)

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2206.04746
Document Type :
Working Paper
Full Text :
https://doi.org/10.1145/3508352.3549475