Laplace-HDC: Understanding the geometry of binary hyperdimensional computing
Saeid Pourmand, Wyatt D. Whiting, Alireza Aghasi, Nicholas F. Marshall
TL;DR
The paper analyzes binary hyperdimensional computing (HDC) through the geometry of the binding operation and shows that the induced data similarity aligns with a Laplace-like kernel. This leads to Laplace-HDC, a practical binary HDC scheme that achieves higher accuracy by carefully selecting admissible kernels and using structured permutations, yielding a similarity $S(\boldsymbol{x},\boldsymbol{y})=\prod_{i=1}^d \boldsymbol{K}(\boldsymbol{x}(i), \boldsymbol{y}(i))$ with a principled bandwidth. It further develops a family of admissible kernels $\boldsymbol{K}_\alpha$ that approximate Laplace behavior and demonstrates improved performance on MNIST/FashionMNIST, including robustness to bit corruptions and spatially aware encoding via Haar/convolutional features. A translation-equivariant embedding is proposed to recover spatial information in image data, complemented by Haar and CNN-derived features to boost performance. Overall, the work advances binary HDC by linking kernel geometry to encoding design, offering practical encodings and robust, spatially aware variants with competitive accuracy.
Abstract
This paper studies the geometry of binary hyperdimensional computing (HDC), a computational scheme in which data are encoded using high-dimensional binary vectors. We establish a result about the similarity structure induced by the HDC binding operator and show that the Laplace kernel naturally arises in this setting, motivating our new encoding method Laplace-HDC, which improves upon previous methods. We describe how our results indicate limitations of binary HDC in encoding spatial information from images and discuss potential solutions, including using Haar convolutional features and the definition of a translation-equivariant HDC encoding. Several numerical experiments highlighting the improved accuracy of Laplace-HDC in contrast to alternative methods are presented. We also numerically study other aspects of the proposed framework such as robustness and the underlying translation-equivariant encoding.
