Incorporating User Modeling into Interactive Drama

Similar documents
Mediating the Tension between Plot and Interaction

A review of interactive narrative systems and technologies: a training perspective

Player Modeling in the Interactive Drama Architecture. Brian S. Magerko

Gameplay as On-Line Mediation Search

Applying Principles from Performance Arts for an Interactive Aesthetic Experience. Magy Seif El-Nasr Penn State University

Adapting IRIS, a Non-Interactive Narrative Generation System, to an Interactive Text Adventure Game

Directorial Control in a Decision-Theoretic Framework for Interactive Narrative

Believable Agents and Intelligent Story Adaptation for Interactive Storytelling

Robust and Authorable Multiplayer Storytelling Experiences

Towards Integrating AI Story Controllers and Game Engines: Reconciling World State Representations

in SCREENWRITING MASTER OF FINE ARTS Two-Year Accelerated

Beyond Emergence: From Emergent to Guided Narrative

Chapter 4 Summary Working with Dramatic Elements

Towards Player Preference Modeling for Drama Management in Interactive Stories

the gamedesigninitiative at cornell university Lecture 25 Storytelling

Socially-aware emergent narrative

Emergent Situations in Interactive Storytelling

Artificial Intelligence

Schemas in Directed Emergent Drama

Emily Short

Expectation-based Learning in Design

Interactive Drama. John E. Laird Edited by Matt Evett

Whether in a short story or a long novel, readers want it to do three things for them:

the gamedesigninitiative at cornell university Lecture 26 Storytelling

An Overview of the Mimesis Architecture: Integrating Intelligent Narrative Control into an Existing Gaming Environment

This full text version, available on TeesRep, is the post-print (final version prior to publication) of:

A Model of Superposed States

Integrating Story-Centric and Character-Centric Processes for Authoring Interactive Drama

Automatically Adjusting Player Models for Given Stories in Role- Playing Games

ARGUING THE SAFETY OF MACHINE LEARNING FOR HIGHLY AUTOMATED DRIVING USING ASSURANCE CASES LYDIA GAUERHOF BOSCH CORPORATE RESEARCH

Usability vs. user experience

Narrative Guidance. Tinsley A. Galyean. MIT Media Lab Cambridge, MA

CS 387/680: GAME AI AI FOR FIRST-PERSON SHOOTERS

Glossary of terms. Short explanation

Exam #2 CMPS 80K Foundations of Interactive Game Design

Player Modeling Evaluation for Interactive Fiction

Orchestrating Game Generation Antonios Liapis

Drama Management Evaluation for Interactive Fiction Games

CISC 1600 Introduction to Multi-media Computing

Narrative and Conversation. Prof. Jim Whitehead CMPS 80K, Winter 2006 February 17, 2006

Robotic Applications Industrial/logistics/medical robots

Roleplay Technologies: The Art of Conversation Transformed into the Science of Simulation

GPU Computing for Cognitive Robotics

Data-Driven Personalized Drama Management

Drama Management and Player Modeling for Interactive Fiction Games

0LFKDHO0DWHDV $,EDVHG$UWDQG(QWHUWDLQPHQW ([SUHVVLYH$,$,$JHQGD. Research Statement

Algorithms and Networking for Computer Games

From Tabletop RPG to Interactive Storytelling: Definition of a Story Manager for Videogames

the question of whether computers can think is like the question of whether submarines can swim -- Dijkstra

Outline. Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types Agent types

Transer Learning : Super Intelligence

A Cinematographic Approach in Interactive Storytelling

Intelligent Agents. Introduction to Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 23.

the question of whether computers can think is like the question of whether submarines can swim -- Dijkstra

Dungeons & Dragons for Marketing & TechComm. Contextualization & Molecular Content in the Information 4.0 World

A Critical Review of Interactive Drama Systems

A Virtual Human Agent for Training Clinical Interviewing Skills to Novice Therapists

AI S GROWING IMPACT USING ARTIFICIAL INTELLIGENCE TO ENGAGE AUDIENCES. Smart machines are giving storytellers and risk managers alike a helping hand.

Chapter 7A Storytelling and Narrative

Dynamic Generation of Dilemma-based Interactive Narratives

CS 730/830: Intro AI. Prof. Wheeler Ruml. TA Bence Cserna. Thinking inside the box. 5 handouts: course info, project info, schedule, slides, asst 1

Modeling Rich Characters in Interactive Narrative Games

Game Artificial Intelligence ( CS 4731/7632 )

Today s Topics. Video Game AI: Lecture 2 History of Game AI. Pong (1972) A selective history of video game AI

Interaction Design -ID. Unit 6

Learning and Interacting in Human Robot Domains

Context Sensitive Interactive Systems Design: A Framework for Representation of contexts

SAMPLE. Lesson 1: Introduction to Game Design

Cavazza, M. O., Charles, F. and Mead, S.J. (2002) 'Character-based interactive storytelling', IEEE Intelligent Systems, 17 (4), pp

Distributed Vision System: A Perceptual Information Infrastructure for Robot Navigation

GRADE FOUR THEATRE CURRICULUM Module 1: Creating Characters

Charter Oak International Academy. Program of Inquiry

the gamedesigninitiative at cornell university Lecture 23 Strategic AI

NOTES FOR TEACHERS & LIBRARIANS ABOUT THE BOOK

Auditory System For a Mobile Robot

Federico Forti, Erdi Izgi, Varalika Rathore, Francesco Forti

Texas Hold em Inference Bot Proposal. By: Brian Mihok & Michael Terry Date Due: Monday, April 11, 2005

Game Designers. Understanding Design Computing and Cognition (DECO1006)

An Integrated Modeling and Simulation Methodology for Intelligent Systems Design and Testing

10/30/2013. Game User Experience. Langxuan James Yin October 28, A History of Games. The Cathode Ray Amusement Device (1947)

Artificial Intelligence Paper Presentation

PRODUCTION. in FILM & MEDIA MASTER OF ARTS. One-Year Accelerated

CSC 550: Introduction to Artificial Intelligence. Fall 2004

What is Nonlinear Narrative?

A.M. Turing, computer pioneer, worried about intelligence in humans & machines; proposed a test (1950) thinks with electricity

UMBC 671 Midterm Exam 19 October 2009

Elements of the Horror Genre

FICTION: Understanding the Text

Setting the scene: playing digital director in interactive storytelling and creation

Research Statement MAXIM LIKHACHEV

A Preliminary Poetics for Interactive Drama and Games

Interactive Digital Storytelling

Façade. Drama. Interactive. Prosemimar Human Computer Interaction Presentation by Ole Rehmsen. by Michael Mateas and Andrew Stern

Requirements Analysis aka Requirements Engineering. Requirements Elicitation Process

Progress has been tremendous. Lawrence Snyder University of Washington, Seattle

Crime Prediction and Prevention using Agent-Based Modeling

Narrative Writing Study and Guided Notes CONLEY, WHEELER HIGH SCHOOL, ADAPTED FROM POWERPOINT GURU ON TPT

UNIT 13A AI: Games & Search Strategies

Artificial Intelligence. Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University

ENHANCED HUMAN-AGENT INTERACTION: AUGMENTING INTERACTION MODELS WITH EMBODIED AGENTS BY SERAFIN BENTO. MASTER OF SCIENCE in INFORMATION SYSTEMS

Transcription:

Incorporating User Modeling into Interactive Drama Brian Magerko Soar Games group www.soargames.org

Generic Interactive Drama User actions percepts story Writer presentation medium Dramatic experience 2

Example Narrative You are a ghost in the story, trapped in an unfamiliar mansion. First part of story involves you meeting and befriending the Hitchhiker character You see him, but decide to scare him repeatedly until he runs away screaming How can the story continue? 3

Problem Statement Author communicates a particular artistic vision Specific temporal structure Humans are great storytellers I want control from beginning to end. The User is a character in the story Behavior may be positive or negative to the story I want to act how I want in the story. How do we balance the tension between author and User desires? Novel approach to Interactive Drama, using existing AI techniques 4

How is This Problem Unique? Why not just counter-plan against User actions? Disallowing errant behavior breaks believability Connection between User and character harmed Given that errant behavior is allowed, we can: Attempt to elegantly avoid it Recognize errant behavior in present and future Predict behavior that is likely to happen Attempt to incorporate the behavior into the plot Can a predictive model be incorporated into an ID to help find a balance between User and Writer desires? 5

Our Domain: IDA Changes state of Actors or World FOL representation partial-order plot structure User actions percepts Director Writer User is a character Discrete in narrative action set U a direction world view Haunt 2 Contains AI Actors, setting, and items 6

What does the Director do? Monitor temporal constraints Is the story flowing? 7

Plot: A Single Scene d BC Find Food.. d AB Initial State Meet.. Friends Scene represents the set of desired behaviors Partial ordering of states Temporal constraints between state transitions Short in length, inspired by screenwriting theory 8

What does the Director do? Monitor temporal constraints Is the story flowing? Actor direction Giving new goals / information to agents 9

Plot: Linearization of a Scene lot as state nsitions d A At(Hiker, x) At(User, x) d BC Has(User, Apple) d CD At(Hiker, w) At(User, w) d DE Drop(User, Apple) d EF Has(Hiker, Apple) A: INITIAL STATE B: MEET C: FIND FOOD D: FIND HIKER E: OFFER FOOD F: FRIENDS Hiker.goal = Wander tor actions ring state ransition Delay() Run(Hiker, x, y) Hiker.goal = Wander Get(Hiker, Apple) Hiker.Happy++ Hiker.Fright ++ Hiker.Fright-- Each state represents a set of possible states Preconditions / effects 10

What does the Director do? Monitor temporal constraints Is the story flowing? Actor direction Giving new goals / information to agents Monitoring User behavior (Recognition) Is meeting the scene goals possible? Is meeting the scene goals likely? Modifying the world (Action) Incorporate User behavior Help User reach the end of the scene 11

Approaches to Prediction Can a user model be incorporated into an ID to help find a balance between User and Writer desires? Soar QuakeBot Internal modeling of opponent Anticipates opponent s next moves to determine best strategy Bayesian Prediction Record user on a MUD (action/state pairs) Build CPT s for predicting which quest the user is working on New plot point? yes Direct Actors no Behavior Monitoring Get new user actions / state success failure success Prediction failure Depth -limited search Act on direction needed success or failure 12

Prediction Is the User likely to reach the next state? User s predicted Goal: Communicate d A = 4 actions Goto(R1) Goto(R2) Talk(Hiker) Talk(Hiker) Has(Apple) New plot point? yes Direct Actors depth limit d A reached no Behavior Monitoring Get new user actions / state success failure success Prediction failure Depth -limited search Act on direction needed success or failure 13

Steps in Modeling Hand-built model Rule-based model of user behavior If this works, a good model will What if it doesn t work? Classify User & select from multiple models Incorporate individualized learning / adaptation If this does work, this project has succeeded A working model is defined by our evaluation criteria, discussed at the end 14

Search Depth limited by temporal constraints Takes advantage of small scene size Searches through possible User actions Open question how to include Actor actions New plot point? yes Direct Actors no Behavior Monitoring Get new user actions / state success failure success Prediction failure Depth -limited search Act on direction needed success or failure 15

Example of Simple Direction User may get the food, but it s unlikely State C: Has(User, Apple) is annotated with Direction action(s) Examples: Hiker.speak( I am hungry. ) Kitchen.noise(crash) Kitchen.light(off) New plot point? yes Direct Actors no Behavior Monitoring Get new user actions / state success failure success Prediction failure Depth -limited search Act on direction needed success or failure 16

An Example: Modeling = d BC! Blah blah blah Current state.? d BC Has(User, Apple) C: FIND FOOD Modeling failure. Modeling == failure, => Direction needed. Conduct search, then direct. 17

An Example: Search < d BC! Blah blah blah Current state Search.? d BC success Has(User, Apple) C: FIND FOOD Search == success, Model == failure => Execute Direction 18

An Example: Direction Boy, am I hungry! Hiker.Speak( Boy, am I hungry!) Has(User, Apple)! Director Execute Direction: Encourage User to find the food 19

Evaluation Experimentally compare system with / without search & prediction How often are temporal constraints violated in each group? Compare number of errors Users commit in each group Compare user experiences via questionnaire? Examine model robustness Begin with user model as the User Make systematic changes to Soar agent playing game Very useful in iterative design of system and model When am I done? Successful integration and evaluation of user model in an interactive drama 20

Evaluation Examine model robustness Begin with user model as the User Make systematic changes to Soar agent playing game Each iteration, ask How is model accuracy affected? Very useful in iterative design of system and model How difficult is building / incorporating an effective model? Man hours & lines of code When am I done? Successful integration and evaluation of user model in an interactive drama 21

Nuggets Laid out means for evaluation of an ID Clear path to our goal A new interactive drama Meets our requirements User modeling in interactive drama A novel application Plot modification Accommodates User actions into plot Overlapping work with research at ICT 22

Coal A lot of work ahead Creative Technical Search algorithm is not complete Representation doesn t consider modern views of narrative 23

Classification of User Behavior Ideal: following along with the scenario Acceptable: not negatively affecting the scenario Unacceptable: irrevocably harming the scenario (clobbering) as it has been written and instantiated (i.e. breaking the vase) 24

Motivations for Interactive Drama Why is interactivity good? Direct connection between user desire and the experience More immersive Why interactivity + drama? The User IS the character Attempt to combine best of games & literature Open question as to whether or not is entertaining 25

Motivation for My Approach More interaction desired Choose Your Own Adventure is not very flexible nor interesting A strong step towards a higher degree of interactivity More plot control for Writer desired Avoid dynamic generation of plot content Explicit ordering of plot content desired Use different narratives with same environment 26

Allowing More Interactivity Recognition How to recognize errant behavior? How to possibly predict errant behavior? Action How do we reconcile this error with the plot? How does the plot keep moving? 27

Allowing More Interactivity Recognition How to recognize errant behavior? How to possibly avoid errant behavior? Action How do we reconcile this error with the plot? How does the plot keep moving? 28

Relevant System Requirements Expressivity 5 W s (and an H thrown in for good luck) Flexibility Don t constrain the User unnecessarily Categorization of different possible behaviors Distinguish between plot relevant / irrelevant / harmful behavior Variability Different behaviors elicit different results Variety in Degree of Autonomy Strong vs. Weak autonomy 29

What does the Director do? Instantiate plot structure Fills in missing content as response to User actions 30

Plot: Scene by Scene Scene 1: Introduction Scene 2: Friendship Scene 3: Find Clues. Meet(User, x) HasClue(x) Linear ordering of scenes Global variables may be shared across scenes Variables may be instantiated at runtime 31

Monitoring User Behavior yes Direct Actors New plot point? no Temporal Monitoring Get new user actions / state success failure success Prediction failure Depth-limited search success or failure Direction needed 32

Conclusion Can a user model be incorporated into an ID to help find a balance between User and Writer desires? Can errant behavior be elegantly avoided via search and user modeling? Can writer s vision be communicated while the User is still his own character? Can we evaluate the success of this technique? 33

Influences on Interactive Drama Automated Storytelling BRUTUS, TALE-SPIN, UNIVERSE Commercial Computer Games Quake, Deus Ex, Bladerunner, The Sims Role-playing Games Advanced Dungeons & Dragons Intelligent Tutoring Systems Model tracing: monitor progress within problem Knowledge tracing: monitor learning across problems 34

Previous Research DEFACTO (Sgorous) Emergent plot Definitions of dramatic concepts MOE (Oz group) Centralized Director agent Heuristic evaluation of plot development Mimesis (Liquid Narrative group) Represent story as a plan Counter-plan against possible undesired User actions 35

Previous Research Façade (Mateas & Stern) General dramatic story arc Beat chosen based on current location in arc and user s interactions Friends (Cavazza, et. al) Characters defined by hierarchical task networks Story emerges as characters try to fulfill personal goals User can meddle with the world, forcing characters to replan 36

Interactive drama = oxymoron? The User is a variable character (the protagonist) How can writer control the pace, plot, etc.? How can the user feel in control but be led through a story? 37

Systems and Our Requirements expressivity flexibility variability varying autonomy categorize behavior Façade Mimesis DEFACTO MOE (temporal) Friends IDA 38

The Balance of Plot Control Total Total plot plot specification by by designer igner (e.g. (e.g. adventure adventure games) games) Emergent plot (e.g. The Sims) desired balance 39

World Built in UnrealTournament 1 st person point of view for User Socket communication with Soar agents Haunted house setting Populated with usable objects and AI actors 40

AI Actors Goal-based behavior Soar agents Basic world knowledge (navigation, item use, communication) Individualized personality Emotion modeling Physiology Directable 41

Example User Model in Haunt get-info explore wander use-object obtain communicate read move-to-area apply goto-target get-target listen-to speak-to record-area record-path record-item yes Direct Actors drop-curr-item pickup-target New plot point? no Behavior Monitoring Get new user actions / state success failure success Prediction failure Depth -limited search Act on direction needed success or failure 42

Façade * Dramatic arc Choose scene User actions! Scenes for multiagent performance tension=8 tension=4 tension=6 tension=2 tension=7 43

Our Domain: IDA Discrete action set U a User is a character in narrative User AI Actor user actions world view direction abstract plot World: Built in Unreal Tournament Contains AI Actors, setting, and items Director Changes state of Actors or World Writer FOL representation 44

Mimesis Accommodation: user action incorporated into plot structure? Intervention: user action forbidden?! X 45

Primitive Examples Choose Your Own Adventure Pre-written story Character s actions determine what happens Explicit, narrow choices for User Computer Adventure Games Advent, Zork, Gabriel Knight 2, Bladerunner User figures out what he should do next Plot is embedded to the structure of game You are the character Your actions determine how the story evolves 46

Describing Story: Content & Structure Content What happens in the story Beats Atomic dramatic element of action e.g. Luke, I am your father. Structure When things happen in the story Temporal ordering of content Dramatic structure 47

Contributions A new interactive drama Meets our requirements Means of evaluating an ID Director agent Fulfills roles User modeling in interactive drama A novel application Plot modification Accommodates User actions into plot 48

Current work Finish Director prototype Summer 03 Soar UnrealTournament Build a more complete user model and experiment Fall 03 / Winter 04 Experiment and evaluate 49

Future Work Continue to work on Haunt 2 with Soar Games group Summer / Fall 03 characters, story, environment development Improve approach to search Fall 03 Evaluate model & system Fall 03 / Summer 04 50

What is Interactive Drama? Drama Traditional Aristotelian view: Setup Confrontation Resolution Interactive =?? Dramatic arc Human user s decisions influence the outcome of his experience through his actions You are the character Your actions determine how the story evolves 51