The main goal of this thesis is to study how different levels of knowledge stored in ontologies can be used to facilitate the creation of new coaching dialogue systems capable of domain reasoning. We take McGuinness' ontologies spectrum - and related work - to support the division of a cooking ontology into increasingly complex knowledge levels.The hypothesis being tested is whether ontologies can be used to enrich a coaching spoken dialogue system and be used in it in such way that the system can abstract the source of domain-specific knowledge - related to the tasks being coached - focusing only on the dialogue phenomena. The integration of ontological knowledge should be done with few architecture adaptions to the dialogue system so that when adding a new domain - a new class of tasks - minor changes in special modules are sufficient. Software engineering techniques for systems integration, like extension-based modularization and design patterns, are to be considered and extensively used to minimize the number of architecture adaptions.
How to Troubleshoot Apps for the Modern Connected Worker
Cooking an ontology-based spoken dialogue system
1. Cooking an ontology-based
coaching dialogue system
— based on my PhD proposal —
Joana Paulo Pardal
Quality and Usability Colloquium
December 7th, 2009
Berlin, Germany
Monday, December 7, 2009
3. Researcher, PhD Student and Lecturer
RESEARCHER:
- Spoken Language Systems Laboratory (L2F) @ INESC-ID, Lisbon
PHD STUDENT:
- IST, Technical University of Lisbon
- Ontology-based (spoken) Dialogue Systems
LECTURER:
- IST, Technical University of Lisbon
Monday, December 7, 2009
14. Typical Architecture
User
Speech Speech
Synthesis Recognition
Dialogue
Management
Natural Natural
Language Language
Generation Understanding
back-end
system
Monday, December 7, 2009
15. Typical Architecture
User
prosody acoustic
models
Speech Speech
Synthesis Recognition
coded
speech grammar
Dialogue
Management
lexicon lexicon
Natural Natural
Language Language
grammar
Generation Understanding grammar
back-end
system
Monday, December 7, 2009
16. DigA L2F INESC-ID
Dialogue Manager
Device Core
IO Manager
Core
ASR Business
Parser
Service Manager
JVoiceXML & JSpeechAPI 2.0 interface
(Audimus)
Interpretation
Dialogue Manager Interface
Microphone
Manager
Array
Task Manager
Device Core
Behavioral
Agent Data
GUI base
Generation
Manager
User
TTS Surface Access
(DIXI) Generation Manager
Device Core
Discourse Context Device QA@L2F
Face
Event Manager Manager
Monday, December 7, 2009
20. http://flickr.com/photos/carpathian/1656738696/in/photostream/
Practical Dialogue Hypothesis
The conversational competence required
for practical dialogues, while still complex,
is significantly simpler to achieve than
general human conversational competence.
Monday, December 7, 2009
21. Domain-Independence Hypothesis
Within the genre of practical dialogue,
the bulk of the complexity in the language
interpretation and dialogue management
is independent of the task being performed.
Monday, December 7, 2009
22. Types of dialogue systems:
- Information providing
- Appliances control
- Planning & scheduling
- Tutoring
...
Monday, December 7, 2009
25. How different levels of knowledge
stored in domain-specific ontologies
can be used to facilitate the creation
of new coaching dialogue systems
capable of domain reasoning?
http://www.flickr.com/photos/jhhwild/1781000505/
Monday, December 7, 2009
27. Definition adapted from http://en.wiktionary.org/wiki/ontology
on·tol·o·gy
ORIGIN early 18th cent.:
from modern Latin ontologia,
from Greek ONT- ‘being’ -LOGY.
(philosophy)
the branch of metaphysics that addresses the nature or
essential characteristics of being and of things that exist;
the study of being in the capacity of being.
(computer science)
a structure of concepts or entities within a domain, organized by
relationships; a system model.
Monday, December 7, 2009
28. What is an Ontology?
is a description of the existing concepts and
relationships in a given domain
“An ontology is a specification of a conceptualization.”
[Gruber, 1993]
Monday, December 7, 2009
31. machine processable
and
interoperable systems
http://flickr.com/photos/ul_marga/755378645/
Monday, December 7, 2009
32. sharing knowledge
http://flickr.com/photos/kgoldenchild/2223459035/
Monday, December 7, 2009
33. easier communication
http://flickr.com/photos/hchalkley/92120879/
Monday, December 7, 2009
34. easier integration
http://flickr.com/photos/stevehopson/1794895311
Monday, December 7, 2009
35. Data organization
when a large amount is available
http://flickr.com/photos/shetha/1561376494/
Monday, December 7, 2009
36. Ontologies
in dialogue systems
Monday, December 7, 2009
37. Ontology in a dialog system
User
prosody acoustic
models
Speech Speech
Synthesis Recognition
coded
speech grammar
Dialogue
Management
lexicon lexicon
Natural Natural
Language Language
grammar
Generation Understanding grammar
back-end
system
Domain
Ontology
Monday, December 7, 2009
41. OntoChef
a cooking ontology
joint work with R. Ribeiro, F. Batista, N. Mamede and P. Vaz
Monday, December 7, 2009
42. Main goal
Recipe: Chocolate Cake
Ingredients
4 oz of sweet dark chocolate
5 eggs
...
Procedure
separate egg whites and egg yolks
with an electric mixer whisk the egg
whites until forming stiff peaks
put egg whites in a container
...
video file
...
Monday, December 7, 2009
43. Competency Questions
Recipes:
- How do I make recipe R?
- What are the quantities to make recipe R for 4 persons?
Actions:
- How do I do A1?
Times:
- Which recipes that take less than 10 minutes to do?
Food:
- Which recipes have food item F1, but not F2?
- Which recipes have as main ingredient food item F1?
Utensils:
- Which utensils are used in recipe R1?
- Which recipes can be made using the microwave?
Equivalencies:
- How many liters is a cup?
Monday, December 7, 2009
44. OntoChef cooking domain model
Monday, December 7, 2009
45. several modules
Equivalences Actions
Food
Units & Recipes Utensils
Measures
Monday, December 7, 2009
55. professional websites
Web Site #Recipes #Photos
www.vaqueiro.pt 3136 2790
www.continente.pt 467 467
sabores.sapo.pt 2760 1038
comezainas.clix.pt 1646 0
www.entrepratos.com 189 51
Total: 8198 4346
Recipes collected from professional websites.
Monday, December 7, 2009
56. personal blogs
Web Site #Recipes
paladares.do.sapo.pt 329
receitasdeculinaria.blogs.sapo.pt 10
culinaria.no.sapo.pt 236
Total: 575
Recipes collected from personal blogs.
Monday, December 7, 2009
57. CMU’s Recipe Database
<recipe version="1.1">
<line>
<originaltext>1 (18 ounce) package small chocolate chip
cookies</originaltext>
<annotation>create_ing(ing0, "1 (18 ounce) package small
chocolate chip cookies")</annotation>
</line>
<line>
<originaltext>1 cup hot fudge topping</originaltext>
<annotation>create_ing(ing2, "1 cup hot fudge topping")</
annotation>
</line>
...
<line>
<originaltext>Spread 3/4 cup fudge topping over crust. </
originaltext>
<annotation>separate(ing2, ing12, "3/4 cup fudge", ing13,
"1/4 cup fudge", "")</annotation>
</line>
...
Monday, December 7, 2009
58. USENET Cookbook
.RH MOD.RECIPES-SOURCE CHOC-CAKE-1 D "20 May 86" 1986
.RZ "CHOCOLATE FANTASY CAKE" "A no-bake chocolate cake"
This is a very simple, quick, no-bake cake.
.IH "Serves 6-8"
.SH! ! CAKE
.IG "2(12 cups" "cream" "600 ml"
.IG "3 cups" "milk" "750 ml"
.IG "3 pkgs" "instant chocolate pudding"
.PH
.SK 1
Arrange a layer of biscuits at the bottom of a large baking
pan.
...
.SH RATING
.I Difficulty:
easy.
.I Time:
10 minutes preparation, several hours chilling.
.I Precision:
measure the ingredients.
.WR
Mike Trachtman, Weizmann Institute, Rehovot, Israel,
Monday, December 7, 2009
59. OntoChef conceptualization
Monday, December 7, 2009
60. OntoChef database population
joint work with T. Machado and N. Mamede
Monday, December 7, 2009
62. Ontology-based
semi-automatic input
through natural language processing
OntoChef
Process
(cooking ontology)
Internet
Recipes
e-Books Database
Cookbooks (in text) (ontology intances)
Monday, December 7, 2009
66. Knowledge sources
Book’s Cover Book’s Bibliographic Reference
English:
“Ingredients”, by Loukie Werle, Ullmann Publishing, 2009, 384 pp.
Portuguese:
“Ingredientes”, by Loukie Werle, Könemann, 2009, 384 pp.
English:
“The Cooks' Bible”, by Le Cordon Bleu, Carroll & Brown Publishers, 2005, 352 pp.
Portuguese:
“O Livro das Técnicas Culinárias”, by E. Treuille & J. Wright, Livros e Livros, 2006, 352 p.
“Dicionário Visual Português/Inglês”, Civilização Editora, 2006, 360 pgs.
“Dicionário Visual Português/Espanhol”, Civilização Editora, 2006, 360 pgs.
“Dicionário Visual Português/Françês”, Civilização Editora, 2006, 360 pgs.
“Dicionário Visual Português/Italiano”, Civilização Editora, 2006, 360 pgs.
“Dicionário Visual Português/Alemão”, Civilização Editora, 2006, 360 pgs.
Monday, December 7, 2009
67. Collected information
Languages # pairs PT-EN
Portuguese — English Ingredients 2112
Portuguese — English Actions 1658 5927
Portuguese — English 2157
Portuguese — Spanish 2157
Portuguese — French 2157
Portuguese — Italian 2157
Portuguese — German 2157
Total: 14555
Monday, December 7, 2009
81. System’s evaluation
a lot
Prior experience with
the Dialog System
some
none
none some a lot
Knowledge of the Domain
(Cooking prior experience)
Monday, December 7, 2009
87. Joana Paulo Pardal
joana.paulo.pardal@gmail.com
ladydoctorbug.blogspot.com
www.l2f.inesc-id.pt ⁄!joana
Monday, December 7, 2009
88. Cooking an ontology-based
coaching dialogue system
Joana Paulo Pardal
Quality and Usability Colloquium
December 7th, 2009
Berlin, Germany
Monday, December 7, 2009