Large-Scale Platform for MOBA Game AI

Size: px
Start display at page:

Download "Large-Scale Platform for MOBA Game AI"

Transcription

1 Large-Scale Platform for MOBA Game AI Bin Wu & Qiang Fu 28 th March 2018

2 Outline Introduction Learning algorithms Computing platform Demonstration

3 Game AI Development Early exploration Transition Rapid development Explosive growth 1950s-1960s 1970s-1980s 1990s-2000s 2010s Checkers beat state champion Chess4.5 beat human players Deep Blue (IBM) beat Garry Kasparov Alpha Go (DeepMind) defeat Lee Sedol, and Jie Ke

4 Applications of Game AI Gaming Research Core applications in gaming industry Ideal testbed for general AI research Pre-game procedures e.g., game designing Player experience e.g., teammates, enemies Others e.g., E-sports Massive data from human players Low experimental costs General ability for inception and decision From virtual world to real world

5 Game AI Research Topic Game AI has become a research hot topic after the success of AlphaGo Many AI giants have joined game AI research Moving from Go->RTS, MOBA, etc. DOTA 2 1v1 beat top human players. 5v5 to be activated in 2018 Released Starcraft AI platform, preliminary results in simple scenarios Released Starcraft II AI platform,not able to defeat built-in AI

6 MOBA Game 5 v.s. 5 game Obtain gold/exp gain advantages on equipment win fights destroy enemy s base Enemy s Turrets Goal: Destroy Enemy s Base Attack/Skills Control Movement Control Neutral creeps: source of money/power/level/ Equipment Purchase

7 MOBA Game Micro Combat Movement Use of skills

8 MOBA Game Macro Strategies Back up Laning Ganking Stealing base

9 MOBA AI - Key Challenge Learning Algorithm Computing Platform

10 Learning Algorithms

11 Learning Algorithms - Challenges Complexity 10^20000 Multi-agent 5v5 coordination Sparse and delayed rewards 20,000+ frames per game Imperfect Info Partially observable

12 Learning Algorithms - Challenges Complexity >> Go End to end solutions (SL/RL) do not work well Not able to finish basic movement/attack Similar observations made DeepMind Go MOBA State space 3^360 10^170 (361 pos, 3 states each) 10^20000 (10 heroes,2000+pos * 10+states) Left, right, Skill 1,2,3+pos/target recover return etc Action space 250^150 10^360 (250 pos available, 150 decisions per game in average) 20^ ^20000 (20 actions,20,000 frames per game)

13 Learning Algorithms - Challenges Multi-agent Macro strategy level Four defending, while one steals the base Micro combat level Tanks protecting assassins

14 Learning Algorithms - Challenges Sparse and delayed rewards Go <360 steps MOBA >20,000 steps

15 Learning Algorithms - Challenges Imperfect Information Maps are partially observable Guess enemy s positions/strategy Actively explore to gain vision

16 Model Architecture Divide and Conquer Strategy Transfer Split for simplification Solution space ~10^20000->~10^2000 Combat

17 Model - Transfer Where to send heroes? Compared to Go game Put heroes as stones Put maps as boards Predict good position Hotspots Prediction Transfer

18 Model - Strategy Key resources in MOBA Modeling macro objectives Describe hotspots transition series before destroying the key resource

19 Model - Strategy 宏观 Session 切分示例 Describe hotspots transition series before destroying the key resource Start Dragon Mid 1st turret Slain Dark dragon Dragon Bottom 1 st turret Mid 2 nd turret Mid 3 rd turret Base Stealing blue creep Killing bottom lane creeps Attacking bottom 1 st turret

20 Model - Transfer Network with Macro Strategy Key resources Hotspots

21 Model - Combat Multi-task on buttons Action space Directions Skill releasing position

22 Learning Framework Imitation + Reinforcement Learning

23 Computing Platform

24 MOBA Game AI Platform Computing Platform Computational power large-scale CPU/GPU virtualization Learning platform Efficient and easy-to-use platform Service Feature extraction Game environment deployment Model training Reinforcement learning Task Managem ent Tencent cloud function Machine learning Resource allocation Elastic computation Kubernetes resource allocation Deploym ent Online service Idle resource pool Online service Offline service Docker + mixed online/offline technique Docker + GPU virtualization for shared resource Computat ional units Millions of CPUs Thousands of GPUs

25 Computational Power Computational Costs GPU CPU MOBA AI thousands millions CPU/GPU Demands Challenge Solution The more is the better Improve resource utilization efficiency without additional costs CPU/GPU virtualization for shared resources

26 CPU Virtualization Elastic and dynamic resource pool millions of CPU cores 70% - Idle resource pool New resources not yet delivered Old resources not yet cleared Returned resources 30% - Idle slots in online service Online service resource usage # of CPU cores # CPU avg % Percentage millions 20% 20%->65% using docker isolation Elastic & Dynamic Resource Pool

27 GPU Virtualization Goal: improve GPU usage efficiency Resource usage # of GPU % of low load machines GPU avg usage thousands 65% 28% Optimization idea

28 GPU Virtualization [12] Time-slice share Parallel share

29 Learning Platform Core Technique Version Update Frequency Feature extraction Hours Model training One day RL training One day

30 Learning Platform - Feature Extraction Platform Game replays Game Raw Data Features Training samples Models Evaluation pre Feature extraction shuffle Training Evaluation gamecore Demand 1 Feature extraction from up to hundreds of thousands of replays Challenge: demands up to 210 thousand CPU cores per day Solution CPU virtualization docker elastic & dynamic resource pool Demand 2 Multiple tasks, each with millions of entries Challenge: Parallel task scheduling Solution: Tencent Serverless Cloud Function

31 Learning Platform - Serverless Cloud Function Advantage of Cloud Function Function As A Service Millions of CPU cores available Free of charge in idle slots 30% of costs on average SDK SDK COS CMQ Application layer API Access layer Function Call Function Config Function Coordination Control layer Function Function Function Execution layer

32 Learning Platform - Model Training Platform 1.Requirement Billions of samples per task Fast model training 2.Solution Multi-GPU, multi-machine Machine learning platform 3.Challenges IO Efficient data inputs Efficient computation Communication Efficient parameters exchange Training Platform Big Data Result

33 Model Training Platform - IO Data IO Multiprocessing Lock free queue Efficient computation Data pre-caching OP speed up by multi-threading

34 Model Training Platform - Communication Parameters exchange NCCL2 [11] Efficient communication between GPUs RDMA Efficient communication across nodes

35 Model Training Platform - Performance Acceleration 70 Multi-GPU Multi-Machine Speed-up Optimization results (acceleration ratio) GPU 8GPUs 16GPUs 32GPUs 64GPUs Before After Upper bound IO Computation Communication

36 Learning Platform - Reinforcement Learning Platform Demands Hierarchical RL Various scenarios Large-scale parallel self-play Millions of games Automatic task management Unified framework Model analysis Evaluation

37 RL Platform - Hierarchical RL Hierarchical RL Scenario specific Solution General Hierarchical RL Features Macro task selection Micro task selection Effectively handles long-term planning and delayed rewards Value network for guiding sub-task policy learning 打野 清兵 团战 Jungle Laning Combat

38 RL Platform Parallel Training Large-scale parallel self-play Solution Docker image for gamecore version management Parallel training framework

39 RL Platform Automatic task management Unified framework for model analysis and evaluation Task submission Task start/stop Results visualization Reward curve 雷达图 Prediction distribution Self play results

40 RL Platform Performance Ten million scenarios per day 20s per scenario with 16 GPUs Millions of full games 10min+ per game with 128 GPUs

41 Demonstration

42 Visualization

43 Demo Quadra-kill Under Turret Micro combat Fight against mid-high level testers Killing while avoiding harm from turret

44 Demo Pentakill Micro combat Fight against mid-high level testers

45 Demo Transfer & Strategy Opening

46 Demo Transfer & Strategy First Dragon appears at 2:00

47 Demo Transfer & Strategy Besiege and Destroy the Base

48 Demo RL Before reinforcement After reinforcement

49 Summary

50 Tencent Game AI Research Pursue general AI via game AI research MOBA AI Algorithm Imitation + Reinforcement Learning Computing platform Feature extraction platform Millions of CPUs Model training platform Thousands of GPUs Reinforcement learning platform Hierarchical RL

51 Tencent Game AI Research Future work Algorithm Tactic-level search and planning Multi-agent RL Computational power Search/planning platform MCTS Reinforcement learning platform Multi-agent RL

52 About Tencent AI Lab Our journey Tencent is identified by China Ministry of Science and Technology to build national open innovation platform for AI medical imaging Today Our team consists of 70 world-class AI scientists and 300 research engineers Tencent establishes its corporate-level AI Lab Tencent announces leading AI researcher Dr Tong ZHANG as the Director of Tencent AI Lab Jueyi Fine Art wins the UEC World Cup Tencent establishes its Seattle AI Lab and announces leading Speech Recognition expert Dr Dong Yu as Deputy Director

53 About Tencent AI Lab Game AI Environment for AGI Diverse game ecosystem Massive user base Social AI New ways to communicate WeChat: ~1 billion MAU QQ: 850 million MAU Content AI Perceiving the world and generating content China s leading news, video, music and literature platforms Medical AI Impact and advance industry Building a national open innovation platform for AI medical imaging

54 Thank you

55 References [1] Silver, David, et al. "Mastering the game of Go with deep neural networks and tree search." Nature (2016): [2] Artificial Intelligence Startup Landscape Trends and Insights - Q NOVEMBER 20, 2016 VENTURE SCANNER. [3] Tian, Yuandong, et al. "ELF: An Extensive, Lightweight and Flexible Research Platform for Real-time Strategy Games." arxiv preprint arxiv: (2017). [4] O Vinyals et al. StarCraft II: A New Challenge for Reinforcement Learning. Aug. 9, 2017 [5] We've created an AI which beats the world's top professionals at 1v1 matches of Dota 2. [6] Ontanó n, Santiago, Gabriel Synnaeve, Alberto Uriarte, Florian Richoux, David Churchill, and Mike Preuss. "RTS AI: Problems and Techniques." (2015): [7] Miles, Chris, and Sushil J. Louis. "Co-evolving real-time strategy game playing influence map trees with genetic algorithms." Proceedings of the International Congress on Evolutionary Computation, Portland, Oregon. IEEE Press, [8] Jang, Su-Hyung, and Sung-Bae Cho. "Evolving neural NPCs with layered influence map in the real-time simulation game Conqueror." Computational Intelligence and Games, CIG'08. IEEE Symposium on. IEEE, [9] Weber, Ben George, Michael Mateas, and Arnav Jhala. "Building Human-Level AI for Real-Time Strategy Games." AAAI Fall Symposium: Advances in Cognitive Systems. Vol [10] Xingjian, S. H. I., et al. "Convolutional LSTM network: A machine learning approach for precipitation nowcasting." Advances in neural information processing systems [11] Nathan Luehr. NCCL: ACCELERATED COLLECTIVE COMMUNICATIONS FOR GPUS. April 5, GPU Technology Conference [12] CUDA MULTI-PROCESS SERVICE.

Game-playing: DeepBlue and AlphaGo

Game-playing: DeepBlue and AlphaGo Game-playing: DeepBlue and AlphaGo Brief history of gameplaying frontiers 1990s: Othello world champions refuse to play computers 1994: Chinook defeats Checkers world champion 1997: DeepBlue defeats world

More information

MFF UK Prague

MFF UK Prague MFF UK Prague 25.10.2018 Source: https://wall.alphacoders.com/big.php?i=324425 Adapted from: https://wall.alphacoders.com/big.php?i=324425 1996, Deep Blue, IBM AlphaGo, Google, 2015 Source: istan HONDA/AFP/GETTY

More information

Andrei Behel AC-43И 1

Andrei Behel AC-43И 1 Andrei Behel AC-43И 1 History The game of Go originated in China more than 2,500 years ago. The rules of the game are simple: Players take turns to place black or white stones on a board, trying to capture

More information

arxiv: v1 [cs.ma] 19 Dec 2018

arxiv: v1 [cs.ma] 19 Dec 2018 Hierarchical Macro Strategy Model for MOBA Game AI 1 Bin Wu, 1 Qiang Fu, 1 Jing Liang, 1 Peng Qu, 1 Xiaoqian Li, 1 Liang Wang, 2 Wei Liu, 1 Wei Yang, 1 Yongsheng Liu 1,2 Tencent AI Lab 1 {benbinwu, leonfu,

More information

How AI Won at Go and So What? Garry Kasparov vs. Deep Blue (1997)

How AI Won at Go and So What? Garry Kasparov vs. Deep Blue (1997) How AI Won at Go and So What? Garry Kasparov vs. Deep Blue (1997) Alan Fern School of Electrical Engineering and Computer Science Oregon State University Deep Mind s vs. Lee Sedol (2016) Watson vs. Ken

More information

High-Level Representations for Game-Tree Search in RTS Games

High-Level Representations for Game-Tree Search in RTS Games Artificial Intelligence in Adversarial Real-Time Games: Papers from the AIIDE Workshop High-Level Representations for Game-Tree Search in RTS Games Alberto Uriarte and Santiago Ontañón Computer Science

More information

Monte Carlo Tree Search

Monte Carlo Tree Search Monte Carlo Tree Search 1 By the end, you will know Why we use Monte Carlo Search Trees The pros and cons of MCTS How it is applied to Super Mario Brothers and Alpha Go 2 Outline I. Pre-MCTS Algorithms

More information

Applying Modern Reinforcement Learning to Play Video Games. Computer Science & Engineering Leung Man Ho Supervisor: Prof. LYU Rung Tsong Michael

Applying Modern Reinforcement Learning to Play Video Games. Computer Science & Engineering Leung Man Ho Supervisor: Prof. LYU Rung Tsong Michael Applying Modern Reinforcement Learning to Play Video Games Computer Science & Engineering Leung Man Ho Supervisor: Prof. LYU Rung Tsong Michael Outline Term 1 Review Term 2 Objectives Experiments & Results

More information

AI in Games: Achievements and Challenges. Yuandong Tian Facebook AI Research

AI in Games: Achievements and Challenges. Yuandong Tian Facebook AI Research AI in Games: Achievements and Challenges Yuandong Tian Facebook AI Research Game as a Vehicle of AI Infinite supply of fully labeled data Controllable and replicable Low cost per sample Faster than real-time

More information

Game AI Challenges: Past, Present, and Future

Game AI Challenges: Past, Present, and Future Game AI Challenges: Past, Present, and Future Professor Michael Buro Computing Science, University of Alberta, Edmonton, Canada www.skatgame.net/cpcc2018.pdf 1/ 35 AI / ML Group @ University of Alberta

More information

CS 380: ARTIFICIAL INTELLIGENCE MONTE CARLO SEARCH. Santiago Ontañón

CS 380: ARTIFICIAL INTELLIGENCE MONTE CARLO SEARCH. Santiago Ontañón CS 380: ARTIFICIAL INTELLIGENCE MONTE CARLO SEARCH Santiago Ontañón so367@drexel.edu Recall: Adversarial Search Idea: When there is only one agent in the world, we can solve problems using DFS, BFS, ID,

More information

KÜNSTLICHE INTELLIGENZ JOBKILLER VON MORGEN?

KÜNSTLICHE INTELLIGENZ JOBKILLER VON MORGEN? KÜNSTLICHE INTELLIGENZ JOBKILLER VON MORGEN? Marc Stampfli https://www.linkedin.com/in/marcstampfli/ https://twitter.com/marc_stampfli E-Mail: mstampfli@nvidia.com INTELLIGENT ROBOTS AND SMART MACHINES

More information

Computer Go: from the Beginnings to AlphaGo. Martin Müller, University of Alberta

Computer Go: from the Beginnings to AlphaGo. Martin Müller, University of Alberta Computer Go: from the Beginnings to AlphaGo Martin Müller, University of Alberta 2017 Outline of the Talk Game of Go Short history - Computer Go from the beginnings to AlphaGo The science behind AlphaGo

More information

Data-Starved Artificial Intelligence

Data-Starved Artificial Intelligence Data-Starved Artificial Intelligence Data-Starved Artificial Intelligence This material is based upon work supported by the Assistant Secretary of Defense for Research and Engineering under Air Force Contract

More information

Game-Tree Search over High-Level Game States in RTS Games

Game-Tree Search over High-Level Game States in RTS Games Proceedings of the Tenth Annual AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment (AIIDE 2014) Game-Tree Search over High-Level Game States in RTS Games Alberto Uriarte and

More information

TTIC 31230, Fundamentals of Deep Learning David McAllester, April AlphaZero

TTIC 31230, Fundamentals of Deep Learning David McAllester, April AlphaZero TTIC 31230, Fundamentals of Deep Learning David McAllester, April 2017 AlphaZero 1 AlphaGo Fan (October 2015) AlphaGo Defeats Fan Hui, European Go Champion. 2 AlphaGo Lee (March 2016) 3 AlphaGo Zero vs.

More information

CSC321 Lecture 23: Go

CSC321 Lecture 23: Go CSC321 Lecture 23: Go Roger Grosse Roger Grosse CSC321 Lecture 23: Go 1 / 21 Final Exam Friday, April 20, 9am-noon Last names A Y: Clara Benson Building (BN) 2N Last names Z: Clara Benson Building (BN)

More information

MOBA: a New Arena for Game AI

MOBA: a New Arena for Game AI 1 MOBA: a New Arena for Game AI Victor do Nascimento Silva 1 and Luiz Chaimowicz 2 arxiv:1705.10443v1 [cs.ai] 30 May 2017 Abstract Games have always been popular testbeds for Artificial Intelligence (AI).

More information

Google DeepMind s AlphaGo vs. world Go champion Lee Sedol

Google DeepMind s AlphaGo vs. world Go champion Lee Sedol Google DeepMind s AlphaGo vs. world Go champion Lee Sedol Review of Nature paper: Mastering the game of Go with Deep Neural Networks & Tree Search Tapani Raiko Thanks to Antti Tarvainen for some slides

More information

Evolving Effective Micro Behaviors in RTS Game

Evolving Effective Micro Behaviors in RTS Game Evolving Effective Micro Behaviors in RTS Game Siming Liu, Sushil J. Louis, and Christopher Ballinger Evolutionary Computing Systems Lab (ECSL) Dept. of Computer Science and Engineering University of Nevada,

More information

Experiments with Tensor Flow Roman Weber (Geschäftsführer) Richard Schmid (Senior Consultant)

Experiments with Tensor Flow Roman Weber (Geschäftsführer) Richard Schmid (Senior Consultant) Experiments with Tensor Flow 23.05.2017 Roman Weber (Geschäftsführer) Richard Schmid (Senior Consultant) WEBGATE CONSULTING Gegründet Mitarbeiter CH Inhaber geführt IT Anbieter Partner 2001 Ex 29 Beratung

More information

Improving Monte Carlo Tree Search Policies in StarCraft via Probabilistic Models Learned from Replay Data

Improving Monte Carlo Tree Search Policies in StarCraft via Probabilistic Models Learned from Replay Data Proceedings, The Twelfth AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment (AIIDE-16) Improving Monte Carlo Tree Search Policies in StarCraft via Probabilistic Models Learned

More information

Mastering Chess and Shogi by Self- Play with a General Reinforcement Learning Algorithm

Mastering Chess and Shogi by Self- Play with a General Reinforcement Learning Algorithm Mastering Chess and Shogi by Self- Play with a General Reinforcement Learning Algorithm by Silver et al Published by Google Deepmind Presented by Kira Selby Background u In March 2016, Deepmind s AlphaGo

More information

*Please see course page for full description and additional details.

*Please see course page for full description and additional details. Course Title: Blockchain, Machine Learning, the Internet of Things, and More: Meet the New Technologies Shaping Our World Course Code: CS 02 Instructor: Saleem Mohamed Course Summary: If you live in Silicon

More information

AlphaGo and Artificial Intelligence GUEST LECTURE IN THE GAME OF GO AND SOCIETY

AlphaGo and Artificial Intelligence GUEST LECTURE IN THE GAME OF GO AND SOCIETY AlphaGo and Artificial Intelligence HUCK BENNET T (NORTHWESTERN UNIVERSITY) GUEST LECTURE IN THE GAME OF GO AND SOCIETY AT OCCIDENTAL COLLEGE, 10/29/2018 The Game of Go A game for aliens, presidents, and

More information

Search, Abstractions and Learning in Real-Time Strategy Games. Nicolas Arturo Barriga Richards

Search, Abstractions and Learning in Real-Time Strategy Games. Nicolas Arturo Barriga Richards Search, Abstractions and Learning in Real-Time Strategy Games by Nicolas Arturo Barriga Richards A thesis submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy Department

More information

Using Neural Network and Monte-Carlo Tree Search to Play the Game TEN

Using Neural Network and Monte-Carlo Tree Search to Play the Game TEN Using Neural Network and Monte-Carlo Tree Search to Play the Game TEN Weijie Chen Fall 2017 Weijie Chen Page 1 of 7 1. INTRODUCTION Game TEN The traditional game Tic-Tac-Toe enjoys people s favor. Moreover,

More information

46.1 Introduction. Foundations of Artificial Intelligence Introduction MCTS in AlphaGo Neural Networks. 46.

46.1 Introduction. Foundations of Artificial Intelligence Introduction MCTS in AlphaGo Neural Networks. 46. Foundations of Artificial Intelligence May 30, 2016 46. AlphaGo and Outlook Foundations of Artificial Intelligence 46. AlphaGo and Outlook Thomas Keller Universität Basel May 30, 2016 46.1 Introduction

More information

Success Stories of Deep RL. David Silver

Success Stories of Deep RL. David Silver Success Stories of Deep RL David Silver Reinforcement Learning (RL) RL is a general-purpose framework for decision-making An agent selects actions Its actions influence its future observations Success

More information

Game Artificial Intelligence ( CS 4731/7632 )

Game Artificial Intelligence ( CS 4731/7632 ) Game Artificial Intelligence ( CS 4731/7632 ) Instructor: Stephen Lee-Urban http://www.cc.gatech.edu/~surban6/2018-gameai/ (soon) Piazza T-square What s this all about? Industry standard approaches to

More information

LONDON S BEST BUSINESS MINDS TO COMPETE FOR PRESTIGIOUS CHESS TITLE

LONDON S BEST BUSINESS MINDS TO COMPETE FOR PRESTIGIOUS CHESS TITLE PRESS RELEASE LONDON S BEST BUSINESS MINDS TO COMPETE FOR PRESTIGIOUS CHESS TITLE - London s business elite to compete alongside world s best chess players in the London Chess Classic Pro-Biz Cup 2017

More information

Poker AI: Equilibrium, Online Resolving, Deep Learning and Reinforcement Learning

Poker AI: Equilibrium, Online Resolving, Deep Learning and Reinforcement Learning Poker AI: Equilibrium, Online Resolving, Deep Learning and Reinforcement Learning Nikolai Yakovenko NVidia ADLR Group -- Santa Clara CA Columbia University Deep Learning Seminar April 2017 Poker is a Turn-Based

More information

A Study of Optimal Spatial Partition Size and Field of View in Massively Multiplayer Online Game Server

A Study of Optimal Spatial Partition Size and Field of View in Massively Multiplayer Online Game Server A Study of Optimal Spatial Partition Size and Field of View in Massively Multiplayer Online Game Server Youngsik Kim * * Department of Game and Multimedia Engineering, Korea Polytechnic University, Republic

More information

ConvNets and Forward Modeling for StarCraft AI

ConvNets and Forward Modeling for StarCraft AI ConvNets and Forward Modeling for StarCraft AI Alex Auvolat September 15, 2016 ConvNets and Forward Modeling for StarCraft AI 1 / 20 Overview ConvNets and Forward Modeling for StarCraft AI 2 / 20 Section

More information

SDS PODCAST EPISODE 110 ALPHAGO ZERO

SDS PODCAST EPISODE 110 ALPHAGO ZERO SDS PODCAST EPISODE 110 ALPHAGO ZERO Show Notes: http://www.superdatascience.com/110 1 Kirill: This is episode number 110, AlphaGo Zero. Welcome back ladies and gentlemen to the SuperDataSceince podcast.

More information

CS6700: The Emergence of Intelligent Machines. Prof. Carla Gomes Prof. Bart Selman Cornell University

CS6700: The Emergence of Intelligent Machines. Prof. Carla Gomes Prof. Bart Selman Cornell University EMERGENCE OF INTELLIGENT MACHINES: CHALLENGES AND OPPORTUNITIES CS6700: The Emergence of Intelligent Machines Prof. Carla Gomes Prof. Bart Selman Cornell University Artificial Intelligence After a distinguished

More information

Building Placement Optimization in Real-Time Strategy Games

Building Placement Optimization in Real-Time Strategy Games Building Placement Optimization in Real-Time Strategy Games Nicolas A. Barriga, Marius Stanescu, and Michael Buro Department of Computing Science University of Alberta Edmonton, Alberta, Canada, T6G 2E8

More information

Artificial Intelligence. Minimax and alpha-beta pruning

Artificial Intelligence. Minimax and alpha-beta pruning Artificial Intelligence Minimax and alpha-beta pruning In which we examine the problems that arise when we try to plan ahead to get the best result in a world that includes a hostile agent (other agent

More information

Automatic Learning of Combat Models for RTS Games

Automatic Learning of Combat Models for RTS Games Automatic Learning of Combat Models for RTS Games Alberto Uriarte and Santiago Ontañón Computer Science Department Drexel University {albertouri,santi}@cs.drexel.edu Abstract Game tree search algorithms,

More information

LONDON S BEST BUSINESS MINDS TO COMPETE FOR PRESTIGIOUS CHESS TITLE

LONDON S BEST BUSINESS MINDS TO COMPETE FOR PRESTIGIOUS CHESS TITLE PRESS RELEASE LONDON S BEST BUSINESS MINDS TO COMPETE FOR PRESTIGIOUS CHESS TITLE - London s business elite to compete alongside world s best chess players in the London Chess Classic Pro-Biz Cup 2017

More information

CS 188: Artificial Intelligence

CS 188: Artificial Intelligence CS 188: Artificial Intelligence Adversarial Search Prof. Scott Niekum The University of Texas at Austin [These slides are based on those of Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley.

More information

Artificial intelligence, made simple. Written by: Dale Benton Produced by: Danielle Harris

Artificial intelligence, made simple. Written by: Dale Benton Produced by: Danielle Harris Artificial intelligence, made simple Written by: Dale Benton Produced by: Danielle Harris THE ARTIFICIAL INTELLIGENCE MARKET IS SET TO EXPLODE AND NVIDIA, ALONG WITH THE TECHNOLOGY ECOSYSTEM INCLUDING

More information

Mastering the game of Go without human knowledge

Mastering the game of Go without human knowledge Mastering the game of Go without human knowledge David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton,

More information

CS 188: Artificial Intelligence Fall AI Applications

CS 188: Artificial Intelligence Fall AI Applications CS 188: Artificial Intelligence Fall 2009 Lecture 27: Conclusion 12/3/2009 Dan Klein UC Berkeley AI Applications 2 1 Pacman Contest Challenges: Long term strategy Multiple agents Adversarial utilities

More information

Adjustable Group Behavior of Agents in Action-based Games

Adjustable Group Behavior of Agents in Action-based Games Adjustable Group Behavior of Agents in Action-d Games Westphal, Keith and Mclaughlan, Brian Kwestp2@uafortsmith.edu, brian.mclaughlan@uafs.edu Department of Computer and Information Sciences University

More information

Artificial Intelligence for Games

Artificial Intelligence for Games Artificial Intelligence for Games CSC404: Video Game Design Elias Adum Let s talk about AI Artificial Intelligence AI is the field of creating intelligent behaviour in machines. Intelligence understood

More information

A Bayesian Model for Plan Recognition in RTS Games applied to StarCraft

A Bayesian Model for Plan Recognition in RTS Games applied to StarCraft 1/38 A Bayesian for Plan Recognition in RTS Games applied to StarCraft Gabriel Synnaeve and Pierre Bessière LPPA @ Collège de France (Paris) University of Grenoble E-Motion team @ INRIA (Grenoble) October

More information

The Principles Of A.I Alphago

The Principles Of A.I Alphago The Principles Of A.I Alphago YinChen Wu Dr. Hubert Bray Duke Summer Session 20 july 2017 Introduction Go, a traditional Chinese board game, is a remarkable work of art which has been invented for more

More information

Neuroevolution for RTS Micro

Neuroevolution for RTS Micro Neuroevolution for RTS Micro Aavaas Gajurel, Sushil J Louis, Daniel J Méndez and Siming Liu Department of Computer Science and Engineering, University of Nevada Reno Reno, Nevada Email: avs@nevada.unr.edu,

More information

Creating an Agent of Doom: A Visual Reinforcement Learning Approach

Creating an Agent of Doom: A Visual Reinforcement Learning Approach Creating an Agent of Doom: A Visual Reinforcement Learning Approach Michael Lowney Department of Electrical Engineering Stanford University mlowney@stanford.edu Robert Mahieu Department of Electrical Engineering

More information

Coevolving team tactics for a real-time strategy game

Coevolving team tactics for a real-time strategy game Coevolving team tactics for a real-time strategy game Phillipa Avery, Sushil Louis Abstract In this paper we successfully demonstrate the use of coevolving Influence Maps (IM)s to generate coordinating

More information

AI in Tabletop Games. Team 13 Josh Charnetsky Zachary Koch CSE Professor Anita Wasilewska

AI in Tabletop Games. Team 13 Josh Charnetsky Zachary Koch CSE Professor Anita Wasilewska AI in Tabletop Games Team 13 Josh Charnetsky Zachary Koch CSE 352 - Professor Anita Wasilewska Works Cited Kurenkov, Andrey. a-brief-history-of-game-ai.png. 18 Apr. 2016, www.andreykurenkov.com/writing/a-brief-history-of-game-ai/

More information

What is Artificial Intelligence? Alternate Definitions (Russell + Norvig) Human intelligence

What is Artificial Intelligence? Alternate Definitions (Russell + Norvig) Human intelligence CSE 3401: Intro to Artificial Intelligence & Logic Programming Introduction Required Readings: Russell & Norvig Chapters 1 & 2. Lecture slides adapted from those of Fahiem Bacchus. What is AI? What is

More information

Tobias Mahlmann and Mike Preuss

Tobias Mahlmann and Mike Preuss Tobias Mahlmann and Mike Preuss CIG 2011 StarCraft competition: final round September 2, 2011 03-09-2011 1 General setup o loosely related to the AIIDE StarCraft Competition by Michael Buro and David Churchill

More information

A Particle Model for State Estimation in Real-Time Strategy Games

A Particle Model for State Estimation in Real-Time Strategy Games Proceedings of the Seventh AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment A Particle Model for State Estimation in Real-Time Strategy Games Ben G. Weber Expressive Intelligence

More information

MACHINE LEARNING Games and Beyond. Calvin Lin, NVIDIA

MACHINE LEARNING Games and Beyond. Calvin Lin, NVIDIA MACHINE LEARNING Games and Beyond Calvin Lin, NVIDIA THE MACHINE LEARNING ERA IS HERE And it is transforming every industry... including Game Development OVERVIEW NVIDIA Volta: An Architecture for Machine

More information

Using Automated Replay Annotation for Case-Based Planning in Games

Using Automated Replay Annotation for Case-Based Planning in Games Using Automated Replay Annotation for Case-Based Planning in Games Ben G. Weber 1 and Santiago Ontañón 2 1 Expressive Intelligence Studio University of California, Santa Cruz bweber@soe.ucsc.edu 2 IIIA,

More information

Dota2 is a very popular video game currently.

Dota2 is a very popular video game currently. Dota2 Outcome Prediction Zhengyao Li 1, Dingyue Cui 2 and Chen Li 3 1 ID: A53210709, Email: zhl380@eng.ucsd.edu 2 ID: A53211051, Email: dicui@eng.ucsd.edu 3 ID: A53218665, Email: lic055@eng.ucsd.edu March

More information

Applying Goal-Driven Autonomy to StarCraft

Applying Goal-Driven Autonomy to StarCraft Applying Goal-Driven Autonomy to StarCraft Ben G. Weber, Michael Mateas, and Arnav Jhala Expressive Intelligence Studio UC Santa Cruz bweber,michaelm,jhala@soe.ucsc.edu Abstract One of the main challenges

More information

RoboCup. Presented by Shane Murphy April 24, 2003

RoboCup. Presented by Shane Murphy April 24, 2003 RoboCup Presented by Shane Murphy April 24, 2003 RoboCup: : Today and Tomorrow What we have learned Authors Minoru Asada (Osaka University, Japan), Hiroaki Kitano (Sony CS Labs, Japan), Itsuki Noda (Electrotechnical(

More information

Playing Atari Games with Deep Reinforcement Learning

Playing Atari Games with Deep Reinforcement Learning Playing Atari Games with Deep Reinforcement Learning 1 Playing Atari Games with Deep Reinforcement Learning Varsha Lalwani (varshajn@iitk.ac.in) Masare Akshay Sunil (amasare@iitk.ac.in) IIT Kanpur CS365A

More information

Challenges in Transition

Challenges in Transition Challenges in Transition Keynote talk at International Workshop on Software Engineering Methods for Parallel and High Performance Applications (SEM4HPC 2016) 1 Kazuaki Ishizaki IBM Research Tokyo kiszk@acm.org

More information

Build Order Optimization in StarCraft

Build Order Optimization in StarCraft Build Order Optimization in StarCraft David Churchill and Michael Buro Daniel Federau Universität Basel 19. November 2015 Motivation planning can be used in real-time strategy games (RTS), e.g. pathfinding

More information

Hierarchical Controller for Robotic Soccer

Hierarchical Controller for Robotic Soccer Hierarchical Controller for Robotic Soccer Byron Knoll Cognitive Systems 402 April 13, 2008 ABSTRACT RoboCup is an initiative aimed at advancing Artificial Intelligence (AI) and robotics research. This

More information

USING A FUZZY LOGIC CONTROL SYSTEM FOR AN XPILOT COMBAT AGENT ANDREW HUBLEY AND GARY PARKER

USING A FUZZY LOGIC CONTROL SYSTEM FOR AN XPILOT COMBAT AGENT ANDREW HUBLEY AND GARY PARKER World Automation Congress 21 TSI Press. USING A FUZZY LOGIC CONTROL SYSTEM FOR AN XPILOT COMBAT AGENT ANDREW HUBLEY AND GARY PARKER Department of Computer Science Connecticut College New London, CT {ahubley,

More information

CS440/ECE448 Lecture 11: Stochastic Games, Stochastic Search, and Learned Evaluation Functions

CS440/ECE448 Lecture 11: Stochastic Games, Stochastic Search, and Learned Evaluation Functions CS440/ECE448 Lecture 11: Stochastic Games, Stochastic Search, and Learned Evaluation Functions Slides by Svetlana Lazebnik, 9/2016 Modified by Mark Hasegawa Johnson, 9/2017 Types of game environments Perfect

More information

Replay-based Strategy Prediction and Build Order Adaptation for StarCraft AI Bots

Replay-based Strategy Prediction and Build Order Adaptation for StarCraft AI Bots Replay-based Strategy Prediction and Build Order Adaptation for StarCraft AI Bots Ho-Chul Cho Dept. of Computer Science and Engineering, Sejong University, Seoul, South Korea chc2212@naver.com Kyung-Joong

More information

Bayesian Networks for Micromanagement Decision Imitation in the RTS Game Starcraft

Bayesian Networks for Micromanagement Decision Imitation in the RTS Game Starcraft Bayesian Networks for Micromanagement Decision Imitation in the RTS Game Starcraft Ricardo Parra and Leonardo Garrido Tecnológico de Monterrey, Campus Monterrey Ave. Eugenio Garza Sada 2501. Monterrey,

More information

Adversarial Search Lecture 7

Adversarial Search Lecture 7 Lecture 7 How can we use search to plan ahead when other agents are planning against us? 1 Agenda Games: context, history Searching via Minimax Scaling α β pruning Depth-limiting Evaluation functions Handling

More information

CSE 40171: Artificial Intelligence. Adversarial Search: Games and Optimality

CSE 40171: Artificial Intelligence. Adversarial Search: Games and Optimality CSE 40171: Artificial Intelligence Adversarial Search: Games and Optimality 1 What is a game? Game Playing State-of-the-Art Checkers: 1950: First computer player. 1994: First computer champion: Chinook

More information

Lecture 33: How can computation Win games against you? Chess: Mechanical Turk

Lecture 33: How can computation Win games against you? Chess: Mechanical Turk 4/2/0 CS 202 Introduction to Computation " UNIVERSITY of WISCONSIN-MADISON Computer Sciences Department Lecture 33: How can computation Win games against you? Professor Andrea Arpaci-Dusseau Spring 200

More information

Game Playing. Garry Kasparov and Deep Blue. 1997, GM Gabriel Schwartzman's Chess Camera, courtesy IBM.

Game Playing. Garry Kasparov and Deep Blue. 1997, GM Gabriel Schwartzman's Chess Camera, courtesy IBM. Game Playing Garry Kasparov and Deep Blue. 1997, GM Gabriel Schwartzman's Chess Camera, courtesy IBM. Game Playing In most tree search scenarios, we have assumed the situation is not going to change whilst

More information

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

Capturing and Adapting Traces for Character Control in Computer Role Playing Games Capturing and Adapting Traces for Character Control in Computer Role Playing Games Jonathan Rubin and Ashwin Ram Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto, CA 94304 USA Jonathan.Rubin@parc.com,

More information

Department of Computer Science and Engineering. The Chinese University of Hong Kong. Final Year Project Report LYU1601

Department of Computer Science and Engineering. The Chinese University of Hong Kong. Final Year Project Report LYU1601 Department of Computer Science and Engineering The Chinese University of Hong Kong 2016 2017 LYU1601 Intelligent Non-Player Character with Deep Learning Prepared by ZHANG Haoze Supervised by Prof. Michael

More information

AI, AlphaGo and computer Hex

AI, AlphaGo and computer Hex a math and computing story computing.science university of alberta 2018 march thanks Computer Research Hex Group Michael Johanson, Yngvi Björnsson, Morgan Kan, Nathan Po, Jack van Rijswijck, Broderick

More information

Co-evolving Real-Time Strategy Game Micro

Co-evolving Real-Time Strategy Game Micro Co-evolving Real-Time Strategy Game Micro Navin K Adhikari, Sushil J. Louis Siming Liu, and Walker Spurgeon Department of Computer Science and Engineering University of Nevada, Reno Email: navinadhikari@nevada.unr.edu,

More information

OECD WORK ON ARTIFICIAL INTELLIGENCE

OECD WORK ON ARTIFICIAL INTELLIGENCE OECD Global Parliamentary Network October 10, 2018 OECD WORK ON ARTIFICIAL INTELLIGENCE Karine Perset, Nobu Nishigata, Directorate for Science, Technology and Innovation ai@oecd.org http://oe.cd/ai OECD

More information

Artificial Intelligence. Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University

Artificial Intelligence. Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University Artificial Intelligence Shobhanjana Kalita Dept. of Computer Science & Engineering Tezpur University What is AI? What is Intelligence? The ability to acquire and apply knowledge and skills (definition

More information

CS 387: GAME AI BOARD GAMES. 5/24/2016 Instructor: Santiago Ontañón

CS 387: GAME AI BOARD GAMES. 5/24/2016 Instructor: Santiago Ontañón CS 387: GAME AI BOARD GAMES 5/24/2016 Instructor: Santiago Ontañón santi@cs.drexel.edu Class website: https://www.cs.drexel.edu/~santi/teaching/2016/cs387/intro.html Reminders Check BBVista site for the

More information

UNIT 13A AI: Games & Search Strategies

UNIT 13A AI: Games & Search Strategies UNIT 13A AI: Games & Search Strategies 1 Artificial Intelligence Branch of computer science that studies the use of computers to perform computational processes normally associated with human intellect

More information

esports BETTING UNLOCKING THE POTENTIAL

esports BETTING UNLOCKING THE POTENTIAL esports BETTING UNLOCKING THE POTENTIAL 1 esports BETTING: UNDERSTANDING THE POTENTIAL esports has arrived. While still a rapidly expanding market, esports is already a huge industry with prize pools worth

More information

Case-Based Goal Formulation

Case-Based Goal Formulation Case-Based Goal Formulation Ben G. Weber and Michael Mateas and Arnav Jhala Expressive Intelligence Studio University of California, Santa Cruz {bweber, michaelm, jhala}@soe.ucsc.edu Abstract Robust AI

More information

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications

COMP219: Artificial Intelligence. Lecture 2: AI Problems and Applications COMP219: Artificial Intelligence Lecture 2: AI Problems and Applications 1 Introduction Last time General module information Characterisation of AI and what it is about Today Overview of some common AI

More information

Game Playing State-of-the-Art CSE 473: Artificial Intelligence Fall Deterministic Games. Zero-Sum Games 10/13/17. Adversarial Search

Game Playing State-of-the-Art CSE 473: Artificial Intelligence Fall Deterministic Games. Zero-Sum Games 10/13/17. Adversarial Search CSE 473: Artificial Intelligence Fall 2017 Adversarial Search Mini, pruning, Expecti Dieter Fox Based on slides adapted Luke Zettlemoyer, Dan Klein, Pieter Abbeel, Dan Weld, Stuart Russell or Andrew Moore

More information

GPU ACCELERATED DEEP LEARNING WITH CUDNN

GPU ACCELERATED DEEP LEARNING WITH CUDNN GPU ACCELERATED DEEP LEARNING WITH CUDNN Larry Brown Ph.D. March 2015 AGENDA 1 Introducing cudnn and GPUs 2 Deep Learning Context 3 cudnn V2 4 Using cudnn 2 Introducing cudnn and GPUs 3 HOW GPU ACCELERATION

More information

User Research in Fractal Spaces:

User Research in Fractal Spaces: User Research in Fractal Spaces: Behavioral analytics: Profiling users and informing game design Collaboration with national and international researchers & companies Behavior prediction and monetization:

More information

AI in Computer Games. AI in Computer Games. Goals. Game A(I?) History Game categories

AI in Computer Games. AI in Computer Games. Goals. Game A(I?) History Game categories AI in Computer Games why, where and how AI in Computer Games Goals Game categories History Common issues and methods Issues in various game categories Goals Games are entertainment! Important that things

More information

TOOLS AND PROCESSORS FOR COMPUTER VISION. Selected Results from the Embedded Vision Alliance s Spring 2017 Computer Vision Developer Survey

TOOLS AND PROCESSORS FOR COMPUTER VISION. Selected Results from the Embedded Vision Alliance s Spring 2017 Computer Vision Developer Survey TOOLS AND PROCESSORS FOR COMPUTER VISION Selected Results from the Embedded Vision Alliance s Spring 2017 Computer Vision Developer Survey 1 EXECUTIVE SUMMARY Since 2015, the Embedded Vision Alliance has

More information

Rock, Paper, StarCraft: Strategy Selection in Real-Time Strategy Games

Rock, Paper, StarCraft: Strategy Selection in Real-Time Strategy Games Proceedings, The Twelfth AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment (AIIDE-16) Rock, Paper, StarCraft: Strategy Selection in Real-Time Strategy Games Anderson Tavares,

More information

arxiv: v1 [cs.ai] 23 Jan 2019

arxiv: v1 [cs.ai] 23 Jan 2019 Hierarchical Reinforcement Learning for Multi-agent MOBA Game Zhijian Zhang 1, Haozheng Li 2, Luo Zhang 2, Tianyin Zheng 2, Ting Zhang 2, Xiong Hao 2,3, Xiaoxin Chen 2,3, Min Chen 2,3, Fangxu Xiao 2,3,

More information

These are the slides accompanying the book Artificial Intelligence and Games through the gameaibook.org website

These are the slides accompanying the book Artificial Intelligence and Games through the gameaibook.org website These are the slides accompanying the book Artificial Intelligence and Games through the gameaibook.org website 1 Some reasons why a course on game AI is time-relevant and important 2 Some potential learning

More information

Cooperative Learning by Replay Files in Real-Time Strategy Game

Cooperative Learning by Replay Files in Real-Time Strategy Game Cooperative Learning by Replay Files in Real-Time Strategy Game Jaekwang Kim, Kwang Ho Yoon, Taebok Yoon, and Jee-Hyong Lee 300 Cheoncheon-dong, Jangan-gu, Suwon, Gyeonggi-do 440-746, Department of Electrical

More information

Deep learning for INTELLIGENT machines

Deep learning for INTELLIGENT machines Deep learning for INTELLIGENT machines GAMING DESIGN ENTERPRISE VIRTUALIZATION HPC & CLOUD SERVICE PROVIDERS INTELLIGENT MACHINES THE WORLD LEADER IN VISUAL COMPUTING 2 3 APPLICATIONS OF DEEP LEARNING

More information

Decision Making in Multiplayer Environments Application in Backgammon Variants

Decision Making in Multiplayer Environments Application in Backgammon Variants Decision Making in Multiplayer Environments Application in Backgammon Variants PhD Thesis by Nikolaos Papahristou AI researcher Department of Applied Informatics Thessaloniki, Greece Contributions Expert

More information

arxiv: v1 [cs.lg] 2 Jan 2018

arxiv: v1 [cs.lg] 2 Jan 2018 Deep Learning for Identifying Potential Conceptual Shifts for Co-creative Drawing arxiv:1801.00723v1 [cs.lg] 2 Jan 2018 Pegah Karimi pkarimi@uncc.edu Kazjon Grace The University of Sydney Sydney, NSW 2006

More information

Case-Based Goal Formulation

Case-Based Goal Formulation Case-Based Goal Formulation Ben G. Weber and Michael Mateas and Arnav Jhala Expressive Intelligence Studio University of California, Santa Cruz {bweber, michaelm, jhala}@soe.ucsc.edu Abstract Robust AI

More information

DeepMind s Demis Hassabis inspires London schoolchildren

DeepMind s Demis Hassabis inspires London schoolchildren PRESS RELEASE DeepMind s Demis Hassabis inspires London schoolchildren John Saunders reports: Demis Hassabis, co-founder of the leading artificial intelligence company DeepMind, now part of Google s Alpha

More information

Quick work: Memory allocation

Quick work: Memory allocation Quick work: Memory allocation The OS is using a fixed partition algorithm. Processes place requests to the OS in the following sequence: P1=15 KB, P2=5 KB, P3=30 KB Draw the memory map at the end, if each

More information

Intelligent Non-Player Character with Deep Learning. Intelligent Non-Player Character with Deep Learning 1

Intelligent Non-Player Character with Deep Learning. Intelligent Non-Player Character with Deep Learning 1 Intelligent Non-Player Character with Deep Learning Meng Zhixiang, Zhang Haoze Supervised by Prof. Michael Lyu CUHK CSE FYP Term 1 Intelligent Non-Player Character with Deep Learning 1 Intelligent Non-Player

More information

CSE 473: Artificial Intelligence. Outline

CSE 473: Artificial Intelligence. Outline CSE 473: Artificial Intelligence Adversarial Search Dan Weld Based on slides from Dan Klein, Stuart Russell, Pieter Abbeel, Andrew Moore and Luke Zettlemoyer (best illustrations from ai.berkeley.edu) 1

More information