Introduction
In modern reinforcement learning, memory is frequently treated as a monolithic data structure or a simple experience replay buffer. However, human cognitive architecture suggests a more nuanced approach, distinguishing between semantic memory (general world knowledge) and episodic memory (specific personal history). This paper explores the development of agents that utilize these distinct systems to navigate dynamic environments, balancing general expectations with specific, recent observations.
Methodology
The researchers designed four handcrafted policies to evaluate different memory configurations within a custom-built simulator called "The Room":
- Handcrafted 1 (Only Episodic): Prioritizes specific events, discarding the oldest entries when capacity is reached.
- Handcrafted 2 (Only Semantic): Stores frequency-based generalities (e.g., "laptops are usually on desks") and discards infrequent associations.
- Handcrafted 3 (Hybrid): Integrates both systems, attempting to compress recurring episodic memories into semantic generalizations.
- Handcrafted 4 (Hybrid + Pretrained): An advanced model pre-populated with "commonsense" facts from ConceptNet 5.5, using an episodic buffer for real-time updates.
All observations are formatted as RDF-like quadruples (e.g., <Object, Relation, Location, Timestamp>), ensuring the data is both machine-readable and human-interpretable.
Results and Discussion
The Hybrid Advantage
Experimental results demonstrate that hybrid memory systems significantly outperform single-system agents once memory capacity reaches a sufficient threshold. While episodic memory is effective at very low capacities where data is too sparse for generalization, the ability to form a "world model" via semantic memory becomes a massive advantage as the agent gains experience.
Pretraining and Commonsense
The most significant performance gains were observed in Handcraft 4. By seeding the agent with pretrained commonsense knowledge from ConceptNet, the agent did not need to learn basic environmental rules from scratch. Instead, it could utilize its limited episodic memory to focus exclusively on exceptions or specific real-time movements. Handcraft 4 achieved the highest total rewards, exceeding 700 at a memory capacity of 32.
Collaborative Intelligence
The study also highlights the efficiency of multi-agent systems. Two agents with small individual memories (16 slots each) outperformed a single agent with a larger memory (32 slots). This suggests that "crowdsourcing" collective memory through simultaneous exploration is more effective than centralized storage in dynamic environments.
Conclusion and Future Work
While these handcrafted policies provide a strong proof of concept for dual-memory systems, the authors identify several avenues for future research. The next step involves transitioning from handcrafted rules to Reinforcement Learning (RL), where agents autonomously learn memory management strategies. Additionally, moving from symbolic RDF triples to raw sensory data (images and audio) will be crucial for applying these human-like memory systems to real-world robotics.
Summary updated