Encoding Robust Topological Signatures for Hyperdimensional Computing

Arpan Kusari
5/16/2026
cs.CVcs.AI

Official code: arpan-kusari/Topological-HDC (0 stars, last commit 2026-05-18).

Abstract

Hyperdimensional (HD) computing offers an attractive alternative to deep networks for edge learning due to its simplicity, fast prototype-based inference, and compatibility with online updates. However, standard pixel-based HD encoders are brittle: small distribution shifts such as rotation, noise, or occlusion can drastically reduce accuracy. We extract discrete topological primitives-most notably holes-from binarized shapes and pair them with rotation/translation/scale (RTS)-invariant shape signatures. Our method constructs RTS-stable descriptors for (i) the outer shape using a spatial-pyramid variant of Zernike moments and (ii) each hole using an intrinsic Fourier descriptor of its radial signature together with RTS-canonical relative geometry. Each primitive is mapped to a bipolar hypervector via randomized projection and role binding, and variable-cardinality hole sets are aggregated by permutation-invariant bundling to form a single image hypervector. To avoid over-weighting any cue, we learn nonnegative reliability weights for the Zernike and hole channels on a validation set via late fusion of cosine similarities. Experiments on MNIST and EMNIST under controlled corruptions (rotation, Gaussian noise, salt-and-pepper, cutout, zoom) show that Topology-guided HD computing substantially improves robustness compared with a naive HD baseline, maintaining high accuracy across multiple corruption families and benefiting from lightweight online training. Compared with a compact CNN trained on clean data, our method achieves competitive clean accuracy while offering markedly stronger robustness to several pixel-level corruptions, demonstrating that explicit topological structure is a practical route to robust HD representations. The code is provided at https://github.com/arpan-kusari/Topological-HDC.

View on arXivView PDF

Code Implementations(1)

00PythonMay 16, 20265 months ago

Similar Papers

Cite this paper

@article{kusari2026encoding,
  title  = {Encoding Robust Topological Signatures for Hyperdimensional Computing},
  author = {Arpan Kusari},
  year   = {2026},
  eprint = {2605.16785},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.16785v1}
}

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/2605.16785.svg)](https://codeofpaper.com/paper/2605.16785)

Discussion