Reproduce “CAST: Character-and-Scene Episodic Memory for Agents” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Kexin Ma, Bojun Li, Yuhua Tang, Liting Sun, Ruochun Jin
A new memory architecture called CAST enables AI agents to achieve more accurate and contextually rich episodic recall by organizing experiences into character-centric scenes, outperforming existing memory systems on conversational benchmarks. The system integrates principles from cognitive science and dramatic theory to structure agent memory, improving the factual correctness and completeness of answers to fine-grained episodic questions.
Key insights
- Structuring agent memory based on dramatic theory concepts like 'scenes' and 'character profiles' significantly enhances the fidelity and contextual richness of episodic recall.
- A dual memory architecture, combining semantic and episodic memory, provides a robust solution that mitigates the individual weaknesses of traditional memory paradigms for diverse query types.
- Elements like short-window view construction and precise role assignment for participants (main vs. supporting characters) are crucial for improving scene completeness and mitigating question-answering misalignment.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.