artificial intelligence in computer game n.
Skip this Video
Loading SlideShow in 5 Seconds..
Artificial Intelligence in Computer Game PowerPoint Presentation
Download Presentation
Artificial Intelligence in Computer Game

Loading in 2 Seconds...

play fullscreen
1 / 25

Artificial Intelligence in Computer Game - PowerPoint PPT Presentation

  • Uploaded on

Artificial Intelligence in Computer Game. #1 What is Intelligence? #2 Current Frontier/Challenges/Examples #3 Which method do computer think? #4 General Problem in AI #5 Game AI #6 more Game AI Examples. #1 What is Intelligence ?. Intelligence: — “the capacity to learn and solve problems”

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

Artificial Intelligence in Computer Game

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
    Presentation Transcript
    1. Artificial Intelligence in Computer Game • #1 What is Intelligence? • #2 Current Frontier/Challenges/Examples • #3 Which method do computer think? • #4 General Problem in AI • #5 Game AI • #6 more Game AI Examples

    2. #1 What is Intelligence ? Intelligence: — “the capacity to learn and solve problems” (Webster dictionary) — the ability to think and act rationally Goal in Artificial Intelligence: — build and understand intelligent systems/agents — synergy between • philosophy, psychology, and cognitive science • computer science and engineering • mathematics and physics source: Thorsten Joachims [],.

    3. What’s involved in Intelligence? A) Ability to interact with the real world — to perceive, understand, and act — speech recognition, understanding, and synthesis — image understanding (computer vision) B) Reasoning and Planning — modelling the external world — problem solving, planning, and decision making — ability to deal with unexpected problems, uncertainties C) Learning and Adaptation — we are continuously learning and adapting Also: we want systems that adapt to us! — Major thrust of industry research.

    4. What is Artificial Intelligence ? Artificial Intelligence [AI] ปัญญาประดิษฐ์ Rich and Knight: the study of how to make computers do things which, at the moment, people do better. Handbook of AI: the part of computer science concerned with designing intelligent computer systems, that is, systems that exhibit the characteristics we associate with intelligence in human behavior – understanding language, learning, reasoning, solving problems, etc. Dean, Allen and Aloimonos: the design and study of the computer programs that behave intelligently. Russell and Norvig: the study of [rational] agents that exist in an environment and perceive and act.

    5. Goals in AI engineering goal To solve real-world problems. Build systems that exhibit intelligent behavior. scientific goal To understand what kind of computational mechanisms are needed for modeling intelligent behavior.

    6. Classic AI Examples • Chinese Room • Turing Test • Deep Blue • Eliza

    7. Chinese Room "Nobody just looking at my answers can tell that I don't speak a word of Chinese," he writes.[1] The Chinese Room argument comprises a thought experiment and associated arguments by John Searle (Searle 1980), who attempts to show that a symbol-processing machine like a computer can never be properly described as having a "mind" or "understanding", regardless of how intelligently it may behave.

    8. Turing Test Interrogator asks questions of two “people” who are out of sight and hearing. One is a person; the other is a machine. • 30 minutes to ask whatever he or she wants. • Task: to determine, only through the questions and answers typed into a computer terminal, which is which. • If can’t reliably distinguish the human from the computer, then the computer is deemed intelligent. Artificial intelligence is the enterprise of constructing an artifact that can pass the Turing test.

    9. Deep Blue • Feng-hsiung Hsu, Thomas Anantharaman and Murray Campbell at Carnegie Mellon University - CMU • Chiptest 50,000 moves per second • Chiptest Bug 500,000 moves per second • ChipTest-M won the North American Computer Chess Championship in 1987 • Deep Thought 0.01 was created in May 1988 720,000 moves per second • Deep Thought 0.02 won the World Computer Chess Championship with a perfect 5-0 score in 1989. • Deep Blue 200 million positions per second • Deep Fritz or Deep Junior ran on a personal computer containing two Intel Core 2 Duo CPUs, capable of evaluating only 8 million positions per second

    10. #2 The Current Frontier Deep Blue vs. Kasparov (May, ’97) –first match won against world-champion –“intelligent & creative” play –200 million board positions per second Kasparov: “I could feel — I could smell — a new kind of intelligence across the table.” ... still understood 99.9% of Deep Blue’s moves. Intriguing issue: How does human cognition deal with the combinatorics of chess?

    11. Eliza • • Chat Bot • ELIZA is a computer program by Joseph Weizenbaum, designed in 1966, which parodied a Rogerian therapist, largely by rephrasing many of the patient's statements as questions and posing them to the patient. Thus, for example, the response to "My head hurts" might be "Why do you say your head hurts?" The response to "My mother hates me" might be "Who else in your family hates you?" ELIZA was named after Eliza Doolittle, a working-class character in George Bernard Shaw's play Pygmalion, who is taught to speak with an upper classaccent.[1]

    12. Eliza •

    13. Rules and Learning Learning rules means adaption .. get reward/punishment (eg. In behavioral psychologygive reward – dog trainning experiment) Ivan Palov

    14. #3 Which method do computer think ? : Structure The brain — a neuron is the basic processing unit, >100 Billion neurons — many more synapses connect the neurons — cycle time: EEG: Theta 4-8 Hz Alpha 8-12Hz Gamma 26-70Hz Computers — 55Million or more transistors per CPU — supercomputer: hundreds of CPUs — cycle times: 3GHz

    15. Which method do computer think ? : Algorithm & Experience The brain — Experience  Induction/ Inductive Reasoning (Learning from experience) Computers — Algorithm  Fix method — Algorithm  Induction (Learning from data)

    16. Game Play / Search Tree start Example of Search Tree — Possible Move x x x O x O O O x x O x x x o o x goal o x

    17. Heuristic Search Heuristic — heuristic is a function h(x) defined on node of search tree Search will expand the lowest value for g(n)+h(n) g(n) = (exact) cost of the path from the initial state to the current node h(n) = never over estimates the cost of reaching the goal Examples: Solved n-Puzzle, Rubik

    18. #4 Problem in AI Data Fitting / Data Prediction Problem — future, who knows? eg. stock market overfit underfit value goodfit time

    19. Problem in AI Classification Problem —

    20. Problem in AI Optimization Problem — Traveling Salesman Problem [TSP] — Findout a new design to reduce cost, energy, efficiency ..

    21. #5 Game AI — Path Solver — Expert System — Finite Stage Machine FSM

    22. Path Finding Path Solver — Automatic movement in map

    23. Finite Stage Machine [FSM] — Given Rules ตื่น พลังเพิ่ม? มองเห็นผู้เล่น? หลับ หนี มองไม่เห็นผู้เล่น? เข้าใกล้? มองไม่เห็นผู้เล่น? พลังลดลง? ต่อสู้ รอ? พลังหมด? พลังหมด? เกิดใหม่ ตาย มีโควต้า? Drop Items..

    24. #6 More Game AI examples RPGs — Scripting (eg. Phython, Ruby ) — Rules based — Agent, Bots

    25. Ethics in Game AI ? Should AI cheat ? — Cheat Declaration: Know opponent's data Know systems data — no cheat = hard code — cheat = easier code base on global data Game purpose is for fun. even AI cheating and people who play game still feel fun. do it.