SlideShare a Scribd company logo
ECAI Exact Workshop Explanations in Dialogue Systems through Uncertain RDF Knowledge Bases Daniel Sonntag  (DFKI) and Martin Theobald (MPII)  16/08/2010 “ Where  was she  born?”
Outline Introduction  Dialogue System Framework URDF Framework Example Dialogue Conclusions |
Introduction  |
Multimodal interaction with large and dynamic data repositories Important topic for the next generation of human-computer interaction systems. Provide new opportunities for  semantically-enabled user interfaces. The explicit representation of the  meaning  of data allows us to  transcend traditional keyboard and mouse interaction metaphors, and  provide representation structures for more complex, collaborative interaction scenarios with more complex result presentations. Over the last years, we have adhered strictly to the developed rule “No presentation without representation,” ->  Explanations  Proper Explanations are one main factor that influences the level of user trust in complex (adaptive) AI systems
New area of IR Advent of structured databases in Semantic Web RDF structures and respective query languages, e.g., SPARQL, RDQL, or SERQL.  These languages are based on the notion of RDF triple patterns, which can be connected via several query operators such as “union” or “filter”. For the next generation of human-computer interaction systems, explanation-based inference during data retrieval and uncertain knowledge plays a major role. In order to implement these properties, we use an efficient reasoning framework for graph-based, non-schematic RDF knowledge bases and SPARQL-like queries, Uncertain RDF (URDF).
Dialogue System Goals Provide a dialogue-based interaction with such a probabilistic advanced database while following the URDF model. Explanation-aware multimodal dialogue system Such dialogue systems can answer complex questions and provide additional multimedia material such as graphs or videos. Dialogue-based question answering (QA) Gain graph-based knowledge for dialogue-based explanations with confidences for inferred knowledge. Derived Explanation knowledge is a unique opportunity for enhancing trust especially in uncertain, inferred answers in human-computer interaction systems.
Dialogue System Framework |
Dialogue System Framework: Goals and Requirements Multimodal interaction with the Semantic Web and the  Internet of Services Components customisable to different use case scenarios Flexible adaptation to Input and output modalities Interaction devices Knowledge bases Ontologies for world, domain, and dialogue knowledge Related work: translate NL input into structured ontology based representations, cf.  NLION, Aqualog, Orlakel.
Unique requirements and opportunities However, all of them deal with written keywords or simple semantic relations, e.g., X  isDefinedAs  Y. They do not focus on the much more complex explanation-based answering process while using a dialogue system.
Dialogue Shell Workflow Speech Interpretation Text Interpretation Gesture Interpretation Graphic Generation Text Generation Speech Interpretation Dialogue and Interaction Management Interactive Semantic Mediator Interactive Service Compo-sition eTFS/SPARQL SPARQL SPARQL SPARQL OWL-API Visualisation Visualisation Service External Information Sources Semantiic (Meta) Services RDF KOIOS (Yago  Ontology) Remote Linked Data Services OWL AOIDE (Music Ontology) Text Summarisation Modality Fusion Presentation Planning Personalisation -  Domain Model Context Model User Model
Shared Representation A shared representation and a common knowledge base ease the dataflow within the system and avoid costly and error-prone transformation processes (c.f. “ No presentation without representation ”). More precisely, an ontology-based representation of a user query can be used to create a query that can be posed to a (U)RDF endpoint.
Dialogue System Architecture Distributed Dialogue System Architecture Major components can be run on  different servers. Dialogue system also acts as  a middelware. Ontology-based  dialogue platform  (ODP). Establishes a new session for the client at the dialogue system. Invoke the central  RDF/OWL repository.
Core Answering Workflow The backend access has been extended by addressing URDF. We use an Apache Tomcat server for this purpose. The presentation has to be adapted to the result of the URDF process, i.e., graph-based explanations. Basic processing chain
 
URDF Framework |
Yago and Info Boxes 09.10.10 Reasoning in Uncertain RDF Knowledge Bases  IE error-prone and inherently noisy
Requirements  In the next decades:   Reasoning under uncertainty/incompleteness/ inconsistency will be a major challenge for data management. Fast Processing: Inference over entire Yago database w/20 Mio facts < 0.25 seconds! Knowledge Extraction fro the Web is incomplete and inconsistent.   bornIn(Al_Gore, Washington_D.C.) bornIn(Al_Gore, New_York_City)  bornIn(?x,?y)      bornIn(?x,?z)    ?y=?z KB
Inference rules vs. Integrity constraints People are not  born on  two different dates/in two different places, etc. People may  live in  more than one place, hence no formal inconsistency when more than one answer. People are not  married to  more than one person (at the  same time? , in  most countries ?) F C S RDF Triples Soft Rules (Horn) Hard Rules (Horn) -AvBvC     BvC -> A
Soft Rules and Hard Rules
Dependency / Explanation Graph
Inference Engine Top-down Datalog  (SLD resolution) Polynomial in #facts Exponential in |rules| May run into cycles! First-Order Rules R1: livesIn(?x, ?y) :- marriedTo(?x, ?z), livesIn(?z, ?y) R2: livesIn(?x, ?y) :- represents(?x, ?y) R3: livesIn(?x, ?y) :- governorOf(?x, ?y) livesIn(Bill, ?x) \/ R1 R3 R2 RDF Base Facts F1: marriedTo(Bill, Hillary) F2: represents(Hillary, New York) F3: governorOf(Bill, Arkansas) /\ F1 \/ R2 R3 R1 F2 X F3 … …
Weighted MaxSat and URDF MAX-SAT problem: “ Given a collection of clauses, we seek a variable assignment that maximizes the number of satisfied clauses. The weighted MAX-SAT problem assigns a weight to each clause, and seeks an assignment that maximizes the sum of the weights of the satisfied clauses. Both of these problems are NP-hard.&quot;  (Joy, Mitchel and Borchers)  Query processing with URDF consists of two phases:  lookups of basic query patterns against the knowledge base, which involves both direct lookups of base facts in the knowledge base, but also recursively grounding rules and inferring new facts; an resolving potential inconsistencies by a second reasoning step in the form of a Weighted MAX-SAT solver, which yields the final truth assignments.
MaxSat Decision Weighted MaxSat decision -> Truth assignment  Resolve hard constraints = hard rules Include weights of base facts  Include weights of soft rules Probabilistic model on top (for inferred knowledge) Probabilities of base facts No soft rules! Key feature: Capture the resolution steps in form of a DAG over grounded rules (aka data provenance or lineage)
Example Dialogue |
Interaction Sequence The dialogue concentrates around the questions about the URDF contents, i.e., factoid questions about celebrities, and the multimodal presentation of answer content. 1  U:  “Where is Angela Merkel born?” 2  S:  Shows corresponding result in a SIE. 3  U:  “What do Angela Merkel  and Al Gore have in common?” 4  S:  Shows corresponding relation graph. 5  U:  “Where does he live?” 6  S:  Shows corresponding relation graph. 7  S:  *Synthesises a summary of the  graph’s interpretation.*
Complex Explanation Graph “ Where does he (Al Gore) live?”
Conclusions |
Conclusions and Outlook We have discussed explanations in dialogue systems through Uncertain RDF knowledge bases and presented URDF, a query engine for uncertain and potentially inconsistent RDF knowledge bases. We gained graph-based knowledge for dialogue-based explanations with confidences for inferred knowledge. URDF outlook: Context-sensitive reasoning and explanations  URDF provides a new data stream and explanations for future, AI based interaction systems. In our multimodal application scenario, a more complex and tighter integration of the provided result graphs has to be investigated. Outlook: the result graph could be presented in conjunction with the speech synthesis “I think he lives in Washington, D.C., because his wife, Tipper Gore, also lives there.”
Thank you! Questions? Supported by Acknowledgements: DFKI:  Robert Nesselrath, Yajing Zang, Matthieu Deru, Simon Bergweiler, Gerhard Sonnenberg, Norbert Reithinger, Gerd Herzog, Alassane Ndiaye, Tilman Becker, Norbert Pfleger, Alexander Pfalzgraf, Jan Schehl, Jochen Steigner, and Colette Weihrauch MPII:  Maximilian Dylla, Saransh Gupta, Javeria Iqbal, Timm Meiser, Ndapa Nakashole, Mohamed Yahya, Christina Teflouidi, Vinay Setty, Yafang Wang. Special guests:Mauro Sozio, Fabian Suchanek

More Related Content

PPTX
Different Semantic Perspectives for Question Answering Systems
PDF
Schema-agnositc queries over large-schema databases: a distributional semanti...
PDF
Tutorial - Introduction to Rule Technologies and Systems
PDF
Semantic Web from the 2013 Perspective
PDF
Semantics at Scale: A Distributional Approach
PPTX
Semantic Relation Classification: Task Formalisation and Refinement
PPTX
How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...
PPTX
Word Tagging with Foundational Ontology Classes
Different Semantic Perspectives for Question Answering Systems
Schema-agnositc queries over large-schema databases: a distributional semanti...
Tutorial - Introduction to Rule Technologies and Systems
Semantic Web from the 2013 Perspective
Semantics at Scale: A Distributional Approach
Semantic Relation Classification: Task Formalisation and Refinement
How hard is this Query? Measuring the Semantic Complexity of Schema-agnostic ...
Word Tagging with Foundational Ontology Classes

What's hot (20)

PDF
Schema-Agnostic Queries (SAQ-2015): Semantic Web Challenge
PDF
Question Answering over Linked Data (Reasoning Web Summer School)
PPTX
The Duet model
PPTX
Neural Models for Document Ranking
PPT
PPT slides
PDF
Arabic named entity recognition using deep learning approach
PPTX
A Simple Introduction to Neural Information Retrieval
PPTX
Deep Neural Methods for Retrieval
PPTX
5 Lessons Learned from Designing Neural Models for Information Retrieval
PPTX
Dual Embedding Space Model (DESM)
PPTX
Neural Models for Information Retrieval
PPTX
Natural Language Processing
PDF
Hyponymy extraction of domain ontology
PDF
Language Models for Information Retrieval
PPTX
Deep Learning for Search
PDF
G9_Cognition-Knowledge Rep and Reas_H6
PDF
A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...
PPTX
Neural Models for Information Retrieval
PPTX
SemEval-2017 Task 5: Fine-Grained Sentiment Analysis on Financial Microblogs ...
PPT
Introduction to question answering for linked data & big data
Schema-Agnostic Queries (SAQ-2015): Semantic Web Challenge
Question Answering over Linked Data (Reasoning Web Summer School)
The Duet model
Neural Models for Document Ranking
PPT slides
Arabic named entity recognition using deep learning approach
A Simple Introduction to Neural Information Retrieval
Deep Neural Methods for Retrieval
5 Lessons Learned from Designing Neural Models for Information Retrieval
Dual Embedding Space Model (DESM)
Neural Models for Information Retrieval
Natural Language Processing
Hyponymy extraction of domain ontology
Language Models for Information Retrieval
Deep Learning for Search
G9_Cognition-Knowledge Rep and Reas_H6
A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...
Neural Models for Information Retrieval
SemEval-2017 Task 5: Fine-Grained Sentiment Analysis on Financial Microblogs ...
Introduction to question answering for linked data & big data
Ad

Similar to Explanations in Dialogue Systems through Uncertain RDF Knowledge Bases (20)

PPTX
BT02.pptx
PDF
Ontology-mediated query answering with data-tractable description logics
PDF
Logic and Reasoning in the Semantic Web (part I –RDF/RDFS)
PPT
A Distributed Tableau Algorithm for Package-based Description Logics
PDF
cade23-schneidsut-atp4owlfull-2011
PDF
RDF Semantics
PPT
Package-based Description Logics – Preliminary Results
PDF
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
PDF
Logic and Reasoning in the Semantic Web
PDF
Effective Semantics for Engineering NLP Systems
PPTX
Semantic Modelling using Semantic Web Technology
PPT
Jarrar.lecture notes.aai.2011s.descriptionlogic
PDF
Incomplete Information in RDF
PPTX
Georgios Meditskos and Stamatia Dasiopoulou | Question Answering over Pattern...
PPT
Ontological on Engineering Presentation1
PDF
Ontologies and Vocabularies
PDF
Ontologies and semantic web
PDF
Ontology languages and OWL
PPT
Ontology Engineering: Ontology Use
PPT
A Semantic Multimedia Web (Part 2)
BT02.pptx
Ontology-mediated query answering with data-tractable description logics
Logic and Reasoning in the Semantic Web (part I –RDF/RDFS)
A Distributed Tableau Algorithm for Package-based Description Logics
cade23-schneidsut-atp4owlfull-2011
RDF Semantics
Package-based Description Logics – Preliminary Results
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
Logic and Reasoning in the Semantic Web
Effective Semantics for Engineering NLP Systems
Semantic Modelling using Semantic Web Technology
Jarrar.lecture notes.aai.2011s.descriptionlogic
Incomplete Information in RDF
Georgios Meditskos and Stamatia Dasiopoulou | Question Answering over Pattern...
Ontological on Engineering Presentation1
Ontologies and Vocabularies
Ontologies and semantic web
Ontology languages and OWL
Ontology Engineering: Ontology Use
A Semantic Multimedia Web (Part 2)
Ad

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Spectroscopy.pptx food analysis technology
PDF
KodekX | Application Modernization Development
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Empathic Computing: Creating Shared Understanding
Agricultural_Statistics_at_a_Glance_2022_0.pdf
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Spectroscopy.pptx food analysis technology
KodekX | Application Modernization Development
Programs and apps: productivity, graphics, security and other tools
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
sap open course for s4hana steps from ECC to s4
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Empathic Computing: Creating Shared Understanding

Explanations in Dialogue Systems through Uncertain RDF Knowledge Bases

  • 1. ECAI Exact Workshop Explanations in Dialogue Systems through Uncertain RDF Knowledge Bases Daniel Sonntag (DFKI) and Martin Theobald (MPII) 16/08/2010 “ Where was she born?”
  • 2. Outline Introduction Dialogue System Framework URDF Framework Example Dialogue Conclusions |
  • 4. Multimodal interaction with large and dynamic data repositories Important topic for the next generation of human-computer interaction systems. Provide new opportunities for semantically-enabled user interfaces. The explicit representation of the meaning of data allows us to transcend traditional keyboard and mouse interaction metaphors, and provide representation structures for more complex, collaborative interaction scenarios with more complex result presentations. Over the last years, we have adhered strictly to the developed rule “No presentation without representation,” -> Explanations Proper Explanations are one main factor that influences the level of user trust in complex (adaptive) AI systems
  • 5. New area of IR Advent of structured databases in Semantic Web RDF structures and respective query languages, e.g., SPARQL, RDQL, or SERQL. These languages are based on the notion of RDF triple patterns, which can be connected via several query operators such as “union” or “filter”. For the next generation of human-computer interaction systems, explanation-based inference during data retrieval and uncertain knowledge plays a major role. In order to implement these properties, we use an efficient reasoning framework for graph-based, non-schematic RDF knowledge bases and SPARQL-like queries, Uncertain RDF (URDF).
  • 6. Dialogue System Goals Provide a dialogue-based interaction with such a probabilistic advanced database while following the URDF model. Explanation-aware multimodal dialogue system Such dialogue systems can answer complex questions and provide additional multimedia material such as graphs or videos. Dialogue-based question answering (QA) Gain graph-based knowledge for dialogue-based explanations with confidences for inferred knowledge. Derived Explanation knowledge is a unique opportunity for enhancing trust especially in uncertain, inferred answers in human-computer interaction systems.
  • 8. Dialogue System Framework: Goals and Requirements Multimodal interaction with the Semantic Web and the Internet of Services Components customisable to different use case scenarios Flexible adaptation to Input and output modalities Interaction devices Knowledge bases Ontologies for world, domain, and dialogue knowledge Related work: translate NL input into structured ontology based representations, cf. NLION, Aqualog, Orlakel.
  • 9. Unique requirements and opportunities However, all of them deal with written keywords or simple semantic relations, e.g., X isDefinedAs Y. They do not focus on the much more complex explanation-based answering process while using a dialogue system.
  • 10. Dialogue Shell Workflow Speech Interpretation Text Interpretation Gesture Interpretation Graphic Generation Text Generation Speech Interpretation Dialogue and Interaction Management Interactive Semantic Mediator Interactive Service Compo-sition eTFS/SPARQL SPARQL SPARQL SPARQL OWL-API Visualisation Visualisation Service External Information Sources Semantiic (Meta) Services RDF KOIOS (Yago Ontology) Remote Linked Data Services OWL AOIDE (Music Ontology) Text Summarisation Modality Fusion Presentation Planning Personalisation - Domain Model Context Model User Model
  • 11. Shared Representation A shared representation and a common knowledge base ease the dataflow within the system and avoid costly and error-prone transformation processes (c.f. “ No presentation without representation ”). More precisely, an ontology-based representation of a user query can be used to create a query that can be posed to a (U)RDF endpoint.
  • 12. Dialogue System Architecture Distributed Dialogue System Architecture Major components can be run on different servers. Dialogue system also acts as a middelware. Ontology-based dialogue platform (ODP). Establishes a new session for the client at the dialogue system. Invoke the central RDF/OWL repository.
  • 13. Core Answering Workflow The backend access has been extended by addressing URDF. We use an Apache Tomcat server for this purpose. The presentation has to be adapted to the result of the URDF process, i.e., graph-based explanations. Basic processing chain
  • 14.  
  • 16. Yago and Info Boxes 09.10.10 Reasoning in Uncertain RDF Knowledge Bases IE error-prone and inherently noisy
  • 17. Requirements In the next decades: Reasoning under uncertainty/incompleteness/ inconsistency will be a major challenge for data management. Fast Processing: Inference over entire Yago database w/20 Mio facts < 0.25 seconds! Knowledge Extraction fro the Web is incomplete and inconsistent. bornIn(Al_Gore, Washington_D.C.) bornIn(Al_Gore, New_York_City)  bornIn(?x,?y)   bornIn(?x,?z)  ?y=?z KB
  • 18. Inference rules vs. Integrity constraints People are not born on two different dates/in two different places, etc. People may live in more than one place, hence no formal inconsistency when more than one answer. People are not married to more than one person (at the same time? , in most countries ?) F C S RDF Triples Soft Rules (Horn) Hard Rules (Horn) -AvBvC  BvC -> A
  • 19. Soft Rules and Hard Rules
  • 21. Inference Engine Top-down Datalog (SLD resolution) Polynomial in #facts Exponential in |rules| May run into cycles! First-Order Rules R1: livesIn(?x, ?y) :- marriedTo(?x, ?z), livesIn(?z, ?y) R2: livesIn(?x, ?y) :- represents(?x, ?y) R3: livesIn(?x, ?y) :- governorOf(?x, ?y) livesIn(Bill, ?x) \/ R1 R3 R2 RDF Base Facts F1: marriedTo(Bill, Hillary) F2: represents(Hillary, New York) F3: governorOf(Bill, Arkansas) /\ F1 \/ R2 R3 R1 F2 X F3 … …
  • 22. Weighted MaxSat and URDF MAX-SAT problem: “ Given a collection of clauses, we seek a variable assignment that maximizes the number of satisfied clauses. The weighted MAX-SAT problem assigns a weight to each clause, and seeks an assignment that maximizes the sum of the weights of the satisfied clauses. Both of these problems are NP-hard.&quot; (Joy, Mitchel and Borchers) Query processing with URDF consists of two phases: lookups of basic query patterns against the knowledge base, which involves both direct lookups of base facts in the knowledge base, but also recursively grounding rules and inferring new facts; an resolving potential inconsistencies by a second reasoning step in the form of a Weighted MAX-SAT solver, which yields the final truth assignments.
  • 23. MaxSat Decision Weighted MaxSat decision -> Truth assignment Resolve hard constraints = hard rules Include weights of base facts Include weights of soft rules Probabilistic model on top (for inferred knowledge) Probabilities of base facts No soft rules! Key feature: Capture the resolution steps in form of a DAG over grounded rules (aka data provenance or lineage)
  • 25. Interaction Sequence The dialogue concentrates around the questions about the URDF contents, i.e., factoid questions about celebrities, and the multimodal presentation of answer content. 1 U: “Where is Angela Merkel born?” 2 S: Shows corresponding result in a SIE. 3 U: “What do Angela Merkel and Al Gore have in common?” 4 S: Shows corresponding relation graph. 5 U: “Where does he live?” 6 S: Shows corresponding relation graph. 7 S: *Synthesises a summary of the graph’s interpretation.*
  • 26. Complex Explanation Graph “ Where does he (Al Gore) live?”
  • 28. Conclusions and Outlook We have discussed explanations in dialogue systems through Uncertain RDF knowledge bases and presented URDF, a query engine for uncertain and potentially inconsistent RDF knowledge bases. We gained graph-based knowledge for dialogue-based explanations with confidences for inferred knowledge. URDF outlook: Context-sensitive reasoning and explanations URDF provides a new data stream and explanations for future, AI based interaction systems. In our multimodal application scenario, a more complex and tighter integration of the provided result graphs has to be investigated. Outlook: the result graph could be presented in conjunction with the speech synthesis “I think he lives in Washington, D.C., because his wife, Tipper Gore, also lives there.”
  • 29. Thank you! Questions? Supported by Acknowledgements: DFKI: Robert Nesselrath, Yajing Zang, Matthieu Deru, Simon Bergweiler, Gerhard Sonnenberg, Norbert Reithinger, Gerd Herzog, Alassane Ndiaye, Tilman Becker, Norbert Pfleger, Alexander Pfalzgraf, Jan Schehl, Jochen Steigner, and Colette Weihrauch MPII: Maximilian Dylla, Saransh Gupta, Javeria Iqbal, Timm Meiser, Ndapa Nakashole, Mohamed Yahya, Christina Teflouidi, Vinay Setty, Yafang Wang. Special guests:Mauro Sozio, Fabian Suchanek