Agents for Serious gaming: Challenges and Opportunities

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

An Unreal Based Platform for Developing Intelligent Virtual Agents

Research Article Games and Agents: Designing Intelligent Gameplay

Methodology for Agent-Oriented Software

UNIT-III LIFE-CYCLE PHASES

AGENT PLATFORM FOR ROBOT CONTROL IN REAL-TIME DYNAMIC ENVIRONMENTS. Nuno Sousa Eugénio Oliveira

ROE Simulation Program

A Hybrid Approach to Human Behavior Models

value in developing technologies that work with it. In Guerra s work (Guerra,

Autonomous Robotic (Cyber) Weapons?

Agent-Oriented Methodology for Designing 3D Animated Characters

INTERACTION AND SOCIAL ISSUES IN A HUMAN-CENTERED REACTIVE ENVIRONMENT

SDN Architecture 1.0 Overview. November, 2014

Essay on A Survey of Socially Interactive Robots Authors: Terrence Fong, Illah Nourbakhsh, Kerstin Dautenhahn Summarized by: Mehwish Alam

INTRODUCTION TO GAME AI

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

School of Computer Science. Course Title: Introduction to Human-Computer Interaction Date: 8/16/11

Environment as a first class abstraction in multiagent systems

Multiplayer Game Design and Development CSC 631/831. Lecture 1 Spring 2016

Mobile Tourist Guide Services with Software Agents

Saphira Robot Control Architecture

A Hybrid Planning Approach for Robots in Search and Rescue

Designing 3D Virtual Worlds as a Society of Agents

Socially-aware emergent narrative

SOFTWARE AGENTS IN HANDLING ABNORMAL SITUATIONS IN INDUSTRIAL PLANTS

ACTIVE, A PLATFORM FOR BUILDING INTELLIGENT OPERATING ROOMS

CS 354R: Computer Game Technology

Individual Test Item Specifications

Agent Models of 3D Virtual Worlds

GLOSSARY for National Core Arts: Media Arts STANDARDS

Multi-Modal User Interaction

Below is provided a chapter summary of the dissertation that lays out the topics under discussion.

per cep tion (pərˈsɛp ʃən). n.1.

Chapter 6 Experiments

Stress Testing the OpenSimulator Virtual World Server

DESIGN AGENTS IN VIRTUAL WORLDS. A User-centred Virtual Architecture Agent. 1. Introduction

Structural Analysis of Agent Oriented Methodologies

Intelligent Agents Living in Social Virtual Environments Bringing Max Into Second Life

ARMY RDT&E BUDGET ITEM JUSTIFICATION (R2 Exhibit)

Why interest in visual perception?

Towards a Methodology for Designing Artificial Conscious Robotic Systems

Research of key technical issues based on computer forensic legal expert system

SENG609.22: Agent-Based Software Engineering Assignment. Agent-Oriented Engineering Survey

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

PERSONA: ambient intelligent distributed platform for the delivery of AAL Services. Juan-Pablo Lázaro ITACA-TSB (Spain)

Auto und Umwelt - das Auto als Plattform für Interaktive

Spatial Interfaces and Interactive 3D Environments for Immersive Musical Performances

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

Project Example: wissen.de

Dipartimento di Elettronica Informazione e Bioingegneria Robotics

CS 387/680: GAME AI DECISION MAKING. 4/19/2016 Instructor: Santiago Ontañón

Steering a Driving Simulator Using the Queueing Network-Model Human Processor (QN-MHP)

MULTI-LAYERED HYBRID ARCHITECTURE TO SOLVE COMPLEX TASKS OF AN AUTONOMOUS MOBILE ROBOT

Co-evolution of agent-oriented conceptual models and CASO agent programs

IHK: Intelligent Autonomous Agent Model and Architecture towards Multi-agent Healthcare Knowledge Infostructure

Booklet of teaching units

Demonstration of DeGeL: A Clinical-Guidelines Library and Automated Guideline-Support Tools

COMP150 Behavior-Based Robotics

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

Towards a Platform for Online Mediation

STRATEGO EXPERT SYSTEM SHELL

openaal 1 - the open source middleware for ambient-assisted living (AAL)

Sven Wachsmuth Bielefeld University

ADVANCES IN IT FOR BUILDING DESIGN

Requirement Definition

BMOSLFGEMW: A Spectrum of Game Engine Architectures

A DIALOGUE-BASED APPROACH TO MULTI-ROBOT TEAM CONTROL

An Example Cognitive Architecture: EPIC

Individual Test Item Specifications

Artificial Intelligence for Games. Santa Clara University, 2012

Activities at SC 24 WG 9: An Overview

GamECAR JULY ULY Meetings. 5 Toward the future. 5 Consortium. E Stay updated

Neuro-Fuzzy and Soft Computing: Fuzzy Sets. Chapter 1 of Neuro-Fuzzy and Soft Computing by Jang, Sun and Mizutani

Agent Organization Framework for Coordinated Multi-Robot Soccer

Ontology-based Context Aware for Ubiquitous Home Care for Elderly People

Distributed Vision System: A Perceptual Information Infrastructure for Robot Navigation

2018 Avanade Inc. All Rights Reserved.

Game Architecture. Rabin is a good overview of everything to do with Games A lot of these slides come from the 1 st edition CS

An introduction to these key work products

Evaluating 3D Embodied Conversational Agents In Contrasting VRML Retail Applications

FP7 ICT Call 6: Cognitive Systems and Robotics

Capturing and Adapting Traces for Character Control in Computer Role Playing Games

Adaptive signal Control. Tom Mathew

The AMADEOS SysML Profile for Cyber-physical Systems-of-Systems

Agents in the Real World Agents and Knowledge Representation and Reasoning

Ambient functionality : human interfaces for the digital life

A User-Friendly Interface for Rules Composition in Intelligent Environments

RV - AULA 05 - PSI3502/2018. User Experience, Human Computer Interaction and UI

Software Agent Technology. Introduction to Technology. Introduction to Technology. Introduction to Technology. What is an Agent?

Principles of Computer Game Design and Implementation. Lecture 29

Touch Perception and Emotional Appraisal for a Virtual Agent

Instructions.

Cyber-Physical Systems: Challenges for Systems Engineering

Context-sensitive Approach for Interactive Systems Design: Modular Scenario-based Methods for Context Representation

SOFT 437. Software Performance Analysis. What is UML? UML Tutorial

EE631 Cooperating Autonomous Mobile Robots. Lecture 1: Introduction. Prof. Yi Guo ECE Department

ENGINEERING SERVICE-ORIENTED ROBOTIC SYSTEMS

Web of Things architecture update

Physical Interaction and Multi-Aspect Representation for Information Intensive Environments

fautonomy for Unity 1 st Deep Learning AI plugin for Unity

Transcription:

Agents for Serious gaming: Challenges and Opportunities Frank Dignum Utrecht University

Contents Agents for games? Connecting agent technology and game technology Challenges Infrastructural stance Conceptual stance Design stance CIGA: middleware solution Conclusions 24 May 2012 2

Do characters need to be intelligent? 24 May 2012 3

Do we need agents for more serious games? 24 May 2012 4

Agent features (claimed) 1. Goal directed Agents find ways to reach a goal rather than execute a fixed procedure In case of failure of a plan they can replan 2. Reactive behavior Agents react to events in their environment (while keeping their goal in mind) 3. Social abilities Agents know how to communicate in a high and flexible way (ACL is based on speech act theory) 24 May 2012 5

GOAP vs. Agents 24 May 2012 6

GOAP vs. Agents (failing actions) fail 24 May 2012 7

Goal tree vs. rule based planning Goal trees work well to describe default possibilities Trees get really messy when incorporating unexpected events and/or failures Rules are more suited to cope with these situations Divide rules in normal operation rules (default plans) and exception handling rules Flexibility comes at the cost of extra specification of general exception handling knowledge (based on domain) 24 May 2012 8

Agents for Games? Assume that we want to use agents for creating intelligent characters in games. Can we use Agent Technology to implement those agents in the games? I.e. can we make use of all the tools, techniques and platforms that are developed to implement intelligent agents for the incorporation of agents in games? If so, what do we need to do to couple the agent and game technologies? Or do we have to start from scratch and develop everything again specially for the game environment? 24 May 2012 9

Game Engines and Agents Client side approach Physics Engine Agents Input module Game logic/loop Animation Engine Graphics Engine Sound Engine

Example: Pogamut 24 May 2012 11

Multi Agent Systems Agent Agent Agent Agent Agent Platform Communication Manager User Interface Environment Environment Environment Environment

Game Engines and Agents Server side approach Agentified Character Agentified Character Agentified Character Game Engine Physics Engine Animation Engine Graphics Engine Sound Engine 24 May 2012 13

Example (THOMAS, Aranda et.al.) 24 May 2012 14

Games plus Agents Input module GE Environment MAS Agent Physics Engine Agent Agent Platform Control? Game logic/loop Animation Engine Games and Agents Agent Agent Communication Manager User Interface Graphics Engine Sound Engine dignum@cs.uu.nl jwestra@cs.uu.nl GE, 23.01.08

Games plus Agents Agent Agent Agent Platform CIGA Ontological mapping Dynamic Event subscription Game logic/loop Physics Engine Animation Engine Agent Agent Communication Manager User Interface Communication Event queues Graphics Engine Sound Engine GE, 23.01.08

Intelligent Virtual Agent Design Issues IVA-design is distributed Physical-layer + Cognitive-layer Physical aspects vs. Cognitive aspects Cannot design these layers independently

Middleware Approach Bridge conceptual gap using a middleware Design problems not responsibility of GE or MAS Middleware to provide technical facilities: Translate data representations Perception/action/communication mechanisms Don t restrict designers in their IVA design, but offer technical solutions to help them realizing their design Performance determined by how the facilities are used Middleware itself is not part of the IVA design! CIGA Framework developed to follow this design approach

CIGA Framework Physical Interface: Connect to simulation environments E.g. CORE, (UT, CryEngine, Ogre, Delta3D, etc) Cognitive Interface: Connect to agent systems E.g. Jadex, 2APL, BT-based MAS, etc Connection Mechanism: Internal message-passing system Introduced for flexibility and portability E.g. TCP/IP, Java/C++ bridge Ontology Model: contract between GE and MAS E.g. Specify ontology using: Protégé, custom ontology editors

Connecting the Game engine Physical Interface integrated into game engine as external component included in the update loop Motivation: become less dependent on the (limited) features provided by a particular game engine. Offers: Monitoring entity creation Time synchronization Translation world state data to ontological sensory information Perceptual attention: full control (what and when/how often) Behavior realization: framework to implement actions

Connecting the MAS Cognitive Interface: integrated into MAS as eventbased component (no synchronized update) Motivation: Provide simple interface for easy integration of wide range of MASs. Offers: Notify MAS about possible entities to embody Agent s sense-act interface where data are instances of ontology concepts Access to ontology model from within the MAS

CIGA Platform + Tools Features Monitor agents Events, actions Subscriptions, logs Test actions Profile agents Inspect ontology model Run-time Platform GUI Middleware Configuration Ontology-editor import scripts Code Generation Tools

Aspects that make agents work in games 1. Ontology reason on the right abstraction level 2. Perception Get enough and not to much information 3. Action Perform physical actions and react adequately on failure 4. Communication Multi-modal communication 24 May 2012 23

Data representation: Ontology Problem: Different data concepts in GE and MAS World state vs. strategic abstraction level Solution: Translation-step during agent sensing on GEside Design issue: Suitable abstraction level (not too low, not too high) Conceptual Aspects Technical Aspects - interpretability - efficiency - communication-costs

Ontology Model Contract on concepts communicated between GE and MAS Designers specify level of abstraction for sensory information and actions based on requirements for specific domain

Ontology: Object Perception Model The Object Perception Model defines the ontology into which both the AT and the GE have to map. Example: <class name= Character > <property> </property> <property> </property> <property> </property> <property> </property> </class> <name>id</name> <type>number</type> <name>distance</name> <type>meters</type> <name>direction</name> <type>orientation</type> <name>tool</name> <type>tool</type> 24 May 2012 26

Ontology: Interaction model <Agent name= Door-opener > <general> <property> <name>holdsopeningtool</name> <type>tools</type> </property> <\general> <physical> <property> <name>height</name> <type>meters</type> </property> </physical> <sensor name= eyes > <property> <name>range</name> <type>meters</type> </property> </sensor> <capability name= Open door > <property> <name>target</name> <type>door</type> </property> </capability > Universiteit </Agent> Utrecht 24 May 2012 27

Ontology: Interaction model PRECONDITION OpenDoor : Poss(OpenDoor(Agent,Door)) Closed(Door) Distance(Agent,Door)<1 Holds(Agent,Axe) POSTCONDITION OpenDoor : Done(OpenDoor(Agent,Door)) Open(Door) Poss(Backdraft(Door)) 24 May 2012 28

Control over Perception Problem: Perceptual attention for agents Cannot attend to all information from the environment Filtering cannot be performed by GE or MAS alone Solution: Subscription-based filtering mechanism Agent controls sensing: what and when to sense Design issue: Balance flow of sensory information (not too much, not too little) Conceptual Aspects - goal-directed/ stimulus-driven Technical Aspects - performance MAS - performance GE - communication-costs

Perception framework

Implementation

Subscription rules Example: Poss(Perceive(Character,ID)) (Dist(Character,ID) <150 LineofSight(Character,ID) Direction(Character,ID,towards) 24 May 2012 32

Perception scenario

Control over Action Realization Problem: Different nature of actions in typical GE and MAS environments Modality + Duration Solution: Action mechanism for body control + feedback channel Dispatch, abort, feedback about status Define actions at functional level Design issue: Suitable abstraction-level (not too low, not too high) Conceptual Aspects Technical Aspects - control - individuality - efficiency - communication-costs

Communication Problem: Different communication in MAS and GE Method: communicative intent (direct) vs. verbal and nonverbal communicative behavior (indirect) Communication channel: reliable vs. unreliable Solution: Communication mechanism. Allow MAS-communication through simulation environment Design issue: Choose method: behavior or intent Conceptual Aspects Technical Aspects - interpretability - complexity - efficiency

Communication is multi-modal 24 May 2012 36

Multi-modal communication

Example rules in modules: PRECONDITION: Poss(Send(Propose(Action,Agent))) Dist(Agent)<5 POSTCONDITION: Done(Send(Propose(Action,Agent))) Dist(Agent )<5 Poss(Receive(Propose(Action,Agent))) Can be used to describe physical constraints on communication and side effects of communication 24 May 2012 38

Communicating agents

Designing games with agents: issues How intelligent can an agent behave (boundaries): Story line Game rules (including communication) Environment (UI and look and feel) Roles 24 May 2012 40

Design games using OperA OperA specifies the boundaries of the behavior of the roles in the game OperA indicates landmarks that should be reached that can be used to specify the learning goals Agents can fill in the roles in different ways: Scripted character BDI agent 24 May 2012 41

OperA example: storyline Save victim start Emergency call Create team Get to location Evaluate situation Extinguish fire Ambulance end Expert 24 May 2012 42

OperA example: Scene Roles Interaction Scene: save victim Leading_firefighter(1), door_opener(1), fire_extinguisher(1), ambulance(2), victim(3), Trigger H people, T victim perceive(h,t) Results r1 = T victim, safe(t) Interaction Patterns PATTERN(r1) = { DONE(T, at(h,t)) BEFORE DONE(B, secure_area), DONE(B, secure_area) BEFORE DeadlineH), DONE(M, stabilise(h) BEFORE Dead(H)) DONE(T, transport_to_ambulance(h)) } Norms PERMITTED(E, blow_obstacles) OBLIGED(M,stabilise(T) BEFORE Dead(T)) OBLIGED (B, extinguish_fire BEFORE transport(h)) 24 May 2012 43

OperA example: Roles in a game Objectives Fire_under_control, victims_save Role: leading firefighter Subobjectives Rights Norms {get_to_disaster_location, situation_assessment, plan_of_attack, extinguish_fire, rescue_victims} Command_team_members, order_ambulance, get_experts OBLIGED inform(headquarters,plan_of_attack) BEFORE NOW+10 IF DO safe(victim) or DO extinguish(fire) THEN PERMITTED damage(building) OBLIGED ensure_safety(team) OBLIGED safe(victims) BEFORE extinguish(fire) 24 May 2012 44

Conclusions Intelligence by design only Several stances needed to cover the connection between games and agents Need for a middleware between AT and GE CIGA is a principled approach that seems promising Infrastructure easy Conceptual connection is domain dependent Design using an OperA like methodology seems promising What should be done by the agent and what by the game engine? Programming agents? What should be intelligent? (pathplanning vs. conversations) What agent technology/architecture to use? Existing agent technology is not sufficient or very ad hoc 24 May 2012 45

Agent architectures Long Term Memory Doctrine Ruleset Generic PMFserv Agent PMF Module Scheduler Blackboard (Working Memory) If (CROWDSIZE / ALLYCOUNT > 3) { Chosen action Action.ATTACK = FAILS_DOCTRINE; Action.DISMISS = SATISFIES_DOCTRINE; } Goal Hierarchy Decision PMFs Calculated Utilities BDI Standards Hierarchy Emotion PMFs Calculated Emotions Preference Hierarchy Agent Memory CAN_ARREST HAS_GUN AMERICAN Memory Relationships Physical Props Perception PMFs Perceived Object List Need Reservoir Values Coping style Stress Thresholds Stress PMFs Stress Reservoir Decay Parameters Physiology Reservoir

QUESTIONS? 24 May 2012 50