Sparsely Distributed Representations

wiki brain sci bio theory
  • beautiful idea.
    • Distributed Semantics: Meaning is not stored in a single specific bit, but is spread across the entire active population. Each active bit represents a specific semantic attribute or feature of the data.
    • Robustness to Noise and Damage: Because information is distributed, losing or altering a few bits (subsampling or noise) does not destroy the overall meaning, allowing the system to recognize patterns despite errors
    • Overlap and Similarity: Comparing two SDRs via a bitwise overlap (intersection) instantly reveals how much semantic meaning they share; a high number of overlapping active bits indicates high similarity
    • Union Operations: Combining multiple SDRs using a bitwise OR operation creates a composite representation that preserves group semantic properties, making it useful for simultaneous predictions or overlapping memories.
  • see HTM
  • an idea of representation in the Neocortex

what?

Sparse Distributed Representations (SDRs) are high-dimensional binary vectors where only a very small fraction of the bits are active (set to 1) at any given time, and the semantic meaning of the data is distributed across these active bits. [1, 2, 3]

Inspired by how the mammalian brain and neocortex encode information via populations of neurons, SDRs serve as a foundational data structure in frameworks like Hierarchical Temporal Memory (HTM)

Core Properties of SDRs

  • Semantic Meaning: Unlike traditional computer codes (like ASCII) where bit positions are arbitrary, each bit in an SDR represents a specific elemental feature or attribute of the data. 

  • Built-in Similarity (Overlap): Comparing two SDRs via bitwise overlap (counting shared active bits) instantly reveals how semantically similar two concepts are. https://discourse.numenta.org/t/sparse-distributed-representations/2150

  • High Capacity: Despite low activity levels (e.g., 40 active bits out of 2,048), the combinatorial math yields an astronomically massive number of unique representable patterns. 

  • Robustness & Noise Tolerance: If an SDR is partially corrupted, missing bits, or superimposed with noise, the system can still accurately recognize the underlying pattern. see the Wikipedia article on SDRs

  • Union Operations: Combining multiple SDRs using a bitwise OR operation allows a system to represent multiple simultaneous predictions or composite concepts efficiently. 

Benefits Over Dense Embeddings