Computational Intelligence in Games: An Overview Zahid Halim Faculty of Computer Science and Engineering Ghulam Ishaq Khan Institute of Engineering Sciences.

Slides:



Advertisements
Similar presentations
Approaches, Tools, and Applications Islam A. El-Shaarawy Shoubra Faculty of Eng.
Advertisements

1 Machine Learning: Lecture 4 Artificial Neural Networks (Based on Chapter 4 of Mitchell T.., Machine Learning, 1997)
Tetris – Genetic Algorithm Presented by, Jeethan & Jun.
By Luigi Cardamone, Daniele Loiacono and Pier Luca Lanzi.
Becerra-Fernandez, et al. -- Knowledge Management 1/e -- © 2004 Prentice Hall Chapter 7 Technologies to Manage Knowledge: Artificial Intelligence.
Computational Intelligence, Analytics and Computer Games Dr. Zahid Halim Faculty of Computer Science and Engineering Ghulam Ishaq Khan Institute of Engineering.
RACE CAR STRATEGY OPTIMISATION UNDER SIMULATION Naveen Chaudhary Shashank Sharma.
Institute of Intelligent Power Electronics – IPE Page1 Introduction to Basics of Genetic Algorithms Docent Xiao-Zhi Gao Department of Electrical Engineering.
Chapter 4 DECISION SUPPORT AND ARTIFICIAL INTELLIGENCE
Neuro-Evolution of Augmenting Topologies Ben Trewhella.
Genetic Algorithms. Some Examples of Biologically Inspired AI Neural networks Evolutionary computation (e.g., genetic algorithms) Immune-system-inspired.
EvoNet Flying Circus Introduction to Evolutionary Computation Brought to you by (insert your name) The EvoNet Training Committee The EvoNet Flying Circus.
Evolving Neural Network Agents in the NERO Video Game Author : Kenneth O. Stanley, Bobby D. Bryant, and Risto Miikkulainen Presented by Yi Cheng Lin.
Neural Networks Marco Loog.
Evolution and Coevolution of Artificial Neural Networks playing Go Thesis by Peter Maier, Salzburg, April 2004 Additional paper used Computer Go, by Martin.
1. 2 overview Background on video games Background on video games Neural networks Neural networks NE NE NEAT NEAT rtNEAT rtNEAT NERO NERO.
Artificial Intelligence
Neuro-fuzzy Systems Xinbo Gao School of Electronic Engineering Xidian University 2004,10.
Artificial Intelligence
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
CSC 4510 – Machine Learning Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website:
CHAPTER 12 ADVANCED INTELLIGENT SYSTEMS © 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang.
Extracting Places and Activities from GPS Traces Using Hierarchical Conditional Random Fields Yong-Joong Kim Dept. of Computer Science Yonsei.
Evolving Multi-modal Behavior in NPCs Jacob Schrum – Risto Miikkulainen –
Ch1 AI: History and Applications Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2011.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Evolving a Sigma-Pi Network as a Network Simulator by Justin Basilico.
More precisely called Branch of AI behind it.
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
Integrating Neural Network and Genetic Algorithm to Solve Function Approximation Combined with Optimization Problem Term presentation for CSC7333 Machine.
Artificial Neural Network Theory and Application Ashish Venugopal Sriram Gollapalli Ulas Bardak.
Artificial Neural Nets and AI Connectionism Sub symbolic reasoning.
Jorge Munoz, German Gutierrez, Araceli Sanchis Presented by: Itay Bittan.
Study on Genetic Network Programming (GNP) with Learning and Evolution Hirasawa laboratory, Artificial Intelligence section Information architecture field.
Classification / Regression Neural Networks 2
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
110/19/2015CS360 AI & Robotics AI Application Areas  Neural Networks and Genetic Algorithms  These model the structure of neurons in the brain  Humans.
1 Phase II - Checkers Operator: Eric Bengfort Temporal Status: End of Week Five Location: Phase Two Presentation Systems Check: Checkers Checksum Passed.
Introduction to Artificial Intelligence and Soft Computing
1 Machine Learning 1.Where does machine learning fit in computer science? 2.What is machine learning? 3.Where can machine learning be applied? 4.Should.
G ENETIC P ROGRAMMING Ranga Rodrigo March 17,
CAP6938 Neuroevolution and Developmental Encoding Real-time NEAT Dr. Kenneth Stanley October 18, 2006.
I Robot.
Algorithms and their Applications CS2004 ( ) 13.1 Further Evolutionary Computation.
Artificial Intelligence for Games Online and local search
Mike Taks Bram van de Klundert. About Published 2005 Cited 286 times Kenneth O. Stanley Associate Professor at University of Central Florida Risto Miikkulainen.
科技英文作業 黃方世 陳竹軒. Introduction Talking about video games. Training agents for what. Focus on training Non-player-character (NPC).
Evolutionary Programming
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 42 Wednesday, 14.
Artificial Intelligence By: Ian, Chelsea, Doug, & Grace.
Pac-Man AI using GA. Why Machine Learning in Video Games? Better player experience Agents can adapt to player Increased variety of agent behaviors Ever-changing.
Subsumption Architecture and Nouvelle AI Arpit Maheshwari Nihit Gupta Saransh Gupta Swapnil Srivastava.
Artificial Intelligence, Expert Systems, and Neural Networks Group 10 Cameron Kinard Leaundre Zeno Heath Carley Megan Wiedmaier.
Artificial Intelligence Research in Video Games By Jacob Schrum
Playing Tic-Tac-Toe with Neural Networks
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
Robot Intelligence Technology Lab. 10. Complex Hardware Morphologies: Walking Machines Presented by In-Won Park
Evolutionary Programming A.E. Eiben and J.E. Smith, Introduction to Evolutionary Computing Chapter 5.
CAP6938 Neuroevolution and Artificial Embryogeny Real-time NEAT Dr. Kenneth Stanley February 22, 2006.
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
 Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems n Introduction.
CAP6938 Neuroevolution and Artificial Embryogeny Real-time NEAT Dr. Kenneth Stanley February 22, 2006.
Evolutionary Programming
Evolutionary Algorithms Jim Whitehead
Evolution strategies Can programs learn?
Training Neural networks to play checkers
G5BAIM Artificial Intelligence Methods
Overview of Machine Learning
Evolutionary Programming
Boltzmann Machine (BM) (§6.4)
Presentation transcript:

Computational Intelligence in Games: An Overview Zahid Halim Faculty of Computer Science and Engineering Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, Topi.

Layout What is AI/CI and ML Why Computer Games? How CI helps computer Games? Some Examples Key venues to publish work Future directions 12/19/2012Computational Intelligence in Games: An Overview2

AI vs. CI vs. ML Artificial Intelligence (Think like human, learn from experience, recognize patterns, make complex decisions based on knowledge and reasoning) – Machine learning – Knowledge representation – Natural Language Processing – Planning Robotics etc. Machine learning – Branch of AI – Construction and study of systems that can learn from data – messages to learn to distinguish between spam and non-spam messages – There is difference between ML and Data Mining too Computational Intelligence ( – Integrating the fields Artificial Neural Networks Evolutionary Computation Fuzzy Logic Computational Intelligence in Games: An Overview312/19/2012

They are related… But they are all different… I hope all of us understand difference between hard and soft computing AI CIML Computational Intelligence in Games: An Overview412/19/2012

Why Computer Games? 49% of U.S. households own a dedicated game console The average game player age is: 30 years Computational Intelligence in Games: An Overview512/19/2012

Why Computer Games? 42% of game players believe that computer and video games give them the most value for their money, compared with DVDs, music or going out to the movies Gamers who are playing more video games than they did three years ago are spending less time: – 59% playing board games – 50% going to the movies – 47% watching TV – 47% watching movies at home 62% of gamers play games with others, either in-person or online 78% of gamers who play with others do so at least one hour per week Computational Intelligence in Games: An Overview612/19/2012

Money Matters! Total: $24.75 Billion Computational Intelligence in Games: An Overview712/19/2012 But its not every thing!

What can Computational Intelligence do? Generate complete game Creation of intelligent game characters Creation of entertaining game characters Generating tracks for racing games. Adaptable player experience. Levels for action games. Generating maps for games. Computational Intelligence in Games: An Overview812/19/2012

Procedural Content Generation Lindenmayer system: A variant of a formal grammar, most famously used to model the growth processes of plant. Consists of: – An alphabet of symbols that can be used to make strings – A collection of production rules which expand each symbol into some larger string of symbols – An initial "axiom" string from which to begin construction – A mechanism for translating the generated strings into geometric structures. PCG can also generate weapons that player might require in a game Search based PCG is different Computational Intelligence in Games: An Overview912/19/2012

Some of the PCG based Games GameContentYear ToeJam & EarlThe random levels were procedurally generated.1991 The Elder Scrolls III: Morrowind Water effects are generated on the fly."Water Interaction" demo.2002 RoboBlitzXBox360 live arcade and PC2006 BorderlandsWeapons were generated depending upon the levels2009 Terraria 2D landscape was generated that a player can travel around.2011 Computational Intelligence in Games: An Overview1012/19/2012

Automated Game “entertaining” Generation Search Space Dimension Possible Values Select Values Checkers Chess Play Area Only black squares are used Both white & black squares are used Types of PiecesInitially 1, maximum 266 Number of pieces/type 12, variable (but max. 12) 16variable but at maximum 24 Initial position Black squares of first 3 rows Both white & black squares of first 2 rows Both white & black squares of first 3 rows Movement direction Diagonal forward and Diagonal, forward backward All directions, straight forward, straight forward and backward, L shaped, diagonal forward Step SizeOne Step One Step, Multiple Steps Capturing LogicStep overStep intoStep over, step into Game ending logic No moves possible for a player No moves possible for the king No moves possible for a player, no moves possible for the king Conversion LogicCheckers into king Soldiers into queen or any piece of choice Depends upon rules of the game Mandatory to captureYesNo Depends upon rules of the game Turn passing allowedNo Computational Intelligence in Games: An Overview1112/19/2012

Objective Function 1+1 Evolutionary Strategy (ES) 10 chromosomes are randomly initialized The evolutionary algorithm is run for 100 iterations Mutation only with probability of 30 percent One parent produce one child – Fitness difference is calculated – If it is greater than 4 (at least half times better) child is promoted to the next population Computational Intelligence in Games: An Overview1212/19/2012

Making Racing Fun Through Player Modelling and Track Evolution We have one or several car racing tracks with – Walls, Waypoints, Staring position of the car Car consist of – Sensor model to sense the environment – Discrete set of control commands Objective of the game is to pass as many waypoints in given timesteps. Car has 6 sensors, Speed of the car and Angle to the next waypoint Fully connected feedforward nets (MLPs) with the tanh transfer function. Only the weights of the networks are changed by evolution or back propagation Nine inputs (sensors and a bias input), Six hidden neurons Two output neurons are used. – The First output is interpreted as driving command – Second as steering command. Computational Intelligence in Games: An Overview1312/19/2012

Learning Behaviour: Backpropagation Human player drove a number of laps around a track, while the inputs from sensors and actions taken by the human were logged at each timestep. This log was then used to train a neural network controller to associate sensor inputs with actions using a standard backpropagation algorithm. Several variations on this idea were tried with very little success. Training often achieved low error rates (typically 0.05), none of the trained networks managed to complete even half a lap. A small amount of noise that is applied to sensors guarantees that the car does not simply replay the human action. Computational Intelligence in Games: An Overview1412/19/2012

Evolving Neural Network Agents in the NERO Video Game –real-time NeuroEvolution of Augmenting Topologies (rt-NEAT) method for evolving increasingly complex artificial neural networks in real time, as a game is being played. –rtNEAT makes possible a new genre of video games in which the player teaches a team of agents through a series of customized training exercises. –In NEAT, the population is replaced at each generation. Everyone’s behaviour would change at once. Behaviours would remain static during the large gaps between generations –In rtNEAT, a single individual is replaced very few game ticks Computational Intelligence in Games: An Overview1512/19/2012

Conferences and Journals IEEE Computational Intelligence and Games IEEE Transactions on Computational Intelligence and AI in Games (IF 1.8) International Journal of Computer Games Technology International Conference on Computer Games (CGAMES) CGamesUSA International Conference on Computer Games Computational Intelligence in Games: An Overview1612/19/2012

Where are the opportunities? CIG for health care CIG for education Neuro Computer interface for games Physicological study via games Computational Intelligence in Games: An Overview1712/19/2012

Thanks for your patience Presentation available at:

Bibliography Halim, Zahid, A. Rauf Baig, and Hasan Mujtaba. "Measuring entertainment and automatic generation of entertaining games." International Journal of Information Technology, Communications and Convergence 1.1 (2010): Halim, Zahid, A. Rauf Baig, and Mujtaba Hasan. "Evolutionary Search For Entertainment In Computer Games." Intelligent Automation & Soft Computing 18.1 (2012): Halim, Zahid, and A. Raif Baig. "Evolutionary Algorithms towards Generating Entertaining Games." Next Generation Data Technologies for Collective Computational Intelligence. Springer Berlin Heidelberg, ESA 2012 Sales, Demographic and Usage Data Evolving Neural Network Agents in the NERO Video Game, Stanley et. al Acquiring Visibly Intelligent Behavior with Example-Guided Neuroevolution, Bryant et. al. Making Racing Fun Through Player Modeling, Togelius et. al. Evolutionary Search for Entertainment in Games, Halim et. al. 12/19/2012Computational Intelligence in Games: An Overview19