Towards Vector Optimization on Low-Dimensional Vector Symbolic Architecture

Shijin Duan, Yejia Liu, Gaowen Liu, Ramana Rao Kompella, Shaolei Ren, Xiaolin Xu · DOI

Abstract

Vector Symbolic Architectures (VSAs) are highly efficient for edge machine learning but traditionally require massive, memory-intensive vectors (e.g., 10,000 dimensions). This paper stabilizes Low-Dimensional Computing (LDC)—a method that trains VSAs like Binary Neural Networks—by introducing Batch Normalization (BN) and Knowledge Distillation (KD). The resulting models match or exceed state-of-the-art VSA accuracy while consuming only ~2% of the memory and less than 30% of the latency, with zero added computational overhead during inference.

Introduction

Vector Symbolic Architecture (VSA), or hyperdimensional computing, represents data as high-dimensional binary vectors. Because operations are simple bitwise calculations, VSAs are exceptionally fast and energy-efficient, making them ideal for resource-constrained edge devices like microcontrollers. However, traditional VSAs rely on random vector generation, requiring enormous dimensions ($D \approx 10,000$) to maintain accuracy, which inflates memory footprints beyond the capacity of many tiny devices.

Low-Dimensional Computing (LDC) was recently proposed to shrink these vectors by ~100x by treating the VSA like a Binary Neural Network (BNN) and using gradient descent to learn the vectors. However, vanilla LDC training is unstable, suffering from dead gradients and severe weight oscillations. This work addresses these optimization bottlenecks to make gradient-based training for ultra-low-dimensional VSAs stable and accurate.

Methodology

The authors enhance LDC training by integrating two standard deep learning techniques with novel adaptations for binary VSAs:

  1. Batch Normalization (BN) for Feature Vectors: In vanilla LDC, the binary activation function (sgn()) causes most gradients to be zero. The authors apply BN to pre-activation accumulations to center and scale the distribution, keeping values in the "active" gradient range. Crucially, these BN parameters can be mathematically absorbed into the binarization threshold during inference, adding zero cost to the deployed model.
  2. Knowledge Distillation (KD) for Class Vectors: Binary VSAs have low parameter capacity, making them sensitive to outliers. By using a pre-trained real-valued teacher network to provide "soft" labels, the authors guide the LDC model toward smoother classification boundaries, reducing destructive weight updates.

Analysis of Training Stability

The primary challenge in LDC is the "dead gradient" problem. In vanilla training, up to 78% of gradients are zero because accumulation values fall outside the active range of the Straight-Through Estimator (STE).

Comparison of training distributions and gradients with and without Batch Normalization.

As illustrated in the figure above, Batch Normalization dynamically rescales these values (compare panels (a) and (d)). This shift drops the zero-gradient rate to ~40% and stabilizes the distribution of feature vectors ($F^r$) over time, preventing the model from stalling during training.

Experimental Results

The proposed LDC+BNKD approach was evaluated on datasets representative of edge applications, including ISOLET (voice), HAR (activity recognition), and FashionMNIST (image classification).

  • Memory Reduction: The models achieve state-of-the-art accuracy using dimensions of just 64 to 512, shrinking the memory footprint from ~1,300 KB to just 5–50 KB (a ~98% reduction).
  • Speed and Efficiency: Hardware latency is reduced to 17%–49% of high-dimensional VSA baselines.
  • Accuracy: Despite the size reduction, the models consistently outperform traditional VSAs. On FashionMNIST, LDC+BNKD (D=512) achieves 88.91% accuracy, significantly higher than the 80.26% achieved by a 10,000-dimensional QuantHD baseline.

Conclusion

By addressing the optimization challenges of low-dimensional VSAs through Batch Normalization and Knowledge Distillation, this work enables high-performance machine learning on the most resource-constrained hardware. While binary VSAs have inherent capacity limits on complex tasks, the proposed stabilization techniques provide a robust foundation for future architectural improvements in hyperdimensional computing.

Summary updated

BibTeX
@inproceedings{duan2025towards,
  author = {Shijin Duan and Yejia Liu and Gaowen Liu and Ramana Rao Kompella and Shaolei Ren and Xiaolin Xu},
  title = {{Towards Vector Optimization on Low-Dimensional Vector Symbolic Architecture}},
  booktitle = {CPAL (Proceedings Track)},
  year = {2025},
  url = {https://openreview.net/forum?id=08PRND19BY},
}
Figure