Capacity Analysis of Vector Symbolic Architectures

Kenneth L. Clarkson, Shashanka Ubaru, Elizabeth Yang · Submission to ICLR 2024 · Rejected

TL;DR

This paper provides the first unified theoretical analysis of the representation capacity—the minimum vector dimension required to avoid errors—for several prominent Vector Symbolic Architectures (VSAs), including MAP-I, MAP-B, and Bloom-filter-based models. By recasting VSA operations into the language of algorithmic matrix sketching (e.g., the Johnson-Lindenstrauss lemma) and concentration inequalities, the authors prove formal dimension bounds for fundamental operations like set membership, set intersection estimation, sequence encoding, and variable binding.

What Problem Does This Paper Address?

Hyperdimensional Computing (HDC), implemented via Vector Symbolic Architectures (VSAs), represents concepts as high-dimensional, quasi-orthogonal vectors (hypervectors). By combining vectors via linear or bitwise operations—such as bundling (element-wise addition or majority voting to represent sets), binding (Hadamard product or outer product to associate key-value pairs), and permutation (cyclic shifts to represent ordered sequences)—VSAs manipulate symbolic structures in an energy-efficient, noise-tolerant manner.

Despite broad empirical success in robotics, NLP, and biosignal processing, foundational theoretical questions have remained unresolved: How large must the hypervector dimension $m$ be to guarantee accurate retrieval or set intersection size estimation? Prior capacity estimates often relied on asymptotic Gaussian approximations, empirical simulations, or narrow linear settings. This work establishes rigorous, non-asymptotic lower and upper dimension bounds across discrete and binary VSA families.

Methods

The authors build a bridge between VSAs and randomized dimensionality reduction:

  1. Bundling as Matrix Sketching: The paper models atomic symbols as one-hot basis vectors in $\mathbb{R}^d$ and VSA bundling as a random projection matrix $P \in \mathbb{R}^{m \times d}$ mapping to a much smaller dimension $m \ll d$.
  2. Johnson-Lindenstrauss (JL) Framework for MAP-I: For real/integer-valued VSAs (MAP-I), bundling satisfies the JL norm-preservation property. The authors extend this to dependent settings—such as cyclic shifts (rotations) for sequences and element-wise products for $k$-wise bindings—using McDiarmid’s inequality and a novel hypergraph-theoretic formulation of binding dependencies.
  3. Boolean Fourier Analysis for MAP-B: In binary MAP-B, bundling applies a majority/sign function. The authors analyze this non-linearity through the lens of Boolean threshold functions and variable influence.
  4. Bernstein-Type Concentration for Bloom Filters: For binary sparse VSAs (Bloom and Counting Bloom filters), the authors derive concentration bounds via a Bernstein-form McDiarmid inequality to evaluate set intersection and multi-set minimums.
  5. Hopfield$\pm$ Networks: The authors introduce a randomized variant of classical Hopfield networks (multiplying outer-product memories by random signs) and establish a JL-like norm-preservation property using the Hanson-Wright inequality.

Datasets

Not discussed in the paper. (This is a purely theoretical paper containing mathematical proofs; no empirical datasets were evaluated.)

Key Insights and Ideas

  • VSA bundling is algorithmic sketching: Framing bundling as random linear projection lets researchers tap into decades of sketching literature (e.g., Sparse JL, Subsampled Randomized Hadamard Transforms).
  • Binding creates structured dependencies: Multiplying atomic vectors coordinate-wise ($u \circ v$) introduces statistical dependencies among composite pairs (e.g., $i \otimes j$ and $j \otimes k$). Modeling bound vectors as edges in a hypergraph allows McDiarmid’s inequality to bound errors via hypergraph vertex degrees.
  • Deep bundling trees rapidly lose signal in MAP-B: Because thresholding ($\mathrm{sign}(\cdot)$) is non-associative, bundling elements iteratively in a tree of depth $r$ degrades the correlation to $1/2 + 1/2^r$. Consequently, achieving reliable membership testing requires dimension $m$ to grow exponentially with tree depth ($m \approx 4^r$), highlighting why flat, single-step bundling is critical in MAP-B.
  • First rigorous Bloom filter intersection estimator: While Bloom filters have been studied for 50 years, the authors formalize an explicit inversion function $h_{m,k}(x \cdot y)$ that corrects for hash collisions and prove that the dot product of two Bloom filters concentrates tightly around the true intersection size $|X \cap Y|$.

Key Results

The paper derives explicit requirements on the hypervector dimension $m$ for failure probability $\delta$ and error $\varepsilon$:

Architecture Operation Key Bound on Dimension $m$
MAP-I Set Size / Intersection $O(\varepsilon^{-2} \log(1/\delta))$
MAP-I Sequence of Sets (length $L$) General: $O((L/\varepsilon)^2 \log(L/\delta))$; Sparse symbols: $O(K^2 \varepsilon^{-2} \log(K/\varepsilon\delta))$ ($K = \text{max symbol repeats}$)
MAP-I Bundle of $k$-wise Bindings $O(\varepsilon^{-2} C^k \log k \cdot \log^{k+1}(k\|v\|_1 / \varepsilon\delta))$
MAP-B Set Membership $O(\|v\|_1 \log(d/\delta))$ with threshold $\tau_b = \sqrt{2m \log(2d/\delta)}$
MAP-B Empty vs. Non-empty Intersection Distinguishable when $m = \Omega(|X||Y| \log(1/\delta))$
Bloom Filters Set Intersection $m = O(k\varepsilon^{-1}(n_v n_w + n^2 + \varepsilon(n + n_w)))$ with $k = O(\varepsilon^{-1}\log(1/\delta))$
Counting Bloom Generalized Intersection ($v \wedge \cdot w$) $m = O(K_b \varepsilon^{-2} n_v n_w \log(1/\delta))$
Hopfield$\pm$ Matrix Norm Preservation $m = O(\varepsilon^{-1} \log^2(d/\delta))$ (stores $m^2$ entries in matrix memory)

Limitations and Future Work

  • Binding for Sparse Binary Vectors: The authors left binding operators for sparse binary VSAs out of scope due to the challenge that element-wise products of sparse vectors degenerate to all zeros.
  • MAP-B Intersection Sizing: For MAP-B, the analysis guarantees distinguishing empty from non-empty intersections, but estimating the exact size of non-empty intersections remains an open problem due to the intricate convolution of Rademacher sums under thresholding.
  • Uniform vs. Semantic Vectors: Atomic vectors are assumed to be drawn independently and uniformly at random; incorporating semantic vector structures (e.g., locality-sensitive or distance-sensitive representations) is left for future research.

Summary updated

Abstract

Hyperdimensional computing (HDC) is a biologically-inspired framework which represents symbols with high-dimensional vectors, and uses vector operations to manipulate them. The ensemble of a particular vector space and a prescribed set of vector operations (e.g., addition-like for "bundling" and outer-product-like for "binding") form a vector symbolic architecture (VSA). While VSAs have been employed in numerous learning applications and have been studied empirically, many theoretical questions about VSAs remain open. In this paper, we analyze the representation capacities of four common VSAs: MAP-I, MAP-B, and two VSAs based on sparse binary vectors. "Representation capacity" here refers to bounds on the dimensions of the VSA vectors required to perform certain symbolic tasks, such as testing for set membership and estimating set intersection sizes for two sets of symbols, to a given degree of accuracy. We also analyze the ability of a novel variant of a Hopfield network (a simple model of associative memory) to perform some of the same tasks that are typically asked of VSAs. In addition to providing new bounds on VSA capacities, our analyses establish and leverage connections between VSAs, "sketching" (dimensionality reduction) algorithms, and Bloom filters.
BibTeX
@misc{clarkson2023capacity,
  author = {Kenneth L. Clarkson and Shashanka Ubaru and Elizabeth Yang},
  title = {{Capacity Analysis of Vector Symbolic Architectures}},
  year = {2023},
  eprint = {2301.10352},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.10352},
}

Loading related content...

Figure