SlideShare a Scribd company logo
1 of 32
1
Introduction to Dialogue SystemsIntroduction to Dialogue Systems
Personal Assistants are becoming a realityPersonal Assistants are becoming a reality
Dr Natalia Konstantinova
University of Wolverhampton
11 April 2014
2
OutlineOutline
• What is a dialogue system?
• System structure and classification;
• Evaluation;
• Examples of existing systems;
• Future directions;
• IQA;
3
DefinitionDefinition
• Artificial intelligence – idea to teach
machines to think and act as humans.
• NLP – give machines the ability to read,
understand and use natural language.
• Dialogue systems – part of artificial
intelligence challenge.
4
Optimistic viewOptimistic view
• Hollywood and Artificial Intelligence
(robots that can think and act like humans)
• Video
5
Realistic viewRealistic view
• Talk to Alan (or to some other HAL
personalities)
• Chat with ALICE
• Three bots talking
6
What is a dialogue system?What is a dialogue system?
Ideas?
•
•
•
•
7
DefinitionDefinition
• Editors of the Journal of Dialogue Systems :
“A dialogue system is a computational device or
agent that
• (a) engages in interaction with other human
and/or computer participant(s);
• (b) uses human language in some form such as
speech, text, or sign;
• and (c) typically engages in such interaction
across multiple turns or sentences.”
8
Other termsOther terms
• Conversational agents (Jurafsky and
H.Martin, 2006), (Lester, Branting, and
Mott, 2004)
• “Chatterbot” or “chatbot”, first coined
by Mauldin (1994):
• simple dialogue systems, primarily based on
simple analysis of keywords in the input and
usage of different templates
9
Where are they used?Where are they used?
Usually embedded in such applications as:
• customer service,
• help desks,
• website navigation,
• guided selling,
• technical support
(Lester, Branting, and Mott, 2004)
10
““Body” for a dialogue systemBody” for a dialogue system
• Embodied conversational agents
(Cassell et al., 2000):
• has a “body”, where both verbal and
nonverbal devices advance and regulate the
dialogue between the user and the computer.
• Financial advisers, sales agents at online
shops
11
Embodied conversational agentsEmbodied conversational agents
12
System structureSystem structure
• They generally consist of 5 main
components (Jurafsky and H.Martin,
2006):
1. speech recognition;
2. natural language understanding (NLU);
3. dialogue management;
4. natural language generation (NLG);
5. speech synthesis.
13
System structureSystem structure
• Some modules are optional:
• e.g. speech recognition and speech synthesis
• Dialogue systems involving speech are
more complicated:
• need to deal with errors in speech
recognition
• Speech recognition can be dialogue-state
dependant
14
NLUNLU
• Aim of NLU module:
• produce a semantic representation
appropriate for a dialogue task.
15
Dialogue managerDialogue manager
• One of the most important parts of DS
(Dale, Moisi, and Somers, 2000):
• interpret the speech acts;
• carry out problem-solving actions;
• formulate response;
• in general maintain the system's idea of the
state of the discourse (e.g. dialogue move
tree)
16
Dialogue managerDialogue manager
• Interlink of NLU and NLG
• Responsible for the content generation
• (taking decisions about what to say and how)
18
NLGNLG
• Chooses syntactic structures and words to
express the intended meaning, which was
formulated by a dialogue manager.
• How?:
• Templates to generate “prompts” (generated
outputs)
• Advanced natural language generators
19
Speech synthesisSpeech synthesis
• Is optional
• Uses output on NLG module to generate
natural speech
20
System classificationSystem classification
• Jurafsky and H.Martin (2006):
4 main types of dialogue management (DM)
architectures:
1. finite-state DM;
2. frame/form based DM;
3. information-state DM;
4. plan-based DM.
21
Finite-state DMFinite-state DM
• A set of states
• System totally controls the conversation
with the user
22
Frame/form based DMFrame/form based DM
• Simple and the most widely used
• Asks questions to fill in the slots in the
frame
• Perform a database query
• E.g. booking a holiday
23
Information-state DMInformation-state DM
• More complicated
• Incorporates several ways to achieve a result.
• Components:
• the information state (the “discourse context” or
“mental model”);
• dialogue act interpreter (or “interpretation engine”);
• dialogue act generator (or “generation engine”);
• set of update rules (to update information state);
• control structure to select needed update rule.
24
Plan-based DMPlan-based DM
• The most sophisticated one
• It interprets conversation as creation of a
plan and then interprets a plan “in reverse”
• Is often referred as BDI (belief, desire and
intentions) model.
25
Other classificationsOther classifications
• system-initiative (or single initiative systems)
 mixed initiative systems
• spoken dialogue systems  text dialogue
systems
• multi-modal dialogue systems  unimodal
dialogue systems
• domain restricted dialogue systems  Open
domain dialogue systems
Example of architectureExample of architecture
26
27
EvaluationEvaluation
• How to make an objective evaluation?
• Task-based evaluation (Dale, Moisi, and
Somers, 2000):
• task completion success;
• efficiency cost;
• quality costs.
28
EvaluationEvaluation
• Asking people to complete a question list
and rank the quality of the system giving
grades:
• E.g. evaluate naturalness
• Maybe not very objective
29
DifficultiesDifficulties
• Necessity to collect training corpus:
• Wizard-of-Oz experiments
• Prompting experiments
• Error handling
30
ChatbotsChatbots
• http://www.chatbots.org/
Competitors of SIRICompetitors of SIRI
• Cortana by Microsoft;
• Voice Mate by LG;
• S-Voice by Samsung;
• Google Now;
• E.g. Android versions: Maluuba; Robin; Iris;
Vlingo; Skyvi;
• More similar apps;
31
Further directionsFurther directions
• Currently DM in all commercial systems
is rule- based;
• What can be used?
• Reinforcement learning (hierarchical RL);
• Online learning;
• Dialogue manager based on partially observable
Markov decision process (POMDP);
• Quality-adaptive DM;
32
33
ReferencesReferences
• Cassell, Justine, Joe Sullivan, Scott Prevost, and Elizabeth F. Churchill, editors. 2000. Embodied
Conversational Agents. Cambridge, MA: MIT Press.
• Dale, Robert, Hermann Moisi, and Harold Somers, editors. 2000. Handbook of Natural
Language Processing. Marcel Dekker, Inc.
• Jurafsky, Daniel and James H.Martin. 2006. Speech and language processing an introduction to
natural language processing, computational linguistics, and speech recognition. Prentice-Hall,
Inc.
• Lester, James, Karl Branting, and Bradford Mott. 2004. Conversational agents. In Munindar P
Singh, editor, The Practical Handbook of Internet Computing. Chapman & Hall.
• Mauldin, Michael L. 1994. Chatterbots, Tinymuds, and the Turing test: Entering the Loebner
prize competition. In Proceedings of the Eleventh National Conference on Artificial Intelligence.
AAAI Press.
• Mitkov, Ruslan, editor. 2003. Handbook of Computational linguistics. Oxford University Press,
USA.
• Sacks, H., E. A. Schegloff, and G. Jefferson. 1974. A simplest systematics for the organization of
turn-taking for conversation. Language, 50(4):696-735.
• Varges, S., F. Weng, and H. Pon-Barry. 2007. Interactive question answering and constraint
relaxation in spoken dialogue systems. Natural Language Engineering, 15(1):9-30.
• Webb, Nick and Bonnie Webber. 2009. Special issue on interactive question answering:
Introduction. Natural Language Engineering, 15(1):1-8, January.

More Related Content

What's hot

Natural Language Processing
Natural Language Processing Natural Language Processing
Natural Language Processing Adarsh Saxena
 
Research Updates from Rasa: Transformers in NLU and Dialogue
Research Updates from Rasa: Transformers in NLU and DialogueResearch Updates from Rasa: Transformers in NLU and Dialogue
Research Updates from Rasa: Transformers in NLU and DialogueRasa Technologies
 
Library Database management system
Library Database management system Library Database management system
Library Database management system Dheeraj Negi
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingVeenaSKumar2
 
Natural language processing
Natural language processingNatural language processing
Natural language processingKarenVacca
 
Lecture: Word Sense Disambiguation
Lecture: Word Sense DisambiguationLecture: Word Sense Disambiguation
Lecture: Word Sense DisambiguationMarina Santini
 
Dynamic Topic Modeling via Non-negative Matrix Factorization (Dr. Derek Greene)
Dynamic Topic Modeling via Non-negative Matrix Factorization (Dr. Derek Greene)Dynamic Topic Modeling via Non-negative Matrix Factorization (Dr. Derek Greene)
Dynamic Topic Modeling via Non-negative Matrix Factorization (Dr. Derek Greene)Sebastian Ruder
 
Fasttext 20170720 yjy
Fasttext 20170720 yjyFasttext 20170720 yjy
Fasttext 20170720 yjy재연 윤
 
Latest trends in AI and information Retrieval
Latest trends in AI and information Retrieval Latest trends in AI and information Retrieval
Latest trends in AI and information Retrieval Abhay Ratnaparkhi
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language ProcessingPranav Gupta
 
Natural language processing (NLP)
Natural language processing (NLP) Natural language processing (NLP)
Natural language processing (NLP) ASWINKP11
 
Question Answering System using machine learning approach
Question Answering System using machine learning approachQuestion Answering System using machine learning approach
Question Answering System using machine learning approachGarima Nanda
 
Deep Learning for Natural Language Processing: Word Embeddings
Deep Learning for Natural Language Processing: Word EmbeddingsDeep Learning for Natural Language Processing: Word Embeddings
Deep Learning for Natural Language Processing: Word EmbeddingsRoelof Pieters
 
Lecture: Question Answering
Lecture: Question AnsweringLecture: Question Answering
Lecture: Question AnsweringMarina Santini
 
Fine tune and deploy Hugging Face NLP models
Fine tune and deploy Hugging Face NLP modelsFine tune and deploy Hugging Face NLP models
Fine tune and deploy Hugging Face NLP modelsOVHcloud
 
From NLP to text mining
From NLP to text mining From NLP to text mining
From NLP to text mining Yi-Shin Chen
 

What's hot (20)

Natural Language Processing
Natural Language Processing Natural Language Processing
Natural Language Processing
 
NLP
NLPNLP
NLP
 
Research Updates from Rasa: Transformers in NLU and Dialogue
Research Updates from Rasa: Transformers in NLU and DialogueResearch Updates from Rasa: Transformers in NLU and Dialogue
Research Updates from Rasa: Transformers in NLU and Dialogue
 
Library Database management system
Library Database management system Library Database management system
Library Database management system
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
Lecture: Word Sense Disambiguation
Lecture: Word Sense DisambiguationLecture: Word Sense Disambiguation
Lecture: Word Sense Disambiguation
 
Dynamic Topic Modeling via Non-negative Matrix Factorization (Dr. Derek Greene)
Dynamic Topic Modeling via Non-negative Matrix Factorization (Dr. Derek Greene)Dynamic Topic Modeling via Non-negative Matrix Factorization (Dr. Derek Greene)
Dynamic Topic Modeling via Non-negative Matrix Factorization (Dr. Derek Greene)
 
Desktop assistant
Desktop assistant Desktop assistant
Desktop assistant
 
Fasttext 20170720 yjy
Fasttext 20170720 yjyFasttext 20170720 yjy
Fasttext 20170720 yjy
 
Latest trends in AI and information Retrieval
Latest trends in AI and information Retrieval Latest trends in AI and information Retrieval
Latest trends in AI and information Retrieval
 
Open source Library Management Systems
Open source Library Management SystemsOpen source Library Management Systems
Open source Library Management Systems
 
5. phase of nlp
5. phase of nlp5. phase of nlp
5. phase of nlp
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 
Natural language processing (NLP)
Natural language processing (NLP) Natural language processing (NLP)
Natural language processing (NLP)
 
Question Answering System using machine learning approach
Question Answering System using machine learning approachQuestion Answering System using machine learning approach
Question Answering System using machine learning approach
 
Deep Learning for Natural Language Processing: Word Embeddings
Deep Learning for Natural Language Processing: Word EmbeddingsDeep Learning for Natural Language Processing: Word Embeddings
Deep Learning for Natural Language Processing: Word Embeddings
 
Lecture: Question Answering
Lecture: Question AnsweringLecture: Question Answering
Lecture: Question Answering
 
Fine tune and deploy Hugging Face NLP models
Fine tune and deploy Hugging Face NLP modelsFine tune and deploy Hugging Face NLP models
Fine tune and deploy Hugging Face NLP models
 
From NLP to text mining
From NLP to text mining From NLP to text mining
From NLP to text mining
 

Viewers also liked

Open Data and Data Journalism
Open Data and Data JournalismOpen Data and Data Journalism
Open Data and Data JournalismIrina Radchenko
 
Konstantion Vorontsov - Additive regularization of matrix decompositons and p...
Konstantion Vorontsov - Additive regularization of matrix decompositons and p...Konstantion Vorontsov - Additive regularization of matrix decompositons and p...
Konstantion Vorontsov - Additive regularization of matrix decompositons and p...AIST
 
Nikita Trifonov - Zipf ’s law for live journal
Nikita Trifonov - Zipf ’s law for live journalNikita Trifonov - Zipf ’s law for live journal
Nikita Trifonov - Zipf ’s law for live journalAIST
 
Trends and challanges for IT in Knowledge Management
Trends and challanges for IT in Knowledge ManagementTrends and challanges for IT in Knowledge Management
Trends and challanges for IT in Knowledge ManagementYury Kupriyanov
 
Bulat Fatkulin - The Afghanistan chapter of the chinese online encyclopedia b...
Bulat Fatkulin - The Afghanistan chapter of the chinese online encyclopedia b...Bulat Fatkulin - The Afghanistan chapter of the chinese online encyclopedia b...
Bulat Fatkulin - The Afghanistan chapter of the chinese online encyclopedia b...AIST
 
Marina Danshina - Semiotic system of musical texts
Marina Danshina - Semiotic system of musical textsMarina Danshina - Semiotic system of musical texts
Marina Danshina - Semiotic system of musical textsAIST
 
Нургуль Маматова - Применение модели векторной авторегрессии для анализа потр...
Нургуль Маматова - Применение модели векторной авторегрессии для анализа потр...Нургуль Маматова - Применение модели векторной авторегрессии для анализа потр...
Нургуль Маматова - Применение модели векторной авторегрессии для анализа потр...AIST
 
Rita Gaibadullina - Automatic defect recognition in corrosion logging using m...
Rita Gaibadullina - Automatic defect recognition in corrosion logging using m...Rita Gaibadullina - Automatic defect recognition in corrosion logging using m...
Rita Gaibadullina - Automatic defect recognition in corrosion logging using m...AIST
 
Nikolay Karpov - Single-sentence readability prediction in russian
Nikolay Karpov - Single-sentence readability prediction in russianNikolay Karpov - Single-sentence readability prediction in russian
Nikolay Karpov - Single-sentence readability prediction in russianAIST
 
Rostislav Yavorskiy - AIST'2014 Closing Presentation
Rostislav Yavorskiy - AIST'2014 Closing PresentationRostislav Yavorskiy - AIST'2014 Closing Presentation
Rostislav Yavorskiy - AIST'2014 Closing PresentationAIST
 
Борис Парфененков - Сравнение методов оценки качества изображений
Борис Парфененков - Сравнение методов оценки качества изображенийБорис Парфененков - Сравнение методов оценки качества изображений
Борис Парфененков - Сравнение методов оценки качества изображенийAIST
 
Dmitriy Ignatov - AIST'2014 Opening
Dmitriy Ignatov - AIST'2014 OpeningDmitriy Ignatov - AIST'2014 Opening
Dmitriy Ignatov - AIST'2014 OpeningAIST
 
Iosif Itkin - Network models for exchange trade analysis
Iosif Itkin - Network models for exchange trade analysisIosif Itkin - Network models for exchange trade analysis
Iosif Itkin - Network models for exchange trade analysisAIST
 
Nicolay Lyfenko - Conceptual scheme for text classification system
Nicolay Lyfenko - Conceptual scheme for text classification systemNicolay Lyfenko - Conceptual scheme for text classification system
Nicolay Lyfenko - Conceptual scheme for text classification systemAIST
 
Елена Малютина - Оценка параметров хаотического процесса с помощью Ukf-фильтр...
Елена Малютина - Оценка параметров хаотического процесса с помощью Ukf-фильтр...Елена Малютина - Оценка параметров хаотического процесса с помощью Ukf-фильтр...
Елена Малютина - Оценка параметров хаотического процесса с помощью Ukf-фильтр...AIST
 
Alexander Semenov - Recent Advances in Social Network Analysis
Alexander Semenov - Recent Advances in Social Network AnalysisAlexander Semenov - Recent Advances in Social Network Analysis
Alexander Semenov - Recent Advances in Social Network AnalysisAIST
 
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...AIST
 
Daniel Khachay - GPS navigation algorithm based on osm data
Daniel Khachay - GPS navigation algorithm based on osm dataDaniel Khachay - GPS navigation algorithm based on osm data
Daniel Khachay - GPS navigation algorithm based on osm dataAIST
 

Viewers also liked (18)

Open Data and Data Journalism
Open Data and Data JournalismOpen Data and Data Journalism
Open Data and Data Journalism
 
Konstantion Vorontsov - Additive regularization of matrix decompositons and p...
Konstantion Vorontsov - Additive regularization of matrix decompositons and p...Konstantion Vorontsov - Additive regularization of matrix decompositons and p...
Konstantion Vorontsov - Additive regularization of matrix decompositons and p...
 
Nikita Trifonov - Zipf ’s law for live journal
Nikita Trifonov - Zipf ’s law for live journalNikita Trifonov - Zipf ’s law for live journal
Nikita Trifonov - Zipf ’s law for live journal
 
Trends and challanges for IT in Knowledge Management
Trends and challanges for IT in Knowledge ManagementTrends and challanges for IT in Knowledge Management
Trends and challanges for IT in Knowledge Management
 
Bulat Fatkulin - The Afghanistan chapter of the chinese online encyclopedia b...
Bulat Fatkulin - The Afghanistan chapter of the chinese online encyclopedia b...Bulat Fatkulin - The Afghanistan chapter of the chinese online encyclopedia b...
Bulat Fatkulin - The Afghanistan chapter of the chinese online encyclopedia b...
 
Marina Danshina - Semiotic system of musical texts
Marina Danshina - Semiotic system of musical textsMarina Danshina - Semiotic system of musical texts
Marina Danshina - Semiotic system of musical texts
 
Нургуль Маматова - Применение модели векторной авторегрессии для анализа потр...
Нургуль Маматова - Применение модели векторной авторегрессии для анализа потр...Нургуль Маматова - Применение модели векторной авторегрессии для анализа потр...
Нургуль Маматова - Применение модели векторной авторегрессии для анализа потр...
 
Rita Gaibadullina - Automatic defect recognition in corrosion logging using m...
Rita Gaibadullina - Automatic defect recognition in corrosion logging using m...Rita Gaibadullina - Automatic defect recognition in corrosion logging using m...
Rita Gaibadullina - Automatic defect recognition in corrosion logging using m...
 
Nikolay Karpov - Single-sentence readability prediction in russian
Nikolay Karpov - Single-sentence readability prediction in russianNikolay Karpov - Single-sentence readability prediction in russian
Nikolay Karpov - Single-sentence readability prediction in russian
 
Rostislav Yavorskiy - AIST'2014 Closing Presentation
Rostislav Yavorskiy - AIST'2014 Closing PresentationRostislav Yavorskiy - AIST'2014 Closing Presentation
Rostislav Yavorskiy - AIST'2014 Closing Presentation
 
Борис Парфененков - Сравнение методов оценки качества изображений
Борис Парфененков - Сравнение методов оценки качества изображенийБорис Парфененков - Сравнение методов оценки качества изображений
Борис Парфененков - Сравнение методов оценки качества изображений
 
Dmitriy Ignatov - AIST'2014 Opening
Dmitriy Ignatov - AIST'2014 OpeningDmitriy Ignatov - AIST'2014 Opening
Dmitriy Ignatov - AIST'2014 Opening
 
Iosif Itkin - Network models for exchange trade analysis
Iosif Itkin - Network models for exchange trade analysisIosif Itkin - Network models for exchange trade analysis
Iosif Itkin - Network models for exchange trade analysis
 
Nicolay Lyfenko - Conceptual scheme for text classification system
Nicolay Lyfenko - Conceptual scheme for text classification systemNicolay Lyfenko - Conceptual scheme for text classification system
Nicolay Lyfenko - Conceptual scheme for text classification system
 
Елена Малютина - Оценка параметров хаотического процесса с помощью Ukf-фильтр...
Елена Малютина - Оценка параметров хаотического процесса с помощью Ukf-фильтр...Елена Малютина - Оценка параметров хаотического процесса с помощью Ukf-фильтр...
Елена Малютина - Оценка параметров хаотического процесса с помощью Ukf-фильтр...
 
Alexander Semenov - Recent Advances in Social Network Analysis
Alexander Semenov - Recent Advances in Social Network AnalysisAlexander Semenov - Recent Advances in Social Network Analysis
Alexander Semenov - Recent Advances in Social Network Analysis
 
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
 
Daniel Khachay - GPS navigation algorithm based on osm data
Daniel Khachay - GPS navigation algorithm based on osm dataDaniel Khachay - GPS navigation algorithm based on osm data
Daniel Khachay - GPS navigation algorithm based on osm data
 

Similar to Dialogue systems and personal assistants

Demo day presentation
Demo day presentationDemo day presentation
Demo day presentationBilly Kennedy
 
Natural language processing
Natural language processingNatural language processing
Natural language processingHansi Thenuwara
 
naturallanguageprocessing-160722053804.pdf
naturallanguageprocessing-160722053804.pdfnaturallanguageprocessing-160722053804.pdf
naturallanguageprocessing-160722053804.pdfshakeelAsghar6
 
NLP presentation.pptx
NLP presentation.pptxNLP presentation.pptx
NLP presentation.pptxpysgpa
 
Natural Language Processing-(NLP).pptx
Natural Language Processing-(NLP).pptxNatural Language Processing-(NLP).pptx
Natural Language Processing-(NLP).pptxSHIBDASDUTTA
 
Introduction to NLP_1.pptx
Introduction to NLP_1.pptxIntroduction to NLP_1.pptx
Introduction to NLP_1.pptxjkamble
 
Introduction to NLP.pptx
Introduction to NLP.pptxIntroduction to NLP.pptx
Introduction to NLP.pptxjkamble
 
NLP,expert,robotics.pptx
NLP,expert,robotics.pptxNLP,expert,robotics.pptx
NLP,expert,robotics.pptxAmanBadesra1
 
Cooperation and Collaboration in Natural Command Language Dialogue.docx
Cooperation and Collaboration in Natural Command Language Dialogue.docxCooperation and Collaboration in Natural Command Language Dialogue.docx
Cooperation and Collaboration in Natural Command Language Dialogue.docxdonnajames55
 
NLP, Expert system and pattern recognition
NLP, Expert system and pattern recognitionNLP, Expert system and pattern recognition
NLP, Expert system and pattern recognitionMohammad Ilyas Malik
 
54-6 September 2002, Edinburgh, UK, Pages 5-11.Bos, Fost.docx
54-6 September 2002, Edinburgh, UK, Pages 5-11.Bos, Fost.docx54-6 September 2002, Edinburgh, UK, Pages 5-11.Bos, Fost.docx
54-6 September 2002, Edinburgh, UK, Pages 5-11.Bos, Fost.docxblondellchancy
 
Lifelike computer characters
Lifelike computer charactersLifelike computer characters
Lifelike computer charactersAryan Rathore
 
[系列活動] 一天搞懂對話機器人
[系列活動] 一天搞懂對話機器人[系列活動] 一天搞懂對話機器人
[系列活動] 一天搞懂對話機器人台灣資料科學年會
 
One Day for Bot 一天搞懂聊天機器人
One Day for Bot 一天搞懂聊天機器人One Day for Bot 一天搞懂聊天機器人
One Day for Bot 一天搞懂聊天機器人Yun-Nung (Vivian) Chen
 
A perspective on Conversational Agents
A perspective on Conversational AgentsA perspective on Conversational Agents
A perspective on Conversational AgentsZelia Blaga
 

Similar to Dialogue systems and personal assistants (20)

ICS3211 Lecture 07
ICS3211 Lecture 07 ICS3211 Lecture 07
ICS3211 Lecture 07
 
Demo day presentation
Demo day presentationDemo day presentation
Demo day presentation
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
naturallanguageprocessing-160722053804.pdf
naturallanguageprocessing-160722053804.pdfnaturallanguageprocessing-160722053804.pdf
naturallanguageprocessing-160722053804.pdf
 
NLP presentation.pptx
NLP presentation.pptxNLP presentation.pptx
NLP presentation.pptx
 
Natural Language Processing-(NLP).pptx
Natural Language Processing-(NLP).pptxNatural Language Processing-(NLP).pptx
Natural Language Processing-(NLP).pptx
 
Itm 2a
Itm 2aItm 2a
Itm 2a
 
Introduction to NLP_1.pptx
Introduction to NLP_1.pptxIntroduction to NLP_1.pptx
Introduction to NLP_1.pptx
 
Introduction to NLP.pptx
Introduction to NLP.pptxIntroduction to NLP.pptx
Introduction to NLP.pptx
 
NLP,expert,robotics.pptx
NLP,expert,robotics.pptxNLP,expert,robotics.pptx
NLP,expert,robotics.pptx
 
ICS3211 lecture 07
ICS3211 lecture 07ICS3211 lecture 07
ICS3211 lecture 07
 
Cooperation and Collaboration in Natural Command Language Dialogue.docx
Cooperation and Collaboration in Natural Command Language Dialogue.docxCooperation and Collaboration in Natural Command Language Dialogue.docx
Cooperation and Collaboration in Natural Command Language Dialogue.docx
 
NLP, Expert system and pattern recognition
NLP, Expert system and pattern recognitionNLP, Expert system and pattern recognition
NLP, Expert system and pattern recognition
 
HCI
HCIHCI
HCI
 
54-6 September 2002, Edinburgh, UK, Pages 5-11.Bos, Fost.docx
54-6 September 2002, Edinburgh, UK, Pages 5-11.Bos, Fost.docx54-6 September 2002, Edinburgh, UK, Pages 5-11.Bos, Fost.docx
54-6 September 2002, Edinburgh, UK, Pages 5-11.Bos, Fost.docx
 
Lifelike computer characters
Lifelike computer charactersLifelike computer characters
Lifelike computer characters
 
[系列活動] 一天搞懂對話機器人
[系列活動] 一天搞懂對話機器人[系列活動] 一天搞懂對話機器人
[系列活動] 一天搞懂對話機器人
 
One Day for Bot 一天搞懂聊天機器人
One Day for Bot 一天搞懂聊天機器人One Day for Bot 一天搞懂聊天機器人
One Day for Bot 一天搞懂聊天機器人
 
A perspective on Conversational Agents
A perspective on Conversational AgentsA perspective on Conversational Agents
A perspective on Conversational Agents
 
Johnsen Elearning To Eleading
Johnsen Elearning To EleadingJohnsen Elearning To Eleading
Johnsen Elearning To Eleading
 

Recently uploaded

PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxgindu3009
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINsankalpkumarsahoo174
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 

Recently uploaded (20)

PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 

Dialogue systems and personal assistants

  • 1. 1 Introduction to Dialogue SystemsIntroduction to Dialogue Systems Personal Assistants are becoming a realityPersonal Assistants are becoming a reality Dr Natalia Konstantinova University of Wolverhampton 11 April 2014
  • 2. 2 OutlineOutline • What is a dialogue system? • System structure and classification; • Evaluation; • Examples of existing systems; • Future directions; • IQA;
  • 3. 3 DefinitionDefinition • Artificial intelligence – idea to teach machines to think and act as humans. • NLP – give machines the ability to read, understand and use natural language. • Dialogue systems – part of artificial intelligence challenge.
  • 4. 4 Optimistic viewOptimistic view • Hollywood and Artificial Intelligence (robots that can think and act like humans) • Video
  • 5. 5 Realistic viewRealistic view • Talk to Alan (or to some other HAL personalities) • Chat with ALICE • Three bots talking
  • 6. 6 What is a dialogue system?What is a dialogue system? Ideas? • • • •
  • 7. 7 DefinitionDefinition • Editors of the Journal of Dialogue Systems : “A dialogue system is a computational device or agent that • (a) engages in interaction with other human and/or computer participant(s); • (b) uses human language in some form such as speech, text, or sign; • and (c) typically engages in such interaction across multiple turns or sentences.”
  • 8. 8 Other termsOther terms • Conversational agents (Jurafsky and H.Martin, 2006), (Lester, Branting, and Mott, 2004) • “Chatterbot” or “chatbot”, first coined by Mauldin (1994): • simple dialogue systems, primarily based on simple analysis of keywords in the input and usage of different templates
  • 9. 9 Where are they used?Where are they used? Usually embedded in such applications as: • customer service, • help desks, • website navigation, • guided selling, • technical support (Lester, Branting, and Mott, 2004)
  • 10. 10 ““Body” for a dialogue systemBody” for a dialogue system • Embodied conversational agents (Cassell et al., 2000): • has a “body”, where both verbal and nonverbal devices advance and regulate the dialogue between the user and the computer. • Financial advisers, sales agents at online shops
  • 12. 12 System structureSystem structure • They generally consist of 5 main components (Jurafsky and H.Martin, 2006): 1. speech recognition; 2. natural language understanding (NLU); 3. dialogue management; 4. natural language generation (NLG); 5. speech synthesis.
  • 13. 13 System structureSystem structure • Some modules are optional: • e.g. speech recognition and speech synthesis • Dialogue systems involving speech are more complicated: • need to deal with errors in speech recognition • Speech recognition can be dialogue-state dependant
  • 14. 14 NLUNLU • Aim of NLU module: • produce a semantic representation appropriate for a dialogue task.
  • 15. 15 Dialogue managerDialogue manager • One of the most important parts of DS (Dale, Moisi, and Somers, 2000): • interpret the speech acts; • carry out problem-solving actions; • formulate response; • in general maintain the system's idea of the state of the discourse (e.g. dialogue move tree)
  • 16. 16 Dialogue managerDialogue manager • Interlink of NLU and NLG • Responsible for the content generation • (taking decisions about what to say and how)
  • 17. 18 NLGNLG • Chooses syntactic structures and words to express the intended meaning, which was formulated by a dialogue manager. • How?: • Templates to generate “prompts” (generated outputs) • Advanced natural language generators
  • 18. 19 Speech synthesisSpeech synthesis • Is optional • Uses output on NLG module to generate natural speech
  • 19. 20 System classificationSystem classification • Jurafsky and H.Martin (2006): 4 main types of dialogue management (DM) architectures: 1. finite-state DM; 2. frame/form based DM; 3. information-state DM; 4. plan-based DM.
  • 20. 21 Finite-state DMFinite-state DM • A set of states • System totally controls the conversation with the user
  • 21. 22 Frame/form based DMFrame/form based DM • Simple and the most widely used • Asks questions to fill in the slots in the frame • Perform a database query • E.g. booking a holiday
  • 22. 23 Information-state DMInformation-state DM • More complicated • Incorporates several ways to achieve a result. • Components: • the information state (the “discourse context” or “mental model”); • dialogue act interpreter (or “interpretation engine”); • dialogue act generator (or “generation engine”); • set of update rules (to update information state); • control structure to select needed update rule.
  • 23. 24 Plan-based DMPlan-based DM • The most sophisticated one • It interprets conversation as creation of a plan and then interprets a plan “in reverse” • Is often referred as BDI (belief, desire and intentions) model.
  • 24. 25 Other classificationsOther classifications • system-initiative (or single initiative systems)  mixed initiative systems • spoken dialogue systems  text dialogue systems • multi-modal dialogue systems  unimodal dialogue systems • domain restricted dialogue systems  Open domain dialogue systems
  • 25. Example of architectureExample of architecture 26
  • 26. 27 EvaluationEvaluation • How to make an objective evaluation? • Task-based evaluation (Dale, Moisi, and Somers, 2000): • task completion success; • efficiency cost; • quality costs.
  • 27. 28 EvaluationEvaluation • Asking people to complete a question list and rank the quality of the system giving grades: • E.g. evaluate naturalness • Maybe not very objective
  • 28. 29 DifficultiesDifficulties • Necessity to collect training corpus: • Wizard-of-Oz experiments • Prompting experiments • Error handling
  • 30. Competitors of SIRICompetitors of SIRI • Cortana by Microsoft; • Voice Mate by LG; • S-Voice by Samsung; • Google Now; • E.g. Android versions: Maluuba; Robin; Iris; Vlingo; Skyvi; • More similar apps; 31
  • 31. Further directionsFurther directions • Currently DM in all commercial systems is rule- based; • What can be used? • Reinforcement learning (hierarchical RL); • Online learning; • Dialogue manager based on partially observable Markov decision process (POMDP); • Quality-adaptive DM; 32
  • 32. 33 ReferencesReferences • Cassell, Justine, Joe Sullivan, Scott Prevost, and Elizabeth F. Churchill, editors. 2000. Embodied Conversational Agents. Cambridge, MA: MIT Press. • Dale, Robert, Hermann Moisi, and Harold Somers, editors. 2000. Handbook of Natural Language Processing. Marcel Dekker, Inc. • Jurafsky, Daniel and James H.Martin. 2006. Speech and language processing an introduction to natural language processing, computational linguistics, and speech recognition. Prentice-Hall, Inc. • Lester, James, Karl Branting, and Bradford Mott. 2004. Conversational agents. In Munindar P Singh, editor, The Practical Handbook of Internet Computing. Chapman & Hall. • Mauldin, Michael L. 1994. Chatterbots, Tinymuds, and the Turing test: Entering the Loebner prize competition. In Proceedings of the Eleventh National Conference on Artificial Intelligence. AAAI Press. • Mitkov, Ruslan, editor. 2003. Handbook of Computational linguistics. Oxford University Press, USA. • Sacks, H., E. A. Schegloff, and G. Jefferson. 1974. A simplest systematics for the organization of turn-taking for conversation. Language, 50(4):696-735. • Varges, S., F. Weng, and H. Pon-Barry. 2007. Interactive question answering and constraint relaxation in spoken dialogue systems. Natural Language Engineering, 15(1):9-30. • Webb, Nick and Bonnie Webber. 2009. Special issue on interactive question answering: Introduction. Natural Language Engineering, 15(1):1-8, January.