SlideShare a Scribd company logo
1 of 113
Download to read offline
The Next Generation of
     Game Planners

The "Everything You (N)Ever Wanted to Know" Tour




                      Luke Dicken
      Strathclyde AI and Games Research Group
               University of Strathclyde
Controversy!




2
Controversy!


    • “...STRIPS-style goal oriented action planning has turned out
     to be a dead end.”




2
Controversy!


    • “...STRIPS-style goal oriented action planning has turned out
     to be a dead end.”
    • “Academia has long discarded such planners in favor of
     hierarchical ones...”




2
Controversy!


    • “...STRIPS-style goal oriented action planning has turned out
     to be a dead end.”
    • “Academia has long discarded such planners in favor of
     hierarchical ones...”
                                                  Alex, “This Year in Game AI”
                                                            (Jan ’11)




2
Controversy!


    • “...STRIPS-style goal oriented action planning has turned out
     to be a dead end.”
    • “Academia has long discarded such planners in favor of
     hierarchical ones...”
                                                  Alex, “This Year in Game AI”
                                                            (Jan ’11)

    • This session will drill into what Automated Planning is and
     why (some) parts of it are still relevant for Game AI


2
What is Automated
        Planning?




3
What is Automated
                        Planning?


    • “Strong” AI




3
What is Automated
                        Planning?


    • “Strong” AI
    • Finds action sequences - Plan




3
What is Automated
                        Planning?


    • “Strong” AI
    • Finds action sequences - Plan
    • Over 40 years of research




3
What is Automated
                        Planning?


    • “Strong” AI
    • Finds action sequences - Plan
    • Over 40 years of research
    • Planning Domain Description Language (PDDL) - 1998




3
How Does it Work?




4
How Does it Work?




    1. Description of actions possible




4
How Does it Work?




    1. Description of actions possible
    2. Complete description of initial state of the world




4
How Does it Work?




    1. Description of actions possible
    2. Complete description of initial state of the world
    3. Definition of goals that need to be achieved




4
Planning

       S0




5
Planning

            S0


    S1      S2      S3




5
Planning

            S0


    S1




5
Planning

                 S0


         S1



    S4   S5      S6



5
Planning

            S0


    S1



            S6



5
Planning

                 S0


    S1



                 S6


    And so on, until goal reached.
5
GOAP




6
GOAP




6
GOAP




6
GOAP




6
GOAP




6
GOAP




6
Issues with GOAP




7
Issues with GOAP


    • Issue 1 : Lack of directorial control.




7
Issues with GOAP


    • Issue 1 : Lack of directorial control.
       ‣ When NPCs get smart enough to realise standing next
        to exploding barrels is hazardous, cinematic experience is
        diminished.




7
Issues with GOAP


    • Issue 1 : Lack of directorial control.
       ‣ When NPCs get smart enough to realise standing next
        to exploding barrels is hazardous, cinematic experience is
        diminished.
    • Issue 2 : Computational Complexity




7
Issues with GOAP


    • Issue 1 : Lack of directorial control.
       ‣ When NPCs get smart enough to realise standing next
        to exploding barrels is hazardous, cinematic experience is
        diminished.
    • Issue 2 : Computational Complexity
       ‣ GOAP is derived directly from STRIPS. NP-Hard search
        problems in the general case.

7
Issues with GOAP




8
Issues with GOAP



    • Issue 1 - either a “strong” AI approach is suitable to your
     design or it isn’t. Places it often will be include sandbox
     environments and companion AI.




8
Issues with GOAP



    • Issue 1 - either a “strong” AI approach is suitable to your
     design or it isn’t. Places it often will be include sandbox
     environments and companion AI.
    • Issue 2 is what will be the focus of the rest of the session -
     how have planning systems improved since STRIPS/GOAP?



8
Complexity Reduction




9
Complexity Reduction




    • If you can reduce complexity of the problem, it
     becomes easier to solve...




9
Complexity Reduction




    • If you can reduce complexity of the problem, it
     becomes easier to solve...
    • Either less depth to the problem or less breadth.



9
Landmark Analysis




10
Landmark Analysis
          Initial State




10
Landmark Analysis
          Initial State




10
Landmark Analysis
          Initial State




               Goal Found
10
Landmark Analysis
          Initial State




               Goal Found
10
Landmark Analysis
          Initial State




         Landmark 1




               Goal Found
10
Landmark Analysis
          Initial State




         Landmark 1




               Goal Found
10
Landmark Analysis
          Initial State




         Landmark 1


             Landmark 2


               Goal Found
10
Landmark Analysis
          Initial State




         Landmark 1


             Landmark 2


               Goal Found
10
Landmark Analysis
          Initial State




         Landmark 1


             Landmark 2


               Goal Found
10
Abstraction

              A



     B       C         D



         E        F



11
Abstraction

              A



     B       C         D



         E        F



11
Abstraction




11
Horizon Management

             A



     B       C       D



         E       F



12
Horizon Management




12
Horizon Management




         E



12
Horizon Management




     B



         E



12
Horizon Management




     B       C



         E



12
Horizon Management




     B       C       D



         E



12
Horizon Management




     B       C       D



         E       F



12
Heuristics




13
Heuristics



     • Since GOAP came out, major advances in heuristics




13
Heuristics



     • Since GOAP came out, major advances in heuristics
     • Most significant :




13
Heuristics



     • Since GOAP came out, major advances in heuristics
     • Most significant :
        ‣ Relaxed Plan Graph




13
Heuristics



     • Since GOAP came out, major advances in heuristics
     • Most significant :
        ‣ Relaxed Plan Graph
        ‣ Landmark Heuristic




13
Hierarchical Task Network




14
Hierarchical Task Network
              Kill Enemy




14
Hierarchical Task Network
                Kill Enemy

     Approach                Shoot
                Face Enemy
      Enemy                  Enemy




14
Hierarchical Task Network
                      Kill Enemy

         Approach                  Shoot
                     Face Enemy
          Enemy                    Enemy


 Leave Cover   Navigate




14
Hierarchical Task Network
                      Kill Enemy

         Approach                     Shoot
                     Face Enemy
          Enemy                       Enemy


 Leave Cover   Navigate            ...and so on




14
Hierarchical Task Network
                          Kill Enemy

         Approach                          Shoot
                         Face Enemy
          Enemy                            Enemy


 Leave Cover       Navigate             ...and so on


               Until executable actions reached.

14
Optimality




15
Optimality


     • Optimality is a big issue for academic vs industry




15
Optimality


     • Optimality is a big issue for academic vs industry
     • Academics




15
Optimality


     • Optimality is a big issue for academic vs industry
     • Academics
        ‣ Aim is optimal - shortest, most efficient, least cost




15
Optimality


     • Optimality is a big issue for academic vs industry
     • Academics
        ‣ Aim is optimal - shortest, most efficient, least cost
     • Industry




15
Optimality


     • Optimality is a big issue for academic vs industry
     • Academics
        ‣ Aim is optimal - shortest, most efficient, least cost
     • Industry
        ‣ Aim is entertaining - believable, beatable, pseudo-smart




15
Optimality


     • Optimality is a big issue for academic vs industry
     • Academics
        ‣ Aim is optimal - shortest, most efficient, least cost
     • Industry
        ‣ Aim is entertaining - believable, beatable, pseudo-smart
     • How can we bridge this disconnect?

15
Metrics




16
Metrics




     • Plan Metrics allow you to define optimal on your
      terms.




16
Metrics




     • Plan Metrics allow you to define optimal on your
      terms.
     • Not a total solution, adds extra compute time.



16
17
But what happens after planning?




17
Plan Execution




18
Plan Execution



     • Planning is not the same as doing something




18
Plan Execution



     • Planning is not the same as doing something
     • Big question is: “what happens next?”




18
Plan Execution



     • Planning is not the same as doing something
     • Big question is: “what happens next?”
       ‣ Especially considering that the traditional assumptions of
         planning make doing things with plans “challenging”!




18
Execute Blind




19
Execute Blind



                Execute
     Plan                    Plan
     Start                   End




19
Execute Blind




19
Execute Blind




19
Execute Blind




19
Execute/Replan




20
Execute/Replan



             Execute
     Plan
     Start




20
Execute/Replan


                           ? ??
                       ?
             Execute
     Plan
     Start




20
Execute/Replan


                           ? ??
                       ?
             Execute
     Plan
     Start



                           Replan

20
Execute/Replan


                           ? ??
                       ?
             Execute                Execute
     Plan
     Start



                           Replan

20
Execute/Replan


                           ? ??
                       ?
             Execute                Execute
     Plan                                      Goal
     Start                                    Reached



                           Replan

20
Execution Monitoring




21
Execution Monitoring




21
Integrated Influence




22
Integrated Influence




22
Integrated Influence




22
Integrated Influence




22
Integrated Influence




22
Integrated Influence




22
Integrated Influence




22
Integrated Influence




22
Summary




23
Summary


     • GOAP is not the extent of planning




23
Summary


     • GOAP is not the extent of planning
     • We’ve come a long way in the 40 years since
      STRIPS was invented.




23
Summary


     • GOAP is not the extent of planning
     • We’ve come a long way in the 40 years since
      STRIPS was invented.
     • Planning is still mostly focused on the “big”
      problems.



23
Summary


     • GOAP is not the extent of planning
     • We’ve come a long way in the 40 years since
      STRIPS was invented.
     • Planning is still mostly focused on the “big”
      problems.
     • There is work in planning of relevance.

23
Contact




     • Email - luke@cis.strath.ac.uk
     • Website - http://saig.cis.strath.ac.uk
     • Twitter - @LukeD



24
References
• Landmarks
 ‣ “On the Extraction, Ordering and Usage of Landmarks in Planning” Porteous et al, ECP ’01
• Abstraction
 ‣ “Applying Clustering Techniques to Reduce Complexity in Automated Planning Domains” Dicken &
     Levine, IDEAL ’10
• Relaxed Plan Graph
 ‣ “The FF Planning System: Fast plan Generation Through Heuristic Search” Hoffman, JAIR Vol. 14
• Landmark Heuristic
 ‣ “The LAMA Planner Using Landmark Counting in Heuristic Search” Richter & Westphal, IPC ’08
• HTNs
 ‣ “SHOP2 : An HTN Planning System” Nau et al, JAIR Vol. 20
• Execute/Replan
 ‣ “FF-Replan: A baseline for probabilistic planning” Yoon et al, ICAPS ’07
• Execution Monitoring
 ‣ “T-REX: A Deliberative System for AUV Control” McGann et al, PPERWS ’07

25

More Related Content

Viewers also liked

Lecture 5 - Procedural Content Generation
Lecture 5 - Procedural Content GenerationLecture 5 - Procedural Content Generation
Lecture 5 - Procedural Content GenerationLuke Dicken
 
Killzone Shadow Fall Demo Postmortem
Killzone Shadow Fall Demo PostmortemKillzone Shadow Fall Demo Postmortem
Killzone Shadow Fall Demo PostmortemGuerrilla
 
Taking Killzone Shadow Fall Image Quality Into The Next Generation
Taking Killzone Shadow Fall Image Quality Into The Next GenerationTaking Killzone Shadow Fall Image Quality Into The Next Generation
Taking Killzone Shadow Fall Image Quality Into The Next GenerationGuerrilla
 
The Next-Gen Dynamic Sound System of Killzone Shadow Fall
The Next-Gen Dynamic Sound System of Killzone Shadow FallThe Next-Gen Dynamic Sound System of Killzone Shadow Fall
The Next-Gen Dynamic Sound System of Killzone Shadow FallGuerrilla
 
Eight Rules for Making Your First Great Game
Eight Rules for Making Your First Great GameEight Rules for Making Your First Great Game
Eight Rules for Making Your First Great GameNick Pruehs
 
Killzone Shadow Fall: Creating Art Tools For A New Generation Of Games
Killzone Shadow Fall: Creating Art Tools For A New Generation Of GamesKillzone Shadow Fall: Creating Art Tools For A New Generation Of Games
Killzone Shadow Fall: Creating Art Tools For A New Generation Of GamesGuerrilla
 
Lighting of Killzone: Shadow Fall
Lighting of Killzone: Shadow FallLighting of Killzone: Shadow Fall
Lighting of Killzone: Shadow FallGuerrilla
 
Out of Sight, Out of Mind: Improving Visualization of AI Info
Out of Sight, Out of Mind: Improving Visualization of AI InfoOut of Sight, Out of Mind: Improving Visualization of AI Info
Out of Sight, Out of Mind: Improving Visualization of AI InfoGuerrilla
 
The Real-time Volumetric Cloudscapes of Horizon Zero Dawn
The Real-time Volumetric Cloudscapes of Horizon Zero DawnThe Real-time Volumetric Cloudscapes of Horizon Zero Dawn
The Real-time Volumetric Cloudscapes of Horizon Zero DawnGuerrilla
 
The Production and Visual FX of Killzone Shadow Fall
The Production and Visual FX of Killzone Shadow FallThe Production and Visual FX of Killzone Shadow Fall
The Production and Visual FX of Killzone Shadow FallGuerrilla
 
Moving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based RenderingMoving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based RenderingElectronic Arts / DICE
 
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
4K Checkerboard in Battlefield 1 and Mass Effect AndromedaElectronic Arts / DICE
 
Player Traversal Mechanics in the Vast World of Horizon Zero Dawn
Player Traversal Mechanics in the Vast World of Horizon Zero DawnPlayer Traversal Mechanics in the Vast World of Horizon Zero Dawn
Player Traversal Mechanics in the Vast World of Horizon Zero DawnGuerrilla
 

Viewers also liked (13)

Lecture 5 - Procedural Content Generation
Lecture 5 - Procedural Content GenerationLecture 5 - Procedural Content Generation
Lecture 5 - Procedural Content Generation
 
Killzone Shadow Fall Demo Postmortem
Killzone Shadow Fall Demo PostmortemKillzone Shadow Fall Demo Postmortem
Killzone Shadow Fall Demo Postmortem
 
Taking Killzone Shadow Fall Image Quality Into The Next Generation
Taking Killzone Shadow Fall Image Quality Into The Next GenerationTaking Killzone Shadow Fall Image Quality Into The Next Generation
Taking Killzone Shadow Fall Image Quality Into The Next Generation
 
The Next-Gen Dynamic Sound System of Killzone Shadow Fall
The Next-Gen Dynamic Sound System of Killzone Shadow FallThe Next-Gen Dynamic Sound System of Killzone Shadow Fall
The Next-Gen Dynamic Sound System of Killzone Shadow Fall
 
Eight Rules for Making Your First Great Game
Eight Rules for Making Your First Great GameEight Rules for Making Your First Great Game
Eight Rules for Making Your First Great Game
 
Killzone Shadow Fall: Creating Art Tools For A New Generation Of Games
Killzone Shadow Fall: Creating Art Tools For A New Generation Of GamesKillzone Shadow Fall: Creating Art Tools For A New Generation Of Games
Killzone Shadow Fall: Creating Art Tools For A New Generation Of Games
 
Lighting of Killzone: Shadow Fall
Lighting of Killzone: Shadow FallLighting of Killzone: Shadow Fall
Lighting of Killzone: Shadow Fall
 
Out of Sight, Out of Mind: Improving Visualization of AI Info
Out of Sight, Out of Mind: Improving Visualization of AI InfoOut of Sight, Out of Mind: Improving Visualization of AI Info
Out of Sight, Out of Mind: Improving Visualization of AI Info
 
The Real-time Volumetric Cloudscapes of Horizon Zero Dawn
The Real-time Volumetric Cloudscapes of Horizon Zero DawnThe Real-time Volumetric Cloudscapes of Horizon Zero Dawn
The Real-time Volumetric Cloudscapes of Horizon Zero Dawn
 
The Production and Visual FX of Killzone Shadow Fall
The Production and Visual FX of Killzone Shadow FallThe Production and Visual FX of Killzone Shadow Fall
The Production and Visual FX of Killzone Shadow Fall
 
Moving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based RenderingMoving Frostbite to Physically Based Rendering
Moving Frostbite to Physically Based Rendering
 
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
4K Checkerboard in Battlefield 1 and Mass Effect Andromeda
 
Player Traversal Mechanics in the Vast World of Horizon Zero Dawn
Player Traversal Mechanics in the Vast World of Horizon Zero DawnPlayer Traversal Mechanics in the Vast World of Horizon Zero Dawn
Player Traversal Mechanics in the Vast World of Horizon Zero Dawn
 

Similar to The Next Generation of Game Planners

Integrated Influence - The Six Million Dollar Man of AI
Integrated Influence - The Six Million Dollar Man of AIIntegrated Influence - The Six Million Dollar Man of AI
Integrated Influence - The Six Million Dollar Man of AILuke Dicken
 
Agile Executive Forum: Agile Development Practices at Sabre
Agile Executive  Forum: Agile Development Practices at SabreAgile Executive  Forum: Agile Development Practices at Sabre
Agile Executive Forum: Agile Development Practices at SabreOrange and Bronze Software Labs
 
Lviv PMDay 2016 S Дмитро Маленко: A Brief History of Software Project Management
Lviv PMDay 2016 S Дмитро Маленко: A Brief History of Software Project ManagementLviv PMDay 2016 S Дмитро Маленко: A Brief History of Software Project Management
Lviv PMDay 2016 S Дмитро Маленко: A Brief History of Software Project ManagementLviv Startup Club
 
General Game Playing
General Game PlayingGeneral Game Playing
General Game PlayingLuke Dicken
 
Extreme Programming
Extreme ProgrammingExtreme Programming
Extreme ProgrammingKnoldus Inc.
 
Closing the feedback loop with a little help from your friends
Closing the feedback loop with a little help from your friendsClosing the feedback loop with a little help from your friends
Closing the feedback loop with a little help from your friendsJackson Fox
 
Science of Social Media Building Organizational Capacity Keynote
Science of Social Media Building Organizational Capacity KeynoteScience of Social Media Building Organizational Capacity Keynote
Science of Social Media Building Organizational Capacity KeynoteDevon Smith
 
Influence Landscapes - From Spatial to Conceptual Representations
Influence Landscapes - From Spatial to Conceptual RepresentationsInfluence Landscapes - From Spatial to Conceptual Representations
Influence Landscapes - From Spatial to Conceptual RepresentationsLuke Dicken
 
What I Done on my Holidays
What I Done on my HolidaysWhat I Done on my Holidays
What I Done on my HolidaysLuke Dicken
 
DIGIT Expo 2019
DIGIT Expo 2019DIGIT Expo 2019
DIGIT Expo 2019Ray Bugg
 
DIGIT Expo 2019
DIGIT Expo 2019DIGIT Expo 2019
DIGIT Expo 2019Ray Bugg
 
Continuous Infrastructure First
Continuous Infrastructure FirstContinuous Infrastructure First
Continuous Infrastructure FirstKris Buytaert
 
Eisenberg Flow for AgileDC
Eisenberg Flow for AgileDCEisenberg Flow for AgileDC
Eisenberg Flow for AgileDCRobert Eisenberg
 
Agile Estimation And Planning Part I
Agile Estimation And Planning Part IAgile Estimation And Planning Part I
Agile Estimation And Planning Part IKevin Zamora
 
Discovering Scrum in Lisbon, Portugal
Discovering Scrum in Lisbon, PortugalDiscovering Scrum in Lisbon, Portugal
Discovering Scrum in Lisbon, PortugalPeter Stevens
 
Software development is hard
Software development is hardSoftware development is hard
Software development is hardEd Wong
 
Overcome the 6 Antipatterns of Agile Adoption
Overcome the 6 Antipatterns of Agile AdoptionOvercome the 6 Antipatterns of Agile Adoption
Overcome the 6 Antipatterns of Agile AdoptionAgile Velocity
 
Intro to Agile: Scrum vs. Kanban
Intro to Agile: Scrum vs. KanbanIntro to Agile: Scrum vs. Kanban
Intro to Agile: Scrum vs. KanbanCraig Jones
 
The Lean Company @ Moonpig.com
The Lean Company @ Moonpig.comThe Lean Company @ Moonpig.com
The Lean Company @ Moonpig.comMai Quay
 

Similar to The Next Generation of Game Planners (20)

Integrated Influence - The Six Million Dollar Man of AI
Integrated Influence - The Six Million Dollar Man of AIIntegrated Influence - The Six Million Dollar Man of AI
Integrated Influence - The Six Million Dollar Man of AI
 
Agile Executive Forum: Agile Development Practices at Sabre
Agile Executive  Forum: Agile Development Practices at SabreAgile Executive  Forum: Agile Development Practices at Sabre
Agile Executive Forum: Agile Development Practices at Sabre
 
Lviv PMDay 2016 S Дмитро Маленко: A Brief History of Software Project Management
Lviv PMDay 2016 S Дмитро Маленко: A Brief History of Software Project ManagementLviv PMDay 2016 S Дмитро Маленко: A Brief History of Software Project Management
Lviv PMDay 2016 S Дмитро Маленко: A Brief History of Software Project Management
 
General Game Playing
General Game PlayingGeneral Game Playing
General Game Playing
 
Extreme Programming
Extreme ProgrammingExtreme Programming
Extreme Programming
 
Closing the feedback loop with a little help from your friends
Closing the feedback loop with a little help from your friendsClosing the feedback loop with a little help from your friends
Closing the feedback loop with a little help from your friends
 
Science of Social Media Building Organizational Capacity Keynote
Science of Social Media Building Organizational Capacity KeynoteScience of Social Media Building Organizational Capacity Keynote
Science of Social Media Building Organizational Capacity Keynote
 
Influence Landscapes - From Spatial to Conceptual Representations
Influence Landscapes - From Spatial to Conceptual RepresentationsInfluence Landscapes - From Spatial to Conceptual Representations
Influence Landscapes - From Spatial to Conceptual Representations
 
devops is a reorg
devops is a reorgdevops is a reorg
devops is a reorg
 
What I Done on my Holidays
What I Done on my HolidaysWhat I Done on my Holidays
What I Done on my Holidays
 
DIGIT Expo 2019
DIGIT Expo 2019DIGIT Expo 2019
DIGIT Expo 2019
 
DIGIT Expo 2019
DIGIT Expo 2019DIGIT Expo 2019
DIGIT Expo 2019
 
Continuous Infrastructure First
Continuous Infrastructure FirstContinuous Infrastructure First
Continuous Infrastructure First
 
Eisenberg Flow for AgileDC
Eisenberg Flow for AgileDCEisenberg Flow for AgileDC
Eisenberg Flow for AgileDC
 
Agile Estimation And Planning Part I
Agile Estimation And Planning Part IAgile Estimation And Planning Part I
Agile Estimation And Planning Part I
 
Discovering Scrum in Lisbon, Portugal
Discovering Scrum in Lisbon, PortugalDiscovering Scrum in Lisbon, Portugal
Discovering Scrum in Lisbon, Portugal
 
Software development is hard
Software development is hardSoftware development is hard
Software development is hard
 
Overcome the 6 Antipatterns of Agile Adoption
Overcome the 6 Antipatterns of Agile AdoptionOvercome the 6 Antipatterns of Agile Adoption
Overcome the 6 Antipatterns of Agile Adoption
 
Intro to Agile: Scrum vs. Kanban
Intro to Agile: Scrum vs. KanbanIntro to Agile: Scrum vs. Kanban
Intro to Agile: Scrum vs. Kanban
 
The Lean Company @ Moonpig.com
The Lean Company @ Moonpig.comThe Lean Company @ Moonpig.com
The Lean Company @ Moonpig.com
 

More from Luke Dicken

You're Not Special, Neither am I
You're Not Special, Neither am IYou're Not Special, Neither am I
You're Not Special, Neither am ILuke Dicken
 
Procedural Processes - Lessons Learnt from Automated Content Generation in "E...
Procedural Processes - Lessons Learnt from Automated Content Generation in "E...Procedural Processes - Lessons Learnt from Automated Content Generation in "E...
Procedural Processes - Lessons Learnt from Automated Content Generation in "E...Luke Dicken
 
Game AI For the Masses
Game AI For the MassesGame AI For the Masses
Game AI For the MassesLuke Dicken
 
Game AI 101 - NPCs and Agents and Algorithms... Oh My!
Game AI 101 - NPCs and Agents and Algorithms... Oh My!Game AI 101 - NPCs and Agents and Algorithms... Oh My!
Game AI 101 - NPCs and Agents and Algorithms... Oh My!Luke Dicken
 
Game Development 1 - What is a Game?
Game Development 1 - What is a Game?Game Development 1 - What is a Game?
Game Development 1 - What is a Game?Luke Dicken
 
The International Game Developers Association
The International Game Developers AssociationThe International Game Developers Association
The International Game Developers AssociationLuke Dicken
 
Lecture 7 - Experience Management
Lecture 7 - Experience ManagementLecture 7 - Experience Management
Lecture 7 - Experience ManagementLuke Dicken
 
Lecture 6 - Procedural Content and Player Models
Lecture 6 - Procedural Content and Player ModelsLecture 6 - Procedural Content and Player Models
Lecture 6 - Procedural Content and Player ModelsLuke Dicken
 
Lecture 3 - Decision Making
Lecture 3 - Decision MakingLecture 3 - Decision Making
Lecture 3 - Decision MakingLuke Dicken
 
Lecture 2 - Probability
Lecture 2 - ProbabilityLecture 2 - Probability
Lecture 2 - ProbabilityLuke Dicken
 
Lecture 1 - Game Theory
Lecture 1 - Game TheoryLecture 1 - Game Theory
Lecture 1 - Game TheoryLuke Dicken
 
Lecture 4 - Opponent Modelling
Lecture 4 - Opponent ModellingLecture 4 - Opponent Modelling
Lecture 4 - Opponent ModellingLuke Dicken
 
The Strathclyde Poker Research Environment
The Strathclyde Poker Research EnvironmentThe Strathclyde Poker Research Environment
The Strathclyde Poker Research EnvironmentLuke Dicken
 
SAIG Overview March 2011
SAIG Overview March 2011SAIG Overview March 2011
SAIG Overview March 2011Luke Dicken
 
The Ludic Fallacy Applied to Automated Planning
The Ludic Fallacy Applied to Automated PlanningThe Ludic Fallacy Applied to Automated Planning
The Ludic Fallacy Applied to Automated PlanningLuke Dicken
 
Artificial Intelligence in Computer and Video Games
Artificial Intelligence in Computer and Video GamesArtificial Intelligence in Computer and Video Games
Artificial Intelligence in Computer and Video GamesLuke Dicken
 
Knowing When to Hold 'Em, When to Fold 'Em and When to Blow 'Em Up
Knowing When to Hold 'Em, When to Fold 'Em and When to Blow 'Em UpKnowing When to Hold 'Em, When to Fold 'Em and When to Blow 'Em Up
Knowing When to Hold 'Em, When to Fold 'Em and When to Blow 'Em UpLuke Dicken
 
Robust Agent Execution
Robust Agent ExecutionRobust Agent Execution
Robust Agent ExecutionLuke Dicken
 

More from Luke Dicken (18)

You're Not Special, Neither am I
You're Not Special, Neither am IYou're Not Special, Neither am I
You're Not Special, Neither am I
 
Procedural Processes - Lessons Learnt from Automated Content Generation in "E...
Procedural Processes - Lessons Learnt from Automated Content Generation in "E...Procedural Processes - Lessons Learnt from Automated Content Generation in "E...
Procedural Processes - Lessons Learnt from Automated Content Generation in "E...
 
Game AI For the Masses
Game AI For the MassesGame AI For the Masses
Game AI For the Masses
 
Game AI 101 - NPCs and Agents and Algorithms... Oh My!
Game AI 101 - NPCs and Agents and Algorithms... Oh My!Game AI 101 - NPCs and Agents and Algorithms... Oh My!
Game AI 101 - NPCs and Agents and Algorithms... Oh My!
 
Game Development 1 - What is a Game?
Game Development 1 - What is a Game?Game Development 1 - What is a Game?
Game Development 1 - What is a Game?
 
The International Game Developers Association
The International Game Developers AssociationThe International Game Developers Association
The International Game Developers Association
 
Lecture 7 - Experience Management
Lecture 7 - Experience ManagementLecture 7 - Experience Management
Lecture 7 - Experience Management
 
Lecture 6 - Procedural Content and Player Models
Lecture 6 - Procedural Content and Player ModelsLecture 6 - Procedural Content and Player Models
Lecture 6 - Procedural Content and Player Models
 
Lecture 3 - Decision Making
Lecture 3 - Decision MakingLecture 3 - Decision Making
Lecture 3 - Decision Making
 
Lecture 2 - Probability
Lecture 2 - ProbabilityLecture 2 - Probability
Lecture 2 - Probability
 
Lecture 1 - Game Theory
Lecture 1 - Game TheoryLecture 1 - Game Theory
Lecture 1 - Game Theory
 
Lecture 4 - Opponent Modelling
Lecture 4 - Opponent ModellingLecture 4 - Opponent Modelling
Lecture 4 - Opponent Modelling
 
The Strathclyde Poker Research Environment
The Strathclyde Poker Research EnvironmentThe Strathclyde Poker Research Environment
The Strathclyde Poker Research Environment
 
SAIG Overview March 2011
SAIG Overview March 2011SAIG Overview March 2011
SAIG Overview March 2011
 
The Ludic Fallacy Applied to Automated Planning
The Ludic Fallacy Applied to Automated PlanningThe Ludic Fallacy Applied to Automated Planning
The Ludic Fallacy Applied to Automated Planning
 
Artificial Intelligence in Computer and Video Games
Artificial Intelligence in Computer and Video GamesArtificial Intelligence in Computer and Video Games
Artificial Intelligence in Computer and Video Games
 
Knowing When to Hold 'Em, When to Fold 'Em and When to Blow 'Em Up
Knowing When to Hold 'Em, When to Fold 'Em and When to Blow 'Em UpKnowing When to Hold 'Em, When to Fold 'Em and When to Blow 'Em Up
Knowing When to Hold 'Em, When to Fold 'Em and When to Blow 'Em Up
 
Robust Agent Execution
Robust Agent ExecutionRobust Agent Execution
Robust Agent Execution
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 

Recently uploaded (20)

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 

The Next Generation of Game Planners

  • 1. The Next Generation of Game Planners The "Everything You (N)Ever Wanted to Know" Tour Luke Dicken Strathclyde AI and Games Research Group University of Strathclyde
  • 3. Controversy! • “...STRIPS-style goal oriented action planning has turned out to be a dead end.” 2
  • 4. Controversy! • “...STRIPS-style goal oriented action planning has turned out to be a dead end.” • “Academia has long discarded such planners in favor of hierarchical ones...” 2
  • 5. Controversy! • “...STRIPS-style goal oriented action planning has turned out to be a dead end.” • “Academia has long discarded such planners in favor of hierarchical ones...” Alex, “This Year in Game AI” (Jan ’11) 2
  • 6. Controversy! • “...STRIPS-style goal oriented action planning has turned out to be a dead end.” • “Academia has long discarded such planners in favor of hierarchical ones...” Alex, “This Year in Game AI” (Jan ’11) • This session will drill into what Automated Planning is and why (some) parts of it are still relevant for Game AI 2
  • 7. What is Automated Planning? 3
  • 8. What is Automated Planning? • “Strong” AI 3
  • 9. What is Automated Planning? • “Strong” AI • Finds action sequences - Plan 3
  • 10. What is Automated Planning? • “Strong” AI • Finds action sequences - Plan • Over 40 years of research 3
  • 11. What is Automated Planning? • “Strong” AI • Finds action sequences - Plan • Over 40 years of research • Planning Domain Description Language (PDDL) - 1998 3
  • 12. How Does it Work? 4
  • 13. How Does it Work? 1. Description of actions possible 4
  • 14. How Does it Work? 1. Description of actions possible 2. Complete description of initial state of the world 4
  • 15. How Does it Work? 1. Description of actions possible 2. Complete description of initial state of the world 3. Definition of goals that need to be achieved 4
  • 16. Planning S0 5
  • 17. Planning S0 S1 S2 S3 5
  • 18. Planning S0 S1 5
  • 19. Planning S0 S1 S4 S5 S6 5
  • 20. Planning S0 S1 S6 5
  • 21. Planning S0 S1 S6 And so on, until goal reached. 5
  • 29. Issues with GOAP • Issue 1 : Lack of directorial control. 7
  • 30. Issues with GOAP • Issue 1 : Lack of directorial control. ‣ When NPCs get smart enough to realise standing next to exploding barrels is hazardous, cinematic experience is diminished. 7
  • 31. Issues with GOAP • Issue 1 : Lack of directorial control. ‣ When NPCs get smart enough to realise standing next to exploding barrels is hazardous, cinematic experience is diminished. • Issue 2 : Computational Complexity 7
  • 32. Issues with GOAP • Issue 1 : Lack of directorial control. ‣ When NPCs get smart enough to realise standing next to exploding barrels is hazardous, cinematic experience is diminished. • Issue 2 : Computational Complexity ‣ GOAP is derived directly from STRIPS. NP-Hard search problems in the general case. 7
  • 34. Issues with GOAP • Issue 1 - either a “strong” AI approach is suitable to your design or it isn’t. Places it often will be include sandbox environments and companion AI. 8
  • 35. Issues with GOAP • Issue 1 - either a “strong” AI approach is suitable to your design or it isn’t. Places it often will be include sandbox environments and companion AI. • Issue 2 is what will be the focus of the rest of the session - how have planning systems improved since STRIPS/GOAP? 8
  • 37. Complexity Reduction • If you can reduce complexity of the problem, it becomes easier to solve... 9
  • 38. Complexity Reduction • If you can reduce complexity of the problem, it becomes easier to solve... • Either less depth to the problem or less breadth. 9
  • 40. Landmark Analysis Initial State 10
  • 41. Landmark Analysis Initial State 10
  • 42. Landmark Analysis Initial State Goal Found 10
  • 43. Landmark Analysis Initial State Goal Found 10
  • 44. Landmark Analysis Initial State Landmark 1 Goal Found 10
  • 45. Landmark Analysis Initial State Landmark 1 Goal Found 10
  • 46. Landmark Analysis Initial State Landmark 1 Landmark 2 Goal Found 10
  • 47. Landmark Analysis Initial State Landmark 1 Landmark 2 Goal Found 10
  • 48. Landmark Analysis Initial State Landmark 1 Landmark 2 Goal Found 10
  • 49. Abstraction A B C D E F 11
  • 50. Abstraction A B C D E F 11
  • 52. Horizon Management A B C D E F 12
  • 56. Horizon Management B C E 12
  • 57. Horizon Management B C D E 12
  • 58. Horizon Management B C D E F 12
  • 60. Heuristics • Since GOAP came out, major advances in heuristics 13
  • 61. Heuristics • Since GOAP came out, major advances in heuristics • Most significant : 13
  • 62. Heuristics • Since GOAP came out, major advances in heuristics • Most significant : ‣ Relaxed Plan Graph 13
  • 63. Heuristics • Since GOAP came out, major advances in heuristics • Most significant : ‣ Relaxed Plan Graph ‣ Landmark Heuristic 13
  • 65. Hierarchical Task Network Kill Enemy 14
  • 66. Hierarchical Task Network Kill Enemy Approach Shoot Face Enemy Enemy Enemy 14
  • 67. Hierarchical Task Network Kill Enemy Approach Shoot Face Enemy Enemy Enemy Leave Cover Navigate 14
  • 68. Hierarchical Task Network Kill Enemy Approach Shoot Face Enemy Enemy Enemy Leave Cover Navigate ...and so on 14
  • 69. Hierarchical Task Network Kill Enemy Approach Shoot Face Enemy Enemy Enemy Leave Cover Navigate ...and so on Until executable actions reached. 14
  • 71. Optimality • Optimality is a big issue for academic vs industry 15
  • 72. Optimality • Optimality is a big issue for academic vs industry • Academics 15
  • 73. Optimality • Optimality is a big issue for academic vs industry • Academics ‣ Aim is optimal - shortest, most efficient, least cost 15
  • 74. Optimality • Optimality is a big issue for academic vs industry • Academics ‣ Aim is optimal - shortest, most efficient, least cost • Industry 15
  • 75. Optimality • Optimality is a big issue for academic vs industry • Academics ‣ Aim is optimal - shortest, most efficient, least cost • Industry ‣ Aim is entertaining - believable, beatable, pseudo-smart 15
  • 76. Optimality • Optimality is a big issue for academic vs industry • Academics ‣ Aim is optimal - shortest, most efficient, least cost • Industry ‣ Aim is entertaining - believable, beatable, pseudo-smart • How can we bridge this disconnect? 15
  • 78. Metrics • Plan Metrics allow you to define optimal on your terms. 16
  • 79. Metrics • Plan Metrics allow you to define optimal on your terms. • Not a total solution, adds extra compute time. 16
  • 80. 17
  • 81. But what happens after planning? 17
  • 83. Plan Execution • Planning is not the same as doing something 18
  • 84. Plan Execution • Planning is not the same as doing something • Big question is: “what happens next?” 18
  • 85. Plan Execution • Planning is not the same as doing something • Big question is: “what happens next?” ‣ Especially considering that the traditional assumptions of planning make doing things with plans “challenging”! 18
  • 87. Execute Blind Execute Plan Plan Start End 19
  • 92. Execute/Replan Execute Plan Start 20
  • 93. Execute/Replan ? ?? ? Execute Plan Start 20
  • 94. Execute/Replan ? ?? ? Execute Plan Start Replan 20
  • 95. Execute/Replan ? ?? ? Execute Execute Plan Start Replan 20
  • 96. Execute/Replan ? ?? ? Execute Execute Plan Goal Start Reached Replan 20
  • 108. Summary • GOAP is not the extent of planning 23
  • 109. Summary • GOAP is not the extent of planning • We’ve come a long way in the 40 years since STRIPS was invented. 23
  • 110. Summary • GOAP is not the extent of planning • We’ve come a long way in the 40 years since STRIPS was invented. • Planning is still mostly focused on the “big” problems. 23
  • 111. Summary • GOAP is not the extent of planning • We’ve come a long way in the 40 years since STRIPS was invented. • Planning is still mostly focused on the “big” problems. • There is work in planning of relevance. 23
  • 112. Contact • Email - luke@cis.strath.ac.uk • Website - http://saig.cis.strath.ac.uk • Twitter - @LukeD 24
  • 113. References • Landmarks ‣ “On the Extraction, Ordering and Usage of Landmarks in Planning” Porteous et al, ECP ’01 • Abstraction ‣ “Applying Clustering Techniques to Reduce Complexity in Automated Planning Domains” Dicken & Levine, IDEAL ’10 • Relaxed Plan Graph ‣ “The FF Planning System: Fast plan Generation Through Heuristic Search” Hoffman, JAIR Vol. 14 • Landmark Heuristic ‣ “The LAMA Planner Using Landmark Counting in Heuristic Search” Richter & Westphal, IPC ’08 • HTNs ‣ “SHOP2 : An HTN Planning System” Nau et al, JAIR Vol. 20 • Execute/Replan ‣ “FF-Replan: A baseline for probabilistic planning” Yoon et al, ICAPS ’07 • Execution Monitoring ‣ “T-REX: A Deliberative System for AUV Control” McGann et al, PPERWS ’07 25