Variable Binding for Sparse Distributed Representations: Theory and Applications

Edward Paxon Frady, Denis Kleyko, Friedrich T. SommerIEEE TNNLS 2023

TL;DR

This paper bridges the gap between symbolic reasoning and neural networks by proposing and analyzing methods for variable binding within sparse distributed representations (SDRs). They demonstrate that a specific type of binding, local circular convolution (LCC) for sparse block-codes, preserves both dimensionality and sparsity, offering a more efficient and biologically plausible alternative to existing dense VSA methods.

What Problem Does This Paper Address?

The field of Artificial Intelligence has long grappled with unifying symbolic reasoning (good at logic and structure) with neural networks (good at pattern recognition and learning from data). Vector Symbolic Architectures (VSAs) offer a promising framework by encoding symbolic information into dense, distributed vectors. However, a key challenge is the "binding problem": how to represent relationships between symbols (e.g., "the red triangle") without losing information. Traditional VSAs use operations like tensor products, which can lead to exponentially increasing dimensionality with complexity. Furthermore, neural networks often rely on sparse representations where only a few neurons are active, which is more energy-efficient and potentially more biologically realistic. This paper tackles the problem of performing symbolic reasoning with these sparse representations, specifically focusing on how to achieve variable binding in a way that preserves sparsity and dimensionality, bridging the gap between classical VSAs and sparse neural representations.

Methods

The authors leverage concepts from compressed sensing (CS) to establish a theoretical equivalence between dense VSA representations and sparse representations. They then investigate two main approaches for sparsity-preserving variable binding:

  1. Sparsity-Preserving Tensor Projection (SPTP): This method involves sub-sampling the tensor product of two sparse vectors, controlled by a threshold and a sampling tensor. While it preserves sparsity on average, it can be lossy.
  2. Local Circular Convolution (LCC) for Sparse Block-Codes: This approach is specifically designed for sparse vectors with a block structure (sparse block-codes). LCC applies circular convolution independently to each block. Crucially, this method is shown to be both dimensionality- and sparsity-preserving, and importantly, lossless for unbinding.

They also explore set operations like addition and protected sums, showing their equivalence to operations on sparse vectors.

Datasets

The paper does not explicitly mention specific datasets for training or evaluation in the traditional machine learning sense. Instead, they use:

  • Simulated data: Experiments involve generating random sparse vectors and codebooks to test the theoretical properties of their proposed binding operations.
  • UCI Machine Learning Repository: They refer to a previous study (Kleyko et al., 2019) that used 121 datasets from this repository for classification tasks, showing comparable performance between their sparse VSA and dense VSA models.

Key Insights and Ideas

  • Theoretical Equivalence: Compressed sensing provides a formal link between dense VSA representations and sparse representations, allowing for the analysis of sparse operations induced by dense VSA operations.
  • LCC for Block-Codes is Ideal: Local Circular Convolution (LCC) applied to sparse block-codes emerges as the standout method, perfectly preserving sparsity and dimensionality while enabling lossless unbinding. This is a significant finding for efficient symbolic computation.
  • SPTP is a General but Lossy Solution: For general sparse vectors (not necessarily block-codes), SPTP offers a way to preserve sparsity, but it introduces some information loss during unbinding.
  • Concatenation vs. Binding: The paper clarifies that simple concatenation of vectors, often used in deep learning, is fundamentally different from true binding operations.
  • Biological Plausibility: The proposed mechanisms, particularly SPTP, can be mapped to neural circuitry involving coincidence detectors and dendritic summation, suggesting potential biological relevance.

Key Results

  • Lossless Unbinding with LCC: For sparse block-codes, LCC binding allows for perfect recovery of the original components after binding and unbinding.
  • Comparable Classification Accuracy: When applied to classification tasks (referencing prior work), sparse block-code VSAs achieve accuracy comparable to dense VSA models and state-of-the-art methods, with similar average accuracy (around 0.80).
  • Efficiency Gains: Sparse representations and LCC binding offer potential for more efficient implementations, especially for neuromorphic hardware, due to reduced dimensionality and sparsity.
  • SPTP Sparsity Preservation: SPTP binding preserves sparsity on average, though with some statistical variance.

Limitations and Future Work

  • SPTP Lossiness: While SPTP is a general solution for sparse vectors, the information loss during unbinding is a limitation.
  • Block-Code Requirement for LCC: The ideal LCC method is restricted to sparse block-codes, which have a more constrained structure than general sparse vectors.
  • Future Directions:
    • Developing neural networks that can learn sparse representations suitable for sparse VSAs.
  • Designing VSAs that operate with spatio-temporal spike patterns for neuromorphic hardware.
  • Extending sparse VSA binding to form similarity-preserving sparse codes for continuous manifolds.
  • Investigating the use of sparse VSAs for navigation and other spatial reasoning tasks.

Summary updated

BibTeX
@article{frady2023variable,
  author = {Edward Paxon Frady and Denis Kleyko and Friedrich T. Sommer},
  title = {{Variable Binding for Sparse Distributed Representations: Theory and Applications}},
  journal = {IEEE TNNLS},
  year = {2023},
  doi = {10.1109/tnnls.2021.3105949},
}
Figure