Hypervectors from Optical Disorder: Programmable Encoding and Optical Inference for Hyperdimensional Computing
Abstract: Hyperdimensional computing (HDC) is a computing framework that represents information as high-dimensional pseudorandom vectors called hypervectors (HVs), enabling learning and inference through simple algebraic operations. The HV dimensionality provides computational capacity and error robustness, but the required high-dimensional randomness must be stored or regenerated, imposing a memory--computation tradeoff. Here, we address this tradeoff by physically embodying the randomness required for HV generation in the static disorder of a scattering medium. Specifically, a silicon photonic circuit combined with the scattering medium generates high-dimensional HVs from a small number of input values in a single optical shot. Detector-side encoding programs HV correlations for continuous and categorical representations. The resulting HVs reproduce key statistical and compositional properties of ideal i.i.d.\ random HVs, including pairwise similarity statistics, associative-memory capacity, and factorization capacity. We further demonstrate an optically assisted inference path using the generated HVs and optical similarity evaluation.