BOOKMARKS: Efficient Active Storyline Memory for Role-playing

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems · Depth: Advanced, extended

Summary

Bookmarks is a novel search-based memory framework designed to enhance the long-horizon consistency and efficiency of role-playing agents (RPAs). Unlike existing methods that rely on recurrent summarization or retrieval-augmented generation, which often discard important details or incur high computational costs, Bookmarks actively initializes, maintains, and updates task-relevant "bookmarks" within a storyline. Each bookmark is structured as a question-answer pair at a specific story point, categorized into concept, state, or behavioral search types. The framework operates by proposing useful questions for the current task, matching them to existing bookmarks or creating new ones, and then passively updating only the selected bookmarks to the current story point. This approach significantly outperforms RPA memory baselines on 85 characters from 16 artifacts, demonstrating improved grounding performance and a computational cost saving of over 70% with a hit rate above 90% on benchmarks like Fandom and Bandori.

Key takeaway

For AI Engineers developing role-playing agents that require long-horizon consistency, Bookmarks offers a robust alternative to traditional summarization or retrieval methods. By adopting its active grounding and passive updating mechanism, you can significantly improve character fidelity and reduce computational overhead, especially in complex, evolving narratives. Consider integrating this search-based memory framework to ensure your RPAs maintain nuanced character dynamics across extended storylines without sacrificing performance or efficiency.

Key insights

Bookmarks offers an efficient, search-based memory for RPAs, actively grounding task-specific details and passively updating only relevant information.

Principles

Method

Bookmarks proposes task-relevant questions, matches them to existing or new bookmarks, and incrementally synchronizes only active bookmarks to the current story point for efficient grounding.

In practice

Topics

Code references

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.