On separating long- and short-term memories in hyperdimensional computing
2023 (English)In: Frontiers in Neuroscience, ISSN 1662-4548, E-ISSN 1662-453X, Vol. 16, article id 867568Article in journal (Refereed) Published
Abstract [en]
Operations on high-dimensional, fixed-width vectors can be used to distribute information from several vectors over a single vector of the same width. For example, a set of key-value pairs can be encoded into a single vector with multiplication and addition of the corresponding key and value vectors: the keys are bound to their values with component-wise multiplication, and the key-value pairs are combined into a single superposition vector with component-wise addition. The superposition vector is, thus, a memory which can then be queried for the value of any of the keys, but the result of the query is approximate. The exact vector is retrieved from a codebook (a.k.a. item memory), which contains vectors defined in the system. To perform these operations, the item memory vectors and the superposition vector must be the same width. Increasing the capacity of the memory requires increasing the width of the superposition and item memory vectors. In this article, we demonstrate that in a regime where many (e.g., 1,000 or more) key-value pairs are stored, an associative memory which maps key vectors to value vectors requires less memory and less computing to obtain the same reliability of storage as a superposition vector. These advantages are obtained because the number of storage locations in an associate memory can be increased without increasing the width of the vectors in the item memory. An associative memory would not replace a superposition vector as a medium of storage, but could augment it, because data recalled from an associative memory could be used in algorithms that use a superposition vector. This would be analogous to how human working memory (which stores about seven items) uses information recalled from long-term memory (which is much larger than the working memory). We demonstrate the advantages of an associative memory experimentally using the storage of large finite-state automata, which could model the storage and recall of state-dependent behavior by brains.
Place, publisher, year, edition, pages
Frontiers Media S.A. , 2023. Vol. 16, article id 867568
Keywords [en]
associative memory, holographic reduced representation, hyperdimensional computing, long-term memory, short-term memory, sparse distributed memory, vector symbolic architectures, working memory, algorithm, article, brain, finite state machine, human, human experiment, long term memory, memory, recall, reliability, short term memory
National Category
Natural Sciences
Identifiers
URN: urn:nbn:se:ri:diva-64723DOI: 10.3389/fnins.2022.867568Scopus ID: 2-s2.0-85146846574OAI: oai:DiVA.org:ri-64723DiVA, id: diva2:1756868
Note
Funding details: FA9550-19-1-0241; Funding details: H2020 Marie Skłodowska-Curie Actions, MSCA, 839179; Funding details: Horizon 2020; Funding text 1: This research was supported by Air Force Office of Scientific Research Program on Cognitive and Computational Neuroscience, FA9550-19-1-0241. DK has received funding from the European Union's Horizon 2020 Research and Innovation Programme under the Marie Skłodowska-Curie grant agreement no. 839179. Publication made possible in part by support from the Berkeley Research Impact Initiative (BRII) sponsored by the UC Berkeley Library.
2023-05-152023-05-152023-12-12Bibliographically approved