1 Soar as a Story Director Brian Magerko University of Michigan.

Slides:



Advertisements
Similar presentations
The Halo 2 AI In 10 Minutes or Less Damián Isla Bungie Studios
Advertisements

Soar and StarCraft By Alex Turner. What is StarCraft: Brood War? A Real-Time Strategy (RTS) computer game released in A sci-fi war simulation Continually.
A Cognitive Architecture Theory of Comprehension and Appraisal: Unifying Cognitive Functions and Appraisal Bob Marinier John Laird University of Michigan.
1 Update on Learning By Observation Learning from Positive Examples Only Tolga Konik University of Michigan.
Schema Theory and Soft Constraint Satisfaction Psych /719 January 23, 2001.
Collaborative Warrior Tutoring Tom Livak Neil Heffernan 8/24/06.
Patterns in Game Design Chapter 9: Game Design Patterns for Narrative Structures, Predictability, and Immersion Patterns CT60A7000 Critical Thinking and.
Spring 2007COMP Design Teams Team Structure Interdisciplinary Teams.
Aug 24, Fall 2005ITCS4010/50101 Design Teams Team Structure Interdisciplinary Teams.
Artificial Intelligence and Lisp #2 Introduction to Cognitive Agents and to Knowledge Representation.
Knowledge Acquisitioning. Definition The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
1 Learning from Behavior Performances vs Abstract Behavior Descriptions Tolga Konik University of Michigan.
Director Agent Brian Magerko University of Michigan.
Requirements Elicitation Chapter 4. Establishing Requirements Two questions –What is the purpose of the system –What is inside and what is outside the.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
Sep 14, Fall 2006IAT 4101 Design Teams Team Structure Interdisciplinary Teams.
Chapter 7 design rules.
Intelligent Agents: an Overview. 2 Definitions Rational behavior: to achieve a goal minimizing the cost and maximizing the satisfaction. Rational agent:
Story-Line and Drama in Video Games By Greg Brander.
COMPUTATIONAL MODELING OF INTEGRATED COGNITION AND EMOTION Bob MarinierUniversity of Michigan.
1. Human – the end-user of a program – the others in the organization Computer – the machine the program runs on – often split between clients & servers.
Chapter One Theories of Learning
I am a Teamplayer! March 15, To Do List: Look at the role of a teamplayer. Worksheet to complete for Chapter 2. Homework: Study for test – Chapter.
Textbook Analysis UNIVERSIDADE FEDERAL DE MINAS GERAIS FACULDADE DE LETRAS COURSE: The Communicative Approach PROFESSOR: Deise Prina Dutra STUDENTS: Augusto.
Modeling Driver Behavior in a Cognitive Architecture
Artificial Intelligence in Game Design Problems and Goals.
1 CS 456 Software Engineering. 2 Contents 3 Chapter 1: Introduction.
Hierarchical Event-learning Language and Network for Knowledge Representation.
© 2007 Tom Beckman Features:  Are autonomous software entities that act as a user’s assistant to perform discrete tasks, simplifying or completely automating.
Topics for Today Task planning for non-player characters Coping with player character interactions and their effect on narrative In Hamlet on the Holodeck,
Knowledge Management in Theory and Practice
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
CHAPTER TEN AUTHORING.
Autonomous Multiagent Systems Week – 15a Entertainment Agents.
10/24/2015Rex Oleson II SOAR and Video Games By Rex Oleson II.
Chapter 2.2 Game Design. CS Overview This introduction covers: –Terms –Concepts –Approach All from a workaday viewpoint.
Valkanova V., Valkanov V. 14th Workshop SEERE, Sinaia, Romania 24th-30th August 2014.
Discovering Descriptive Knowledge Lecture 18. Descriptive Knowledge in Science In an earlier lecture, we introduced the representation and use of taxonomies.
A Common Ground for Virtual Humans: Using an Ontology in a Natural Language Oriented Virtual Human Architecture Arno Hartholt (ICT), Thomas Russ (ISI),
A Multi-agent Approach for the Integration of the Graphical and Intelligent Components of a Virtual Environment Rui Prada INESC-ID.
Devina DesaiF r a m e P r o b l e m What is a Frame Problem Environment for an agent is not static Identifying which things remain static in changing word.
TownMUD An Interface for a Text-Based Multiple User Dimension.
Service Service metadata what Service is who responsible for service constraints service creation service maintenance service deployment rules rules processing.
Information System InformationSystemKnowledgedata.
1 The main topics in AI Artificial intelligence can be considered under a number of headings: –Search (includes Game Playing). –Representing Knowledge.
Copyright © 2010, Pearson Education Inc., All rights reserved.  Prepared by Katherine E. L. Norris, Ed.D.  West Chester University of Pennsylvania This.
Introduction to Interactive Media Interactive Media Tools: Authoring Applications.
Introduction of Intelligent Agents
Theories and Practice of Interactive Media 13 October 2003 Kathy E. Gill.
Knowledge Representation
Recording Actor Provenance in Scientific Workflows Ian Wootten, Shrija Rajbhandari, Omer Rana Cardiff University, UK.
Change Blind Information Display for Ubiquitous Computing Environments Professor: Liu Student: Ruby.
Knowledge Management in Theory and Practice
Game AI Matthew Hsieh Meng Tran. Computer Games Many different genres  Action  Role Playing  Adventure  Strategy  Simulation  Sports  Racing Each.
1 Learning through Interactive Behavior Specifications Tolga Konik CSLI, Stanford University Douglas Pearson Three Penny Software John Laird University.
Fall 2002CS/PSY UI Design Principles Categories  Learnability Support for learning for users of all levels  Flexibility Support for multiple ways.
Interactive Storytelling via Intelligent Agents By Vincent Vuono CSC3990.
1 Situation Comprehension and Emotion Bob Marinier University of Michigan June 2005.
Knowledge Engineering. Review- Expert System 3 Knowledge Engineering The process of building an expert system: 1.The knowledge engineer establishes a.
1 Design Principles – Part 2 of 3 Learnability Principles Flexibility Principles.
© 2013 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Action Modeling with Graph-Based Version Spaces in Soar
Crowds (and research in computer animation and games)
Learning Fast and Slow John E. Laird
Artificial Intelligence and Lisp #2
Modeling Cyberspace Operations
Crowds (and research in computer animation and games)
CIS 488/588 Bruce R. Maxim UM-Dearborn
Dr. Unnikrishnan P.C. Professor, EEE
Presentation transcript:

1 Soar as a Story Director Brian Magerko University of Michigan

2 Interactive Drama A drama that includes the human player as an important actor in a virtual space. The resulting story is dependent both on the system presenting the drama and the player’s interactions with that system

3 Generic Interactive Drama

4 Our View of Interactive Drama 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

5 Haunt 2 percepts abstract plot user actions Human player Human Writer AI Director Built in Unreal Tournament AI Actor Interactive game, populated by human-like AI characters with an AI director that dynamically controls an unfolding story. direction

6 Haunt 2 Soar Perceiv e Decide Act long-term memory skills, doctrine, tactics encoded as rules short-term memory Perception, situation, goals Unreal Tournament movement physics perception terrain animations buildings graphics sounds networking Perceptual models Motor control language Physiological model Physics Soar/UT Interface SGIO output input SGIO output input

7 Soar as Actors Goal-based behavior  Soar agents  Basic world knowledge (navigation, item use, communication) Individualized personality  Physiology  Emotion modeling (Bob Mariner) Directable (Mazin Assanie)

8 An Example Scene The Innkeeper and John, the professor, are in the lounge. They have a conversation about the building, including the Innkeeper mentioning several rooms that may be of interest to the User. John mentions the turbulent relationship he’s had in the past with another guest here, Sally. The User should be nearby to learn this information.

9 Story Representation Plot points created as WME’s by human author Preconditions match to world state Actions are the associated actor performances, to be executed once all preconditions are matched Timing constraints describe pacing in the world Plot points connected to each other via a partial-ordering “Active” if all of its parents have been performed preconditionsactions At(Lounge, John) At(Lounge, Innkeeper) Proximity(User, John, 1) Begin: 10 sec. End: 120 sec. Talk(John, Innkeeper,house_conv)

10 Soar as a Story Director Hypothesizes both actor and user knowledge / state Directs actors to perform according to the plot (e.g. “perform conversation” or “go to lounge”) Directs actors / the environment in response to errant user behavior Employs a predictive model of user behavior for preemptive story direction

11 Errant User Behavior Errant behavior is any set of actions (including inaction) that keep an active plot point’s preconditions from being fulfilled  E.g. the user stays away from the lounge and the timing constraints are violated The Director may execute “attract user to lounge” or “go to user to have conversation” in response

12 Director Execution Cycle predicted behavior threatens an active plot point all preconditions for an active plot point are true new plot- revelant fact timing constraint violated precondition for active plot point only involves agents observable game features knowledge execute direction knowledge maintenance plot monitoring set appropriate descriptors as true / false keep track of world state hypothesize entity knowledge model player Haunt 2 environment mark plot points as active / done new plot point has been set as active At(Lounge, John) At(Lounge, Innkeeper) Proximity(User, John, 1) Begin: 10 sec. End: 120 sec. Talk(John, Innkeeper,house_conv)

13 Domain Dependence / Independence predicted behavior threatens an active plot point all preconditions for an active plot point are true new plot- revelant fact timing constraint violated precondition for active plot point only involves agents observable game features knowledge execute direction knowledge maintenance plot monitoring set appropriate descriptors as true / false keep track of world state hypothesize entity knowledge model player Haunt 2 environment mark plot points as active / done new plot point has been set as active domain dependent domain independent

14 Operator Hierarchy model userexecute direction record-entityupdate-entitycheck- preconds proximityphysiologylocationdrinkknowledgeconversation

15 Direction Choice Director action choice is based on an authored mapping of predicates of preconditions to one of a set of strategy types A set of different actions may fall under a single strategy type sp {direction*location*propose*actor-to-area (state ^name execute-direction ^descriptor ^top-state. command ) ( ^type location ^area -^entity.name |User|) ( ^type move ^area ^phrase ) --> ( ^operator + =) ( ^name actor-to-area ^type direction ^descriptor ^command ) } execute direction location

16 User Prediction Creates an internal copy of the world state  Includes hypothesized user knowledge  Creates a fake ^top-state and ^io User model (for now) is a subset of the HauntBot agent that runs Director actions for meeting preconditions can be executed in modeling world All actions cost some fixed amount of time Modeling success depends on whether or not preconditions are fulfilled before the modeled time clock passes the plot point’s end timing constraint

17 Knowledge Taxonomy Relationships* Mental Physical Emotional* attraction repulsion goals knowledge physiology inventory short-term long-term rules world knowledge temperature fatigue thirst Taxonomy of knowledge used in Haunt director and actors ? areas entities items story goals actor goals model goals

18 Near future Work Finishing the details for a demo this summer  Resolving issues with partial-ordering of plot  Authoring plot content View user modeling and direction probabilistically  How likely is the user to fulfill the active plot points’ preconditions given his history and how much time has passed?  How likely is a given direction going to succeed in guiding the user to fulfill the preconditions? Heuristic choice of direction actions  Subtlety  Believability  Effectiveness  …?

19 Nuggets and Coal Nuggets  The system actually works now. A complete story can be told  Can start working on the interesting questions concerning user modeling in an interactive drama  Soar has proven to be more than suitable for the domain Coal  Still don’t have a useful user model  Partial-ordering of plot is hard without explicit choice points  Interactions in Haunt 2 are severely limited