SlideShare a Scribd company logo
1 of 27
Download to read offline
1
Reasoning about objects:
attributes and relations
Reasoning about
Confidence in
Probabilities
Probabilistic
Reasoning
Expressing statements like:
“there is a relation between smoking
and asthma”
E.g. Logic Programming
Our proposal
Some attributes and relations in
the real world are probabilistic
E.g. Probabilistic Logic
Programming
Let’s toss a coin 3 times. We obtain 2 heads and 1 tail:
is the coin fair?
Let’s toss the same coin 3000 times. We obtain 2000 heads and
1000 tails: is the coin fair?
E.g. Dempster-Shafer,
possibility theory, imprecise
probabilities…
2
Probabilistic Logic Programming
0.6::asthma(X) :- smokes(X).
smokes(bill).
Probability of a query:
Ppqq :“
ÿ
Λ1ĎΛ,Λ1|ùq
PΛpΛ1
q
“
ÿ
Λ1ĎΛ,Λ1|ùq
ź
λiPΛ1
pi ¨
ź
λiPΛzΛ1
p1 ´ piq
Bill suffers from asthma with probability 0.6 if he smokes
Sato T. 1995. A statistical learning method for logic programs with distribution semantics. In Proceedings of
ICLP-1995, 715–729.
De Raedt L., Kimmig A., and Toivonen H. 2007. Problog: A probabilistic prolog and its application in link
discovery. In Proceedings IJCAI-2007, 2462–2467.
3
Where numbers come from?
# Smokes Asthma
1 T T
2 T T
3 T F
4 T T
5 T T
6 T F
7 T T
8 T F
9 T T
10 T F
π: true—unknown—probability of asthma conditioned by
smoking
Let y be the number of occurrence of asthma over n patients
when the patient smokes (y = 6)
From Bayes’ theorem, we can estimate the posterior
distribution of π given the data on the basis of a prior:
gpπ|yq 9 gpπq ¨ fpy|πq
The conjugate of a binomial is the Beta distribution. If:
gpπ; a, bq “ Betapa, bq “
Γpa ` bq
Γpaq ` Γpbq
πa´1
p1 ´ πqb´1
then: gpπ|yq “ Betapy ` a, n ´ y ` bq
If a “ b “ 1 (uniform prior), then gpπ|yq “ Betapy ` 1, n ´ y ` 1q
In the example, gpπ|y “ 6, n “ 10q “ Betap7, 5q4
X1 „ Betap7, 5q
0.0 0.2 0.4 0.6 0.8 1.0
0.0
0.5
1.0
1.5
2.0
2.5
ErX1s “ 0.583333 » 0.6
VarpX1q “ 0.018697
X2 „ Betap61, 41q
0.0 0.2 0.4 0.6 0.8 1.0
0
2
4
6
8
ErX2s “ 0.598039 » 0.6
VarpX2q “ 0.002334
X3 „ Betap601, 401q
0.0 0.2 0.4 0.6 0.8 1.0
0
5
10
15
20
25
ErX3s “ 0.5998 » 0.6
VarpX3q “ 0.000239
Although ErX1s » ErX2s » ErX3s » 0.6
they represent remarkably different random variables
5
Proposal: extend Probabilistic Logic Programming to manipulate Beta-distributed
random variables rather than probabilities
Advantage: enable reasoning both about the probabilities of things and the uncertainty
associated with our inferences
Technical Solution:
1. Derive addition and multiplication operators over Beta distributions returning a Beta
distribution via moment-matching to be used within the algebraic ProbLog
(aProbLog) proposal*
2. Extend aProbLog to include a conditioning operator
3. Derive a conditioning operator over Beta distributions returning a Beta distribution
via moment-matching
*Kimmig, A.; Van den Broeck, G.; and De Raedt, L. 2011. An algebraic prolog for reasoning about possible
worlds. In Proceedings of AAAI 2011, 209–214.
6
Step 0: aProbLog*
Ppqq “
ÿ
Λ1ĎΛ,Λ1|ùq
ź
λiPΛ1
pi ¨
ź
λiPΛzΛ1
p1 ´ piq
ó
Apqq “
à
IPIpqq
â
iPI
δpiq
Requirement: commutative semiring xA, ‘, b, e‘
, eb
y
*Kimmig, A.; Van den Broeck, G.; and De Raedt, L. 2011. An algebraic prolog for reasoning about possible
worlds. In Proceedings of AAAI 2011, 209–214.
7
Step 1: Addition and Multiplication Operators for Beta Variables
Given X and Y independent Beta-distributed random variables:
• the sum (‘β
) of X and Y is defined as the Beta-distributed random variable Z such
that:
E rZs “ E rX ` Ys “ E rXs ` E rYs
and
Var pZq “ Var pX ` Yq “ Var pXq ` Var pYq
• the product (bβ
) of X and Y is defined as the Beta-distributed random variable Z
such that:
E rZs “ E rXYs “ E rXs E rYs
and
Var pZq “ Var pXYq “ Var pXq pE rYsq2
` Var pYq pE rXsq2
` Var pXq Var pYq
8
Step 2: Conditioning operator
Apq|E “ eq “ ApIpq ^ E “ eqq m ApIpE “ eqq
(label of q ^ E “ e given the label of E “ e)
9
Step 3: Conditioning Operator for Beta Variables
Given X and Y Beta-distributed random variables,
Y “ ApIpE “ eqq “ ApIpq ^ E “ eqq ‘β
ApIp␣q ^ E “ eqq, with ApIpq ^ E “ eqq “ X.
The conditioning-division (mβ
) of X by Y is defined as the Beta-distributed random
variable Z such that:
E rZs “ E
„
X
Y
ȷ
“ E rXs E
„
1
Y
ȷ
»
E rXs
E rYs
and
Var pZq » pE rZsq2
p1 ´ E rZsq2
¨
ˆ
Var pXq
pE rXsq2
`
Var pYq ´ Var pXq
pE rYs ´ E rXsq2
`
2Var pXq
E rXs pE rYs ´ E rXsq
˙
10
Summary of the main contribution
Sβ
A new aProbLog parametrisation with our newly defined operators ‘β
, bβ
, and mβ
11
EXPERIMENT 1:
Sβ
outperforms state-of-the-art approaches on
probabilistic logic programs benchmarks
12 Image: https://pxhere.com/en/photo/1379409
p1::stress(X) :- person(X).
p2::influences(X,Y) :- person(X), person(Y).
smokes(X) :- stress(X).
smokes(X) :- friend(X,Y), influences(Y,X), smokes(Y).
p3::asthma(X) :- smokes(X).
person(1).
person(2).
person(3).
person(4).
friend(1,2).
friend(2,1).
friend(2,4).
friend(3,2).
friend(4,2).
evidence(smokes(2),true).
evidence(influences(4,2),false).
query(smokes(1)).
query(smokes(3)).
query(smokes(4)).
query(asthma(1)).
query(asthma(2)).
query(asthma(3)).
query(asthma(4)).
13
p1::stress(X) :- person(X).
...
ó 100 random choices for pX, e.g. p1 = 0.3
Generate 10 Beta
distributions from
Nins “ 10 samples of p1
0.0 0.2 0.4 0.6 0.8 1.0
0
1
2
3
4
Sample set #1
Sample set #2
Sample set #3
Sample set #4
Sample set #5
Sample set #6
Sample set #7
Sample set #8
Sample set #9
Sample set #10
Generate 10 Beta
distributions from
Nins “ 50 samples of p1
0.0 0.2 0.4 0.6 0.8 1.0
0
1
2
3
4
5
6
7
Sample set #1
Sample set #2
Sample set #3
Sample set #4
Sample set #5
Sample set #6
Sample set #7
Sample set #8
Sample set #9
Sample set #10
Generate 10 Beta
distributions from
Nins “ 100 samples of p1
0.0 0.2 0.4 0.6 0.8 1.0
0
2
4
6
8
Sample set #1
Sample set #2
Sample set #3
Sample set #4
Sample set #5
Sample set #6
Sample set #7
Sample set #8
Sample set #9
Sample set #10
14
State of the art*
A Beta-distributed random variable X „ Betapα, αq is equivalent to a subjective logic
opinion
SSL is the aProbLog parametrisation that uses the operators ‘SL, bSL, and mSL *
*Jøsang, A. 2016. Subjective Logic: A Formalism for Reasoning Under Uncertainty. Springer
15
Nins Sβ
SSL
10 Actual 0.1014 0.1514
Predicted 0.1727 0.1178
50 Actual 0.0620 0.1123
Predicted 0.0926 0.0815
100 Actual 0.0641 0.1253
Predicted 0.1150 0.0893
RMSE for the queried variables in the Friends & Smokers program.
Best results for the actual RMSE highlighted.
16
Sβ
SSL
0.0 0.2 0.4 0.6 0.8 1.0
Desired Confidence
0.0
0.2
0.4
0.6
0.8
1.0
ActualConfidence
SL Beta
SL Operators
Nins “ 10
Sβ
SSL
0.0 0.2 0.4 0.6 0.8 1.0
Desired Confidence
0.0
0.2
0.4
0.6
0.8
1.0
ActualConfidence
SL Beta
SL Operators
Nins “ 50
Sβ
SSL
0.0 0.2 0.4 0.6 0.8 1.0
Desired Confidence
0.0
0.2
0.4
0.6
0.8
1.0
ActualConfidence
SL Beta
SL Operators
Nins “ 100
Actual versus desired significance of bounds derived from the uncertainty for Smokers & Friends
Best closest to the diagonal
17
EXPERIMENT 2:
Sβ
is as good as state-of-the-art approaches on
Bayesian network benchmarks
18 Image: https://pxhere.com/en/photo/690975
H
A
B
C
E
G L
D
F
Net1
ó to logic program
pA::a.
pB1::b :- a.
pB2::b :- +a.
...
C
A
B
E
H
F
L
D
G
Net2
ó to logic program
pA::a.
pB1::b :- a.
pB2::b :- +a.
...
C
A
B
E
H
F L
D
G
Net3
ó to logic program
pA::a.
pB1::b :- a.
pB2::b :- +a.
...
pA = P(A) pB1 = PpB|Aq pB2 = PpB|Aq …19
State of the art
SBN
Subjective Bayesian Network*
• Bayesian network where
the conditionals are
subjective opinions instead
of dogmatic probabilities
• It builds on top of Pearl’s
message-passing inference
method
GBT
Belief Networks†
• Using Dempster-Shafer
theory
• Forward propagation and
backward propagation
enabled via the
generalized Bayes
theorem (GBT)
Credal
Credal Network‡
• Replace single probability
values with closed
intervals representing
the possible range of
probability values
• It extends Pearl’s
message-passing
inference method
*Kaplan, L., and Ivanovska, M. 2018. Efficient belief propagation in second-order bayesian networks for
singlyconnected graphs. International Journal of Approximate Reasoning 93:132–152.
†Smets, P. 1993. Belief functions: The disjunctive rule of combination and the generalized Bayesian theorem.
International Journal of Approximate Reasoning 9:1–35.
‡Zaffalon, M., and Fagiuoli, E. 1998. 2U: An exact interval propagation algorithm for polytrees with binary
variables. Artificial Intelligence 106(1):77–107.
20
Nins Sβ
SSL SBN GBT Credal
Net1 10 Actual 0.1505 0.2078 0.1505 0.1530 0.1631
Predicted 0.1994 0.1562 0.1470 0.0868 0.2009
50 Actual 0.0555 0.0895 0.0555 0.0619 0.0553
Predicted 0.0950 0.0579 0.0563 0.0261 0.0761
100 Actual 0.0766 0.1182 0.0766 0.0795 0.0771
Predicted 0.1280 0.0772 0.0763 0.0373 0.1028
Net2 10 Actual 0.1387 0.2089 0.1387 0.1416 0.1459
Predicted 0.2031 0.1662 0.1391 0.1050 0.1849
50 Actual 0.0537 0.0974 0.0537 0.0561 0.0528
Predicted 0.1002 0.0671 0.0520 0.0342 0.0683
100 Actual 0.0730 0.1229 0.0726 0.0752 0.0728
Predicted 0.1380 0.0863 0.0725 0.0482 0.0949
Net3 …
RMSE for the queried variables in the various Bayesian networks (selection).
Best results for the actual RMSE highlighted.
21
Sβ
SSL SBN GBT Credal
0.0 0.2 0.4 0.6 0.8 1.0
Desired Confidence
0.0
0.2
0.4
0.6
0.8
1.0
ActualConfidence
SL Beta
SL Operators
SBN
GBT
Credal
Net1, Nins “ 10
Sβ
SSL SBN GBT Credal
0.0 0.2 0.4 0.6 0.8 1.0
Desired Confidence
0.0
0.2
0.4
0.6
0.8
1.0
ActualConfidence
SL Beta
SL Operators
SBN
GBT
Credal
Net1, Nins “ 50
…
Actual versus desired significance of bounds derived from the uncertainty for the various
Bayesian networks (selection).
Best closest to the diagonal
22
CONCLUSIONS
23 Image: https://goo.gl/RcCSbb
Reasoning about objects:
attributes and relations
Reasoning about
Confidence in
Probabilities
Probabilistic
Reasoning
Expressing statements like:
“there is a relation between smoking
and asthma”
E.g. Logic Programming
Our proposal
Some attributes and relations in
the real world are probabilistic
E.g. Probabilistic Logic
Programming
Let’s toss a coin 3 times. We obtain 2 heads and 1 tail:
is the coin fair?
Let’s toss the same coin 3000 times. We obtain 2000 heads and
1000 tails: is the coin fair?
E.g. Dempster-Shafer,
possibility theory, imprecise
probabilities…
24
• We enabled the aProbLog approach to probabilistic logic programming to reason in
presence of uncertain probabilities represented as Beta-distributed random
variables
• The proposed operators outperform existing proposal for uncertain probabilities
• The proposed operators are as good as the state-of-the-art approaches for
uncertain probabilities in Bayesian networks while being able to handle much more
complex problems
25
Future
Loading...
26
• Provide a different characterisation of the variance in the conditioning operator
• Test the boundaries of our approximations to provide practitioners with pragmatic
assessments and assurances
• Introduce an expectation-maximisation (EM) algorithm for parameter learning
27

More Related Content

Similar to Probabilistic Logic Programming with Beta-Distributed Random Variables

A measure to evaluate latent variable model fit by sensitivity analysis
A measure to evaluate latent variable model fit by sensitivity analysisA measure to evaluate latent variable model fit by sensitivity analysis
A measure to evaluate latent variable model fit by sensitivity analysisDaniel Oberski
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component AnalysisMason Ziemer
 
Mva 06 principal_component_analysis_2010_11
Mva 06 principal_component_analysis_2010_11Mva 06 principal_component_analysis_2010_11
Mva 06 principal_component_analysis_2010_11P Palai
 
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...cscpconf
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxakashayosha
 
Restricted Boltzman Machine (RBM) presentation of fundamental theory
Restricted Boltzman Machine (RBM) presentation of fundamental theoryRestricted Boltzman Machine (RBM) presentation of fundamental theory
Restricted Boltzman Machine (RBM) presentation of fundamental theorySeongwon Hwang
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihoodHarry Potter
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihoodJames Wong
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihoodHoang Nguyen
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihoodYoung Alista
 
Data miningmaximumlikelihood
Data miningmaximumlikelihoodData miningmaximumlikelihood
Data miningmaximumlikelihoodFraboni Ec
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihoodTony Nguyen
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihoodLuis Goldster
 

Similar to Probabilistic Logic Programming with Beta-Distributed Random Variables (20)

Into to prob_prog_hari
Into to prob_prog_hariInto to prob_prog_hari
Into to prob_prog_hari
 
A measure to evaluate latent variable model fit by sensitivity analysis
A measure to evaluate latent variable model fit by sensitivity analysisA measure to evaluate latent variable model fit by sensitivity analysis
A measure to evaluate latent variable model fit by sensitivity analysis
 
Discrete and Continuous Random Variables
Discrete and Continuous Random VariablesDiscrete and Continuous Random Variables
Discrete and Continuous Random Variables
 
Montecarlophd
MontecarlophdMontecarlophd
Montecarlophd
 
Into to prob_prog_hari (2)
Into to prob_prog_hari (2)Into to prob_prog_hari (2)
Into to prob_prog_hari (2)
 
HPC_NIST_SHA3
HPC_NIST_SHA3HPC_NIST_SHA3
HPC_NIST_SHA3
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component Analysis
 
7.pdf
7.pdf7.pdf
7.pdf
 
7.pdf
7.pdf7.pdf
7.pdf
 
Mva 06 principal_component_analysis_2010_11
Mva 06 principal_component_analysis_2010_11Mva 06 principal_component_analysis_2010_11
Mva 06 principal_component_analysis_2010_11
 
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptx
 
Restricted Boltzman Machine (RBM) presentation of fundamental theory
Restricted Boltzman Machine (RBM) presentation of fundamental theoryRestricted Boltzman Machine (RBM) presentation of fundamental theory
Restricted Boltzman Machine (RBM) presentation of fundamental theory
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihood
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihood
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihood
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihood
 
Data miningmaximumlikelihood
Data miningmaximumlikelihoodData miningmaximumlikelihood
Data miningmaximumlikelihood
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihood
 
Data mining maximumlikelihood
Data mining maximumlikelihoodData mining maximumlikelihood
Data mining maximumlikelihood
 

More from Federico Cerutti

Security of Artificial Intelligence
Security of Artificial IntelligenceSecurity of Artificial Intelligence
Security of Artificial IntelligenceFederico Cerutti
 
Introduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksIntroduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksFederico Cerutti
 
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...Federico Cerutti
 
Human-Argumentation Experiment Pilot 2013: Technical Material
Human-Argumentation Experiment Pilot 2013: Technical MaterialHuman-Argumentation Experiment Pilot 2013: Technical Material
Human-Argumentation Experiment Pilot 2013: Technical MaterialFederico Cerutti
 
Supporting Scientific Enquiry with Uncertain Sources
Supporting Scientific Enquiry with Uncertain SourcesSupporting Scientific Enquiry with Uncertain Sources
Supporting Scientific Enquiry with Uncertain SourcesFederico Cerutti
 
Introduction to Formal Argumentation Theory
Introduction to Formal Argumentation TheoryIntroduction to Formal Argumentation Theory
Introduction to Formal Argumentation TheoryFederico Cerutti
 
Handout: Argumentation in Artificial Intelligence: From Theory to Practice
Handout: Argumentation in Artificial Intelligence: From Theory to PracticeHandout: Argumentation in Artificial Intelligence: From Theory to Practice
Handout: Argumentation in Artificial Intelligence: From Theory to PracticeFederico Cerutti
 
Argumentation in Artificial Intelligence: From Theory to Practice
Argumentation in Artificial Intelligence: From Theory to PracticeArgumentation in Artificial Intelligence: From Theory to Practice
Argumentation in Artificial Intelligence: From Theory to PracticeFederico Cerutti
 
Handout for the course Abstract Argumentation and Interfaces to Argumentative...
Handout for the course Abstract Argumentation and Interfaces to Argumentative...Handout for the course Abstract Argumentation and Interfaces to Argumentative...
Handout for the course Abstract Argumentation and Interfaces to Argumentative...Federico Cerutti
 
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...Federico Cerutti
 
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...Federico Cerutti
 
Argumentation in Artificial Intelligence
Argumentation in Artificial IntelligenceArgumentation in Artificial Intelligence
Argumentation in Artificial IntelligenceFederico Cerutti
 
Algorithm Selection for Preferred Extensions Enumeration
Algorithm Selection for Preferred Extensions EnumerationAlgorithm Selection for Preferred Extensions Enumeration
Algorithm Selection for Preferred Extensions EnumerationFederico Cerutti
 
Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...
Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...
Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...Federico Cerutti
 
Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...
Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...
Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...Federico Cerutti
 
A SCC Recursive Meta-Algorithm for Computing Preferred Labellings in Abstract...
A SCC Recursive Meta-Algorithm for Computing Preferred Labellings in Abstract...A SCC Recursive Meta-Algorithm for Computing Preferred Labellings in Abstract...
A SCC Recursive Meta-Algorithm for Computing Preferred Labellings in Abstract...Federico Cerutti
 
Cerutti-AT2013-Graphical Subjective Logic
Cerutti-AT2013-Graphical Subjective LogicCerutti-AT2013-Graphical Subjective Logic
Cerutti-AT2013-Graphical Subjective LogicFederico Cerutti
 
Cerutti-AT2013-Trust and Risk
Cerutti-AT2013-Trust and RiskCerutti-AT2013-Trust and Risk
Cerutti-AT2013-Trust and RiskFederico Cerutti
 
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)Federico Cerutti
 

More from Federico Cerutti (20)

Security of Artificial Intelligence
Security of Artificial IntelligenceSecurity of Artificial Intelligence
Security of Artificial Intelligence
 
Introduction to Evidential Neural Networks
Introduction to Evidential Neural NetworksIntroduction to Evidential Neural Networks
Introduction to Evidential Neural Networks
 
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
Argumentation and Machine Learning: When the Whole is Greater than the Sum of...
 
Human-Argumentation Experiment Pilot 2013: Technical Material
Human-Argumentation Experiment Pilot 2013: Technical MaterialHuman-Argumentation Experiment Pilot 2013: Technical Material
Human-Argumentation Experiment Pilot 2013: Technical Material
 
Supporting Scientific Enquiry with Uncertain Sources
Supporting Scientific Enquiry with Uncertain SourcesSupporting Scientific Enquiry with Uncertain Sources
Supporting Scientific Enquiry with Uncertain Sources
 
Introduction to Formal Argumentation Theory
Introduction to Formal Argumentation TheoryIntroduction to Formal Argumentation Theory
Introduction to Formal Argumentation Theory
 
Handout: Argumentation in Artificial Intelligence: From Theory to Practice
Handout: Argumentation in Artificial Intelligence: From Theory to PracticeHandout: Argumentation in Artificial Intelligence: From Theory to Practice
Handout: Argumentation in Artificial Intelligence: From Theory to Practice
 
Argumentation in Artificial Intelligence: From Theory to Practice
Argumentation in Artificial Intelligence: From Theory to PracticeArgumentation in Artificial Intelligence: From Theory to Practice
Argumentation in Artificial Intelligence: From Theory to Practice
 
Handout for the course Abstract Argumentation and Interfaces to Argumentative...
Handout for the course Abstract Argumentation and Interfaces to Argumentative...Handout for the course Abstract Argumentation and Interfaces to Argumentative...
Handout for the course Abstract Argumentation and Interfaces to Argumentative...
 
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Left ma...
 
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...
Argumentation in Artificial Intelligence: 20 years after Dung's work. Right m...
 
Argumentation in Artificial Intelligence
Argumentation in Artificial IntelligenceArgumentation in Artificial Intelligence
Argumentation in Artificial Intelligence
 
Algorithm Selection for Preferred Extensions Enumeration
Algorithm Selection for Preferred Extensions EnumerationAlgorithm Selection for Preferred Extensions Enumeration
Algorithm Selection for Preferred Extensions Enumeration
 
Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...
Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...
Formal Arguments, Preferences, and Natural Language Interfaces to Humans: an ...
 
Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...
Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...
Argumentation Extensions Enumeration as a Constraint Satisfaction Problem: a ...
 
A SCC Recursive Meta-Algorithm for Computing Preferred Labellings in Abstract...
A SCC Recursive Meta-Algorithm for Computing Preferred Labellings in Abstract...A SCC Recursive Meta-Algorithm for Computing Preferred Labellings in Abstract...
A SCC Recursive Meta-Algorithm for Computing Preferred Labellings in Abstract...
 
Cerutti-AT2013-Graphical Subjective Logic
Cerutti-AT2013-Graphical Subjective LogicCerutti-AT2013-Graphical Subjective Logic
Cerutti-AT2013-Graphical Subjective Logic
 
Cerutti-AT2013-Trust and Risk
Cerutti-AT2013-Trust and RiskCerutti-AT2013-Trust and Risk
Cerutti-AT2013-Trust and Risk
 
Cerutti -- TAFA2013
Cerutti -- TAFA2013Cerutti -- TAFA2013
Cerutti -- TAFA2013
 
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
Cerutti--Introduction to Argumentation (seminar @ University of Aberdeen)
 

Recently uploaded

Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
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
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCEPRINCE C P
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
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
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfSumit Kumar yadav
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSSLeenakshiTyagi
 
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
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 

Recently uploaded (20)

Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
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...
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCESTERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
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...
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Engler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomyEngler and Prantl system of classification in plant taxonomy
Engler and Prantl system of classification in plant taxonomy
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSS
 
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
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 

Probabilistic Logic Programming with Beta-Distributed Random Variables

  • 1. 1
  • 2. Reasoning about objects: attributes and relations Reasoning about Confidence in Probabilities Probabilistic Reasoning Expressing statements like: “there is a relation between smoking and asthma” E.g. Logic Programming Our proposal Some attributes and relations in the real world are probabilistic E.g. Probabilistic Logic Programming Let’s toss a coin 3 times. We obtain 2 heads and 1 tail: is the coin fair? Let’s toss the same coin 3000 times. We obtain 2000 heads and 1000 tails: is the coin fair? E.g. Dempster-Shafer, possibility theory, imprecise probabilities… 2
  • 3. Probabilistic Logic Programming 0.6::asthma(X) :- smokes(X). smokes(bill). Probability of a query: Ppqq :“ ÿ Λ1ĎΛ,Λ1|ùq PΛpΛ1 q “ ÿ Λ1ĎΛ,Λ1|ùq ź λiPΛ1 pi ¨ ź λiPΛzΛ1 p1 ´ piq Bill suffers from asthma with probability 0.6 if he smokes Sato T. 1995. A statistical learning method for logic programs with distribution semantics. In Proceedings of ICLP-1995, 715–729. De Raedt L., Kimmig A., and Toivonen H. 2007. Problog: A probabilistic prolog and its application in link discovery. In Proceedings IJCAI-2007, 2462–2467. 3
  • 4. Where numbers come from? # Smokes Asthma 1 T T 2 T T 3 T F 4 T T 5 T T 6 T F 7 T T 8 T F 9 T T 10 T F π: true—unknown—probability of asthma conditioned by smoking Let y be the number of occurrence of asthma over n patients when the patient smokes (y = 6) From Bayes’ theorem, we can estimate the posterior distribution of π given the data on the basis of a prior: gpπ|yq 9 gpπq ¨ fpy|πq The conjugate of a binomial is the Beta distribution. If: gpπ; a, bq “ Betapa, bq “ Γpa ` bq Γpaq ` Γpbq πa´1 p1 ´ πqb´1 then: gpπ|yq “ Betapy ` a, n ´ y ` bq If a “ b “ 1 (uniform prior), then gpπ|yq “ Betapy ` 1, n ´ y ` 1q In the example, gpπ|y “ 6, n “ 10q “ Betap7, 5q4
  • 5. X1 „ Betap7, 5q 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.5 1.0 1.5 2.0 2.5 ErX1s “ 0.583333 » 0.6 VarpX1q “ 0.018697 X2 „ Betap61, 41q 0.0 0.2 0.4 0.6 0.8 1.0 0 2 4 6 8 ErX2s “ 0.598039 » 0.6 VarpX2q “ 0.002334 X3 „ Betap601, 401q 0.0 0.2 0.4 0.6 0.8 1.0 0 5 10 15 20 25 ErX3s “ 0.5998 » 0.6 VarpX3q “ 0.000239 Although ErX1s » ErX2s » ErX3s » 0.6 they represent remarkably different random variables 5
  • 6. Proposal: extend Probabilistic Logic Programming to manipulate Beta-distributed random variables rather than probabilities Advantage: enable reasoning both about the probabilities of things and the uncertainty associated with our inferences Technical Solution: 1. Derive addition and multiplication operators over Beta distributions returning a Beta distribution via moment-matching to be used within the algebraic ProbLog (aProbLog) proposal* 2. Extend aProbLog to include a conditioning operator 3. Derive a conditioning operator over Beta distributions returning a Beta distribution via moment-matching *Kimmig, A.; Van den Broeck, G.; and De Raedt, L. 2011. An algebraic prolog for reasoning about possible worlds. In Proceedings of AAAI 2011, 209–214. 6
  • 7. Step 0: aProbLog* Ppqq “ ÿ Λ1ĎΛ,Λ1|ùq ź λiPΛ1 pi ¨ ź λiPΛzΛ1 p1 ´ piq ó Apqq “ à IPIpqq â iPI δpiq Requirement: commutative semiring xA, ‘, b, e‘ , eb y *Kimmig, A.; Van den Broeck, G.; and De Raedt, L. 2011. An algebraic prolog for reasoning about possible worlds. In Proceedings of AAAI 2011, 209–214. 7
  • 8. Step 1: Addition and Multiplication Operators for Beta Variables Given X and Y independent Beta-distributed random variables: • the sum (‘β ) of X and Y is defined as the Beta-distributed random variable Z such that: E rZs “ E rX ` Ys “ E rXs ` E rYs and Var pZq “ Var pX ` Yq “ Var pXq ` Var pYq • the product (bβ ) of X and Y is defined as the Beta-distributed random variable Z such that: E rZs “ E rXYs “ E rXs E rYs and Var pZq “ Var pXYq “ Var pXq pE rYsq2 ` Var pYq pE rXsq2 ` Var pXq Var pYq 8
  • 9. Step 2: Conditioning operator Apq|E “ eq “ ApIpq ^ E “ eqq m ApIpE “ eqq (label of q ^ E “ e given the label of E “ e) 9
  • 10. Step 3: Conditioning Operator for Beta Variables Given X and Y Beta-distributed random variables, Y “ ApIpE “ eqq “ ApIpq ^ E “ eqq ‘β ApIp␣q ^ E “ eqq, with ApIpq ^ E “ eqq “ X. The conditioning-division (mβ ) of X by Y is defined as the Beta-distributed random variable Z such that: E rZs “ E „ X Y ȷ “ E rXs E „ 1 Y ȷ » E rXs E rYs and Var pZq » pE rZsq2 p1 ´ E rZsq2 ¨ ˆ Var pXq pE rXsq2 ` Var pYq ´ Var pXq pE rYs ´ E rXsq2 ` 2Var pXq E rXs pE rYs ´ E rXsq ˙ 10
  • 11. Summary of the main contribution Sβ A new aProbLog parametrisation with our newly defined operators ‘β , bβ , and mβ 11
  • 12. EXPERIMENT 1: Sβ outperforms state-of-the-art approaches on probabilistic logic programs benchmarks 12 Image: https://pxhere.com/en/photo/1379409
  • 13. p1::stress(X) :- person(X). p2::influences(X,Y) :- person(X), person(Y). smokes(X) :- stress(X). smokes(X) :- friend(X,Y), influences(Y,X), smokes(Y). p3::asthma(X) :- smokes(X). person(1). person(2). person(3). person(4). friend(1,2). friend(2,1). friend(2,4). friend(3,2). friend(4,2). evidence(smokes(2),true). evidence(influences(4,2),false). query(smokes(1)). query(smokes(3)). query(smokes(4)). query(asthma(1)). query(asthma(2)). query(asthma(3)). query(asthma(4)). 13
  • 14. p1::stress(X) :- person(X). ... ó 100 random choices for pX, e.g. p1 = 0.3 Generate 10 Beta distributions from Nins “ 10 samples of p1 0.0 0.2 0.4 0.6 0.8 1.0 0 1 2 3 4 Sample set #1 Sample set #2 Sample set #3 Sample set #4 Sample set #5 Sample set #6 Sample set #7 Sample set #8 Sample set #9 Sample set #10 Generate 10 Beta distributions from Nins “ 50 samples of p1 0.0 0.2 0.4 0.6 0.8 1.0 0 1 2 3 4 5 6 7 Sample set #1 Sample set #2 Sample set #3 Sample set #4 Sample set #5 Sample set #6 Sample set #7 Sample set #8 Sample set #9 Sample set #10 Generate 10 Beta distributions from Nins “ 100 samples of p1 0.0 0.2 0.4 0.6 0.8 1.0 0 2 4 6 8 Sample set #1 Sample set #2 Sample set #3 Sample set #4 Sample set #5 Sample set #6 Sample set #7 Sample set #8 Sample set #9 Sample set #10 14
  • 15. State of the art* A Beta-distributed random variable X „ Betapα, αq is equivalent to a subjective logic opinion SSL is the aProbLog parametrisation that uses the operators ‘SL, bSL, and mSL * *Jøsang, A. 2016. Subjective Logic: A Formalism for Reasoning Under Uncertainty. Springer 15
  • 16. Nins Sβ SSL 10 Actual 0.1014 0.1514 Predicted 0.1727 0.1178 50 Actual 0.0620 0.1123 Predicted 0.0926 0.0815 100 Actual 0.0641 0.1253 Predicted 0.1150 0.0893 RMSE for the queried variables in the Friends & Smokers program. Best results for the actual RMSE highlighted. 16
  • 17. Sβ SSL 0.0 0.2 0.4 0.6 0.8 1.0 Desired Confidence 0.0 0.2 0.4 0.6 0.8 1.0 ActualConfidence SL Beta SL Operators Nins “ 10 Sβ SSL 0.0 0.2 0.4 0.6 0.8 1.0 Desired Confidence 0.0 0.2 0.4 0.6 0.8 1.0 ActualConfidence SL Beta SL Operators Nins “ 50 Sβ SSL 0.0 0.2 0.4 0.6 0.8 1.0 Desired Confidence 0.0 0.2 0.4 0.6 0.8 1.0 ActualConfidence SL Beta SL Operators Nins “ 100 Actual versus desired significance of bounds derived from the uncertainty for Smokers & Friends Best closest to the diagonal 17
  • 18. EXPERIMENT 2: Sβ is as good as state-of-the-art approaches on Bayesian network benchmarks 18 Image: https://pxhere.com/en/photo/690975
  • 19. H A B C E G L D F Net1 ó to logic program pA::a. pB1::b :- a. pB2::b :- +a. ... C A B E H F L D G Net2 ó to logic program pA::a. pB1::b :- a. pB2::b :- +a. ... C A B E H F L D G Net3 ó to logic program pA::a. pB1::b :- a. pB2::b :- +a. ... pA = P(A) pB1 = PpB|Aq pB2 = PpB|Aq …19
  • 20. State of the art SBN Subjective Bayesian Network* • Bayesian network where the conditionals are subjective opinions instead of dogmatic probabilities • It builds on top of Pearl’s message-passing inference method GBT Belief Networks† • Using Dempster-Shafer theory • Forward propagation and backward propagation enabled via the generalized Bayes theorem (GBT) Credal Credal Network‡ • Replace single probability values with closed intervals representing the possible range of probability values • It extends Pearl’s message-passing inference method *Kaplan, L., and Ivanovska, M. 2018. Efficient belief propagation in second-order bayesian networks for singlyconnected graphs. International Journal of Approximate Reasoning 93:132–152. †Smets, P. 1993. Belief functions: The disjunctive rule of combination and the generalized Bayesian theorem. International Journal of Approximate Reasoning 9:1–35. ‡Zaffalon, M., and Fagiuoli, E. 1998. 2U: An exact interval propagation algorithm for polytrees with binary variables. Artificial Intelligence 106(1):77–107. 20
  • 21. Nins Sβ SSL SBN GBT Credal Net1 10 Actual 0.1505 0.2078 0.1505 0.1530 0.1631 Predicted 0.1994 0.1562 0.1470 0.0868 0.2009 50 Actual 0.0555 0.0895 0.0555 0.0619 0.0553 Predicted 0.0950 0.0579 0.0563 0.0261 0.0761 100 Actual 0.0766 0.1182 0.0766 0.0795 0.0771 Predicted 0.1280 0.0772 0.0763 0.0373 0.1028 Net2 10 Actual 0.1387 0.2089 0.1387 0.1416 0.1459 Predicted 0.2031 0.1662 0.1391 0.1050 0.1849 50 Actual 0.0537 0.0974 0.0537 0.0561 0.0528 Predicted 0.1002 0.0671 0.0520 0.0342 0.0683 100 Actual 0.0730 0.1229 0.0726 0.0752 0.0728 Predicted 0.1380 0.0863 0.0725 0.0482 0.0949 Net3 … RMSE for the queried variables in the various Bayesian networks (selection). Best results for the actual RMSE highlighted. 21
  • 22. Sβ SSL SBN GBT Credal 0.0 0.2 0.4 0.6 0.8 1.0 Desired Confidence 0.0 0.2 0.4 0.6 0.8 1.0 ActualConfidence SL Beta SL Operators SBN GBT Credal Net1, Nins “ 10 Sβ SSL SBN GBT Credal 0.0 0.2 0.4 0.6 0.8 1.0 Desired Confidence 0.0 0.2 0.4 0.6 0.8 1.0 ActualConfidence SL Beta SL Operators SBN GBT Credal Net1, Nins “ 50 … Actual versus desired significance of bounds derived from the uncertainty for the various Bayesian networks (selection). Best closest to the diagonal 22
  • 24. Reasoning about objects: attributes and relations Reasoning about Confidence in Probabilities Probabilistic Reasoning Expressing statements like: “there is a relation between smoking and asthma” E.g. Logic Programming Our proposal Some attributes and relations in the real world are probabilistic E.g. Probabilistic Logic Programming Let’s toss a coin 3 times. We obtain 2 heads and 1 tail: is the coin fair? Let’s toss the same coin 3000 times. We obtain 2000 heads and 1000 tails: is the coin fair? E.g. Dempster-Shafer, possibility theory, imprecise probabilities… 24
  • 25. • We enabled the aProbLog approach to probabilistic logic programming to reason in presence of uncertain probabilities represented as Beta-distributed random variables • The proposed operators outperform existing proposal for uncertain probabilities • The proposed operators are as good as the state-of-the-art approaches for uncertain probabilities in Bayesian networks while being able to handle much more complex problems 25
  • 27. • Provide a different characterisation of the variance in the conditioning operator • Test the boundaries of our approximations to provide practitioners with pragmatic assessments and assurances • Introduce an expectation-maximisation (EM) algorithm for parameter learning 27