[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3584954.3584961acmotherconferencesArticle/Chapter ViewAbstractPublication PagesniceConference Proceedingsconference-collections
research-article

SupportHDC: Hyperdimensional Computing with Scalable Hypervector Sparsity

Published: 12 April 2023 Publication History

Abstract

Hyperdimensional Computing (HDC) is an emerging brain-inspired machine learning method that is recently gaining much attention for performing tasks such as pattern recognition and bio-signal classification with ultra-low energy and area overheads when implemented in hardware. HDC relies on the encoding of input signals into binary or few-bit Hypervectors (HVs) and performs low-complexity manipulations on HVs in order to classify the input signals. In this context, the sparsity of HVs directly impacts energy consumption, since the sparser the HVs, the more zero-valued computations can be skipped. This short paper introduces SupportHDC, a novel HDC design framework that can jointly optimize system accuracy and sparsity in an automated manner, in order to trade off classification performance and hardware implementation overheads. We illustrate the inner working of the framework on two bio-signal classification tasks: cancer detection and arrhythmia detection. We show that SupportHDC can reach a higher accuracy compared to the conventional splatter-code architectures used in many works, while enabling the system designer to choose the final design solution from the accuracy-sparsity trade-off curve produced by the framework. We release the source code for reproducing our experiments with the hope of being beneficial to future research.

References

[1]
. Publicly available python code implementing the conventional HDC encoder used in D. Ma et al., "HDTest: Differential Fuzz Testing of Brain-Inspired Hyperdimensional Computing," 2021 58th ACM/IEEE DAC https://github.com/AikawaMafuyu/HDMNIST (accessed 19/10/2022). https://github.com/AikawaMafuyu/HDMNIST
[2]
Alessio Burrello, Simone Benatti, Kaspar Schindler, Luca Benini, and Abbas Rahimi. 2021. An Ensemble of Hyperdimensional Classifiers: Hardware-Friendly Short-Latency Seizure Detection With Automatic iEEG Electrode Selection. IEEE Journal of Biomedical and Health Informatics 25, 4(2021), 935–946. https://doi.org/10.1109/JBHI.2020.3022211
[3]
Alessio Burrello, Kaspar Schindler, Luca Benini, and Abbas Rahimi. 2018. One-shot Learning for iEEG Seizure Detection Using End-to-end Binary Operations: Local Binary Patterns with Hyperdimensional Computing. In 2018 IEEE Biomedical Circuits and Systems Conference (BioCAS). 1–4. https://doi.org/10.1109/BIOCAS.2018.8584751
[4]
En-Jui Chang, Abbas Rahimi, Luca Benini, and An-Yeu Andy Wu. 2019. Hyperdimensional Computing-based Multimodality Emotion Recognition with Physiological Signals. In 2019 IEEE International Conference on Artificial Intelligence Circuits and Systems (AICAS). 137–141. https://doi.org/10.1109/AICAS.2019.8771622
[5]
Wei Chu, Chong Jin Ong, and S.S. Keerthi. 2005. An improved conjugate gradient scheme to the solution of least squares SVM. IEEE Transactions on Neural Networks 16, 2 (2005), 498–501. https://doi.org/10.1109/TNN.2004.841785
[6]
E. Paxon Frady, Denis Kleyko, Christopher J. Kymn, Bruno A. Olshausen, and Friedrich T. Sommer. 2022. Computing on Functions Using Randomized Vector Representations (in Brief). In Neuro-Inspired Computational Elements Conference (Virtual Event, USA) (NICE 2022). Association for Computing Machinery, New York, NY, USA, 115–122. https://doi.org/10.1145/3517343.3522597
[7]
H.A. Guvenir, B. Acar, G. Demiroz, and A. Cekin. 1997. A supervised machine learning algorithm for arrhythmia analysis. In Computers in Cardiology 1997. 433–436. https://doi.org/10.1109/CIC.1997.647926
[8]
Cheng-Yen Hsieh, Yu-Chuan Chuang, and An-Yeu Andy Wu. 2021. FL-HDC: Hyperdimensional Computing Design for the Application of Federated Learning. In 2021 IEEE 3rd International Conference on Artificial Intelligence Circuits and Systems (AICAS). 1–5. https://doi.org/10.1109/AICAS51828.2021.9458526
[9]
Mohsen Imani, Samuel Bosch, Sohum Datta, Sharadhi Ramakrishna, Sahand Salamat, Jan M. Rabaey, and Tajana Rosing. 2020. QuantHD: A Quantization Framework for Hyperdimensional Computing. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 39, 10(2020), 2268–2278. https://doi.org/10.1109/TCAD.2019.2954472
[10]
Mohsen Imani, Justin Morris, Samuel Bosch, Helen Shu, Giovanni De Micheli, and Tajana Rosing. 2019. AdaptHD: Adaptive Efficient Training for Brain-Inspired Hyperdimensional Computing. In 2019 IEEE Biomedical Circuits and Systems Conference (BioCAS). 1–4. https://doi.org/10.1109/BIOCAS.2019.8918974
[11]
Mohsen Imani, Sahand Salamat, Behnam Khaleghi, Mohammad Samragh, Farinaz Koushanfar, and Tajana Rosing. 2019. SparseHD: Algorithm-Hardware Co-optimization for Efficient High-Dimensional Computing. In 2019 IEEE 27th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM). 190–198. https://doi.org/10.1109/FCCM.2019.00034
[12]
Pentti Kanerva. 2019. Computing with High-Dimensional Vectors. IEEE Design & Test 36, 3 (2019), 7–14. https://doi.org/10.1109/MDAT.2018.2890221
[13]
Yeseong Kim, Jiseung Kim, and Mohsen Imani. 2021. CascadeHD: Efficient Many-Class Learning Framework Using Hyperdimensional Computing. In 2021 58th ACM/IEEE Design Automation Conference (DAC). 775–780. https://doi.org/10.1109/DAC18074.2021.9586235
[14]
Denis Kleyko, Dmitri A. Rachkovskij, Evgeny Osipov, and Abbas Rahimi. 2022. A Survey on Hyperdimensional Computing Aka Vector Symbolic Architectures, Part I: Models and Data Transformations. ACM Comput. Surv. (may 2022). https://doi.org/10.1145/3538531 Just Accepted.
[15]
Denis Kleyko, Abbas Rahimi, Dmitri A. Rachkovskij, Evgeny Osipov, and Jan M. Rabaey. 2018. Classification and Recall With Binary Hyperdimensional Computing: Tradeoffs in Choice of Density and Mapping Characteristics. IEEE Transactions on Neural Networks and Learning Systems 29, 12(2018), 5880–5898. https://doi.org/10.1109/TNNLS.2018.2814400
[16]
Dongning Ma, Jianmin Guo, Yu Jiang, and Xun Jiao. 2021. HDTest: Differential Fuzz Testing of Brain-Inspired Hyperdimensional Computing. In 2021 58th ACM/IEEE Design Automation Conference (DAC). 391–396. https://doi.org/10.1109/DAC18074.2021.9586169
[17]
Alisha Menon, Daniel Sun, Sarina Sabouri, Kyoungtae Lee, Melvin Aristio, Harrison Liew, and Jan M. Rabaey. 2022. A Highly Energy-Efficient Hyperdimensional Computing Processor for Biosignal Classification. IEEE Transactions on Biomedical Circuits and Systems 16, 4 (2022), 524–534. https://doi.org/10.1109/TBCAS.2022.3187944
[18]
Ali Moin, Andy Zhou, Simone Benatti, Abbas Rahimi, Luca Benini, and Jan M. Rabaey. 2019. Analysis of Contraction Effort Level in EMG-Based Gesture Recognition Using Hyperdimensional Computing. In 2019 IEEE Biomedical Circuits and Systems Conference (BioCAS). 1–4. https://doi.org/10.1109/BIOCAS.2019.8919214
[19]
J. A. Nelder and R. Mead. 1965. A Simplex Method for Function Minimization. Comput. J. 7, 4 (01 1965), 308–313. https://doi.org/10.1093/comjnl/7.4.308 arXiv:https://academic.oup.com/comjnl/article-pdf/7/4/308/1013182/7-4-308.pdf
[20]
Yang Ni, Yeseong Kim, Tajana Rosing, and Mohsen Imani. 2022. Algorithm-Hardware Co-Design for Efficient Brain-Inspired Hyperdimensional Learning on Edge. In 2022 Design, Automation & Test in Europe Conference & Exhibition (DATE). 292–297. https://doi.org/10.23919/DATE54114.2022.9774524
[21]
Akshay Paul, Gopabandhu Hota, Behnam Khaleghi, Yuchen Xu, Tajana Rosing, and Gert Cauwenberghs. 2021. Attention State Classification with In-Ear EEG. In 2021 IEEE Biomedical Circuits and Systems Conference (BioCAS). 1–5. https://doi.org/10.1109/BioCAS49922.2021.9644973
[22]
Ali Rahimi and Benjamin Recht. 2007. Random Features for Large-Scale Kernel Machines. In Advances in Neural Information Processing Systems, J. Platt, D. Koller, Y. Singer, and S. Roweis (Eds.). Vol. 20. Curran Associates, Inc.https://proceedings.neurips.cc/paper/2007/file/013a006f03dbc5392effeb8f18fda755-Paper.pdf
[23]
Alpha Renner, Yulia Sandamirskaya, Friedrich Sommer, and E. Paxon Frady. 2022. Sparse Vector Binding on Spiking Neuromorphic Hardware Using Synaptic Delays. In Proceedings of the International Conference on Neuromorphic Systems 2022 (Knoxville, TN, USA) (ICONS ’22). Association for Computing Machinery, New York, NY, USA, Article 27, 5 pages. https://doi.org/10.1145/3546790.3546820
[24]
W. Nick Street, W. H. Wolberg, and O. L. Mangasarian. 1993. Nuclear feature extraction for breast tumor diagnosis. In Biomedical Image Processing and Biomedical Visualization, Raj S. Acharya and Dmitry B. Goldgof (Eds.). Vol. 1905. International Society for Optics and Photonics, SPIE, 861 – 870. https://doi.org/10.1117/12.148698
[25]
Amr Suleiman, Zhengdong Zhang, Luca Carlone, Sertac Karaman, and Vivienne Sze. 2019. Navion: A 2-mW Fully Integrated Real-Time Visual-Inertial Odometry Accelerator for Autonomous Navigation of Nano Drones. IEEE Journal of Solid-State Circuits 54, 4 (2019), 1106–1119. https://doi.org/10.1109/JSSC.2018.2886342
[26]
Johan A. K. Suykens, Tony Van Gestel, Jos De Brabanter, Bart De Moor, and Joos Vandewalle. 2002. Least Squares Support Vector Machines. World Scientific. 1–308 pages.
[27]
Vladimir N. Vapnik. 1995. The nature of statistical learning theory. Springer-Verlag New York, Inc.
[28]
Tao Yu, Yichi Zhang, Zhiru Zhang, and Christopher De Sa. 2022. Understanding Hyperdimensional Computing for Parallel Single-Pass Learning. (2022). arxiv:2202.04805 [cs.LG]

Cited By

View all
  • (2025)Early Termination for Hyperdimensional Computing Using Inferential StatisticsProceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 110.1145/3669940.3707254(342-360)Online publication date: 30-Mar-2025
  • (2024) E 3 HDC: Energy Efficient Encoding for Hyper-Dimensional Computing on Edge Devices 2024 34th International Conference on Field-Programmable Logic and Applications (FPL)10.1109/FPL64840.2024.00045(274-280)Online publication date: 2-Sep-2024

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
NICE '23: Proceedings of the 2023 Annual Neuro-Inspired Computational Elements Conference
April 2023
124 pages
ISBN:9781450399470
DOI:10.1145/3584954
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 12 April 2023

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Hyperdimensional computing
  2. automated system design
  3. sparsity-aware computing
  4. ultra-low-power computing

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

NICE 2023

Acceptance Rates

Overall Acceptance Rate 25 of 40 submissions, 63%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)31
  • Downloads (Last 6 weeks)5
Reflects downloads up to 02 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2025)Early Termination for Hyperdimensional Computing Using Inferential StatisticsProceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 110.1145/3669940.3707254(342-360)Online publication date: 30-Mar-2025
  • (2024) E 3 HDC: Energy Efficient Encoding for Hyper-Dimensional Computing on Edge Devices 2024 34th International Conference on Field-Programmable Logic and Applications (FPL)10.1109/FPL64840.2024.00045(274-280)Online publication date: 2-Sep-2024

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media