SlideShare uma empresa Scribd logo
1 de 22
AI in Gaming
Long Lin
Director of Engineering
Data & AI @ EA
lolin@ea.com
2
“At EA, we envision a future in which games go
even further beyond the immersive experiences
players enjoy today. I’m talking about games
that offer living, breathing worlds that
constantly evolve.”
- Ken Moss
AI Everywhere
Creating games:
• AI Agent & Simulation
• Animation
• AI-driven game balancing
• AI development tools
Operating games:
• Bad actor detection
• Content creation
• Player acquisition
Playing games:
• Personalization
• Mentors & Assistants
• Matchmakers
• Conversational interfaces
• Dynamic experiences
Not an exhaustive list
Games Have Been Instrumental to AI
● Crushing humans is not the only use-case of AI in games
● Can we create AI agents that play the games similar to humans do
● Can we leverage AI to benefit games
Gaming - Playground for AI
• Human Interaction
• All virtual - faster iteration
• Can be well scoped
• Relatively easy to generate and use the data
• States/Actions/Rewards are relatively clear
• Result is measurable, and can be visualized
AI Agents
Agents that learn to play the game with different goals
● NPC
● Simulation
● Exploration of game space
● Game design
● Game balancing
● Optimal solution
● Fast test and feedback loops
● Find defects
● Dev Build
● Fast Simulation
● Near-Realtime
Metrics
● Multiple agents
Designer Questions
● Is there a significant imbalance in
relationship categories?
● How many actions are needed to
progress in the careers?
● How do objects impact career
progress?
● How much impact did the build
changes actually make, and does
these change align with the
designer’s plan?
Markov Decision Process
Tuple (S, A, P, R)
● States: S
● Action: A
● State Dynamics/Simulator: P(S,A) → S’
● Reward: R
Learn a Policy: π(S) → A
*Randomness of Simulator and Policy
AI Agents Can be Difficult to Train
• Large state space
• Large action space
• Large number of steps in game episodes
• Reward sparse environments
• Simultaneous actions
• Multi-agent interaction
• Complex reward function and long term strategy
Luckily
• Better/cheaper computing power
• Distributed model - Computation, Data
• A lot of Data
• More mature AI libraries & frameworks
• Framebuffer vs Game state parameters, Joystick vs abstract actions
• Scope the problem - start with something simple
• Does not have to start from scratch - Demonstration & IL
Game Interface
Platform Game
Reinforcement Learning
Images by Stephane Ross
Calculate Reward
Initialize Policy Trials
Update Policy
(Deep) Reinforcement Learning
Learning from Rewards, Trials and Errors
Goal: Optimal solution (i.e., maximize cumulative reward)
Pros:
➔ Explore the world beyond
the skill of experts
➔ Superhuman game play
➔ Fast simulation/iteration
Cons:
➔ Complexity around Knowledge
representation for non-framebuffer
approach
➔ Algorithmic efficiency (time to converge,
might not converge) in transfer data to
policy depends on high efficient
representation of knowledge
Imitation Learning
Images by Stephane Ross
Expert Demonstration State/Action Pair Policy
(Deep) Imitation Learning
Learning from experts/players’s demonstration & feedback
Goal: Human-like behavior (i.e., minimize the difference between policy and the
demonstration)
Pros:
➔ Simple, efficient
➔ Works well when at state
space that has enough
demonstrations coverage
➔ Great at picking up styles
Cons:
➔ Limited state-space coverage of
the expert data, tend to over-fit
➔ Limited by the speed/scale
human player can generate data
➔ No long term planning
IL & RL
Images by Stephane Ross
Calculate Reward
Initialize Policy Trials
Update Policy
Expert
Demonstration
State/Action
Pair
Agent Training Workflow
Platform Game
● Training Environment
● Policy Storage
● Agent Management
● Agent Execution
● Data Pipeline
Looking Ahead
• State of Art Methodologies
• More Complex Environment
• Multi-Agent Interaction
• Distributed Training
Q&A

Mais conteúdo relacionado

Mais procurados

Artificial intelligence In Modern-Games.
Artificial intelligence In Modern-Games. Artificial intelligence In Modern-Games.
Artificial intelligence In Modern-Games.
Nitish Kavishetti
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
falepiz
 
Artificial Intelligence Course | AI Tutorial For Beginners | Artificial Intel...
Artificial Intelligence Course | AI Tutorial For Beginners | Artificial Intel...Artificial Intelligence Course | AI Tutorial For Beginners | Artificial Intel...
Artificial Intelligence Course | AI Tutorial For Beginners | Artificial Intel...
Simplilearn
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
Nitesh Kumar
 

Mais procurados (20)

Artificial intelligence In Modern-Games.
Artificial intelligence In Modern-Games. Artificial intelligence In Modern-Games.
Artificial intelligence In Modern-Games.
 
Game Design
Game DesignGame Design
Game Design
 
Artificial intelligence ppt
Artificial intelligence pptArtificial intelligence ppt
Artificial intelligence ppt
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Gamification Player / User Types HEXAD
Gamification Player / User Types HEXADGamification Player / User Types HEXAD
Gamification Player / User Types HEXAD
 
Artificial intelegence semifinal round (3rd rank)
Artificial intelegence semifinal round (3rd rank)Artificial intelegence semifinal round (3rd rank)
Artificial intelegence semifinal round (3rd rank)
 
Various Topics on Game Design
Various Topics on Game DesignVarious Topics on Game Design
Various Topics on Game Design
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial intelligence and video games
Artificial intelligence and video gamesArtificial intelligence and video games
Artificial intelligence and video games
 
Artificial Intelligence Course | AI Tutorial For Beginners | Artificial Intel...
Artificial Intelligence Course | AI Tutorial For Beginners | Artificial Intel...Artificial Intelligence Course | AI Tutorial For Beginners | Artificial Intel...
Artificial Intelligence Course | AI Tutorial For Beginners | Artificial Intel...
 
Generative AI Risks & Concerns
Generative AI Risks & ConcernsGenerative AI Risks & Concerns
Generative AI Risks & Concerns
 
Introduction to Game Development and the Game Industry
Introduction to Game Development and the Game IndustryIntroduction to Game Development and the Game Industry
Introduction to Game Development and the Game Industry
 
Game Design Fundamentals: The Formal Elements
Game Design Fundamentals: The  Formal ElementsGame Design Fundamentals: The  Formal Elements
Game Design Fundamentals: The Formal Elements
 
Artificial Intelligence in games
Artificial Intelligence in gamesArtificial Intelligence in games
Artificial Intelligence in games
 
What is AI ( Arificial Intelligence)?
What is AI ( Arificial Intelligence)?What is AI ( Arificial Intelligence)?
What is AI ( Arificial Intelligence)?
 
Artificial Intelligence in Gaming
Artificial Intelligence in GamingArtificial Intelligence in Gaming
Artificial Intelligence in Gaming
 
Introduction to ai (artificial intelligence)
Introduction to ai (artificial intelligence)Introduction to ai (artificial intelligence)
Introduction to ai (artificial intelligence)
 
Artificial Intelligence ppt
Artificial Intelligence pptArtificial Intelligence ppt
Artificial Intelligence ppt
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
AI algorithm in game playing
AI algorithm in game playingAI algorithm in game playing
AI algorithm in game playing
 

Semelhante a Long Lin at AI Frontiers : AI in Gaming

Gamification - ASTD RTA
Gamification - ASTD RTAGamification - ASTD RTA
Gamification - ASTD RTA
trickyraymer
 

Semelhante a Long Lin at AI Frontiers : AI in Gaming (20)

Open ai openpower
Open ai openpowerOpen ai openpower
Open ai openpower
 
Understanding and improving games through machine learning - Natasha Latysheva
Understanding and improving games through machine learning - Natasha LatyshevaUnderstanding and improving games through machine learning - Natasha Latysheva
Understanding and improving games through machine learning - Natasha Latysheva
 
HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?
 
Utilizing Kinect Control for a More Immersive Interaction with 3D Environment
Utilizing Kinect Control for a More Immersive Interaction with 3D EnvironmentUtilizing Kinect Control for a More Immersive Interaction with 3D Environment
Utilizing Kinect Control for a More Immersive Interaction with 3D Environment
 
id.net for game developers
id.net for game developersid.net for game developers
id.net for game developers
 
Gameplay Concept Tool
Gameplay Concept ToolGameplay Concept Tool
Gameplay Concept Tool
 
Utilizingkinect
UtilizingkinectUtilizingkinect
Utilizingkinect
 
Immersive 3D Environment Using Kinect and Voice Commands
Immersive 3D Environment Using Kinect and Voice Commands Immersive 3D Environment Using Kinect and Voice Commands
Immersive 3D Environment Using Kinect and Voice Commands
 
Large Scale Data Management
Large Scale Data ManagementLarge Scale Data Management
Large Scale Data Management
 
Lessons from the Trenches of Learning Game Design
Lessons from the Trenches of Learning Game DesignLessons from the Trenches of Learning Game Design
Lessons from the Trenches of Learning Game Design
 
Using Data Science for Behavioural Game Design
Using Data Science for Behavioural Game DesignUsing Data Science for Behavioural Game Design
Using Data Science for Behavioural Game Design
 
LAFS Game Design 7 - Prototyping
LAFS Game Design 7 - PrototypingLAFS Game Design 7 - Prototyping
LAFS Game Design 7 - Prototyping
 
Gamification - ASTD RTA
Gamification - ASTD RTAGamification - ASTD RTA
Gamification - ASTD RTA
 
Nature of Games.pptx
Nature of Games.pptxNature of Games.pptx
Nature of Games.pptx
 
Designing with Gamification: Tips for Creating Fun & Engaging User Experiences
Designing with Gamification: Tips for Creating Fun & Engaging User ExperiencesDesigning with Gamification: Tips for Creating Fun & Engaging User Experiences
Designing with Gamification: Tips for Creating Fun & Engaging User Experiences
 
2013 Gartner ITO Conference - IT Ops Gamification with ITPA
2013 Gartner ITO Conference - IT Ops Gamification with ITPA2013 Gartner ITO Conference - IT Ops Gamification with ITPA
2013 Gartner ITO Conference - IT Ops Gamification with ITPA
 
Learning Analytics Design in Game-based Learning
Learning Analytics Design in Game-based LearningLearning Analytics Design in Game-based Learning
Learning Analytics Design in Game-based Learning
 
Hybrid Game Development with GameSalad
Hybrid Game Development with GameSaladHybrid Game Development with GameSalad
Hybrid Game Development with GameSalad
 
Presentation3 1 - Copy.pptx
Presentation3 1 - Copy.pptxPresentation3 1 - Copy.pptx
Presentation3 1 - Copy.pptx
 
Game Development Step by Step
Game Development Step by StepGame Development Step by Step
Game Development Step by Step
 

Mais de AI Frontiers

Arnaud Thiercelin at AI Frontiers : AI in the Sky
Arnaud Thiercelin at AI Frontiers : AI in the SkyArnaud Thiercelin at AI Frontiers : AI in the Sky
Arnaud Thiercelin at AI Frontiers : AI in the Sky
AI Frontiers
 

Mais de AI Frontiers (20)

Divya Jain at AI Frontiers : Video Summarization
Divya Jain at AI Frontiers : Video SummarizationDivya Jain at AI Frontiers : Video Summarization
Divya Jain at AI Frontiers : Video Summarization
 
Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI
Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI
Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI
 
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...
 
Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...
Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...
Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...
 
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...
 
Training at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural Networks
Training at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural NetworksTraining at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural Networks
Training at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural Networks
 
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angl...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angl...Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angl...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angl...
 
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
 
Percy Liang at AI Frontiers : Pushing the Limits of Machine Learning
Percy Liang at AI Frontiers : Pushing the Limits of Machine LearningPercy Liang at AI Frontiers : Pushing the Limits of Machine Learning
Percy Liang at AI Frontiers : Pushing the Limits of Machine Learning
 
Ilya Sutskever at AI Frontiers : Progress towards the OpenAI mission
Ilya Sutskever at AI Frontiers : Progress towards the OpenAI missionIlya Sutskever at AI Frontiers : Progress towards the OpenAI mission
Ilya Sutskever at AI Frontiers : Progress towards the OpenAI mission
 
Mark Moore at AI Frontiers : Uber Elevate
Mark Moore at AI Frontiers : Uber ElevateMark Moore at AI Frontiers : Uber Elevate
Mark Moore at AI Frontiers : Uber Elevate
 
Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...
Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...
Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...
 
Arnaud Thiercelin at AI Frontiers : AI in the Sky
Arnaud Thiercelin at AI Frontiers : AI in the SkyArnaud Thiercelin at AI Frontiers : AI in the Sky
Arnaud Thiercelin at AI Frontiers : AI in the Sky
 
Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...
Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...
Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...
 
Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...
Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...
Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...
 
Sumit Gupta at AI Frontiers : AI for Enterprise
Sumit Gupta at AI Frontiers : AI for EnterpriseSumit Gupta at AI Frontiers : AI for Enterprise
Sumit Gupta at AI Frontiers : AI for Enterprise
 
Yuandong Tian at AI Frontiers : Planning in Reinforcement Learning
Yuandong Tian at AI Frontiers : Planning in Reinforcement LearningYuandong Tian at AI Frontiers : Planning in Reinforcement Learning
Yuandong Tian at AI Frontiers : Planning in Reinforcement Learning
 
Alex Ermolaev at AI Frontiers : Major Applications of AI in Healthcare
Alex Ermolaev at AI Frontiers : Major Applications of AI in HealthcareAlex Ermolaev at AI Frontiers : Major Applications of AI in Healthcare
Alex Ermolaev at AI Frontiers : Major Applications of AI in Healthcare
 
Melissa Goldman at AI Frontiers : AI & Finance
Melissa Goldman at AI Frontiers : AI & FinanceMelissa Goldman at AI Frontiers : AI & Finance
Melissa Goldman at AI Frontiers : AI & Finance
 
Li Deng at AI Frontiers : From Modeling Speech/Language to Modeling Financial...
Li Deng at AI Frontiers : From Modeling Speech/Language to Modeling Financial...Li Deng at AI Frontiers : From Modeling Speech/Language to Modeling Financial...
Li Deng at AI Frontiers : From Modeling Speech/Language to Modeling Financial...
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 

Long Lin at AI Frontiers : AI in Gaming

  • 1. AI in Gaming Long Lin Director of Engineering Data & AI @ EA lolin@ea.com
  • 2. 2
  • 3.
  • 4. “At EA, we envision a future in which games go even further beyond the immersive experiences players enjoy today. I’m talking about games that offer living, breathing worlds that constantly evolve.” - Ken Moss
  • 5. AI Everywhere Creating games: • AI Agent & Simulation • Animation • AI-driven game balancing • AI development tools Operating games: • Bad actor detection • Content creation • Player acquisition Playing games: • Personalization • Mentors & Assistants • Matchmakers • Conversational interfaces • Dynamic experiences Not an exhaustive list
  • 6. Games Have Been Instrumental to AI ● Crushing humans is not the only use-case of AI in games ● Can we create AI agents that play the games similar to humans do ● Can we leverage AI to benefit games
  • 7. Gaming - Playground for AI • Human Interaction • All virtual - faster iteration • Can be well scoped • Relatively easy to generate and use the data • States/Actions/Rewards are relatively clear • Result is measurable, and can be visualized
  • 8. AI Agents Agents that learn to play the game with different goals ● NPC ● Simulation ● Exploration of game space ● Game design ● Game balancing ● Optimal solution ● Fast test and feedback loops ● Find defects
  • 9. ● Dev Build ● Fast Simulation ● Near-Realtime Metrics ● Multiple agents
  • 10. Designer Questions ● Is there a significant imbalance in relationship categories? ● How many actions are needed to progress in the careers? ● How do objects impact career progress? ● How much impact did the build changes actually make, and does these change align with the designer’s plan?
  • 11. Markov Decision Process Tuple (S, A, P, R) ● States: S ● Action: A ● State Dynamics/Simulator: P(S,A) → S’ ● Reward: R Learn a Policy: π(S) → A *Randomness of Simulator and Policy
  • 12. AI Agents Can be Difficult to Train • Large state space • Large action space • Large number of steps in game episodes • Reward sparse environments • Simultaneous actions • Multi-agent interaction • Complex reward function and long term strategy
  • 13. Luckily • Better/cheaper computing power • Distributed model - Computation, Data • A lot of Data • More mature AI libraries & frameworks • Framebuffer vs Game state parameters, Joystick vs abstract actions • Scope the problem - start with something simple • Does not have to start from scratch - Demonstration & IL
  • 15. Reinforcement Learning Images by Stephane Ross Calculate Reward Initialize Policy Trials Update Policy
  • 16. (Deep) Reinforcement Learning Learning from Rewards, Trials and Errors Goal: Optimal solution (i.e., maximize cumulative reward) Pros: ➔ Explore the world beyond the skill of experts ➔ Superhuman game play ➔ Fast simulation/iteration Cons: ➔ Complexity around Knowledge representation for non-framebuffer approach ➔ Algorithmic efficiency (time to converge, might not converge) in transfer data to policy depends on high efficient representation of knowledge
  • 17. Imitation Learning Images by Stephane Ross Expert Demonstration State/Action Pair Policy
  • 18. (Deep) Imitation Learning Learning from experts/players’s demonstration & feedback Goal: Human-like behavior (i.e., minimize the difference between policy and the demonstration) Pros: ➔ Simple, efficient ➔ Works well when at state space that has enough demonstrations coverage ➔ Great at picking up styles Cons: ➔ Limited state-space coverage of the expert data, tend to over-fit ➔ Limited by the speed/scale human player can generate data ➔ No long term planning
  • 19. IL & RL Images by Stephane Ross Calculate Reward Initialize Policy Trials Update Policy Expert Demonstration State/Action Pair
  • 20. Agent Training Workflow Platform Game ● Training Environment ● Policy Storage ● Agent Management ● Agent Execution ● Data Pipeline
  • 21. Looking Ahead • State of Art Methodologies • More Complex Environment • Multi-Agent Interaction • Distributed Training
  • 22. Q&A