Strategic Planning for Unreal Tournament© Bots Héctor Muñoz-Avila Todd Fisher Department of Computer Science and Engineering Lehigh University USA Héctor.

Slides:



Advertisements
Similar presentations
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona USA Modeling Social Cognition in a Unified Cognitive Architecture.
Advertisements

Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California USA
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona Institute for the Study of Learning and Expertise Palo Alto, California.
Modelling CGFs for tactical air-to-air combat training
In the name of God An Application of Planning An Application of PlanningJSHOP BY: M. Eftekhari and G. Yaghoobi.
OntoPlan: Knowledge Fusion Using Semantic Web Ontologies Héctor Muñoz-Avila Jeff Heflin.
Integrating Architecture Michael van Lent Institute for Creative Technology University of Southern California.
Constructing Complex NPC Behavior via Multi- Objective Neuroevolution Jacob Schrum – Risto Miikkulainen –
Machine Learning in Computer Games Learning in Computer Games By: Marc Ponsen.
Dana Nau University of Maryland 1 IMPACT Multi-Agent Planning Research.
Hierarchical Plan Representations for Encoding Strategic Game AI Hai Hoang Stephen Lee-Urban Héctor Muñoz-Avila Lehigh University
Automated Planning & Computer Games: Perspectives and Applications Hector Munoz-Avila.
Planning II GraphPlan and Russell and Norvig: ch.12 CMSC421 – Fall 2006 based on material from Jim Blythe, JC Latombe, Marie desJardins and Daphne Koller.
Psychological Aspects of Risk Management and Technology – G. Grote ETHZ, Fall09 Psychological Aspects of Risk Management and Technology – Overview.
The Sherlock Project Purdue University, Department of Computer Sciences Sponsored by Tellabs, Inc. Doug Clark - Group Leader Tobey Pasheilich Raj Talwar.
TEXAS A&M UNIVERSITY AND THE UNIVERSITY OF TEXAS AT AUSTIN Army Digitization Research Initiative Dr. Richard A. Volz (Computer Science) Dr. Tom Ioerger.
The Education of a Software Engineer Mehdi Jazayeri Presented by Matthias Hauswirth.
© Franz Kurfess Project Topics 1 Topics for Master’s Projects and Theses -- Winter Franz J. Kurfess Computer Science Department Cal Poly.
1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain.
Lecture 23: Software Architectures
Reinforcement Learning in Real-Time Strategy Games Nick Imrei Supervisors: Matthew Mitchell & Martin Dick.
PDDL: A Language with a Purpose? Lee McCluskey Department of Computing and Mathematical Sciences, The University of Huddersfield.
School of Computing and Mathematics, University of Huddersfield Knowledge Engineering: Issues for the Planning Community Lee McCluskey Department of Computing.
The Importance of Architecture for Achieving Human-level AI John Laird University of Michigan June 17, th Soar Workshop
6. & 7. Teams: Technical Specification / Schedule Project Title Team Member 1 Team Member 2 Team Member 3 Team Member 4 Department of Computer Science.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
1 Systems Analysis and Design in a Changing World, Fourth Edition.
Artificial Intelligence CIS 479/579 Bruce R. Maxim UM-Dearborn.
Case-Based Solution Diversity Alexandra Coman Héctor Muñoz-Avila Dept. of Computer Science & Engineering Lehigh University Sources: cbrwiki.fdi.ucm.es/
26 Sep 2003 Transparent Adaptive Resource Management for Distributed Systems Department of Electrical Engineering and Computer Science Vanderbilt University,
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
Reinforcement Learning and Markov Decision Processes: A Quick Introduction Hector Munoz-Avila Stephen Lee-Urban
Knowledge acquisition for adative game AI Marc Ponsen et al. Science of Computer programming vol. 67, pp , 2007 장수형.
DEVS Namespace for Interoperable DEVS/SOA
Introduction to Distributed Systems Slides for CSCI 3171 Lectures E. W. Grundke.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
RECAP CSE 348 AI Game Programming Héctor Muñoz-Avila.
1 Software Design Reference: Software Engineering, by Ian Sommerville, Ch. 12 & 13, 5 th edition and Ch. 10, 6 th edition.
Unit 8b Troubleshooting; Maintenance and Upgrades; Interaction with Vendors, Developers, and Users Component 8 Installation and Maintenance of Health IT.
Fundamentals of Information Systems, Third Edition2 Principles and Learning Objectives Artificial intelligence systems form a broad and diverse set of.
1 Software Design Overview Reference: Software Engineering, by Ian Sommerville, Ch. 12 & 13.
10/24/2015Rex Oleson II SOAR and Video Games By Rex Oleson II.
Systems and Interactivity Dr. Héctor Muñoz-Avila Assigned readings: Chapters 4 & 5 (Rules of Play Book)
Machine Learning in Computer Games Automated GenerationTactics for Strategy Games Original: Marc Ponsen Update: H. Munoz-Avila.
Class 5 Architecture-Based Self-Healing Systems David Garlan Carnegie Mellon University.
Software Instrumentation of Computer and Video Games T. Bullen and M. Katchabaw Department of Computer Science The University of Western Ontario N. Dyer-Witheford.
Hierarchical Plan Representations for Encoding Strategic Game AI Hai Hoang Stephen Lee-Urban Héctor Muñoz-Avila Lehigh University
CONCEPT OF MIS. Management “Management can be defined as a science of using resources rationally (utilization of resources in judicious manner using appropriate.
Systems and Interactivity Dr. Héctor Muñoz-Avila Assigned readings: Chapters 4 & 5 (Rules of Play Book)
Research on AI & Computer Games at Lehigh By: Héctor Muñoz-Avila And: Aaron Battalion Todd Fisher Hai Hoang Stephen Lee-Urban.
Problem Solving Behavior  Designer’s problem solving styles –Introvert Reflective, quiet, thinks and speaks, likes to have time alone to solve problems.
MROrder: Flexible Job Ordering Optimization for Online MapReduce Workloads School of Computer Engineering Nanyang Technological University 30 th Aug 2013.
1 Object Oriented Logic Programming as an Agent Building Infrastructure Oct 12, 2002 Copyright © 2002, Paul Tarau Paul Tarau University of North Texas.
Distributed Models for Decision Support Jose Cuena & Sascha Ossowski Pesented by: Gal Moshitch & Rica Gonen.
CSMARRT Group 10 Cameron Kinard Leaundre Zeno Megan Wiedmaier Heath Carley.
Specializing Project 06/07 HTN Presentation for MS1 By Glenn Wissing.
Automating Content Analysis of Video Games T. Bullen and M. Katchabaw Department of Computer Science The University of Western Ontario N. Dyer-Witheford.
(Classical) AI Planning. General-Purpose Planning: State & Goals Initial state: (on A Table) (on C A) (on B Table) (clear B) (clear C) Goals: (on C Table)
Hierarchical Task Network Planning Automated Planning: Theory and Practice, Chapter 11 소프트컴퓨팅 연구실
28th of July 2005Learning in Strategy Games1 COMPSCI777 – Computer Games Technology Learning in Strategy Games The University Of Auckland Thursday the.
Game AI Matthew Hsieh Meng Tran. Computer Games Many different genres  Action  Role Playing  Adventure  Strategy  Simulation  Sports  Racing Each.
DATLab Research Overview 1 Creating Design Machines for Machine Design Linda C. Schmidt Mechanical Engineering Department Institute for Systems Research.
Adaptive Reinforcement Learning Agents in RTS Games Eric Kok.
Learning Analytics isn’t new Ways in which we might build on the long history of adaptive learning systems within contemporary online learning design Professor.
Empowering the Knowledge Worker End-User Software Engineering in Knowledge Management Witold Staniszkis The 17th International.
VBattle: A new Framework to Simulate Medium-Scale Battles in Individual-per- Individual Basis L. Peña, J. M. Peña y S. Ossowski CIG – 2009 (Milan)
Automated Planning & Computer Games: Perspectives and Applications
SNS College of Engineering Department of Computer Science and Engineering AI Planning Presented By S.Yamuna AP/CSE 5/23/2018 AI.
Presentation transcript:

Strategic Planning for Unreal Tournament© Bots Héctor Muñoz-Avila Todd Fisher Department of Computer Science and Engineering Lehigh University USA Héctor Muñoz-Avila Todd Fisher Department of Computer Science and Engineering Lehigh University USA

Overview Motivation Unreal Tournament© (UT) HTN Planning  Why HTN Planning Related Work HTN Encodings of UT Bot Strategies Built-in predicates and Java Bots Final Remarks Motivation Unreal Tournament© (UT) HTN Planning  Why HTN Planning Related Work HTN Encodings of UT Bot Strategies Built-in predicates and Java Bots Final Remarks

Some research issues on reactive environments… Plan generation versus plan execution Case-Based Planning  Fast retrieval of adequate plans  Real-time plan adaptation Learning  Learning retrieval criteria  Learning domain knowledge  … Some research issues on reactive environments… Plan generation versus plan execution Case-Based Planning  Fast retrieval of adequate plans  Real-time plan adaptation Learning  Learning retrieval criteria  Learning domain knowledge  … Motivation # 1: Test Environment for Reactive Planning Lack of adequate testing environment

Motivation # 2: Declarative Encoding of Gaming Strategies Many games provide scripting languages (e.g., Lua scripting language) Games can be useful to teach programming concepts (e.g., IBM’s robocode) Is it possible to create a declarative language for encoding gaming strategies?  RBSs are an alternative (but can be messy)  How about for controlling teams of Bots? Avatar controlled by a computer program

Unreal Tournament© Online FPS developed by Epic Games Inc. Various gameplay modes including team deathmatch and capture the flag Provides a client-server architecture for controlling bots High-level script language: UnrealScript (Sweeney, 2004)

Hierarchical Task Network (HTN) Planning Principle: complex tasks are decomposed into simpler tasks. The goal is to decompose compound tasks into primitive tasks, which define actions changing the world. Fly(Newark, BWI) Travel(BWI, NRL) Travel(Lehigh,Newark Airport) alternative methods Travel from Lehigh to NRL Travel by car Enough money for gasoline Roads are passableSeats available Travel by plane Enough money for air fare available Drive(Lehigh, Newark Park) Bus(Newark Park,airport) Taxi(BWI, NRL) Travel(Lehigh,NRL)

Why HTN Planning? HTN planning is provable more expressive than STRIPS planning (Erol et al, 1994) Hierarchical planning is natural in many domains Tactical Strategic Theater CINC JCS / NCA Strategic National JTF e.g., military planning Operational Can be very fast!

Related Work Hierarchical planning can be useful in games (Wallace, 2003) Bridge Baron game uses HTN ideas (Smith et al., 1998). Games have the potential to become testbed for different AI algorithms (Laird & van Lent, 1999). Soar Bots for UT using the Soar Architecture (Laird & Duchim, 2000) Tielt: testbed for investigating and evaluating learning techniques (Aha & Molineaux, 2004) Hierarchical planning can be useful in games (Wallace, 2003) Bridge Baron game uses HTN ideas (Smith et al., 1998). Games have the potential to become testbed for different AI algorithms (Laird & van Lent, 1999). Soar Bots for UT using the Soar Architecture (Laird & Duchim, 2000) Tielt: testbed for investigating and evaluating learning techniques (Aha & Molineaux, 2004)

Client-Server Architecture for UT Bots The UT server provides sensory information about events in the UT world and controls all the gameplay events. Event-driven: The client program uses this information to decide commands controlling the behavior of a Bot and passes them to the server. Two types of messages :  Asynchronous: special events  Synchronous: regular intervals Variants: Enhanced server (UC/ISI), Java Bots (CMU), Soar Bots (U. of Michigan). The UT server provides sensory information about events in the UT world and controls all the gameplay events. Event-driven: The client program uses this information to decide commands controlling the behavior of a Bot and passes them to the server. Two types of messages :  Asynchronous: special events  Synchronous: regular intervals Variants: Enhanced server (UC/ISI), Java Bots (CMU), Soar Bots (U. of Michigan).

HTN for Controlling Team of Bots Idea: Use methods to encode gaming strategies Use operators to encode gaming actions Idea: Use methods to encode gaming strategies Use operators to encode gaming actions UT task: Domination Strategy: secure most locations UT action: move Bot1 to location B A B C

Technical Difficulties and Solutions UT task: Domination Strategy: secure most locations UT action: move Bot1 to location B 1.Declarative language for expressing conditions 2. Dealing with contingencies while Bots are executing actions Solution to 1: use built- in predicates to represent conditions Solution to 2: use Java Bots to represent actions (event-driven)

Example A B C HTN Method Head: Domination Preconditions: LocsGeographTogether(P,RP) Divide3Groups(T1,T2,T3) Subtasks: CoverLocations(T1,P) PatrolLocations (T2,P) HarrassLocations(T3,RP) P RP The HTNs are represented in XML

Strategy Change vs. Strategy Modification We are exploring 2 alternatives:  Select alternative strategy when similarity of current strategy falls below a certain threshold  Modify strategy using plan adaptation techniques

On-going/Short-Term Future Directions Selection of alternative strategy modification versus strategy modification Support the Tielt testbed:  Use HTNs and process models (TMKL) to encode game model  Learn conditions for retrieving strategies Selection of alternative strategy modification versus strategy modification Support the Tielt testbed:  Use HTNs and process models (TMKL) to encode game model  Learn conditions for retrieving strategies

Final Remarks Our approach can be used to accomplish two seemingly contradictory goals:  The Bot needs to react quickly in a highly dynamic environment.  The Bot must contribute to the grand strategy to win the game.  A grand strategy is laid out in the HTNs and event-driven programming allows the Bots to react in highly dynamic environments while contributing to the grand task. Our approach can be used to accomplish two seemingly contradictory goals:  The Bot needs to react quickly in a highly dynamic environment.  The Bot must contribute to the grand strategy to win the game.  A grand strategy is laid out in the HTNs and event-driven programming allows the Bots to react in highly dynamic environments while contributing to the grand task.