NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Managing interaction between users and agents in a multi-agent storytelling environment

Mark O. Riedl, C. J. Saretto, Robert Michael YoungAAMAS 2003

TL;DR

This paper introduces "narrative mediation," a technique for managing user interactions in virtual storytelling environments. It balances user freedom with story coherence by detecting and responding to actions that disrupt the narrative plan, either by accommodating them and replanning, or intervening with "failure modes."

What Problem Does This Paper Address?

Interactive narrative systems (INSs), like advanced computer games or intelligent tutoring systems, immerse users in virtual worlds where they interact with AI-controlled agents to further a storyline. A key challenge is balancing the user's desire for freedom and control over their character with the need to maintain a coherent and engaging narrative. When users can perform any action, they might inadvertently break the story's causal chain, leading to a nonsensical or uninteresting experience. Existing approaches often limit user control too much or lack robust mechanisms for handling unexpected actions that deviate from the planned narrative.

Methods

The core contribution is narrative mediation, a technique implemented within the Mimesis architecture. Mimesis uses a two-tiered approach:

  • Mimesis Controller (MC): This high-level reasoning component uses a narrative planner (based on hierarchical partial-order causal link planning) to build a story plan. This plan outlines the actions of all agents, including the user, and explicitly defines temporal and causal relationships between them.
  • Mimesis Unreal Tournament Server (MUTS): This lower-level tier, built on the Unreal Tournament game engine, executes the story plan. It replaces UT's native environment control with a customized version that mirrors the declarative plan operators used by the MC.

When a user performs an action, the Mediator (part of the MUTS) checks it against the narrative plan and a mediation policy. Actions are categorized as:

  1. Constituent: Matches a planned user action.
  2. Consistent: Doesn't directly match a planned action but doesn't disrupt the plan.
  3. Exceptional: Disrupts the plan by undoing a causal link's condition.

For exceptional actions, Mimesis employs two mediation strategies:

  • Accommodation: The exceptional action is executed, and the narrative plan is re-planned to incorporate the new state and re-establish threatened causal connections.
  • Intervention: The exceptional action is replaced with a failure mode – a similar action with different effects that maintain narrative coherence. This is akin to a controlled "malfunction" of the user's intended action.

The system also includes planning for exceptions where potential disruptions are analyzed before execution, and a mediation policy is constructed to pre-define responses.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • The inherent tension between control and coherence: This is the fundamental problem narrative mediation aims to solve. Giving users too much freedom can break the story, while too little stifles engagement.
  • Narrative as a plan: Representing the story as a structured plan with explicit causal and temporal links is crucial for detecting and managing deviations.
  • Proactive exception handling: Analyzing the entire narrative plan before execution to anticipate potential user disruptions allows for pre-computation of responses, leading to smoother runtime management.
  • Two distinct response strategies: Accommodation (replanning) and intervention (failure modes) offer different ways to handle user disruptions, each with its own trade-offs regarding user perception of control and narrative integrity.
  • The importance of "failure modes": These are not just arbitrary errors but carefully designed alternative actions that maintain narrative plausibility while preventing plan violations.

Key Results

The paper primarily presents a conceptual framework and an architecture. The key "results" are the demonstration of the narrative mediation technique through examples:

  • Bank Robbery Example: The paper walks through a scenario where a user controlling a guard might try to open a vault prematurely. The system demonstrates how accommodation can revise the plan (e.g., the guard opens the vault instead of the owner) and how intervention could be used if the user attempts to shoot the owner.
  • Mediation Policy: A sample mediation policy (Table 1) is shown, illustrating how specific user actions within defined time intervals are mapped to either accommodation or intervention.

The paper argues that this approach effectively integrates user actions and system responses, balancing user control with narrative coherence.

Limitations and Future Work

The authors acknowledge two central limitations:

  • Locality of Exceptions: The current system raises an exception only when a single user action violates the plan. Future work could involve plan recognition to detect sequences of actions that prepare for an exceptional act, allowing for earlier intervention or accommodation.
  • Locality of Intervention: Intervention currently replaces a single user action with a single failure mode. Future work could explore assisted intervention, where a sequence of actions by multiple agents could be orchestrated to achieve the desired outcome.

Additionally, the paper mentions ongoing work on developing heuristics for selecting between accommodation and intervention and characterizing the computational requirements of these algorithms.

Summary updated

BibTeX
@inproceedings{riedl2003managing,
  author = {Mark O. Riedl and C. J. Saretto and Robert Michael Young},
  title = {{Managing interaction between users and agents in a multi-agent storytelling environment}},
  booktitle = {AAMAS},
  year = {2003},
  doi = {10.1145/860575.860694},
}
Figure