SlideShare a Scribd company logo
Stefano Bragaglia
DEIS – University of Bologna
stefano.bragaglia@unibo.it

Fabrizio Riguzzi
ENDIF – University of Ferrara
fabrizio.riguzzi@unife.it




Increasing interest in combining
logic and probability

•

C1: sneezing(X): 0.7 v
not_sneezing(X): 0.3 ←
flu(X).
C2: sneezing(X): 0.6 v
not_sneezing(X): 0.4 ←
hayfever(X).
C3: flu(andrew).
C4: flu(david).
C5: hayfever(david).
C6: hayfever(robert).

Many formalism:
 Markov Logic Networks
 ProbLog
 Logic Programs with Annotated

Disjunctions (LPADs)
 etc.


LPADs can easily express:

•

Queries:
?- sneezing(andrew).
?- sneezing(robert).
?- sneezing(david).

 cause-effect relationships among

events
 possible effects of a single cause
 contemporary contribution of
more causes to the same effect

Example: simple medical diagnosis

•

0.7
0.6
0.88

Probability:
Instances where query is true: 3 out of 4
P = 0.7×0.6 + 0.7×0.4 + 0.3×0.6 =

0.88


Syntax









Program: set of disjunctive clauses
Head: set of mutually exclusive and
exhaustive logical atoms annotated with
probability values between 0 and 1
whose sum is 1
Body: event whose effects are
represented by the atoms of the
corresponding head

1.
2.

Semantic




Inference: in 2 steps (by cplint)
Explanations: a meta-interpreter
performs resolution keeping current
set of choices
Probability of a query:
a dynamic algorithm converts
explanations into a Binary Decision
Diagram (BDD) and traverse it; this
makes explanations mutually
exclusive
?- sneezing(david).
(C1;{X1/david};0)
(C2;{X2/david};0)
:- flu(david).
:- hayfever(david).

Instance: normal logic program obtained
by choosing a logical atom from the
head of each grounding of every clause
Probability of an instance: product of
the probability values of all the atoms
chosen for that instance
Probability of a query: sum of the
probabilities of each instance where the
query is true




0.4
0.3

0

XC2

XC1
0.7

0.6

1

P = 0.3×0.6 + 0.7 = 0.88



Not possible in some domains
 Best K
▪ Deterministic algorithm
based on branch and bound
technique
▪ Explanations built
incrementally by keeping
only the k most probable
ones (k = 64)
▪ Probability of the query
computed on chosen
explanations trough BDD
(lower bound)
▪ Note: limiting explanations
allows better control on
complexity

 Monte Carlo
▪ Stochastic algorithm based
on Monte Carlo approach
▪ Instances sampled
repeatedly from LPAD by
considering only relevant
clauses
▪ Head atoms of resolving
clauses chosen stochastically
by a meta-interpreter
▪ Note: the probability of the
query is the fraction of
sampled instances where the
query is true (no BDD is
needed)


Real datasets: 10 incremental
samples of a graph describing
biological entities responsible of
Alzheimer’s disease

Biological Graph
HGNC_1505

PubMed_12653
0.643

0.493

0.665
EntrezGene_11803

PubMed_15529

0.523





Artificial datasets: 3
procedurally built graphs of
increasing complexity
Queries: compute the probability
that a path exists between two
given nodes of each graph

0.567
EntrezProtein_7891032

Tests: performed on Linux
machines equipped with Intel
Core 2 Duo E6550 (2333 MHz) and
4 Gb RAM with a 24 hours time
limit

PubMed_1741124

0.602
0.621
PubMed_157782

0.713

EntrezProtein_8147603

Artificial Graphs
0.3
0.3

0.3

0.3

0.3
0.3

0.3

0.3

0.3

0.3
0.3
0.3

“lanes”

0.3

0.3

0.3

0.3



HGNC_620

0.3

0.3

0.3

0.3

0.3

0.3
0.3

“branches”

“parachutes”
12
10
8
6
4
2
0

Biological Graphs:
CPU times averaged on successes
100000

Standard
Best K
Monte Carlo

Size (edges)

Time (log s)

Answers

Biological Graphs:
number of successes

1000
Standard
10

Best K
Monte Carlo

0,1
0,001

Size (edges)
Lanes Graphs: CPU times

Parachutes Graphs: CPU times
100

Standard
Best K
Monte Carlo

0,01

Monte Carlo

0,000001

Size (steps)

Size (steps)

Branches Graphs: CPU times

Time (log s)

100
1
1

3

5

7

9

11 13 15 17 19

0,01

Standard
Best K
Monte Carlo

0,0001
0,000001

Size (steps)

Standard
Best K

0,0001

0,0001
0,000001

1
1
23
45
67
89
111
133
155
177
199
221
243
265
287

0,01

Time (log s)

1
1
23
45
67
89
111
133
155
177
199
221
243
265
287

Time (log s)

100

More Related Content

Similar to Approximate Inference for Logic Programs with Annotated Disjunctions (RCRA 2009)

Igert glmm
Igert glmmIgert glmm
Igert glmm
Ben Bolker
 
OpenCL applications in genomics
OpenCL applications in genomicsOpenCL applications in genomics
OpenCL applications in genomicsUSC
 
dorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurb
dorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurbdorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurb
dorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurb
zoobiarana76
 
The quantum computing and its application's
The quantum computing and its application'sThe quantum computing and its application's
The quantum computing and its application's
Rachitdas2
 
Intro to Model Selection
Intro to Model SelectionIntro to Model Selection
Intro to Model Selectionchenhm
 
ilp-nlp-slides.pdf
ilp-nlp-slides.pdfilp-nlp-slides.pdf
ilp-nlp-slides.pdf
FlorentBersani
 
집합모델 확장불린모델
집합모델  확장불린모델집합모델  확장불린모델
집합모델 확장불린모델
guesta34d441
 
집합모델 확장불린모델
집합모델  확장불린모델집합모델  확장불린모델
집합모델 확장불린모델
JUNGEUN KANG
 
lecture15-supervised.ppt
lecture15-supervised.pptlecture15-supervised.ppt
lecture15-supervised.ppt
Indra Hermawan
 
Cycle’s topological optimizations and the iterative decoding problem on gener...
Cycle’s topological optimizations and the iterative decoding problem on gener...Cycle’s topological optimizations and the iterative decoding problem on gener...
Cycle’s topological optimizations and the iterative decoding problem on gener...
Usatyuk Vasiliy
 
Cs221 lecture3-fall11
Cs221 lecture3-fall11Cs221 lecture3-fall11
Cs221 lecture3-fall11darwinrlo
 
CEHS 2016 Poster
CEHS 2016 PosterCEHS 2016 Poster
CEHS 2016 Poster
Eric Ma
 
Blinkdb
BlinkdbBlinkdb
Blinkdb
Nitish Upreti
 
Multiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximationsMultiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximations
Christian Robert
 
“Probabilistic Logic Programs and Their Applications”
“Probabilistic Logic Programs and Their Applications”“Probabilistic Logic Programs and Their Applications”
“Probabilistic Logic Programs and Their Applications”
diannepatricia
 
original
originaloriginal
originalbutest
 
Maths questiion bank for engineering students
Maths questiion bank for engineering studentsMaths questiion bank for engineering students
Maths questiion bank for engineering students
MrMRubanVelsUniversi
 
Spatial Point Processes and Their Applications in Epidemiology
Spatial Point Processes and Their Applications in EpidemiologySpatial Point Processes and Their Applications in Epidemiology
Spatial Point Processes and Their Applications in EpidemiologyLilac Liu Xu
 
. An introduction to machine learning and probabilistic ...
. An introduction to machine learning and probabilistic .... An introduction to machine learning and probabilistic ...
. An introduction to machine learning and probabilistic ...butest
 
High-Dimensional Methods: Examples for Inference on Structural Effects
High-Dimensional Methods: Examples for Inference on Structural EffectsHigh-Dimensional Methods: Examples for Inference on Structural Effects
High-Dimensional Methods: Examples for Inference on Structural Effects
NBER
 

Similar to Approximate Inference for Logic Programs with Annotated Disjunctions (RCRA 2009) (20)

Igert glmm
Igert glmmIgert glmm
Igert glmm
 
OpenCL applications in genomics
OpenCL applications in genomicsOpenCL applications in genomics
OpenCL applications in genomics
 
dorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurb
dorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurbdorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurb
dorit-day1-1.pptedefefgfgjjjjjf2iufhhbfiurb
 
The quantum computing and its application's
The quantum computing and its application'sThe quantum computing and its application's
The quantum computing and its application's
 
Intro to Model Selection
Intro to Model SelectionIntro to Model Selection
Intro to Model Selection
 
ilp-nlp-slides.pdf
ilp-nlp-slides.pdfilp-nlp-slides.pdf
ilp-nlp-slides.pdf
 
집합모델 확장불린모델
집합모델  확장불린모델집합모델  확장불린모델
집합모델 확장불린모델
 
집합모델 확장불린모델
집합모델  확장불린모델집합모델  확장불린모델
집합모델 확장불린모델
 
lecture15-supervised.ppt
lecture15-supervised.pptlecture15-supervised.ppt
lecture15-supervised.ppt
 
Cycle’s topological optimizations and the iterative decoding problem on gener...
Cycle’s topological optimizations and the iterative decoding problem on gener...Cycle’s topological optimizations and the iterative decoding problem on gener...
Cycle’s topological optimizations and the iterative decoding problem on gener...
 
Cs221 lecture3-fall11
Cs221 lecture3-fall11Cs221 lecture3-fall11
Cs221 lecture3-fall11
 
CEHS 2016 Poster
CEHS 2016 PosterCEHS 2016 Poster
CEHS 2016 Poster
 
Blinkdb
BlinkdbBlinkdb
Blinkdb
 
Multiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximationsMultiple estimators for Monte Carlo approximations
Multiple estimators for Monte Carlo approximations
 
“Probabilistic Logic Programs and Their Applications”
“Probabilistic Logic Programs and Their Applications”“Probabilistic Logic Programs and Their Applications”
“Probabilistic Logic Programs and Their Applications”
 
original
originaloriginal
original
 
Maths questiion bank for engineering students
Maths questiion bank for engineering studentsMaths questiion bank for engineering students
Maths questiion bank for engineering students
 
Spatial Point Processes and Their Applications in Epidemiology
Spatial Point Processes and Their Applications in EpidemiologySpatial Point Processes and Their Applications in Epidemiology
Spatial Point Processes and Their Applications in Epidemiology
 
. An introduction to machine learning and probabilistic ...
. An introduction to machine learning and probabilistic .... An introduction to machine learning and probabilistic ...
. An introduction to machine learning and probabilistic ...
 
High-Dimensional Methods: Examples for Inference on Structural Effects
High-Dimensional Methods: Examples for Inference on Structural EffectsHigh-Dimensional Methods: Examples for Inference on Structural Effects
High-Dimensional Methods: Examples for Inference on Structural Effects
 

Recently uploaded

MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 

Recently uploaded (20)

MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 

Approximate Inference for Logic Programs with Annotated Disjunctions (RCRA 2009)

  • 1. Stefano Bragaglia DEIS – University of Bologna stefano.bragaglia@unibo.it Fabrizio Riguzzi ENDIF – University of Ferrara fabrizio.riguzzi@unife.it
  • 2.   Increasing interest in combining logic and probability • C1: sneezing(X): 0.7 v not_sneezing(X): 0.3 ← flu(X). C2: sneezing(X): 0.6 v not_sneezing(X): 0.4 ← hayfever(X). C3: flu(andrew). C4: flu(david). C5: hayfever(david). C6: hayfever(robert). Many formalism:  Markov Logic Networks  ProbLog  Logic Programs with Annotated Disjunctions (LPADs)  etc.  LPADs can easily express: • Queries: ?- sneezing(andrew). ?- sneezing(robert). ?- sneezing(david).  cause-effect relationships among events  possible effects of a single cause  contemporary contribution of more causes to the same effect Example: simple medical diagnosis • 0.7 0.6 0.88 Probability: Instances where query is true: 3 out of 4 P = 0.7×0.6 + 0.7×0.4 + 0.3×0.6 = 0.88
  • 3.  Syntax      Program: set of disjunctive clauses Head: set of mutually exclusive and exhaustive logical atoms annotated with probability values between 0 and 1 whose sum is 1 Body: event whose effects are represented by the atoms of the corresponding head 1. 2. Semantic    Inference: in 2 steps (by cplint) Explanations: a meta-interpreter performs resolution keeping current set of choices Probability of a query: a dynamic algorithm converts explanations into a Binary Decision Diagram (BDD) and traverse it; this makes explanations mutually exclusive ?- sneezing(david). (C1;{X1/david};0) (C2;{X2/david};0) :- flu(david). :- hayfever(david). Instance: normal logic program obtained by choosing a logical atom from the head of each grounding of every clause Probability of an instance: product of the probability values of all the atoms chosen for that instance Probability of a query: sum of the probabilities of each instance where the query is true   0.4 0.3 0 XC2 XC1 0.7 0.6 1 P = 0.3×0.6 + 0.7 = 0.88  Not possible in some domains
  • 4.  Best K ▪ Deterministic algorithm based on branch and bound technique ▪ Explanations built incrementally by keeping only the k most probable ones (k = 64) ▪ Probability of the query computed on chosen explanations trough BDD (lower bound) ▪ Note: limiting explanations allows better control on complexity  Monte Carlo ▪ Stochastic algorithm based on Monte Carlo approach ▪ Instances sampled repeatedly from LPAD by considering only relevant clauses ▪ Head atoms of resolving clauses chosen stochastically by a meta-interpreter ▪ Note: the probability of the query is the fraction of sampled instances where the query is true (no BDD is needed)
  • 5.  Real datasets: 10 incremental samples of a graph describing biological entities responsible of Alzheimer’s disease Biological Graph HGNC_1505 PubMed_12653 0.643 0.493 0.665 EntrezGene_11803 PubMed_15529 0.523   Artificial datasets: 3 procedurally built graphs of increasing complexity Queries: compute the probability that a path exists between two given nodes of each graph 0.567 EntrezProtein_7891032 Tests: performed on Linux machines equipped with Intel Core 2 Duo E6550 (2333 MHz) and 4 Gb RAM with a 24 hours time limit PubMed_1741124 0.602 0.621 PubMed_157782 0.713 EntrezProtein_8147603 Artificial Graphs 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3 “lanes” 0.3 0.3 0.3 0.3  HGNC_620 0.3 0.3 0.3 0.3 0.3 0.3 0.3 “branches” “parachutes”
  • 6. 12 10 8 6 4 2 0 Biological Graphs: CPU times averaged on successes 100000 Standard Best K Monte Carlo Size (edges) Time (log s) Answers Biological Graphs: number of successes 1000 Standard 10 Best K Monte Carlo 0,1 0,001 Size (edges)
  • 7. Lanes Graphs: CPU times Parachutes Graphs: CPU times 100 Standard Best K Monte Carlo 0,01 Monte Carlo 0,000001 Size (steps) Size (steps) Branches Graphs: CPU times Time (log s) 100 1 1 3 5 7 9 11 13 15 17 19 0,01 Standard Best K Monte Carlo 0,0001 0,000001 Size (steps) Standard Best K 0,0001 0,0001 0,000001 1 1 23 45 67 89 111 133 155 177 199 221 243 265 287 0,01 Time (log s) 1 1 23 45 67 89 111 133 155 177 199 221 243 265 287 Time (log s) 100