A User study on Conversational Software

Slides:



Advertisements
Similar presentations
1 Grammars and Parsing Allen ’ s Chapters 3, Jurafski & Martin ’ s Chapters 8-9.
Advertisements

AI Defined Textbook definition:
Using Rules Chapter 6. 2 Logic Programming (Definite) logic program: A  B 1, B 2, …, B m program clause (Horn) head body  A 1, A 2, …, A n goal clause.
1 Chapter 3 Knowledge Representation AI & ESChapter 3 2 Knowledge Representation Semantic Network Network Representation Conceptual Graph Frame.
Natural Language and Speech Processing Creation of computational models of the understanding and the generation of natural language. Different fields coming.
Class Project Due at end of finals week Essentially anything you want, so long as its AI related and I approve Any programming language you want In pairs.
NLP Syntax1 Syntax The Structure of language Dave Inman.
CS147 - Terry Winograd - 1 Lecture 14 – Agents and Natural Language Terry Winograd CS147 - Introduction to Human-Computer Interaction Design Computer Science.
CPSC 322 Introduction to Artificial Intelligence November 10, 2004.
LING 364: Introduction to Formal Semantics Lecture 4 January 24th.
Acting Humanly: The Turing test (1950) “Computing machinery and intelligence”:   Can machine’s think? or Can machines behave intelligently? An operational.
Natural Language Processing AI - Weeks 19 & 20 Natural Language Processing Lee McCluskey, room 2/07
Conversational Agent 1.Two layers: Dialogue manager and Conversational agent. 2.Rule-Based Translator (ELIZA and PARRY) 3. Layer one: Dialogue Manager.
CS120: Lecture 17 MP Johnson Hunter
1 4 questions (Revisited) What are our underlying assumptions about intelligence? What kinds of techniques will be useful for solving AI problems? At what.
Introduction to Artificial Intelligence
March 1, 2009 Dr. Muhammed Al-Mulhem 1 ICS 482 Natural Language Processing INTRODUCTION Muhammed Al-Mulhem March 1, 2009.
Intelligence & Artificial Intelligence You must have a pre-prepared sentence or two to spout about what is a description of intelligence.. And what is.
Artificial Intelligence Dr. Paul Wagner Department of Computer Science University of Wisconsin – Eau Claire.
Turing Test and other amusements. Read this! The Actual Article by Turing.
Lecture 12: 22/6/1435 Natural language processing Lecturer/ Kawther Abas 363CS – Artificial Intelligence.
April 2008Historical Perspectives on NLP1 Historical Perspectives on Natural Language Processing Mike Rosner Dept Artificial Intelligence
Natural Language Processing Introduction. 2 Natural Language Processing We’re going to study what goes into getting computers to perform useful and interesting.
THE BIG PICTURE Basic Assumptions Linguistics is the empirical science that studies language (or linguistic behavior) Linguistics proposes theories (models)
1 Human-Computer Interaction Web Interface & Natural Language.
CS 100Lecture 281 CS100J Lecture 27 n Previous Lecture –Interfaces –Comparable –Reflection –super –Re-Reading: n Lewis & Loftus, Section 5.5 n Savitch,
Introduction to CL & NLP CMSC April 1, 2003.
11 Chapter 14 Part 1 Statistical Parsing Based on slides by Ray Mooney.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
Syntax Why is the structure of language (syntax) important? How do we represent syntax? What does an example grammar for English look like? What strategies.
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?
For Friday Finish chapter 23 Homework –Chapter 23, exercise 15.
1 Syntax 1. 2 In your free time Look at the diagram again, and try to understand it. Phonetics Phonology Sounds of language Linguistics Grammar MorphologySyntax.
For Monday Read chapter 26 Homework: –Chapter 23, exercises 8 and 9.
PARSING David Kauchak CS159 – Fall Admin Assignment 3 Quiz #1  High: 36  Average: 33 (92%)  Median: 33.5 (93%)
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.
Chapter 6 Representing Knowledge Using Rules Artificial Intelligence ดร. วิภาดา เวทย์ประสิทธิ์ ภาควิชาวิทยาการคอมพิวเตอร์ คณะ วิทยาศาสตร์ มหาวิทยาลัยสงขลานครินทร์
Introduction to Artificial Intelligence
CS440/ECE448: Artificial Intelligence. Section Q course website:
Natural Language Processing Vasile Rus
Reminders Outliers First Reading Quiz – tomorrow
Linguistics 1 Syntax Week 2 Lectures 3 & 4.
Start-Up - Discussion 11/16/15
CS440/ECE448: Artificial Intelligence Lecture 1: What is AI?
Week 5 - Friday CS 113.
Using Voice Recognition and Chat-bots to make Navigation Better
Syntax 1.
Topics Beyond the imitation game Reading the web Turing test
One of the strongest rules in English
How to Learn English Mark Brierley.
Natural Language Understanding
Create a project schedule
A new perspective on philosophical debates
Development Of Artificial Intelligence
AI Defined Textbook definition:
Probabilistic and Lexicalized Parsing
Artificial Intelligence Lecture 2: Foundation of Artificial Intelligence By: Nur Uddin, Ph.D.
CS 2710, ISSP 2610 Foundations of Artificial Intelligence
TA : Mubarakah Otbi, Duaa al Ofi , Huda al Hakami
Natural Language Processing
Language and Learning Introduction to Artificial Intelligence COS302
CS246: Information Retrieval
Artificial Intelligence
Exploring Computer Science – Lesson 1-8
The Winograd Schema Challenge Hector J. Levesque AAAI, 2011
David Kauchak CS159 – Spring 2019
INFORMATION RETRIEVAL
Artificial Intelligence 2004 Speech & Natural Language Processing
Information Retrieval
CS249: Neural Language Model
Presentation transcript:

A User study on Conversational Software Yan Ke

Intelligent Computer System Target:Use machine to reinvent human intelligence What is AI?-- No concrete definition

What is AI? Views of AI fall into four categories: Thinking humanly Thinking rationally Acting humanly Acting rationally

Acting humanly: Turing Test Turing (1950) "Computing machinery and intelligence": "Can machines think?" "Can machines behave intelligently?" Operational test for intelligent behavior: the Imitation Game Predicted that by 2020, a machine might have a 50% chance of fooling a lay person for 30 minutes

The main research area of AI Natural Language Processing Computer can correctly understand human languages For different language inputs, computer can efficiently summarize the abstract of the input information And can translate the input information using any required languages

Natural Language Processing (NLP)

Main steps of NLP Input: Understanding the input Looking for answer Voice recognition(out of scope) Understanding the input Partitioning the sentence (noun, verb, subjective, objective) Searching for the meaning in database Looking for answer Searching for appropriate answer related to the input

Basic Functions of NLP Question Answering: Using the correct grammar to answer certain questions Information Extraction Explain Translate

The Advanced Methods for NLP Key words Searching Sentiment Analysis Knowledge-based NLP NLP based on big data

Information Extraction

Sentiment Analysis

Translation

Parsing (in DCG) s --> np, vp. det -->[a]. det --> [an]. np --> det, noun. det --> [the]. np --> proper_noun. noun --> [apple]. vp --> v, ng. noun --> [orange]. vp --> v. proper_noun --> [john]. proper_noun --> [mary]. v --> [eats]. v --> [loves]. Eg. john eats an apple. proper_noun v det noun np np vp s

Syntax Parse Trees

Parsing & semantic analysis Rules: syntactic rules or semantic rules What component can be combined with what component? What is the result of the combination? Categories Syntactic categories: Verb, Noun, … Semantic categories: Person, Fruit, Apple, … Analyses Recognize the category of an element See how different elements can be combined into a sentence Problem: The choice is often not unique

Pragmatic analysis Practical usage of language: what a sentence means in practice Do you have time? How do you do? It is too cold to go outside! …

Some success stories - ELIZA young woman: Men are all alike. eliza: In what way? young woman: They're always bugging us about something specific or other. eliza: Can you think of a specific example? young woman: Well, my boyfriend made me come here. eliza: Your boyfriend made you come here? young woman: He says I'm depressed much of the time. eliza: I am sorry to hear you are depressed. young woman: It's true. I'm unhappy. eliza: Do you think coming here will help you not to be unhappy? young woman: I need some help, that much seems certain. eliza: What would it mean to you if you got some help? young woman: Perhaps I could learn to get along with my mother. eliza: Tell me more about your family. young woman: My mother takes care of me.

ELIZA – Cont’d eliza: Who else in your family takes care of you? young woman: My father. eliza: Your father. young woman: You are like my father in some ways. eliza: What resemblance do you see? young woman: You are not very aggressive but I think you don't want me to notice that. eliza: What makes you think I am not very aggressive? young woman: You don't argue with me. eliza: Why do you think I don't argue with you? young woman: You are afraid of me. eliza: Does it please you to believe I am afraid of you? young woman: My father is afraid of everybody. eliza: What else comes to mind when you think of your father? young woman: Bullies. eliza: Does that have anything to do with the fact that your boyfriend made you come here?

Methods used in Eliza Find a trigger in the input of the user (e.g. father) Evoke a possible candidate pattern (e.g. family or mother) (~limited parsing) Compose a sentence by filling in the slots of the pattern (picking some elements from the user input) If no appropriate pattern is found, ask a general question, possibly related to the user input

Statistical language modeling Goal: create a statistical model so that one can calculate the probability of a sequence of tokens s = w1, w2,…, wn in a language. General approach: s Training corpus Probabilities of the observed elements P(s)

Prob. of a sequence of words Elements to be estimated: If hi is too long, one cannot observe (hi, wi) in the training corpus, and (hi, wi) is hard generalize Solution: limit the length of hi

Neural Networks

Assignment 1 (15% of the final mark) Find ten conversational software agents (chat robots) at your own convenience, chat with them with 5-10mins with at least 10 meaningful questions for each group member, and write an essay about: Which chatbots do you test on (can be iphone siri (5,6,7,8,X, XS, XS Max), Andoid, 淘宝customer service, uc, qq, or anything you can find across the web) Write down each question that you ask and the answer from the software agent. Evaluate your questions hardness and the answers relevance. Your question can be: Obvious Simple Neutral Difficult to answer Confusing question The evaluation of the software answer can be: Expert answer that beyond my expectation Good answer Irrelevant answer (It is not what I ask for) Fail to answer (The software says it does not know)

Assignment 1 (15% of the final mark) Talk about your user experience (心得体会) Which one is the best software that you have tested? What are advantages of the ‘best’ conversational software comparing with the rest pieces? What are the possible improvement can be proposed.