Acting humanly:The Turing test Operational test for intelligent be ARTIFICIAL INTELLIGENCE ocrthetmtaonGagentwi CHAPTER】 y200.5mis nt havea%chance of 8是 Thinking humanly:Cognitive Science ◇What is Al? ◇The state of the art Requir ehcPere,oenedaed6ogaeleocan Hence,all three fields share one principal direction! What is Al? Thinking rationally:Laws of Thought Normative()rather than descriptive Aristotle:what are rrearguments/thought processes? that act like media d by logical de
Artificial Intelligence Chapter 1 Chapter 1 1 Outline ♦ What is AI? ♦ A brief history ♦ The state of the art Chapter 1 2 What is AI? Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally Chapter 1 3 Acting humanly: The Turing test Turing (1950) “Computing machinery and intelligence”: ♦ “Can machines think?” −→ “Can machines behave intelligently?” ♦ Operational test for intelligent behavior: the Imitation Game AI SYSTEM HUMAN ? HUMAN INTERROGATOR ♦ 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 ♦ Suggested major components of AI: knowledge, reasoning, language understanding, learning Problem: Turing test is not reproducible, constructive, or amenable to mathematical analysis Chapter 1 4 Thinking humanly: Cognitive Science 1960s “cognitive revolution”: information-processing psychology replaced prevailing orthodoxy of behaviorism Requires scientific theories of internal activities of the brain – What level of abstraction? “Knowledge” or “circuits”? – How to validate? Requires 1) Predicting and testing behavior of human subjects (top-down) or 2) Direct identification from neurological data (bottom-up) Both approaches (roughly, Cognitive Science and Cognitive Neuroscience) are now distinct from AI Both share with AI the following characteristic: the available theories do not explain (or engender) anything resembling human-level general intelligence Hence, all three fields share one principal direction! Chapter 1 5 Thinking rationally: Laws of Thought Normative (or prescriptive) rather than descriptive 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 Direct line through mathematics and philosophy to modern AI Problems: 1) Not all intelligent behavior is mediated by logical deliberation 2) What is the purpose of thinking? What thoughts should I have out of all the thoughts (logical or otherwise) that I could have? Chapter 1 6
Acting rationally Potted history of AI Rationa bhavior doing the rightthng Simon's Lo nSamue's che Engin son's o plete algor hm tor l cal reasoning nt of dge-based system Expert ystems ind busts:"Al Winter" n technical depth Nou Rational agents State of the art An that perceivesand ct Which f tholl ngcan be done at present? This course is about designing rational agents Ply a decent game of table tenni Abstractly.an agent is a function from percept histories to actions f:p一A design AI prehistory State of the art Philosophy methods of ning Which of the s of learning. Mathematics Psychology ptatio a of nd mot mal theor of rational decisions ntalactiy a:s
Acting rationally Rational behavior: doing the right thing 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 Aristotle (Nicomachean Ethics): Every art and every inquiry, and similarly every action and pursuit, is thought to aim at some good Chapter 1 7 Rational agents An agent is an entity that perceives and acts 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 → design best program for given machine resources Chapter 1 8 AI prehistory Philosophy logic, methods of reasoning mind as physical system foundations of learning, language, rationality Mathematics formal representation and proof algorithms, computation, (un)decidability, (in)tractability probability Psychology adaptation phenomena of perception and motor control experimental techniques (psychophysics, etc.) Economics formal theory of rational decisions Linguistics knowledge representation grammar Neuroscience plastic physical substrate for mental activity Control theory homeostatic systems, stability simple optimal agent designs Chapter 1 9 Potted history of AI 1943 McCulloch & Pitts: Boolean circuit model of brain 1950 Turing’s “Computing Machinery and Intelligence” 1952–69 Look, Ma, no hands! 1950s Early AI programs, including Samuel’s checkers program, Newell & Simon’s Logic Theorist, Gelernter’s Geometry Engine 1956 Dartmouth meeting: “Artificial Intelligence” adopted 1965 Robinson’s complete algorithm for logical reasoning 1966–74 AI discovers computational complexity Neural network research almost disappears 1969–79 Early development of knowledge-based systems 1980–88 Expert systems industry booms 1988–93 Expert systems industry busts: “AI Winter” 1985–95 Neural networks return to popularity 1988– Resurgence of probability; general increase in technical depth “Nouvelle AI”: ALife, GAs, soft computing 1995– Agents, agents, everywhere . . . 2003– Human-level AI back on the agenda Chapter 1 10 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis Chapter 1 11 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road Chapter 1 12
State of the art State of the art Which of the following can be one at prese? Which of the following can be done a preent? Play a ain road safely alo uy a we State of the art State of the art Which of the following c be doe at present? Which of the followng cn be done at preent nt ga n road road the web State of the art State of the art Which of the? Play a decent game of table tenis t game of table tennis ain road in moad k's worth of roceries on the wb the wb Pby a dece t game o ridge Desig and program in biology
State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue Chapter 1 13 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web Chapter 1 14 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl Chapter 1 15 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge Chapter 1 16 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem Chapter 1 17 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem ♦ Design and execute a research program in molecular biology Chapter 1 18
State of the art State of the art Which of the following ca bedoe a present? Which of the following c bedone at preent? of tab ay a de t n road a we th of at p hemticdthor cent game athematical the h in real time State of the art State of the art esent? Which ofthe be done Play a de ent game o tabie tenn Py a de ent gan of tadie tenn sately alo R ay a dec game ridge Play a dece ridge tical the atical the ogram in molecular biolog ive competent leg advice in a speci State of the art State of the art h of the f ng can be done at present? of the fo ng can be done at present game of table tennis lay a e of table tennis rive safe es at B he w ey Bowl es at Be in。 oad any dish and put everything away
State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem ♦ Design and execute a research program in molecular biology ♦ Write an intentionally funny story Chapter 1 19 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem ♦ Design and execute a research program in molecular biology ♦ Write an intentionally funny story ♦ Give competent legal advice in a specialized area of law Chapter 1 20 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem ♦ Design and execute a research program in molecular biology ♦ Write an intentionally funny story ♦ Give competent legal advice in a specialized area of law ♦ Translate spoken English into spoken Swedish in real time Chapter 1 21 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem ♦ Design and execute a research program in molecular biology ♦ Write an intentionally funny story ♦ Give competent legal advice in a specialized area of law ♦ Translate spoken English into spoken Swedish in real time ♦ Converse successfully with another person for an hour Chapter 1 22 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem ♦ Design and execute a research program in molecular biology ♦ Write an intentionally funny story ♦ Give competent legal advice in a specialized area of law ♦ Translate spoken English into spoken Swedish in real time ♦ Converse successfully with another person for an hour ♦ Perform a complex surgical operation Chapter 1 23 State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem ♦ Design and execute a research program in molecular biology ♦ Write an intentionally funny story ♦ Give competent legal advice in a specialized area of law ♦ Translate spoken English into spoken Swedish in real time ♦ Converse successfully with another person for an hour ♦ Perform a complex surgical operation ♦ Unload any dishwasher and put everything away Chapter 1 24
State of the art Which of the following can be done at present? 8Bnod Drive safely along Telegraph Avenue of bridg 及play deandwtt e research program in moleculas biology Translate spoken English into spoken Swedish in real time Converse successfully with another person for an hour Unintentionally funny stories ened to hit Irving if he didn't tell him where some honey was.The End. drowned.The End ow One day the noticed that he was holding the piece of cheese.He became hungry.and swallowed the cheese.The fox walked over to the crow.The End. Unintentionally funny stories rfused to tell him】 some honey was.Irving agreed.But Joe didn't know where any worms were ing himhe'd tellhim whereaorm s
State of the art Which of the following can be done at present? ♦ Play a decent game of table tennis ♦ Drive safely along a curving mountain road ♦ Drive safely along Telegraph Avenue ♦ Buy a week’s worth of groceries on the web ♦ Buy a week’s worth of groceries at Berkeley Bowl ♦ Play a decent game of bridge ♦ Discover and prove a new mathematical theorem ♦ Design and execute a research program in molecular biology ♦ Write an intentionally funny story ♦ Give competent legal advice in a specialized area of law ♦ Translate spoken English into spoken Swedish in real time ♦ Converse successfully with another person for an hour ♦ Perform a complex surgical operation ♦ Unload any dishwasher and put everything away Chapter 1 25 Unintentionally funny stories One day Joe Bear was hungry. He asked his friend Irving Bird where some honey was. Irving told him there was a beehive in the oak tree. Joe threatened to hit Irving if he didn’t tell him where some honey was. The End. Henry Squirrel was thirsty. He walked over to the river bank where his good friend Bill Bird was sitting. Henry slipped and fell in the river. Gravity drowned. The End. Once upon a time there was a dishonest fox and a vain crow. One day the crow was sitting in his tree, holding a piece of cheese in his mouth. He noticed that he was holding the piece of cheese. He became hungry, and swallowed the cheese. The fox walked over to the crow. The End. Chapter 1 26 Unintentionally funny stories Joe Bear was hungry. He asked Irving Bird where some honey was. Irving refused to tell him, so Joe offered to bring him a worm if he’d tell him where some honey was. Irving agreed. But Joe didn’t know where any worms were, so he asked Irving, who refused to say. So Joe offered to bring him a worm if he’d tell him where a worm was. Irving agreed. But Joe didn’t know where any worms were, so he asked Irving, who refused to say. So Joe offered to bring him a worm if he’d tell him where a worm was . . . Chapter 1 27