CIS 488/588 Bruce R. Maxim UM-Dearborn

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Chapter 09 AI techniques in different game genres (Puzzle/Card/Shooting)
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California
Heuristic Search techniques
Cognitive Systems, ICANN panel, Q1 What is machine intelligence, as beyond pattern matching, classification and prediction. What is machine intelligence,
Presentation on Artificial Intelligence
AI Pathfinding Representing the Search Space
1 Interactive Fiction CIS 487/587 Bruce R. Maxim UM-Dearborn.
Artificial Intelligence
Artificial Intelligence in Game Design Intelligent Decision Making and Decision Trees.
Chapter 4 DECISION SUPPORT AND ARTIFICIAL INTELLIGENCE
RED DEAD REVOLVER Artificial Intelligence Critique By Mitchell C. Dodes CIS 588.
And Just Games etc.. EVOLUTION OF COMPUTER GAMES PongOdyssey Beginning of the use of microprocessors ATARI VCS system bit.
Uninformed Search Reading: Chapter 3 by today, Chapter by Wednesday, 9/12 Homework #2 will be given out on Wednesday DID YOU TURN IN YOUR SURVEY?
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
Succeeding with Technology Information, Decision Support… Decision Making and Problem Solving Management Information Systems Decision Support Systems Group.
Ch1 AI: History and Applications Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2011.
Artificial Intelligence in Game Design Problems and Goals.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Game AI Fundamentals. What is Artificial Intelligence (AI)? Not easy to answer… “Ability of a computer or other machine to perform those activities that.
Introduction GAM 376 Robin Burke Winter Outline Introductions Syllabus.
11 C H A P T E R Artificial Intelligence and Expert Systems.
Survey of AI for games. AI vs. AI for games Traditional AI: – Made to handle unseen inputs, large state space – Too many options possible to compute an.
Artificial Intelligence
Fundamentals of Information Systems, Third Edition2 Principles and Learning Objectives Artificial intelligence systems form a broad and diverse set of.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
I Robot.
Neural Network Implementation of Poker AI
Course Overview  What is AI?  What are the Major Challenges?  What are the Main Techniques?  Where are we failing, and why?  Step back and look at.
Artificial Intelligence: Research and Collaborative Possibilities a presentation by: Dr. Ernest L. McDuffie, Assistant Professor Department of Computer.
A field of study that encompasses computational techniques for performing tasks that require intelligence when performed by humans. Simulation of human.
AI Overview Logical and Artificial Intelligence in Games Lecture 1.
Overview of Artificial Intelligence (1) Artificial intelligence (AI) Computers with the ability to mimic or duplicate the functions of the human brain.
Chapter 14 Part 1: Core Game Mechanics By Nolan Driessen.
Introduction to Machine Learning, its potential usage in network area,
Brief Intro to Machine Learning CS539
Knowledge Representation Techniques
Algorithms and Problem Solving
Introduction Characteristics Advantages Limitations
Done Done Course Overview What is AI? What are the Major Challenges?
Done Done Course Overview What is AI? What are the Major Challenges?
Enemy and Friendly AIs Richard Gesick.
Introduction to Data Structure
CIS 488/588 Bruce R. Maxim UM-Dearborn
Artificial Intelligence
Analysis and Understanding
CIS 487/587 Bruce R. Maxim UM-Dearborn
Artificial Intelligence Includes:
Introduction Artificial Intelligent.
Artificial Intelligence introduction(2)
Objective of This Course
Artificial Intelligence (Lecture 1)
CIS 488/588 Bruce R. Maxim UM-Dearborn
CIS 488/588 Bruce R. Maxim UM-Dearborn
Interaction with artificial intelligence in games
Intelligent Systems and
CIS 488/588 Bruce R. Maxim UM-Dearborn
Robot Intelligence Kevin Warwick.
Artificial Intelligence In Modern Military Games GameTech 2012
Chapter 14 Part 1: Core Game Mechanics By Nolan Driessen
State-Space Searches.
COMP3710 Artificial Intelligence Thompson Rivers University
Introduction to Artificial Intelligence Instructor: Dr. Eduardo Urbina
State-Space Searches.
Artificial Intelligence
Search.
Search.
State-Space Searches.
Area Coverage Problem Optimization by (local) Search
This presentation was developed by Dr. Steven C
Presentation transcript:

CIS 488/588 Bruce R. Maxim UM-Dearborn AI Overview CIS 488/588 Bruce R. Maxim UM-Dearborn 11/23/2018

What is AI? A form of intelligence artificially recreated using machines A set of academic techniques, research methods, in problems that fall into one sub-branch of science Algorithms and data structures that can be used to help a machine do something interesting without explicit programming 11/23/2018

Intelligence Set of skills that allow humans to solve problems with limited resources Learning Planning Imagination Creativity Non-player character (NPC)intelligence is the artificial version of human intelligence 11/23/2018

Academic AI Historically AI has tended to be very focused on detailed problems solvable using specific techniques Weak AI techniques can not be applied outside their intended domain Weak AI has been successful in some domains, but often requires manual interaction with human experts to work 11/23/2018

Why use game AI? Create more intelligent characters to improve game play Allow the creation of single-player games with good opponents Allow multi-player games to be played by one person 11/23/2018

Agents Smart entities are known as agents Systems able to coordinate several agents as known as multi-agent systems For performance reasons, the more agents in the game the simpler the complexity (time and space) of the AI 11/23/2018

Game AI In game AI, results are important not the verisimilitude of the agent’s cognitive processing Robust AI technology may not be needed if cleaver software engineering can be used to craft the illusion of intelligence 11/23/2018

Scripts Get keys out of pocket Put key in door Open door Get in car Close door Put key in ignition Turn key to start car 11/23/2018

Searching and Routing Least cost routing and searching systems use heuristics to simulate intuitive leaps of understanding that humans exhibit Pathfinding is a variation of the routing problems Some people equate faster search algorithms for with better problem solving capabilities\ Least-cost costs are preferred when a problem will be solved more than once 11/23/2018

A* Add root to queue of partial paths Until queue is empty or goal is attained If first queue element equals the goal then do nothing Else remove the first queue element add its children to the front of the queue of the partial paths sort the queue of partial paths by distance traveled plus the estimate of distance to goal remove redundant paths If goal is attained then announce success 11/23/2018

A* Makes use of both a cost measure and remaining distance underestimator Removes redundant paths from the queue of partial paths 11/23/2018

A* Weaknesses Requires the use of a “natural” distance measure Underestimator is a guess as best Sorting takes time Removing paths takes time 11/23/2018

Rules and Expert Systems Knowledge bases are a substitute for institutional memory Expert systems have been used quite successfully for to solve diagnostic and patter recognition problems NPC behavior can be determined by expert systems, learning in these systems comes from acquiring more information about a situation rather than creating new rules 11/23/2018

Logic and Uncertainty Need ways to accommodate incomplete and imprecise information Fuzzy logic provides one way of dealing with these problems (set membership determined by probability membership function) Usually requires numeric values to be assigned to degrees of uncertainty and numeric thresholds to determine when something is “likely” or not 11/23/2018

Natural Language Processing Considered the holy grail of AI The hard part is getting an NPC to understand the intent of a spoken question or statement, not just recognizing the words Lots of heuristic tricks are used to make NLP seem like it is happening in games Key word searches Restricted (simplified) language grammars Restricted vocabularies 11/23/2018

Neural Networks Numerical approach used to simulate learning in AI systems Good at learning to recognize desirable “patterns” in complex and imprecise data (give enough training and reinforcement) Not good at explaining their decisions or reasoning processes Very robust and can operate with reduced performance with missing network nodes 11/23/2018

Swarm Intelligence Modeling behavior of groups made up of intelligent entities Self-organization in game applications Emergent (leaderless) coordination Social insects/animals Swarm systems do not have master controllers The simple group entities are processing the same local data independently and arriving at similar decisions 11/23/2018

State of Game AI Use scripted behaviors and A* pathfinding are examples of mature technologies found in many game AI systems Some systems make use of decision trees or reinforcement learning, but it is some times hard to see where using advanced AI techniques has produced improved gameplay AI technology may have the potential to speed up game production by speeding up design and experimentation during development 11/23/2018

AI Design Revolution Several games like Black & White and the Sims are based on interactions with agents capable of modest amount of learning These games have been widely received by the public These games rely on AI established technologies but only recently has platform performance been sufficient to allow its use in real-time settings 11/23/2018

Designers vs AI Intelligent game characters behave autonomously Designers need to control the behavior of NPC’s Question: do we need both? Presence of AI threatens designers’ authority 11/23/2018

Explicit Design Designer’s implement their game vision in a top-down manner controlling every detail of the game Common in game based on a single story line like Doom 3 With single-player scenarios there is little need for AI NPC’s can be implemented using simple scripting techniques 11/23/2018

Implicit Design Bottom-up design focused on using the interaction of AI and the game environment to create game play There is no master story the game characters work together to create on like in Rollercoaster Tycoon If NPC’s are intelligent, the designer’s only control over their behavior is by manipulating the environment 11/23/2018

Combining Combining top-down and bottom-up design is an AI research problem One solution is to alternate explicit control (set up the story) and implicit control (allow the player to play) like in GTA 3 During cut-scenes NPC behavior is disabled During game regular play autonomous AI is free to do its thing 11/23/2018

Designer vs AI The designer’s job is to craft the game from low level behaviors to the over all story line Animating characters is part of this job It is the AI’s responsibility to control the behavior of in-game characters to bring this vision to life 11/23/2018

Conflict Occurs when the designer wants explicit control over an intelligent NPC (the AI must be turned off temporarily to accomplish this) Occurs when the designer has a specific story line in mind (it is hard to get the NPC’s to force the player into the needed situation instead of doing what comes naturally) It is important to specify particular story line twist early in design since resolving conflicts can require a lot programming work arounds 11/23/2018

AI in Game Programming In practice game AI controls every NPC: Primitive behaviors (picking up items) Movement (obstacle avoidance) Decision making (decide what actions are needed and how to sequence them) 11/23/2018

AI Technique Benefits Provide elegant solutions for explicit control Explicit requires over-riding system behaviors in certain situations Provide technology to support implicit control efficiently Implicit control requires when multiple operations are needed to achieve a goal 11/23/2018

Useful AI Techniques Motor control Pattern recognition Prediction Approximation Design patterns Testing methodologies 11/23/2018

Game Value Added by AI Entertainment Believability Tests skills of human players Provides challenges with increasing difficulty Evokes player emotions by adjusting environments Believability AI characters can improve immersivenes of games Allow NPC’s to behave in plausible manners 11/23/2018