ID-RAG: Identity Retrieval-Augmented Generation for Long-Horizon Persona Coherence in Generative Agents

2509.25299v1 cs.AI, cs.HC, cs.MA 2025-10-02
Авторы:

Daniel Platnick, Mohamed E. Bengueddache, Marjan Alirezaie, Dava J. Newman, Alex ''Sandy'' Pentland, Hossein Rahnama

Abstract

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.

Ссылки и действия

Связанные статьи

Fairy: Interactive Mobile Assistant to Real-world Tasks via LMM-based Multi-agen...

#### Контекст Современные мобильные приложения часто имеют разнообразные интерфейсы и требуют интерактивного взаимодейс...

2025-09-26

Agentic Lybic: Multi-Agent Execution System with Tiered Reasoning and Orchestrat...

## Контекст В современных вычислительных средах возрастает спрос на системы, которые могут автоматизировать сложные мно...

2025-09-17

The Anatomy of a Personal Health Agent

## Контекст Повышение здоровья и благополучия является фундаментальным аспектом человеческого жизненного благополучия. С...

2025-08-30