From natural language to Bayesian Networks (and back)

Slides:



Advertisements
Similar presentations
Slide 1 of 18 Uncertainty Representation and Reasoning with MEBN/PR-OWL Kathryn Blackmond Laskey Paulo C. G. da Costa The Volgenau School of Information.
Advertisements

Autonomic Scaling of Cloud Computing Resources
Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
Commonsense Reasoning and Argumentation 14/15 HC 8 Structured argumentation (1) Henry Prakken March 2, 2015.
Bayesian Network and Influence Diagram A Guide to Construction And Analysis.
On the structure of arguments, and what it means for dialogue Henry Prakken COMMA-08 Toulouse,
Argumentation Logics Lecture 5: Argumentation with structured arguments (1) argument structure Henry Prakken Chongqing June 2, 2010.
BAYESIAN NETWORKS. Bayesian Network Motivation  We want a representation and reasoning system that is based on conditional independence  Compact yet.
1 Knowledge Engineering for Bayesian Networks. 2 Probability theory for representing uncertainty l Assigns a numerical degree of belief between 0 and.
UMBC an Honors University in Maryland 1 Uncertainty in Ontology Mapping: Uncertainty in Ontology Mapping: A Bayesian Perspective Yun Peng, Zhongli Ding,
BAYESIAN NETWORKS CHAPTER#4 Book: Modeling and Reasoning with Bayesian Networks Author : Adnan Darwiche Publisher: CambridgeUniversity Press 2009.
Slide 1 Reasoning Under Uncertainty: More on BNets structure and construction Jim Little Nov (Textbook 6.3)
Argumentation in Artificial Intelligence Henry Prakken Lissabon, Portugal December 11, 2009.
Introduction of Probabilistic Reasoning and Bayesian Networks
OMEN: A Probabilistic Ontology Mapping Tool Mitra et al.
| 1 › Floris Bex / Centre for Law and ICT › Henry Prakken / Centre for Law and ICT Dept. of ICS, Utrecht University Investigating stories in.
Artificial Intelligence Chapter 19 Reasoning with Uncertain Information Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Integrated Systems Understanding using Bayesian Networks: Measuring the Effectiveness of a Weapon System Pretoria Defence, Peace, Safety & Security Alta.
CPSC 322, Lecture 26Slide 1 Reasoning Under Uncertainty: Belief Networks Computer Science cpsc322, Lecture 27 (Textbook Chpt 6.3) March, 16, 2009.
A Probabilistic Framework for Information Integration and Retrieval on the Semantic Web by Livia Predoiu, Heiner Stuckenschmidt Institute of Computer Science,
PR-OWL: A Framework for Probabilistic Ontologies by Paulo C. G. COSTA, Kathryn B. LASKEY George Mason University presented by Thomas Packer 1PR-OWL.
Reasoning with testimony Argumentation vs. Explanatory Coherence Floris Bex - University of Groningen Henry Prakken - University of Groningen - Utrecht.
© 2002 Franz J. Kurfess Introduction 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Goal: Reconstruct Cellular Networks Biocarta. Conditions Genes.
Argumentation Logics Lecture 7: Argumentation with structured arguments (3) Henry Prakken Chongqing June 4, 2010.
1 Bayesian Networks Chapter ; 14.4 CS 63 Adapted from slides by Tim Finin and Marie desJardins. Some material borrowed from Lise Getoor.
Bayes’ Nets  A Bayes’ net is an efficient encoding of a probabilistic model of a domain  Questions we can ask:  Inference: given a fixed BN, what is.
A Brief Introduction to Graphical Models
Bayesian Learning By Porchelvi Vijayakumar. Cognitive Science Current Problem: How do children learn and how do they get it right?
第十讲 概率图模型导论 Chapter 10 Introduction to Probabilistic Graphical Models
Bayesian networks. Motivation We saw that the full joint probability can be used to answer any question about the domain, but can become intractable as.
Bayesian Networks for Data Mining David Heckerman Microsoft Research (Data Mining and Knowledge Discovery 1, (1997))
1 Monte Carlo Artificial Intelligence: Bayesian Networks.
Introduction to Bayesian Networks
GODO: Goal driven orchestration for Semantic Web Services … or how do spells work in the XXI century Juan Miguel Gomez, Mariano Rico, Francisco Garcia.
International Conference on Fuzzy Systems and Knowledge Discovery, p.p ,July 2011.
A Bayesian Perspective to Semantic Web – Uncertainty modeling in OWL Jyotishman Pathak 04/28/2005.
1 CMSC 671 Fall 2001 Class #20 – Thursday, November 8.
Introduction on Graphic Models
CPSC 322, Lecture 26Slide 1 Reasoning Under Uncertainty: Belief Networks Computer Science cpsc322, Lecture 27 (Textbook Chpt 6.3) Nov, 13, 2013.
An argument-based framework to model an agent's beliefs in a dynamic environment Marcela Capobianco Carlos I. Chesñevar Guillermo R. Simari Dept. of Computer.
Chapter 12. Probability Reasoning Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Artificial Intelligence Chapter 19 Reasoning with Uncertain Information Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Artificial Intelligence Bayes’ Nets: Independence Instructors: David Suter and Qince Li Course Harbin Institute of Technology [Many slides.
Reasoning Under Uncertainty: Belief Networks
Reasoning Under Uncertainty: More on BNets structure and construction
Bayesian networks Chapter 14 Section 1 – 2.
Qian Liu CSE spring University of Pennsylvania
Reasoning Under Uncertainty: More on BNets structure and construction
WELCOME TO COSRI IBADAN
Inconsistent Constraints
Artificial Intelligence Chapter 19
Henry Prakken COMMA 2016 Berlin-Potsdam September 15th, 2016
Probabilistic Reasoning; Network-based reasoning
CS 188: Artificial Intelligence
Propagation Algorithm in Bayesian Networks
CAP 5636 – Advanced Artificial Intelligence
CS 188: Artificial Intelligence Fall 2007
CS 188: Artificial Intelligence Fall 2008
CS 188: Artificial Intelligence
Biointelligence Lab School of Computer Sci. & Eng.
Class #16 – Tuesday, October 26
Chapter 7. Propositional and Predicate Logic
CS 188: Artificial Intelligence Spring 2007
Probabilistic Reasoning
CS 188: Artificial Intelligence Spring 2006
Belleville High School Law Related Education
Chapter 14 February 26, 2004.
CS 188: Artificial Intelligence Fall 2008
Generalized Diagnostics with the Non-Axiomatic Reasoning System (NARS)
Presentation transcript:

From natural language to Bayesian Networks (and back) Floris Bex Utrecht University

Introduction Analysts and decision-makers work with natural language text (or semi-structured arguments, scenarios) Particularly in domains where numerical judgments are less common Witness testimonies, expert reports, complaints, social media Outlines, reports, timelines, mind-maps Court arguments, rulings, reports

Introduction Formal and structured methods can be powerful tools for decision support Critical thinking & manual analysis Dialectical analysis Sensitivity analyses (Semi-)automation of decision making Formal ontologies Argumentation and non-monotonic logics Bayesian networks

Introduction Decision support systems for reasoning with evidence Principled ways of going from text to formal models Linguistic aspects How do people express and interpret scenarios, probabilities, arguments? Formal aspects What are the relations between formalisms? Design aspects What are the goals of the system? Psychological aspects How do/should people reason?

From text to formalisms Formal (math) models Semi-structured or unstructured text Structured arguments and scenarios

From text to formalisms argumentation Wigmore graphs Ontologies Bayesian networks Timelines Reports, transcripts, etc Formal (math) models Semi-structured or unstructured text Structured arguments and scenarios

Criminal complaint handling for police Online criminal complaints (politie.nl) How can we get the most/best information from the complainant? How do we build a case based on multiple complaints? Current intake is with a static form Fields for names, addresses, bank accounts Free text field “What happened?” Examples of typically missing information: How did the counterparty convince the victim to do business? What other evidence of fraud is there?

Criminal complaint handling for police Get structured information (scenario, argument) from form & text Apply formal semantics for scenarios & arguments What are the gaps in the story? Which evidence is missing? Ask for missing information Give feedback about scenarios & arguments

Criminal complaint handling for police Structure and formalize information Argument mining scenario mining Provide formal semantics Formal (math) models Semi-structured or unstructured text Structured arguments and scenarios Text generation Natural dialogues Include or ask for new information Feedback of findings to user

Demo

Understanding stories I bought a Samsung S3 from Wesley. I paid him 45 euros

Understanding stories Syntactic parsing I bought a Samsung S3 from Wesley. I paid him 45 euros S v Od PP S v Od Oi

Understanding stories Syntactic parsing Named Entity Recognition Floris Samsung S3 Wesley 45 euros I bought a Samsung S3 from Wesley. I paid him 45 euros S v Od PP S v Od Oi

Understanding stories Domain ontology sent to sent by Complainant Product Counterparty paid to Payment paid by Floris Samsung S3 Wesley 45 euros I bought a Samsung S3 from Wesley. I paid him 45 euros S v Od PP S v Od Oi

Understanding stories Connect domain ontology to story (machine learning) sent to sent by Complainant Product Counterparty paid to Payment paid by Floris Samsung S3 Wesley 45 euros I bought a Samsung S3 from Wesley. I paid him 45 euros S v Od PP S v Od Oi

Scenario reasoning Scenario from text Floris bought a Samsung S3 from Wesley Floris paid Wesley 45 euros

Scenario reasoning ? Is the scenario complete (ontology)? The complainant bought product from the counterparty The complainant made a payment to the counterparty The counterparty sent the product to the complainant Floris bought a Samsung S3 from Wesley Floris paid Wesley 45 euros ?

Argumentative reasoning Is there evidence for the scenario? Floris bought a Samsung S3 from Wesley Floris paid Wesley 45 euros ? ?

Argumentative reasoning Is there evidence for the scenario? Floris bought a Samsung S3 from Wesley Floris paid Wesley 45 euros Emails, Whatsapp Bank statements

Criminal complaint handling for police Ontological reasoning, reasoning with arguments & scenario’s Complaint form(s) Structured scenarios Formal models Semi-structured or unstructured text Structured arguments and scenarios Questions to complainant Structured argumentation dialogue

From arguments to Bayesian networks Translate structured arguments based on evidence to Bayesian Networks A formal account of constraints on a BN imposed by structured arguments Semi-structured or unstructured text Structured arguments and scenarios Bayesian networks

Structured argumentation: ASPIC+ Arguments are Directed Acyclic graphs Nodes are statements in a logical language with neg. Links are applications of inference rules (strict or defeasible) Arguments constructed from knowledge base Ke (evidence, certain premises), Kp (assumptions, uncertain premises) Attack On uncertain premises, on defeasible inferences, on conclusions

Structured arguments The burglary (Bur) was committed by the suspect, because there is a footprint match (Ftpr) and a motive (Mot) backed by a report (For) and a testimony (Tes1), and the suspect has no alibi, so Opp. Bur Ftpr Mot Opp For Tes1

Structured arguments However, there is evidence of a mixup in the lab (Mix), which means the footprint match is not really backed by evidence. Furthermore, the suspect later gave a testimony (Tes2) with an alibi, so −Opp. Bur Ftpr Mot Opp −Opp Mix For Tes1 Tes2

Bayesian Networks Represent joint probability distribution as DAG + CPT Directed Acyclic Graph Nodes are variables Bur = [Bur, −Bur] Arcs represent probabilistic dependencies between nodes (Mot, Bur) Tes1 Bur For Rel Mot Ftpr Mix

Bayesian Networks Observations E Tes1 Bur For Rel Mot Ftpr Mix

Bayesian Networks Chains can be blocked, or inactive, given E if s contains node with two incoming arcs which is not in E and has no descendants in E; or s contains node in E that has at most one incoming arc on the chain. Tes1 Bur For Rel Mot Ftpr Mix

Bayesian Networks Active chains are not blocked Tes1 Bur For Rel Mot Ftpr Mix

Bayesian Networks Sets of variables X and Y are independent given E iff there is no active chain from X to Y Tes1 Bur For Rel Mot Ftpr Mix

From arguments to constraints on BN Nodes Every proposition v or −v in the argument is a node representing variable v in the BN Every proposition v in Ke is the observed value of v Ftpr Ftpr For For

From arguments to constraints on BN Inference chains For every rule v1,…, vn => vc / v1,…, vn −> vc used in an argument there is an active chain between nodes v1,…, vn and vc Ftpr Ftpr Ftpr Ftpr v1…vn For For For For

From arguments to constraints on BN Attack chains For contradictory (i.e. Opp and −Opp) propositions, this is captured by inference chains Opp Opp −Opp v1…vn Tes2 Tes2

From arguments to constraints on BN Attack chains If vu undercuts the application of rule vp => vc, then there are active chains from vp, vc to vu Mix Ftpr For Ftpr Ftpr Mix For Mix For

From arguments to constraints on BN Attack chains If vu undercuts the application of rule vp => vc, then there are active chains from vp, vc to vu Mix Ftpr Ftpr Mix vi…vj vk…vn For For

Using arguments to check BNs Differences in modelling between judge & BN expert Bur Ftpr Mot Opp −Opp Mix For Tes1 Tes2 Tes1 Bur For Rel Mot Ftpr Mix

Using arguments to check BNs Missing variables Bur Ftpr Mot Opp −Opp Mix For Tes1 Tes2 Tes1 Bur For ?? Rel Mot Ftpr Mix

Using arguments to check BNs Active inference chains Bur Ftpr Mot Opp −Opp Mix For Tes1 Tes2 Tes1 Bur For Rel Mot Ftpr Mix

Using arguments to check BNs Active inference chains Bur Ftpr Mot Opp −Opp Mix For Tes1 Tes2 Tes1 Bur For Rel Mot Ftpr Mix

Using arguments to check BNs Active attack chains If Mix undercuts the application of rule For => Ftpr, then there are active chains from For, Ftpr to Mix Ftpr Mot Opp −Opp Mix For Tes1 Tes2 Tes1 Bur For Rel Mot Ftpr Mix

Using arguments to check BNs Active attack chains If Mix undercuts the application of rule For => Ftpr, then there are active chains from For, Ftpr to Mix Ftpr Mot Opp −Opp Mix For Tes1 Tes2 Tes1 Bur For Rel Mot Ftpr Mix

Using arguments to build BNs Bur Ftpr Mot Opp −Opp Mix For Tes1 Tes2 For Tes1 Tes2 For Mix Ftpr Mot Opp Mix Bur

Using arguments to build BNs Bur Ftpr Mot Opp −Opp Mix For Tes1 Tes2 For Tes1 Tes2 For Mix Ftpr Mot Opp Mix Bur

From arguments to constraints on BN Probability constraints Defeasible rule v1,…, vn => vc v1,…, vn is evidence for vc Different interpretations of “is evidence for” Pr(vc | v1,…, vn) > 0 (Verheij 2014) Pr(vc | v1,…, vn) > 0.5 (Pollock 1995) Pr(vc | v1,…, vn) > Pr(vc) (Hahn & Hornikx 2015) …

Constraints and multiple BNs Constraints on structure and probabilities lead to multiple different BNs Semi-structured or unstructured text Structured arguments and scenarios Bayesian networks

Constraints and multiple BNs Constraints on structure and probabilities lead to multiple different BNs Compare BNs – where are the real differences? Ask decision maker about these differences. Questions to decision maker Structured arguments and scenarios Bayesian networks

Conclusions Principled and automated ways to go from text to formal models Implement algorithms & translations into working systems! Vlek et al. Fenton, Neil, Lagnado Timmer et al. Formal (math) models Semi-structured or unstructured text Structured arguments and scenarios Vlek et al. Yet et al. Timmer et al.