Abstract
Hyperdimensional Computing (HDC) offers a promising framework for symbolic reasoning using high-dimensional vectors. However, traditional HDC models struggle with the "superposition catastrophe" and inefficient factorization when representing multiple objects with hierarchical relationships. This paper introduces FactorHD, a neuro-symbolic model that utilizes a novel "bundling-binding-bundling" encoding and a streamlined factorization algorithm. FactorHD achieves a 5667× speedup over state-of-the-art models and maintains high accuracy across complex taxonomies, effectively scaling to problem sizes as large as $10^{12}$.
Introduction
Hyperdimensional Computing (HDC) mimics the brain's information processing by mapping data into massive, high-dimensional vector spaces. While HDC excels at symbolic reasoning, it faces significant challenges in factorization—the ability to decompose a complex, combined vector (e.g., a scene containing multiple distinct objects) into its constituent components.
Existing HDC models are hampered by three primary issues:
- Superposition Catastrophe: When multiple objects are represented in a single vector, their features often interfere, making individual components indistinguishable.
- The Problem of 2: HDC often loses information when attempting to represent two identical objects simultaneously.
- Computational Inefficiency: As the hierarchy of categories (taxonomy) expands, the mathematical operations required to decode vectors grow exponentially, often requiring thousands of iterations in traditional resonator networks.
FactorHD addresses these limitations by rethinking how hierarchical information is encoded and retrieved.
Methodology
FactorHD introduces two core innovations to the HDC pipeline: a specialized encoding scheme and a high-efficiency factorization algorithm.
Bundling-Binding-Bundling (BBB) Encoding
Standard HDC models typically use a "binding-bundling" approach. FactorHD enhances this by introducing a redundant "memorization clause"—an additional class label (e.g., LABEL1) embedded within the vector. This acts as a symbolic anchor, preserving the integrity of hierarchical levels and preventing feature bleed between multiple objects. This redundancy ensures that even when multiple objects share similar attributes, they remain distinct within the hyperdimensional space.
Efficient Factorization Algorithm
Traditional factorizers often rely on exhaustive searches or iterative resonator networks with high time complexity. FactorHD leverages its "memorization clause" to selectively eliminate redundant data during the decoding process. This allows for partial factorization, where specific attributes (like color) can be decoded without needing to resolve the entire hierarchy (like shape or position) first. This shift reduces time complexity from approximately $O(N_M^2)$ to $O(N_M)$, where $N_M$ is the number of items in a class.
Neuro-Symbolic Integration
FactorHD operates as a neuro-symbolic system. It utilizes a standard ResNet-18 neural network to extract features from raw visual input. These features are then mapped into the FactorHD symbolic architecture, combining the perceptual power of deep learning with the reasoning capabilities of HDC.
Experimental Evaluation
The model was evaluated on three distinct benchmarks to test its reasoning and classification capabilities:
- RAVEN: A dataset focused on relational and analogical visual reasoning, similar to Raven’s Progressive Matrices (IQ tests).
- CIFAR-10: A standard image classification benchmark used to test factorization accuracy.
- CIFAR-100: Utilized for its natural hierarchy of "coarse" and "fine" labels (e.g., identifying an object as both an "aquatic mammal" and a "whale").
Key Results
FactorHD demonstrates significant improvements in both speed and scalability:
- Computational Speedup: FactorHD achieved a 5667× speedup compared to existing models (such as the IMC factorizer) at a representation size of $10^9$.
- High Accuracy: Integrated with ResNet-18, the model reached 92.48% factorization accuracy on CIFAR-10.
- Scalability: While traditional resonator networks often fail when problem sizes reach $10^6$, FactorHD maintains high accuracy even as the problem size scales to $10^{12}$.
- Robustness: On the RAVEN dataset, the model achieved over 90% accuracy for most patterns, demonstrating its effectiveness in relational reasoning even under reduced vector dimensionality.
Discussion and Limitations
A critical component of FactorHD’s success is the derivation of an "Optimal Threshold" ($TH^*$) for similarity measurements. This heuristic allows the model to adapt its decoding sensitivity based on vector dimensionality and the number of objects present.
However, some limitations remain. The performance of the model is sensitive to this threshold, and finding the perfect $TH^*$ in highly noisy, real-world environments may prove challenging. Additionally, while the model excels at hierarchies with 2–3 levels, further research is required to determine its efficacy in extremely deep taxonomies, such as complex biological classifications. Finally, while the algorithm is highly parallelizable, future work should explore dedicated hardware implementations (e.g., FPGA or ASIC) to fully realize its efficiency gains.
Conclusion
FactorHD represents a significant step forward for Hyperdimensional Computing. By solving the superposition catastrophe and drastically reducing the computational cost of factorization, it provides a scalable, efficient framework for multi-object, hierarchical representation in neuro-symbolic AI.
Summary updated