T-622-ARTI Introduction to AI Teacher: Hannes Högni Vilhjálmsson ([email protected]) Assistant: Angelo Cafaro ([email protected]) Classes Mondays at 13:10 (M.1.02) Thursdays at 14:00 (M.1.03) Fridays at 10:20 (M.1.02) T-622-ARTI Introduction to AI Topics Covered Agents and Architecture (chapter 2) Search (chapters 3-6) Logic and reasoning (chapters 7-9) Planning (chapter 10-11) Bayesian Networks (chapter 14) Learning (chapter 18) Perception Natural Language T-622-ARTI Introduction to AI Approach Lectures (Mondays, Fridays) Introduce theory Paper Discussion (Mondays) Your direct participation in topical discussion! Labs (Thursdays) Hands-on Practice and Problem Solving Assignments and Final Project 1 T-622-ARTI Introduction to AI Final Grade Discussion 20% Programming Assignments (x2) 10% Problem Sets (x2) 10% Final Project 30% Final Written Exam 30% Attendance 70% required for taking final exam T-622-ARTI Introduction to AI Discussion Specific short reading is assigned (MON) You post 2 questions online (SUN) We discuss your questions together in class (MON) Your participation here is 20% of grade! Do you know of thought provoking readings? Let me know and I may schedule them T-622-ARTI Introduction to AI Hannes’ availability After classes “open office policy” Visit my office anytime (SCS reception, Venus 3. floor) Send email or call: [email protected], 599 6323 (GSM: 824 8814) On MSN: [email protected] 2 Introduction AI Russell and Norvig: Chapter 1 Chapter 1.1 WHAT IS AI? What is AI? THINK like THINK HUMANS RATIONALLY ! ACT like ACT HUMANS RATIONALLY 3 Acting Humanly ! The Turing Test Proposed by Alan Turing (1950) Establishes human action as the benchmark AI passestest if written interrogation by human does not unveil it as a computer Provides plenty to work on! Natural Language Processing Knowledge Representation Automated Reasoning Machine Learning Acting Humanly ! The Turing Test (cont.) The “Physical” test has also been proposed Involes even more fields including Computer Vision Robotics Seems to cover most of AI! BUT! Does it help us to build intelligence? Human flight came with study of aerodynamics, not by imitating birds. Thinking Humanly Understanding the inner working of the human mind through psychological experiments leading to Precise and testable theories Computational models This is the field of Cognitive Science Computational models may migrate into AI, but in themselves are not enough for Cognitive Science 4 Thinking Rationally What is “right thinking”? The greeks tried to answer this with laws of thought Initiated the field of logic Logicist AI tries to describe all kinds of things and problems with a precise logical notation and use that to find “right solutions” Problems: (A) Incomplete information; (B) Impractical implementation Acting Rationally ! Rational Agents try to achieve the best (expected)outcome May use logic inference, but ALSO other approaches to rational behavior E.g. Reflexes can produce rational reaction Here we choose the Rational Agent perspective because More general than pure logic inference Better defined than human rationality Chapter 1.2 FOUNDATIONS OF AI 5 Philosophy Aristotle (384-322 BC) Generating conclusions mechanically given a premise Hobbes (1588-1679) Reasoning like numerical computation Pascal (1623-1662) Numerical calculating machine –“like thought!” Leibniz (1646-1716) Machine operating on concepts, not numbers Philosophy So the mind is a machine? What about free will? Rocks governed by physics don‘t „decide“ to fall! Explained in terms of “the non-physical side” Dualism Explained in terms of a natural choice process Materialism Philosophy The mind manipulates knowledge Where does the knowledge come from? It all starts at the senses, so perceptionis key! And finally, we need action, as part of this picture of the mind Aristotle proposed a planningalgorithm based on the knowledgeof actionoutcomes 6 Mathematics Logic: Boolean logic (Boole, 1847) Logic: First-order logic (Frege, 1879) Computation: Intractability (1960s) Computation time grows exponentially with instance size Computation: NP-completeness (Cook, 1971) We can identify the really hard problems Probability(Cardano, 1501-1576) Using new evidence (Bayes, 1702-1761) Economics Rationality leading to preferred outcomes or utility(Walras, 1834-1910) Decision Theroy Combines ProbabilityTheory and UtilityTheory (environment and individual) Game Theory Decision Theory with other rational agents in the environment Operations Research Sequence of decisions and not immediate payoffs Neuroscience The brain seems to “cause minds”! Collection of simple cells leads to thought, action and consciousness –exactly how is still mistery Areas of the brain seem to map to cognitive functions or body parts, yet this can change There are 1011neurons in the brain, CPUs will reach that number of gates around 2020 according to Moore’s Law But in the brain, all units are active simultaneously! 7 Psychology Behaviorism (Watson, 1878-1958) We can only study the stimulus and response. Knowledge, beliefs, goals and reasoning is “folk psychology” Cognitive Psychology (James, 1842-1910) The brain as an information-processing device Beliefs and goals just as scientific as pressure (Craik, 1943) Cognitive Science (MIT Workshop, 1956) Computer models addressing psychology Computer Engineering Punchcard Loom (Jacquard, 1805) Programmable machine Difference Engine (Babbage, 1792-1871) Math tables for engineering (not built, but works) Analytical Engine (also Babbage) Universal computation memory, programs, jumps Ada Lovelace wrote programs for it Never built: What if? Steampunk Fiction Computer Engineering Heath Robinson (Turing, 1940) Designed to decypher German messages Colossus (Turing, 1943) General purpose machine based on vacuum tubes Z-3 (Zuse, 1941) Programmable ABC (Atanasoff, 1942) First electronic computer ENIAC (1946) 8 Control Theory and Cybernetics First, only living things could modify behavior in response to changes in environment! Water Clock (Ktesibios, 250 BC) Kept water running at constant pace Thermostat (Drebbel, 1572-1633) Steam Engine Governor (Watt, 1736-1819) Control Theory and Cybernetics Wiener (1894-1964) looking at control and cognition Mental mechanism trying to minimize error, a challenge to behaviorism Control Theory and Cybernetics Modern Control Theory, especially stochastic optimal control tries to maximize an objective function over time Optimal behavior, like the rational agents Why not the same field? AI breaks out of the math of control theory and considers “softer” things like language, vision and planning Linguistics Behaviorist theory does not address creativity in language Chomsky (1957) explains this creativity with syntactic structures, going back to Panini (350 BC), formal enough for programming Computational Linguistics Has to deal with the contextof understanding and producing language Therefore connected with Knowledge Representation 9 Chapter 1.3 HISTORY OF AI Artificial Neuron (1943) Warren McCulloch and Walter Pitts ONor OFF, depending on enough stimulation by neighboring neurons All logical connectives (AND, OR, NOT) could be implemented by simple nets Suggested that these could also be made to “learn” Neural Network Computer (1950) Marvin Minsky and Dean Edmonds 3000 vacuum tubes simulated 40 neurons 10
Description: