Introduction
Traditional artificial intelligence models are typically static once deployed. To acquire new knowledge, they generally require computationally expensive retraining or fine-tuning of their internal weights. While Large Language Models (LLMs) attempt to bypass this via "in-context learning," they are often limited by the size and computational cost of their context windows. This paper proposes a novel Appendable Memory system that allows a neural network to "learn how to learn" by storing and retrieving new information post-deployment without any parameter updates.
The Memorizer–Recaller Architecture
The core of the proposed system is a two-part neural architecture designed to function as a dynamic key-value store. This system operates in two distinct phases: memorization and recall.
- The Memorizer: This is a recurrent-style network that processes a sequence of key-value pairs. It iteratively updates a single, fixed-size Appendable Memory vector, effectively "writing" new information into a compressed latent space.
- The Recaller: This decoder network takes the final memory vector and a specific "query" key as inputs. Its task is to extract and output the corresponding value associated with that key from the memory vector.
Probabilized Training: Learning the "How," Not the "What"
The primary innovation of this work is a technique called Probabilized Training. Standard machine learning models excel at finding patterns in static data, which leads to overfitting when trying to build a memory system; the model simply memorizes the specific keys and values in the training set rather than the logic of storage.
To solve this, the authors use entirely synthetic datasets where keys (16-dimensional floating-point vectors) and values (integers) are regenerated randomly for every single training step. Because the data contains zero predictable patterns or features, the network is forced to ignore the content and instead master the mathematical operations required to encode and decode information within the finite memory vector. Essentially, the neural network learns to act as a piece of software—a key-value store—rather than a simple pattern recognizer.
Key Results and the Capacity Wall
The study evaluated the system on batches of up to $N$ input pairs, where $N$ varied from 2 to 9.
- Operational Success: Using Probabilized Training, the model achieved 0.80 accuracy for both training and validation for up to $N=8$ items. In contrast, standard ML approaches failed, with validation accuracy collapsing due to overfitting on the data features.
- The Capacity Wall: The system encountered a sharp performance cliff at $N=9$. This suggests a fundamental physical limit to how much information a 256-dimensional vector can reliably compress using this specific architecture.
- Relational Memory (Sorting): By modifying the Recaller's query to request a "rank" (e.g., "the 2nd smallest value") instead of a key, the system successfully performed sorting with 87.2% accuracy for sets of 8 numbers. Notably, this neural sort operates with $O(N)$ computational complexity, outperforming the $O(N \log N)$ complexity of standard comparative algorithms.
Limitations and Future Directions
While the proof-of-concept is successful, the current capacity limit of 8 items is a bottleneck for real-world applications. The authors attribute this to the "forgetting phenomenon" inherent in simple recurrent structures. Future research will focus on scaling the system using more advanced architectures, such as LSTMs or Attention mechanisms, to expand the capacity of the Appendable Memory vector.
The ultimate goal is to integrate this system into dialogue agents and autonomous systems, allowing them to accumulate knowledge from interactions into a single, portable vector that grows with the user without requiring constant weight updates.
Summary updated