Understanding Hyperdimensional Computing for Parallel Single-Pass Learning

Tao Yu, Yichi Zhang, Zhiru Zhang, Christopher De Sa
2/10/2022
cs.LGcs.DCcs.NE

Official code: Cornell-RelaxML/Hyperdimensional-Computing (25 stars, Python, last commit 2023-06-10).

Abstract

Hyperdimensional computing (HDC) is an emerging learning paradigm that computes with high dimensional binary vectors. It is attractive because of its energy efficiency and low latency, especially on emerging hardware -- but HDC suffers from low model accuracy, with little theoretical understanding of what limits its performance.

Show full abstract

We propose a new theoretical analysis of the limits of HDC via a consideration of what similarity matrices can be "expressed" by binary vectors, and we show how the limits of HDC can be approached using random Fourier features (RFF). We extend our analysis to the more general class of vector symbolic architectures (VSA), which compute with high-dimensional vectors (hypervectors) that are not necessarily binary. We propose a new class of VSAs, finite group VSAs, which surpass the limits of HDC. Using representation theory, we characterize which similarity matrices can be "expressed" by finite group VSA hypervectors, and we show how these VSAs can be constructed. Experimental results show that our RFF method and group VSA can both outperform the state-of-the-art HDC model by up to 7.6\% while maintaining hardware efficiency.

View on arXivView PDF

Code Implementations(1)

Official implementation for the paper "Understanding Hyperdimensional Computing for Parallel Single-Pass Learning"

258PythonFeb 10, 20223 years ago

Similar Papers

Cite this paper

@article{yu2022understanding,
  title  = {Understanding Hyperdimensional Computing for Parallel Single-Pass Learning},
  author = {Tao Yu and Yichi Zhang and Zhiru Zhang and Christopher De Sa},
  year   = {2022},
  eprint = {2202.04805},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.04805}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.04805.svg)](https://codeofpaper.com/paper/2202.04805)

Discussion