Intelligent Communication. Outline Introduction Turing Test CleverBot Priyank Parikh Nitant Vaidya Smit Patel Early Chatterbots Watson and Siri The Future.

Slides:



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

Introduction to Computational Linguistics
Pandorabots The Leader in Chatbot Software. Overview Quick Tour of: History of Chatterbots Introduction to Basic Technology Applications Gallery Pandorabots.
The Assembly Language Level
Heidi Newton Peter Andreae Artificial Intelligence.
CS440/ECE448: Artificial Intelligence
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Approaches to AI. Robotics Versus Artificial Intelligence.
CS 357 – Intro to Artificial Intelligence  Learn about AI, search techniques, planning, optimization of choice, logic, Bayesian probability theory, learning,
Intelligent Robotics Project “A CUSTOMIZED ALICE” By Anupama Seshagiri.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Computers: Tools for an Information Age
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 29: Computability, Turing Machines, Can Computers Think?
Chapter 12: Intelligent Systems in Business
Introduction to a Programming Environment
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
Artificial Intelligence
© Curriculum Foundation1 Section 2 The nature of the assessment task Section 2 The nature of the assessment task There are three key questions: What are.
Intelligence & Artificial Intelligence You must have a pre-prepared sentence or two to spout about what is a description of intelligence.. And what is.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Platforms for Learning in Computer Science July 28, 2005.
Chapter Introduction to Computers and Programming 1.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Chatterbots Go Native: Considerations for an Eco-system Fostering the Development of Artificial Life Forms in a Human World (3/03 - Japan) Authors Dr.
The Turing Test Jen Brandner for CSCI 405 Conversational AI and the Loebner Prize Competition.
Alan Turing In 1950 asked - Can Machines Think? Turing changed that into the Turing Test “Can Computers Understand Language?” would have been.
1 Intelligent Systems Q: Where to start? A: At the beginning (1940) by Denis Riordan Reference Modern Artificial Intelligence began in the middle of the.
Artificial Intelligence Introduction (2). What is Artificial Intelligence ?  making computers that think?  the automation of activities we associate.
Part 2  Access Control 1 CAPTCHA Part 2  Access Control 2 Turing Test Proposed by Alan Turing in 1950 Human asks questions to another human and a computer,
Turing Test and other amusements. Read this! The Actual Article by Turing.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
A First Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington Credits: a significant part of.
Using Common Sense Reasoning to Create Intelligent Mobile Applications Software Agents Group MIT Media Lab.
Chat Bots Ruta Mehta Mugdha Jain Jeetendra Mirchandani Welcome to the world of living people and artificial intelligence entities called bots!
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
Meta Tagging / Metadata Lindsay Berard Assisted by: Li Li.
Copyrighted material John Tullis 10/17/2015 page 1 04/15/00 XML Part 3 John Tullis DePaul Instructor
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.
Projects Project 1: PSU CHATBOT Language: AIML Group: Omar and Ahmed
1 Lecture 1: Introduction to Artificial Intelligence.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
Artificial Intelligence Bodies of animals are nothing more than complex machines - Rene Descartes.
Lecture 15 – Social ‘Robots’. Lecture outline This week Selecting interfaces for robots. Personal robotics Chatbots AIML.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
Copyright © Curt Hill Languages and Grammars This is not English Class. But there is a resemblance.
Announcements Turn your papers into your TA. There will be a review session on Wednesday June 11 at 5-7 PM, in GIRV Final exam is Friday June 13.
The Turing Test Minds & Machines. Alan Turing British mathematician known for: –Turing Machines (1936) –Breaking German Enigma (WWII) –Turing Test (1950)
The Software Development Process
GROUP-8 RaviKant Narayan Gaurav Jain
Human Centric Computing (COMP106) Assignment 2 PROPOSAL 23.
Exploring Computer Science – Lesson 1-8
FROM TEACH LIKE A CHAMPION Setting High Expectations.
What is Communicative Language Teaching??. Communicative Language: Blends listening, speaking, reading, and writing. Is the expression, interpretation,
A Brief History of AI Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
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.
Application architectures Advisor : Dr. Moneer Al_Mekhlafi By : Ahmed AbdAllah Al_Homaidi.
Natural Language Understanding
Artificial Linguistic Internet Computer Entity
Course Instructor: knza ch
Artificial Intelligence (Lecture 1)
COMP3710 Artificial Intelligence Thompson Rivers University
CMPT 120 Lecture 3 - Introduction to Computing Science – Programming language, Variables, Strings, Lists and Modules.
Presentation transcript:

Intelligent Communication

Outline Introduction Turing Test CleverBot Priyank Parikh Nitant Vaidya Smit Patel Early Chatterbots Watson and Siri The Future

Introduction Communication and Intelligence are strongly linked. Intelligence is integral to holding a meaningful conversation. Conversation must not just appear to be coherent, but actual information must be passed between two entities. “Conversation is more than an action, it is a process” 3

Communication and Intelligence It is said that with an IQ gap of more than one standard deviation (i.e. about 15 points), communication between two people becomes difficult, and that beyond two standard deviations it is effectively impossible. In this seminar, we show you the different stages of development of man-machine communication (verbal), and a glimpse of what lies ahead. 4

Outline Introduction Turing Test CleverBot Priyank Parikh Nitant Vaidya Smit Patel Early Chatterbots Watson and Siri The Future

Can Machines Think Alan Turing was one of the first persons to use the phrase “computer intelligence” In 1950, he published “Computing Machinery and Intelligence”. He begins the paper with the claim “I propose to consider the question 'Can machines think?‘” But how do you define “intelligence” and “to think”? 6

Can Machines Think Turing replaces the question with "Can machines do what we (as thinking entities) can do?” 7 To test a machine, Turing proposed to use conversation as a skill that required the ability to think.

Turing Test – The Imitation Game Suppose that we have a person, a machine, and an interrogator. The interrogator is in a room separated from the other person and the machine. The machine and the person must answer questions that are addressed by the interrogator. The object of the machine is to try to cause the interrogator to mistakenly conclude that the machine is the other person; the object of the other person is to try to help the interrogator to correctly identify the machine. 8

Turing Test – The Imitation Game C obtains responses from A and B. C must figure out by the end which of A and B is the machine, and which the man 9

Loebner Prize The Loebner Prize is an annual competition in artificial intelligence that awards prizes to the chatterbot considered by the judges to be the most human-like. The format of the competition is that of a standard Turing test. In each round, a human judge simultaneously holds textual conversations with a computer program and a human being via computer. The judge will try and determine which one is which. 10

Interesting Facts : A one-time-only prizes that have never been awarded is offered for the first bot that judges cannot distinguish from a real human and which can convince judges that the human is the computer program. The Economist, in an article entitled "Artificial Stupidity" published shortly after the first Loebner prize competition noted that the first Loebner winner's victory was due, at least in part, to its ability to imitate human typing errors. 11

Outline Introduction Turing Test CleverBot Priyank Parikh Nitant Vaidya Smit Patel Early Chatterbots Watson and Siri The Future

Chatterbots 13

Chatterbots Most chatbot programs approach the problem with a form of Case Based Reasoning. CBR is the process of solving new problems based on the solutions of similar past problems. A common implementation is pattern matching, in which the structure of the sentence is identified and a stored response pattern is adjusted to the unique variables of the sentence. 14

ELIZA ELIZA is a computer program and an early example of primitive natural language processing. ELIZA was written at MIT by Joseph Weizenbaum between 1964 and It was one of the first chatterbots in existence. It recognized cue words or phrases in the input, and then generated output of corresponding pre- prepared or pre-programmed responses, so that the conversation can forward in an apparently meaningful way 15

ELIZA – Behind the Screen ELIZA operated by processing users' responses to scripts, the most famous of which was DOCTOR, a simulation of a Rogerian psychotherapist. Using almost no information about human thought or emotion, DOCTOR sometimes provided a startlingly human-like interaction. 16

A.L.I.C.E. A.L.I.C.E. (Artificial Linguistic Internet Computer Entity) is a natural language processing chatterbot which works by applying heuristical pattern matching rules to the human's input. 17 The bot uses an XML Schema called AIML (Artificial Intelligence Markup Language) for specifying the heuristic conversation rules. How does it work?

AIML AIML, or Artificial Intelligence Markup Language, is an XML dialect for creating natural language software agents. AIML was offered under a free or open source license, and many "Alicebot clones" have been created based upon the original implementation of the program and its AIML knowledge base. AIML contains several elements. The most important of these are explained in the following slides. 18

AIML Categories Categories in AIML are the fundamental unit of knowledge. A category consists of at least two further elements: the pattern and template elements. Here is a simple category: When this category is loaded, an AIML bot will respond to the input "What is your name" with the response "My name is John." 19

AIML Patterns A pattern is a string of characters intended to match one or more user inputs. A pattern like will match an infinite number of inputs, including "what is your name", "what is your shoe size", etc. The AIML pattern syntax is a very simple pattern language, substantially less complex than regular expressions. 20

AIML Templates A template specifies the response to a matched pattern. A template may simple like literal text, or use variables as shown Template elements include basic text formatting, conditional response (if- then/else), and random responses. Templates may also redirect to other patterns, using an element called. This can be used to implement synonymy. 21

AIML Power of recursive substitution : ALICE uses the input to generate the output. It can submit input to itself using the tag and put the contents of * into the output using. These two tags form the building blocks of templates. Say we have the answer to “What is Linux?” -> “Linux is an Operating System” 22

AIML Now we must map the question “Tell me what Linux is” to “What is Linux” and establish them to be synonymic. The tag establishes synonyms, and is used to insert the * from the input. AIML does everything this way. A.L.I.C.E. has 1300 rules merely to remove what it considers useless adverbs like really and accordingly in sentences. 23

AIML AIML is considered clever and simple, and a good start for beginners writing simple bots. However, it is difficult to maintain and author more complex bots, and has weak pattern matching ability. After 15 years, A.L.I.C.E has a meagre 120k rules. It's easy to get false positives (matches you don't want) and hard to write more discriminating patterns. 24

Outline Introduction Turing Test CleverBot Priyank Parikh Nitant Vaidya Smit Patel Early Chatterbots Watson and Siri The Future

26

CleverBot Cleverbot is a web application that uses an artificial intelligence algorithm to hold conversations with humans. Unlike other chatterbots, Cleverbot's responses are not programmed into it, but rather selected from phrases entered by humans in previous conversations. Cleverbot finds all of the keywords or an exact phrase matching the input and after searching through its saved conversations of previous chats, responds to the input by finding how a human responded to that input in past conversations when posed by itself. 27

CleverBot + Cleverbot took part alongside humans in a formal Turing Test at the 2011 Techniche festival at the Indian Institute of Technology Guwahati on September 3, Out of the 1,334 votes cast, Cleverbot was judged to be 59.3% human, compared to the rating of 63.3% human achieved by the actual humans. 28

CleverBot - However, there are still large problems with Cleverbot. If humans that speak to it deliberately input inappropriate or contradictory statements, when it is later asked certain questions, it will yield inappropriate responses submitted by these previous users. 29

Cleverbot …still have a long way to go! 30

Outline Introduction Turing Test CleverBot Philosophical Implications Priyank Parikh Nitant Vaidya Smit Patel Early Chatterbots Watson and Siri

Watson - IBM Watson is an artificial intelligence computer system capable of answering questions posed in natural language developed in IBM's DeepQA project. 32 IBM describes it as "an application of advanced Natural Language Processing, Information Retrieval, Knowledge Representation and Reasoning, and Machine Learning technologies to the field of open domain question answering

Watson - IBM Data: The sources of information for Watson include encyclopedias, dictionaries, thesauri, newswire articles, and literary works. Specifically, DBPedia, WordNet, and Yago were used. Although Watson was not connected to the Internet during the game, it contained four terabytes of disk storage, including the full text of Wikipedia. 33

Watson - IBM 34

Siri Siri is an intelligent personal assistant and knowledge navigator which works as an application for Apple's iOS. 35 Apple claims that the software adapts to the user's individual preferences over time and personalizes results, and performing tasks such as finding recommendations for nearby restaurants, or getting directions

Siri Functions: Reminder Text Weather Meeting 36 Send Contacts Set alarm Directions Stocks And of course, ask Siri about Siri

Siri Looking at it from a programmer’s perspective, it seems to me that Siri consists of three layers: a speech-to-text analyser a grammar analyser, and a set of service providers If all three of these work well, then Siri will be fun and helpful. 37

Siri – Listening A speech-to-text analyser is a piece of software that takes audio and turns it into text. Siri has a much easier job because its job is limited and focused. It only has to understand words and sentences that pertain to appointments, contacts, messages, and maps. This makes it easier for Siri to pick out what you’re saying, because there are only so many things that you’re allowed to talk about 38

Siri – Understanding An additional piece of software is needed to turn the text into something useful. This complex mapping of strings to functions is the job of a lexical and grammatical analyser. Grammatical analysis still comes down to searching a string for certain key phrases and using those phrases to build up a simple model of what the user wants to do and what he or she wants to do it to. Again, Siri’s limited focus on appointments, contacts, messages, and maps makes this technically viable. 39

Siri – Replying Siri can send your commands to a service to return information. You already have a calendar app and you can press buttons to view and create appointments. Siri will push those buttons for you, in essence. You already have a maps app and you can search and find directions there. Siri will enter your search text for you, and can toggle traffic on and off by voice rather than by button. 40

Outline Introduction Turing Test CleverBot The Future Priyank Parikh Nitant Vaidya Smit Patel Early Chatterbots Watson and Siri

What Lies Ahead… Most chatbots today have fixed rules and a finite, controlled set of things to say. The structure is nearly deterministic – but the future is all about being 'useful' - helping people find information, navigate a site, perhaps even offering limited advice. The future's more entertaining - it's all about communication itself, about companionship and the creation of digital selves. 42

Example : 24x7 Psychotherapy A bot is being developed that has all the knowledge there is about psychotherapy and the human mind, and can guide the patient through the same steps as a professional therapist. A blind test that involved 1,400 people no one could tell the difference between the automated therapist and a professional one after a 30 minute session. The bot can also tell if a person is lying in the way he talks. 43

As artificial intelligence technology continues to advance at a blinding speed, the gap between humans and machines diminishes. Two illustrations of the above fact are: Voigt-Kampff Test Eliza Effect 44 What Lies Ahead…

The book speaks of a future time when “androids” roam the planets. Earlier androids were easier to detect because of their limited intelligence. Now, with technology improving, the Voigt-Kampff test is used to distinguish humans from androids. It involves measuring empathetic responses to questions designed to evoke an emotional response. Android are not expected to show remorse, etc. It emphasizes the importance of including human emotion in new chat bots or talking machines. 45 Voigt-Kampff Test [Do Android Dream of Electric Sheep]

Named after the ELIZA bot, it is the tendency to unconsciously assume computer behaviours are similar to human behavior, and attribute emotion to a bot. Example : An ATM which displays the words "THANK YOU" at the end of a transaction. A casual observer might think that the machine is actually expressing gratitude; however, the machine is only printing a preprogramed string of symbols. (Douglas Hofstadter) 46 Eliza Effect

[note: lisa ̴ Elisa] !!! 47

48 [rajesh and Siri]

Thank You Introduction Turing Test CleverBot Philosophical Implications Priyank Parikh Nitant Vaidya Smit Patel Early Chatterbots Watson and Siri