role-playing-agents active-memory bookmark-system storyline-consistency task-relevant-memory synchronization-method efficient-reuse character-acting
Abstract
Memory systems are critical for role-playing agents (RPAs) to maintain long-horizon consistency. However, existing RPA memory methods (e.g., profiling) mainly rely on recurrent summarization, whose compression inevitably discards important details. To address this issue, we propose a search-based memory framework called BOOKMARKS, which actively initializes, maintains, and updates task-relevant pieces of bookmarks for the current task (e.g., character acting). A bookmark is structured as the answer to a question at a specific point in the storyline. For each current task, BOOKMARKS selects reusable existing bookmarks or initializes new ones (at storyline beginning) with useful questions. These bookmarks are then synchronized to the current story point, with their answers updated accordingly, so they can be efficiently reused in future grounding rounds. Compared with recurrent summarization, BOOKMARKS offers (1) active grounding for capturing task-specific details and (2) passive updating to avoid unnecessary computation. In implementation, BOOKMARKS supports concept, behavior, and state searches, each powered by an efficient synchronization method. BOOKMARKS significantly outperforms RPA memory baselines on 85 characters from 16 artifacts, demonstrating the effectiveness of search-based memory for RPAs.
한국어 요약
📋 한 줄 요약
**[롤플레잉 에이전트 · 메모리]** 요약 압축의 정보 손실 문제를 해결하기 위해 스토리라인 시점별 질문-답 단위인 bookmark를 능동적으로 초기화·유지·업데이트하는 검색 기반 메모리 BOOKMARKS를 제안한다.
🎯 핵심 기여도
- 기존 RPA 메모리(예: 프로파일링)가 반복 요약 압축으로 중요한 디테일을 잃는 문제 지적
- 현재 작업에 관련된 bookmark를 능동적으로 초기화·유지·업데이트하는 검색 기반 메모리 프레임워크 BOOKMARKS 제안
- bookmark를 "스토리라인의 특정 시점에서의 질문에 대한 답"으로 구조화하여 재사용성 확보
- 개념·행위·상태 검색을 각각의 효율적 동기화 방법으로 지원
💡 핵심 아이디어
반복 요약은 무엇이 미래에 필요할지 모르는 채로 손실 압축한다. BOOKMARKS는 현재 작업이 요구하는 질문을 먼저 던지고 그 답을 시점별로 능동 동기화함으로써 손실 압축을 회피한다.
🔬 기술적 접근법
- **모델/방법론**: 검색 기반 RPA 메모리 BOOKMARKS — 작업별 bookmark 능동 초기화 / 동기화 / 재사용
- **핵심 기법**: 개념·행위·상태 별 효율적 동기화 메소드와 현재 스토리 시점으로의 능동 그라운딩 + 수동 업데이트로 불필요 계산 방지
📊 주요 결과
- 16개 작품의 85개 캐릭터에 걸쳐 RPA 메모리 베이스라인 대비 유의미한 성능 향상
- 검색 기반 메모리가 RPA에서 효과적임을 실증
- 작업별 디테일 포착(능동 그라운딩)과 불필요 계산 회피(수동 업데이트)를 동시에 확보
💭 의의 및 한계
**의의**: 캐릭터 일관성이 요구되는 장기 호라이즌 롤플레잉에서 손실 압축 없이 메모리를 유지하는 새 패턴을 제시한다. **한계**: bookmark 질문 품질에 성능이 종속되며, 매우 긴 스토리라인에서의 누적 비용은 추가 분석이 필요하다.
🚀 실용적 활용
- 장기 일관성이 필요한 캐릭터 챗봇·인터랙티브 픽션
- 다중 세션 게임 NPC의 페르소나·관계 추적
- 시리즈 콘텐츠 제작 도구에서의 캐릭터·상태 일관성 보조