Presentation is loading. Please wait.

Presentation is loading. Please wait.

Artificial Intelligence Lecture 2 Department of Computer Science, International Islamic University Islamabad, Pakistan.

Similar presentations


Presentation on theme: "Artificial Intelligence Lecture 2 Department of Computer Science, International Islamic University Islamabad, Pakistan."— Presentation transcript:

1 Artificial Intelligence Lecture 2 Department of Computer Science, International Islamic University Islamabad, Pakistan

2 FOUNDATIONS OF ARTIFICIAL INTELLIGENCE By Dr. Ayyaz Hussain

3 Marks Distribution Textbook 1: George F Lugar, Artificial Intelligence Textbook 1: George F Lugar, Artificial Intelligence Textbook 2: S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2003, Second Edition Textbook 2: S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Prentice Hall, 2003, Second Edition Grading: Class participation (05%), Programming assignment & Quizes (15%), Grading: Class participation (05%), Programming assignment & Quizes (15%), Midterm test (20%), Final exam (60%) Midterm test (20%), Final exam (60%) Class participation includes participation in both lectures and tutorials (attendance, asking and answering questions, presenting solutions to tutorial questions). Class participation includes participation in both lectures and tutorials (attendance, asking and answering questions, presenting solutions to tutorial questions). Note that attendance at every lecture and tutorial will be taken and constitutes part of the class participation grade. Note that attendance at every lecture and tutorial will be taken and constitutes part of the class participation grade.

4 Outline Course overview Course overview What is AI? What is AI? A brief history A brief history The state of the art The state of the art

5 Course overview Introduction and Agents (chapters 1,2) Introduction and Agents (chapters 1,2) Search (chapters 3,4,5,6) Search (chapters 3,4,5,6) Logic (chapters 7,8,9) Logic (chapters 7,8,9) Planning (chapters 11,12) Planning (chapters 11,12) Uncertainty (chapters 13,14) Uncertainty (chapters 13,14) Learning (chapters 18,20) Learning (chapters 18,20) Natural Language Processing (chapter 22,23) Natural Language Processing (chapter 22,23)

6 What is AI? Views of AI fall into four categories: Thinking humanlyThinking rationally Acting humanlyActing rationally The textbook advocates "acting rationally"

7 Acting humanly: Turing Test Turing (1950) "Computing machinery and intelligence (Research paper)": Turing (1950) "Computing machinery and intelligence (Research paper)": "Can machines think?"  "Can machines behave intelligently?" "Can machines think?"  "Can machines behave intelligently?" Operational test for intelligent behavior: the Imitation Game Operational test for intelligent behavior: the Imitation Game Predicted that by 2000, a machine might have a 30% chance of fooling a lay person for 5 minutes Predicted that by 2000, a machine might have a 30% chance of fooling a lay person for 5 minutes Anticipated all major arguments against AI in following 50 years Anticipated all major arguments against AI in following 50 years Suggested major components of AI: knowledge Representation, reasoning, natural language understanding, machine learning Suggested major components of AI: knowledge Representation, reasoning, natural language understanding, machine learning

8 Turing test was designed to provide satisfactory operational definition of intelligence. Turing test was designed to provide satisfactory operational definition of intelligence. He defined the intelligent behavior as He defined the intelligent behavior as The ability to achieve human level performance in all cognitive tasks sufficient to fool an interrogator The ability to achieve human level performance in all cognitive tasks sufficient to fool an interrogator

9 Thinking humanly: cognitive modeling Can program thinks like humans Can program thinks like humans If Yes then we must have some way of determining that how human thinks. If Yes then we must have some way of determining that how human thinks. We have to get inside the actual working of human mind We have to get inside the actual working of human mind either through introspection (trying to catch own thoughts as they go by) or either through introspection (trying to catch own thoughts as they go by) or through psychological experiments. through psychological experiments. Once we have sufficiently precise theory of mind then it becomes possible to express the theory as computer program. Once we have sufficiently precise theory of mind then it becomes possible to express the theory as computer program. If program’s I/O and time behavior matches the human then that is the evidence that some of the program mechanisms may also be operating in humans. If program’s I/O and time behavior matches the human then that is the evidence that some of the program mechanisms may also be operating in humans.

10 Thinking humanly: cognitive modeling 1960s "cognitive revolution": information-processing psychology 1960s "cognitive revolution": information-processing psychology Requires scientific theories of internal activities of the brain -- How to validate? Requires Requires scientific theories of internal activities of the brain -- How to validate? Requires 1) Predicting and testing behavior of human subjects (top- down) 1) Predicting and testing behavior of human subjects (top- down) or 2) Direct identification from neurological data (bottom- up) or 2) Direct identification from neurological data (bottom- up) Both approaches (roughly, Cognitive Science and Cognitive Neuroscience) are now distinct from AI Both approaches (roughly, Cognitive Science and Cognitive Neuroscience) are now distinct from AI

11 Thinking rationally: "laws of thought" Aristotle: what are correct arguments/thought processes? Aristotle: what are correct arguments/thought processes? Several Greek schools developed various forms of logic: notation and rules of derivation for thoughts; may or may not have proceeded to the idea of mechanization Several Greek schools developed various forms of logic: notation and rules of derivation for thoughts; may or may not have proceeded to the idea of mechanization Direct line through mathematics and philosophy to modern AI Direct line through mathematics and philosophy to modern AI Problems: Problems: 1. Not all intelligent behavior is mediated by logical deliberation 2. What is the purpose of thinking? What thoughts should I have?

12 Acting rationally: rational agent Rational behavior: doing the right thing Rational behavior: doing the right thing The right thing: that which is expected to maximize goal achievement, given the available information The right thing: that which is expected to maximize goal achievement, given the available information Doesn't necessarily involve thinking – e.g., blinking reflex – but thinking should be in the service of rational action Doesn't necessarily involve thinking – e.g., blinking reflex – but thinking should be in the service of rational action

13 Rational agents An agent is an entity that perceives and acts An agent is an entity that perceives and acts This course is about designing rational agents This course is about designing rational agents Abstractly, an agent is a function from percept histories to actions: [f: P*  A ] For any given class of environments and tasks, we seek the agent (or class of agents) with the best performance Caveat: computational limitations make perfect rationality unachievable Abstractly, an agent is a function from percept histories to actions: [f: P*  A ] For any given class of environments and tasks, we seek the agent (or class of agents) with the best performance Caveat: computational limitations make perfect rationality unachievable  design best program for given machine resources

14 AI prehistory PhilosophyLogic, methods of reasoning, mind as physical system foundations of learning, language, rationality PhilosophyLogic, methods of reasoning, mind as physical system foundations of learning, language, rationality MathematicsFormal representation and proof algorithms, computation, (un)decidability, (in)tractability, probability MathematicsFormal representation and proof algorithms, computation, (un)decidability, (in)tractability, probability Economicsutility, decision theory Economicsutility, decision theory Neurosciencephysical substrate for mental activity Neurosciencephysical substrate for mental activity Psychology phenomena of perception and motor control, experimental techniques Psychology phenomena of perception and motor control, experimental techniques Computer building fast computers engineering Computer building fast computers engineering Control theorydesign systems that maximize an objective function over time Control theorydesign systems that maximize an objective function over time Linguisticsknowledge representation, grammar Linguisticsknowledge representation, grammar

15 Abridged history of AI 1943 McCulloch & Pitts: Boolean circuit model of brain 1943 McCulloch & Pitts: Boolean circuit model of brain 1950 Turing's "Computing Machinery and Intelligence" 1950 Turing's "Computing Machinery and Intelligence" 1956Dartmouth meeting: "Artificial Intelligence" adopted 1956Dartmouth meeting: "Artificial Intelligence" adopted 1952—69Look, Ma, no hands! 1952—69Look, Ma, no hands! 1950sEarly AI programs, including Samuel's checkers program, Newell & Simon's Logic Theorist, Gelernter's Geometry Engine 1950sEarly AI programs, including Samuel's checkers program, Newell & Simon's Logic Theorist, Gelernter's Geometry Engine 1965Robinson's complete algorithm for logical reasoning 1965Robinson's complete algorithm for logical reasoning 1966—73AI discovers computational complexity Neural network research almost disappears 1966—73AI discovers computational complexity Neural network research almost disappears 1969—79Early development of knowledge-based systems 1969—79Early development of knowledge-based systems 1980-- AI becomes an industry 1980-- AI becomes an industry 1986-- Neural networks return to popularity 1986-- Neural networks return to popularity 1987--AI becomes a science 1987--AI becomes a science 1995--The emergence of intelligent agents 1995--The emergence of intelligent agents

16 State of the art Deep Blue defeated the reigning world chess champion Garry Kasparov in 1997 Deep Blue defeated the reigning world chess champion Garry Kasparov in 1997 Proved a mathematical conjecture (Robbins conjecture) unsolved for decades Proved a mathematical conjecture (Robbins conjecture) unsolved for decades No hands across America (driving autonomously 98% of the time from Pittsburgh to San Diego) No hands across America (driving autonomously 98% of the time from Pittsburgh to San Diego) During the 1991 Gulf War, US forces deployed an AI logistics planning and scheduling program that involved up to 50,000 vehicles, cargo, and people During the 1991 Gulf War, US forces deployed an AI logistics planning and scheduling program that involved up to 50,000 vehicles, cargo, and people NASA's on-board autonomous planning program controlled the scheduling of operations for a spacecraft NASA's on-board autonomous planning program controlled the scheduling of operations for a spacecraft Proverb solves crossword puzzles better than most humans Proverb solves crossword puzzles better than most humans


Download ppt "Artificial Intelligence Lecture 2 Department of Computer Science, International Islamic University Islamabad, Pakistan."

Similar presentations


Ads by Google