Natural Language Introduction Adapted from Tim Finin, UMBC, Marie desJardins.

Slides:



Advertisements
Similar presentations
The Development of AI St Kentigerns Academy Unit 3 – Artificial Intelligence.
Advertisements

Heuristic Search techniques
Cognitive Systems, ICANN panel, Q1 What is machine intelligence, as beyond pattern matching, classification and prediction. What is machine intelligence,
Customer Service – Dealing With Difficult Customers
Introduction to AI Russell and Norvig: Chapter 1 CMSC421 – Fall 2005.
Introduction to AI CS470 – Fall Outline What is AI? A Brief History State of the art Course Outline Administrivia.
CPSC 322 Introduction to Artificial Intelligence October 29, 2004.
1 Lecture 33 Introduction to Artificial Intelligence (AI) Overview  Lecture Objectives.  Introduction to AI.  The Turing Test for Intelligence.  Main.
Writing a website article to give advice
CS 63 Artificial Intelligence Dr. Eric Eaton
Random Administrivia In CMC 306 on Monday for LISP lab.
CMSC 471 Artificial Intelligence Eric Eaton, ITE 220/339 TA: Aaron Curtis,
Introduction to AI Russell and Norvig: Chapter 1 CMSC421 – Fall 2006.
Copyright R. Weber INFO 629 Concepts in Artificial Intelligence Fall 2004 Professor: Dr. Rosina Weber.
Intelligence & Artificial Intelligence You must have a pre-prepared sentence or two to spout about what is a description of intelligence.. And what is.
CSC 463 Introduction Professor Adam Anthony Adapted From material provided by Marie desJardins.
CMSC 471 Spring 2014 Class #1 Tue 1/28/14 Course Overview / Lisp Introduction Professor Marie desJardins, ITE 337,
CSCI 4410 Introduction to Artificial Intelligence.
Chapter 10. Global Village “… is the shrinking of the world society because of the ability to communicate.” Positive: The best from diverse cultures will.
Artificial Intelligence Introduction (2). What is Artificial Intelligence ?  making computers that think?  the automation of activities we associate.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Chapter 10 Artificial Intelligence. © 2005 Pearson Addison-Wesley. All rights reserved 10-2 Chapter 10: Artificial Intelligence 10.1 Intelligence and.
Turing Test and other amusements. Read this! The Actual Article by Turing.
+ Artificial Intelligence: Fact or Fiction? Artificial Intelligence: Fact or Fiction? CMSC 101 / IS 101Y Dr. Marie desJardins December 3, 2013.
Tim Finin, CMSC 671 Fall 2009 Tim Finin,
 Prominent AI Reseacher  Colleague of Alan Turing at Bletchley Park  1992 Paper: ◦ Turing’s Test and Conscious Thought Turing’s Test and Conscious.
Artificial Intelligence Introductory Lecture Jennifer J. Burg Department of Mathematics and Computer Science.
CMSC 671 Fall 2001 Professor Marie desJardins, ECS 216, x3967 TA: Suryakant Sansare,
1 Artificial Intelligence Introduction. 2 What is AI? Various definitions: Building intelligent entities. Getting computers to do tasks which require.
An introduction to chatbots Kamal Aboul-Hosn Cornell University Conversing with Computers.
CMSC 471 Fall 2009 Professor Marie desJardins, ITE 337, TA: Denise Rockwell,
Artificial Intelligence: Fact or Fiction? Professor Marie desJardins UMBC Family Weekend Saturday, October 23, 2004
What is Artificial Intelligence? Abbas Mehrabian Teacher: Dr. M. Raei Sharif Saturday, 6 Esfand 1384.
CMSC 471 Fall 2011 Class #1 Thu 9/1/11 Course Overview / Lisp Introduction Professor Marie desJardins, ITE 337,
Artificial Intelligence Bodies of animals are nothing more than complex machines - Rene Descartes.
Artificial Intelligence By Michelle Witcofsky And Evan Flanagan.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
Artificial Intelligence and Nature. Professor Marie desJardins Honors Forum Monday, September 18, 2006 mostly...
CMSC 671 Fall 2012 Tim Finin, What is AI?
I Robot.
CSC 8520 Fall, Paula Matuszek 1 CS 8520: Artificial Intelligence Introduction Paula Matuszek Fall, 2005.
Exploring Computer Science – Lesson 1-8
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Chapter 1 –Defining AI Next Tuesday –Intelligent Agents –AIMA, Chapter 2 –HW: Problem.
Definitions of AI There are as many definitions as there are practitioners. How would you define it? What is important for a system to be intelligent?
Reactive and Output-Only HKOI Training Team 2006 Liu Chi Man (cx) 11 Feb 2006.
CMSC 671 Fall 2015 Tim Finin, What is AI?
CMSC 471/671 Fall 2006 Tim Finin,
Introduction to Artificial Intelligence CS 438 Spring 2008.
STRESS AND INTONATION TEACHERS C1. Content and function words  Nouns : John, room, answer  Adjectives : happy, new, large, gray  Verbs : search, grow,
Artificial Intelligence
ELIZA A presentation by: Christopher Gregory Johnnidis A presentation by: Christopher Gregory Johnnidis.
Dialog Processing with Unsupervised Artificial Neural Networks Andrew Richardson Thomas Jefferson High School for Science and Technology Computer Systems.
Customer Service – Dealing With Difficult Customers
Artificial Intelligence Introduction Alison Cawsey room: G36 Ruth Aylett Room: 1.37
1 ARTIFICIAL INTELLIGENCE Gilles BÉZARD Version 3.16.
© 2015 albert-learning.com How to talk to your boss How to talk to your boss!!
Intelligent Control Methods Lecture 2: Artificial Intelligence Slovak University of Technology Faculty of Material Science and Technology in Trnava.
CMSC 671 Fall 2010 Wed 9/1/10 Course Overview Professor Marie desJardins, ITE 337, TA: Xianshu Zhu,
CMSC 100 Artificial Intelligence: Human vs. Machine Professor Marie desJardins Thursday, November 8, 2012 Thu 11/1/12 1 Artificial Intelligence.
WHAT IS A CHATTERBOT? A chatterbot is a computer program that simulates a conversation between two people. That is, one person writes something and the.
Module 6 Problems Unit 2 If you tell him the truth now, you will show that you are honest. ask for advice give advice.
Artificial Intelligence Class 1: Course Overview Dr Cynthia Matuszek (Dr M) – ITE 331 Slides adapted with thanks from: Dr. Marie desJardin.
PART IV: The Potential of Algorithmic Machines.
Dialog Processing with Unsupervised Artificial Neural Networks
Course Instructor: knza ch
Artificial Intelligence introduction(2)
Artificial Intelligence (Lecture 1)
A User study on Conversational Software
Dialog Processing with Unsupervised Artificial Neural Networks
Presentation transcript:

Natural Language Introduction Adapted from Tim Finin, UMBC, Marie desJardins

Possible Approaches Think Act Like humans Well GPS Eliza Rational agents Heuristic systems AI tends to work mostly in this area

Think well Develop formal models of knowledge representation, reasoning, learning, memory, problem solving, that can be rendered in algorithms. There is often an emphasis on a systems that are provably correct, and guarantee finding an optimal solution. Think Act Like humans Well GPS Eliza Rational agents Heuristic systems

Act well For a given set of inputs, generate an appropriate output that is not necessarily correct but gets the job done. A heuristic (heuristic rule, heuristic method) is a rule of thumb, strategy, trick, simplification, or any other kind of device which drastically limits search for solutions in large problem spaces. Heuristics do not guarantee optimal solutions; in fact, they do not guarantee any solution at all: all that can be said for a useful heuristic is that it offers solutions which are good enough most of the time. – Feigenbaum and Feldman, 1963, p. 6 Think Act Like humans Well GPS Eliza Rational agents Heuristic systems

Think like humans Cognitive science approach Focus not just on behavior and I/O but also look at reasoning process. Computational model should reflect "how" results were obtained. Provide a new language for expressing cognitive theories and new mechanisms for evaluating them GPS (General Problem Solver): Goal not just to produce humanlike behavior (like ELIZA), but to produce a sequence of steps of the reasoning process that was similar to the steps followed by a person in solving the same task. Think Act Like humans Well GPS Eliza Rational agents Heuristic systems

Act like humans Behaviorist approach. Not interested in how you get results, just the similarity to what human results are. Exemplified by the Turing Test (Alan Turing, 1950). Think Act Like humans Well GPS Eliza Rational agents Heuristic systems

Eliza ELIZA: A program that simulated a psychotherapist interacting with a patient and successfully passed the Turing Test. Coded at MIT during by Joel Weizenbaum. First script was DOCTOR. –The script was a simple collection of syntactic patterns not unlike regular expressions –Each pattern had an associated reply which might include bits of the input (after simple transformations (my → your) Weizenbaum was shocked at reactions: –Psychiatrists thought it had potential. –People unequivocally anthropomorphised. –Many thought it solved the NL problem.

Eliza I am the psychotherapist. Please, describe your problems. Each time you are finished talking, type RET twice. i'm having a hard time with my students Why do you say that? well, they keep asking me for money Maybe your plans have something to do with this. what plans? Is it because of your life that you say what plans? No, it's because I didn't know what you were talking about Is it because you didn't know what I was talking about that you came to me? no, it's because i wanted to see if you could pass the turing test Does it bother you that you wanted to see if I could really pass the turing test? ….. How do you reconcile problems at school? This is a waste of time. Good bye My secretary will send you a bill. I am the psychotherapist. Please, describe your problems. Each time you are finished talking, type RET twice. i'm having a hard time with my students Why do you say that? well, they keep asking me for money Maybe your plans have something to do with this. what plans? Is it because of your life that you say what plans? No, it's because I didn't know what you were talking about Is it because you didn't know what I was talking about that you came to me? no, it's because i wanted to see if you could pass the turing test Does it bother you that you wanted to see if I could really pass the turing test? ….. How do you reconcile problems at school? This is a waste of time. Good bye My secretary will send you a bill. This is a transcript of a conversation with an Eliza- like program found in Emacs (Gnu ) Try typing Meta-x doctor in your favorite Emacs.

Colby’s PARRY Kenneth Colby modeled a paranoid using the same techniques circa PARRY has basic emotions. If it gets angry, it’s replies become more hostile. In a Turing test, expert psychiatrists were unable to distinguish PARRY’s ramblings from those of real paranoids. H: Good afternoon. My name is Doctor Jones. P: Pleased to meet you. H: How are you? P: All right I guess. H: Could you tell me your name? P: Pat Smith. H: I though you might have some problems. P: I've been upset lately. H: By what? P: People get on my nerves sometimes. H: Tell me more. P: Do you know anything about bookies?... H: Good afternoon. My name is Doctor Jones. P: Pleased to meet you. H: How are you? P: All right I guess. H: Could you tell me your name? P: Pat Smith. H: I though you might have some problems. P: I've been upset lately. H: By what? P: People get on my nerves sometimes. H: Tell me more. P: Do you know anything about bookies?...

Parry meets Eliza P: I don't understand your motives. E: Why don't you understand my motives? P: Shouldn't I be? E: Why do you say that just now? P: That's just the way it is. E: Suppose that's the way it were not. P: So? E: I am not sure I understand you fully. P: You harp on the same questions too much. E: What does that similarity suggest to you? P: I don't get you. E: Do you wish that you did get I? P: I don't understand your motives. E: Why don't you understand my motives? P: Shouldn't I be? E: Why do you say that just now? P: That's just the way it is. E: Suppose that's the way it were not. P: So? E: I am not sure I understand you fully. P: You harp on the same questions too much. E: What does that similarity suggest to you? P: I don't get you. E: Do you wish that you did get I?

The Loebner Contest A modern version of the Turing Test, held annually, with a $100,000 cash prize. Hugh Loebner was once director of UMBC’s Academic Computing Services (née UCS) Restricted topic (removed in 1995) and limited time. Participants include a set of humans and a set of computers and a set of judges. Scoring –Rank from least human to most human. –Highest median rank wins $2000. –If better than a human, win $100,000. (Nobody yet…)

Homework Both the Hexor and Robot Heads will use Natural Language. We will start with “Eliza-Approach” which is now commonly used in industry but very primitive. Next we will add more intelligence to this approach. We are limited by capabilities of current speech recognition. If you assume headset microphone, learning and Dragon-like software, then the conversation can be more meaningful. Otherwise only word spotting. In addition, we can type questions to the robot via keyboard, and robot can speak using “text-to-speech” which is much more advanced than speech recognition You can re-use ELIZA, DOCTOR or especially ALICE, but you have to tune them to the personality of your robot.

Homework Continued You have to invent the personality of your robot (scorpion, man, woman) –What he may know? –How he speaks –voice selection? –Word mannerism and special words used. –How his her looks affect speech and personality? You have to learn about the interacting human through the dialog. –First and last name, sex, how she/he looks like, where he lives, what is her profession, friend names, anything useful in conversation. The knowledge gained should be reported in a standard report. Person information should be stored in the data base for future use. Next results from image processing and pattern recognition will be added to this database. You have to add new questions, answers and sentences that are spoken when robot has nothing else to say. You work in groups on this project. The source code will be added to your robot.