ID-RAG: Identity Retrieval-Augmented Generation for Long-Horizon Persona Coherence in Generative Agents
On the map: Retrieval-augmented generation → Agentic RAG, agents and memory
also in 1 more
Abstract (arXiv)
Generative agents powered by language models are increasingly deployed for long-horizon tasks. However, as long-term memory context grows over time, they struggle to maintain coherence. This deficiency leads to critical failures, including identity drift, ignoring established beliefs, and the propagation of hallucinations in multi-agent systems. To mitigate these challenges, this paper introduces Identity Retrieval-Augmented Generation (ID-RAG), a novel mechanism designed to ground an agent's persona and persistent preferences in a dynamic, structured identity model: a knowledge graph of core beliefs, traits, and values. During the agent's decision loop, this model is queried to retrieve relevant identity context, which directly informs action selection. We demonstrate this approach by introducing and implementing a new class of ID-RAG enabled agents called Human-AI Agents (HAis), where the identity model is inspired by the Chronicle structure used in Perspective-Aware AI, a dynamic knowledge graph learned from a real-world entity's digital footprint. In social simulations of a mayoral election, HAis using ID-RAG outperformed baseline agents in long-horizon persona coherence - achieving higher identity recall across all tested models by the fourth timestep - and reduced simulation convergence time by 19% (GPT-4o) and 58% (GPT-4o mini). By treating identity as an explicit, retrievable knowledge structure, ID-RAG offers a foundational approach for developing more temporally coherent, interpretable, and aligned generative agents. Our code is open-source and available at: https://github.com/flybits/humanai-agents.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Agentic RAG, agents and memory, one of 15 directions in Retrieval-augmented generation. Builds on 17 of its 32 references that are in the map. First posted on arXiv 29 Sep 2025.
Builds on
17 of 32 references.
Closest ancestors · 2
Same direction, newest first
- 2025A Survey of Personalization: From RAG to Agent14 Apr
- 2024Crafting Personalized Agents through Retrieval-Augmented Generation on Editable Memory Graphs28 Sep
Other references · 15
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
- 2023Character-LLM: A Trainable Agent for Role-Playingcited by 339
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2025Plan-and-Act: Improving Planning of Agents for Long-Horizon Taskscited by 195
- 2023Generative agent-based modeling with actions grounded in physical, social, or digital space using Concordiacited by 126
- 2025Agentic Large Language Models, a surveycited by 108
- 2025Lifelong Learning of Large Language Model based Agents: A Roadmapcited by 83
- 2024Self-evolving Agents with reflective and memory-augmented abilitiescited by 52
- 2024Can We Rely on LLM Agents to Draft Long-Horizon Plans? Let's Take TravelPlanner as an Examplecited by 22
- 2024Comprehensible Artificial Intelligence on Knowledge Graphs: A surveycited by 8
3 more
- 2025Agentic Knowledgeable Self-awarenesscited by 8
- 2025Perspective-Aware AI in Extended Realitycited by 3
- 2025MARS: Memory-Enhanced Agents with Reflective Self-improvementcited by 2
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Heterogeneous Debate Engine: Identity-Grounded Cognitive Architecture for Resilient LLM-Based Ethical Tutoringcited by 5
- 2026Decoupling Thought from Speech: Knowledge-Grounded Counterfactual Reasoning for Resilient Multi-Agent Argumentationcited by 1
- 2026Situation Graph Prediction for User Perspective Modelingcited by 0
- 2026EvoSpark: Endogenous Interactive Agent Societies for Unified Long-Horizon Narrative Evolutioncited by 0
- 2026Share No More Than the Request Requires: Federated Disclosure for Perspective-Aware AIcited by 0
- 2026MemoryForge: Synthesize Lifelong Memory for Human-Like LLM Agentscited by 0
- 2026Bayesian Belief Layer for Controllable Opinion Dynamics in LLM Agentscited by 0
- 2026Bayesian Belief Layer for Controllable Opinion Dynamics in LLM Agents18 Sep 2026
- 2026Share No More Than the Request Requires: Federated Disclosure for Perspective-Aware AI24 Jul 2026
- 2026MemoryForge: Synthesize Lifelong Memory for Human-Like LLM Agents10 Jun 2026
- 2026Decoupling Thought from Speech: Knowledge-Grounded Counterfactual Reasoning for Resilient Multi-Agent Argumentation9 Jun 2026
- 2026EvoSpark: Endogenous Interactive Agent Societies for Unified Long-Horizon Narrative Evolution14 Apr 2026
- 2026Heterogeneous Debate Engine: Identity-Grounded Cognitive Architecture for Resilient LLM-Based Ethical Tutoring28 Mar 2026
- 2026Situation Graph Prediction for User Perspective Modeling10 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026Persistent Identity in AI Agents: A Multi-Anchor Architecture for Resilient Memory and Continuity
- 2026MicroVerse: An Instrument for Measuring Self-Authored Identity Drift in Long-Horizon Multi-Agent Language-Model Simulations
- 2026Mitigating Identity Essentialism in LLM Agents with Longitudinal Life Trajectories
- 2026"Looking for Something Weird to Happen": How Humans Sustain AI Agent Novelty Amid Semantic Collapse
- 2026How to Model AI Agents as Personas?: Applying the Persona Ecosystem Playground to 41,300 Posts on Moltbook for Behavioral Insights
- 2026SoK: Agentic Retrieval-Augmented Generation (RAG): Taxonomy, Architectures, Evaluation, and Research Directions
- 2025Enabling Personalized Long-term Interactions in LLM-based Agents through Persistent Memory and User Profiles
- 2024PersonaGym: Evaluating Persona Agents and LLMs