Skip to content

Sparse Distributed Memory

Retrieve binary data through overlapping Hamming neighborhoods of sparsely realized hard locations whose counters hold distributed traces of stored words.

Version
v1 · 2026-10-03 · History
Domain-specific #
13625
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomains
Associative Memory, High Dimensional Computing → Computer Science & Software Engineering
Aliases
Kanerva sparse distributed memory, SDM, Kanerva SDM

Core Idea

Sparse distributed memory (SDM) samples a small set of physical hard locations from an enormous binary address space. An address activates locations within a Hamming-distance radius. Writing adjusts per-bit counters across those locations; reading from a similar cue sums and thresholds activated counters to reconstruct a data word. The same data trace is distributed across many locations, enabling conditional retrieval from a noisy cue.[1]

How would you explain it like I'm…

Fuzzy-Address Mailboxes

Imagine a giant wall with room for zillions of mailboxes, but only some mailboxes are actually built. When you want to save a message, you drop a little mark into every built mailbox whose address is close to the message's address. Later, when you have a clue, you peek into the mailboxes near the clue and let them vote on what the message was. It often works even with a fuzzy clue, but not always.

Memory Spread Over Many Spots

Sparse distributed memory is a way for a computer to store and recall long strings of 0s and 1s. There are a giant number of possible addresses, but only a scattered few real storage spots are built. To save something, the computer adds a little tally to every real spot whose address is close to the one you give. To remember, it looks at all the real spots near your clue, adds up their tallies, and picks 0 or 1 for each position by majority. Because nearby clues reach many of the same spots, a slightly wrong clue can still bring back the right memory, though not always.

Hamming-Radius Associative Memory

Sparse distributed memory (SDM) is Kanerva's model of an associative memory for long binary words. With N-bit addresses there are 2^N possible addresses, far too many to build, so only a sparse sample of physical 'hard locations' exists, each with an address and a set of counters. A cue activates every hard location within some Hamming distance (number of differing bits) of it. Writing adds the data word into the counters of all activated locations; reading sums the counters at locations activated by the cue and thresholds each sum to get a 0 or 1. It is sparse because few locations are built and distributed because each memory is spread over many of them. Whether recall works depends on things like dimension, radius, how much is stored, and cue noise, and Kanerva offered it as a mathematical model of long-term memory, not proof of how brains work.

 

Sparse distributed memory (SDM), in Kanerva's model, is an associative-memory architecture for long binary words. The address space of 2^N N-bit addresses is astronomically large, so only a sparse set of physical hard locations is realized, each with a binary address and counters that accumulate traces of data bits. A cue activates all hard locations within a chosen Hamming radius; a write updates the counters at every activated location, and a read sums counters over the locations activated by the retrieval cue and thresholds the sums into an output word. Storage is thus sparse in realized locations and distributed in content: each write touches many locations and each read pools many traces. Overlap between activation sets of nearby cues yields similarity-based recall. Whether the intended word is recovered depends on dimension, radius, location sample, stored load, encoding and cue noise; partial cues may fail and iterated reads need not converge. Kanerva offered SDM as a mathematical model of long-term memory, not as evidence that brains contain such counters, and it has been used in robot navigation, where encoding, noise and saturation limited performance.

Scope of Application

Kanerva introduced SDM as a mathematical model of long-term associative recall, not proof of its neural implementation. The architecture can be realized as a computational memory; a later robot-navigation study used encoded visual sequences and examined limits from noise, saturation and encoding.[1][2]

Clarity

The virtual address need not be a physical hard location, and the data word need not equal its address. Sparse hard locations and overlapping cue neighborhoods distinguish SDM from exact-address RAM. Recovery is not assured for distant cues or excessive interfering writes.[1]

Manages Complexity

An enormous possible address space is served by relatively few realized locations. In a constructed four-bit illustration, writing \(1010\) at address \(0000\) updates hard locations \(0000,0001\) at radius one; cue \(0010\) reads \(0000,0011\), and their counter sum recovers \(1010\). A second write of \(0101\) at \(0011\) makes the same cue's two selected counter vectors cancel, so the stated nonpositive-to-zero rule returns \(0000\). This tiny calculation illustrates both overlap and interference, not a general success rate or high-dimensional guarantee.[1]

Abstract Reasoning

State binary dimension, hard-location sample, Hamming radius and counter rule. Compare the locations activated by a stored address and a retrieval cue; then assess overlap and interference before claiming successful recall. Repeated reading is not a universal convergence guarantee.[1][2]

Knowledge Transfer

The same write/read roles apply in cognitive simulation and robot view-sequence memory, while the encoded data and performance requirements differ. A strict edge to the live Associative Memory prime was rejected: its stored-item content geometry is narrower than SDM's separable Hamming-addressed hard locations and data words. SDM is an unparented node in the current DAG pending an exact genus.[1][2]

Neighborhood in Abstraction Space

Sparse Distributed Memory sits in a sparse region of the domain-specific corpus (93rd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Kanerva, original-author SDM chapter (1993). registry ↩a ↩b ↩c ↩d ↩e ↩f

[2] Mendes and colleagues, original robot-navigation study, abstract. registry ↩a ↩b ↩c