SlideShare a Scribd company logo
1 of 71
Download to read offline
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Induction and Reasoning in Knowledge Graphs
Daria Stepanova
Bosch Center for Artificial Intelligence, Renningen, Germany
14.05.2020
1 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Motivation
Rule Induction under Incompleteness
Numerical Rule Learning
Rule-based Fact Checking
1 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
What is Knowledge?
Plato: “Knowledge is justified true belief”
2 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
What is Knowledge?
Plato: “Knowledge is justified true belief”
2 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Knowledge Graphs as Digital Knowledge
“Digital knowledge is semantically enriched machine processable data”
Personal External
2020
Knowledge Graph
NELL
2 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Semantic Web Search
 winner of Australian Open 2018
3 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Semantic Web Search
 
∃X winnerOf (X, AustralianOpen2018)
3 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Semantic Web Search
 
∃X winnerOf (X, AustralianOpen2018)
RogerFederer
AustralianOpen2018
winnerOf
bornInBasel
Switzerland
locatedIn
3 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Industrial KGs
4 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
KG Incompleteness
5 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Semantic Web Search
6 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Semantic Web Search
7 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Human Reasoning
livesIn(Y, Z) ← marriedTo(X, Y),
livesIn(X, Z)
marriedTo(mirka, roger)
livesIn(mirka, bottmingen)
————————————
Married people live together
Mirka is married to Roger
Mirka lives in Bottmingen
————————————
8 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Human Reasoning
livesIn(Y, Z) ← marriedTo(X, Y),
livesIn(X, Z)
marriedTo(mirka, roger)
livesIn(mirka, bottmingen)
————————————
livesIn(roger, bottmingen)
Married people live together
Mirka is married to Roger
Mirka lives in Bottmingen
————————————
Roger lives in Bottmingen
livesIn
8 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Human Reasoning
livesIn(Y, Z) ← marriedTo(X, Y),
livesIn(X, Z)
marriedTo(mirka, roger)
livesIn(mirka, bottmingen)
————————————
livesIn(roger, bottmingen)
Married people live together
Mirka is married to Roger
Mirka lives in Bottmingen
————————————
Roger lives in Bottmingen
livesIn
But where can a machine get such rules from? 8 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Motivation
Rule Induction under Incompleteness
Numerical Rule Learning
Rule-based Fact Checking
9 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Horn Rules
Rule: a
head
← b1, . . . , bm.
body
Informal semantics: If b1, . . . , bm are true, then a must be true.
Logic program: Set of rules
Example: ground rule
% If Mirka is married to Roger and lives in B., then Roger lives there too
livesIn(roger, bottmingen) ← isMarried(mirka, roger), livesIn(mirka, bottmingen)
10 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Horn Rules
Rule: a
head
← b1, . . . , bm.
body
Informal semantics: If b1, . . . , bm are true, then a must be true.
Logic program: Set of rules
Example: non-ground rule
% Married people live together
livesIn(Y, Z) ← isMarried(X, Y), livesIn(X, Z)
10 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Reasoning with Incomplete Information
Default Reasoning
Assume normal state of
affairs, unless there is
evidence to the contrary
By default married
people live together.
11 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Reasoning with Incomplete Information
Default Reasoning
Assume normal state of
affairs, unless there is
evidence to the contrary
By default married
people live together.
Abduction
Choose between
several explanations
that explain an
observation
John and Mary live
together. They must be
married.
11 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Reasoning with Incomplete Information
Default Reasoning
Assume normal state of
affairs, unless there is
evidence to the contrary
By default married
people live together.
Abduction
Choose between
several explanations
that explain an
observation
John and Mary live
together. They must be
married.
Induction
Generalize a number of
similar observations
into a hypothesis
Given many examples
of spouses living
together generalize this
knowledge.
11 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Reasoning with Incomplete Information
Default Reasoning
Assume normal state of
affairs, unless there is
evidence to the contrary
By default married
people live together.
Abduction
Choose between
several explanations
that explain an
observation
John and Mary live
together. They must be
married.
Induction
Generalize a number of
similar observations
into a hypothesis
Given many examples
of spouses living
together generalize this
knowledge.
11 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Challenges of Rule Induction from KGs
Open World Assumption: negative facts cannot be easily derived
12 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Challenges of Rule Induction from KGs
Open World Assumption: negative facts cannot be easily derived
Maybe Roger Federer is a researcher and Albert Einstein was a
ballet dancer?
12 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Challenges of Rule Induction from KGs
Open World Assumption: negative facts cannot be easily derived
Maybe Roger Federer is a researcher and Albert Einstein was a
ballet dancer?
12 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Challenges of Rule Induction from KGs
Data bias: KGs are extracted from text, which typically mentions
only popular entities and interesting facts about them.
“Man bites dog phenomenon”1
1
https://en.wikipedia.org/wiki/Man_bites_dog_(journalism)
13 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Challenges of Rule Induction from KGs
Huge size: Modern KGs contain billions of facts
E.g., Google KG stores 70 billion facts
14 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning from KGs
15 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning from KGs
Confidence, e.g., WARMER [Goethals and den Bussche, 2002]
CWA: whatever is missing is false
conf(r) =
| |
| | + | |
=
2
4
r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y)
15 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning from KGs
Confidence, e.g., WARMER [Goethals and den Bussche, 2002]
CWA: whatever is missing is false
conf(r) =
| |
| | + | |
=
2
4
r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y)
15 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning from KGs
PCA confidence AMIE [Galarraga et al., 2015]
PCA: Since Alice has a living place already, all others are incorrect.
Brad Ann
isMarriedTo
John KateisMarriedTohasBrother
Berlin Chicago
Alice
isMarriedTo
Bob
livesIn
Clara
isMarriedTo
Dave
Researcher
livesInIsAIsA
Amsterdam
livesIn
livesIn livesIn livesInlivesIn
confPCA(r) =
| |
| | + | |
=
2
3
r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y)
15 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning from KGs
Exception-enriched rules: OWA is a challenge!
conf(r) = confPCA(r) =
| |
| | + | |
=1
r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y), not isA(X, researcher)
15 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning from KGs
Exception-enriched rules: OWA is a challenge!
conf(r) =
| |
| | + | |
=
2
4
r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y), not isA(X, researcher)
M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. Exception-enriched Rule Learning from KGs. ISWC2016
H. Dang Tran, D. Stepanova, M. Gad-Elrab, F. A. Lisi, G. Weikum. Towards Nonmonotonic Rule Learning from KGs. ILP2016
15 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Absurd Rules due to Data Incompleteness
Problem: rules learned from highly incomplete KGs might be absurd..
Brad ITech
worksAt
John OpenSysworksAt
Berlin Chicago
ITService
worksAt
Bob Clara
worksAt
SoftComp
IsA
ItCompany
IsA
livesIn officeIn officeInlivesIn
officeIn
officeIn
conf(r) = confPCA(r) = 1
livesIn(X, Y) ← worksAt(X, Z), officeIn(Z, Y), not isA(Z, itCompany)
16 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Ideal KG
µ(r, Gi
): measure quality of the rule r on Gi
, but Gi
is unknown
KG Ideal KG
 

i
17 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Probabilistic Reconstruction of Ideal KG
µ(r, Gi
p): measure quality of r on Gi
p
KG
probabilistic
reconstruction of
 

i
 

i
p
17 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Hybrid Rule Measure
µ(r, Gi
p) = (1 − λ) × µ1(r, G) + λ × µ2(r, Gi
p)
• λ ∈ [0..1] :λ ∈ [0..1] :λ ∈ [0..1] : weighting factor
• µ1 :µ1 :µ1 : descriptive quality of rule r over the available KG G
• confidence
• PCA confidence
• µ2 :µ2 :µ2 : predictive quality of r relying on Gi
p (probabilistic
reconstruction of the ideal KG Gi
)
17 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
KG Embeddings
• Intuition: For s, p, o in KG, find s, p, o such that s + p ≈ o
• The “error of translation” of a true KG fact should be smaller by a
certain margin than the “error of translation” of an out-of-KG one
18 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
KG Embeddings
• Intuition: For s, p, o in KG, find s, p, o such that s + p ≈ o
• The “error of translation” of a true KG fact should be smaller by a
certain margin than the “error of translation” of an out-of-KG one
18 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
KG Embeddings
• Intuition: For s, p, o in KG, find s, p, o such that s + p ≈ o
• The “error of translation” of a true KG fact should be smaller by a
certain margin than the “error of translation” of an out-of-KG one
18 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
KG Embeddings
• Intuition: For s, p, o in KG, find s, p, o such that s + p ≈ o
• The “error of translation” of a true KG fact should be smaller by a
certain margin than the “error of translation” of an out-of-KG one
18 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Embedding-based Rule Learning
V. Thinh Ho, D. Stepanova, M. Gad-Elrab, E. Kharlamov, G. Weikum. Rule Learning from KGs Guided by Embeddings. ISWC2018
19 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Construction
• Clause exploration from general to specific
• Our work: closed and safe rules with negation
livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y), not isA(X, researcher)
livesIn(X, Y ) ←
add dangling atom 
livesIn(X, Y) ← isA(X, researcher)
add instantiated
atom
livesIn(X, Y) ← marriedTo(X, Z)
add closing atom 
livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y)
20 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Construction
• Clause exploration from general to specific
• Our work: closed and safe rules with negation
livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y), not isA(X, researcher)
livesIn(X, Y ) ←
add dangling atom 
livesIn(X, Y) ← isA(X, researcher)
add instantiated
atom
livesIn(X, Y) ← marriedTo(X, Z)
add closing atom 
livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y)
add negated
instantiated atom 
livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y),
not isA(X, researcher)
livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y),
not moved(X, Y)
add negated atom 
20 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Prunning
livesIn(X, Y) ← worksAt(X, Z),
officeIn(Z, Y)
livesIn(X, Y) ← worksAt(X, Z)
livesIn(X, Y) ←
livesIn(X, Y) ← marriedTo(X, Z)
livesIn(Z, Y)
livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y)
not researcher(X)
...
...
...
Prune rule search space relying on
• novel hybrid embedding-based rule measure
21 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Evaluation Setup
• Datasets:
• FB15K: 592K facts, 15K entities and 1345 relations
• Wiki44K: 250K facts, 44K entities and 100 relations
• Training graph G: remove 20% from the available KG
• Embedding models Gi
p:
• TransE [Bordes et al., 2013], HolE [Nickel et al., 2016]
• With text: SSP [Xiao et al., 2017]
• Goals:
• Evaluate effectiveness of our hybrid rule measure
µ(r, Gi
p) = (1 − λ) × µ1(r, G) + λ × µ2(r, Gi
p)
• Compare against state-of-the-art rule learning systems
22 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Evaluation of Hybrid Rule Measure
0.7
0.75
0.8
0.85
0.9
0.95
1
0.0 0.2 0.4 0.6 0.8 1.0
Avg.score
λ
top_5 top_10 top_20 top_50 top_100 top_200
0.7
0.75
0.8
0.85
0.9
0.95
1
0.0 0.2 0.4 0.6 0.8 1.0
Avg.prec.
λ
(a) Conf-HolE
0.7
0.75
0.8
0.85
0.9
0.95
1
0.0 0.2 0.4 0.6 0.8 1.0
Avg.prec.
λ
(b) Conf-SSP
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0.0 0.2 0.4 0.6 0.8 1.0
Avg.prec.
λ
(c) PCA-SSP
Precision of top-k rules ranked using variations of µ on FB15K.
23 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Evaluation of Hybrid Rule Measure
0.7
0.75
0.8
0.85
0.9
0.95
1
0.0 0.2 0.4 0.6 0.8 1.0
Avg.score
λ
top_5 top_10 top_20 top_50 top_100 top_200
0.7
0.75
0.8
0.85
0.9
0.95
1
0.0 0.2 0.4 0.6 0.8 1.0
Avg.prec.
λ
(a) Conf-HolE
0.7
0.75
0.8
0.85
0.9
0.95
1
0.0 0.2 0.4 0.6 0.8 1.0
Avg.prec.
λ
(b) Conf-SSP
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0.0 0.2 0.4 0.6 0.8 1.0
Avg.prec.
λ
(c) PCA-SSP
Precision of top-k rules ranked using variations of µ on FB15K.
• Positive impact of embeddings in all cases for λ = 0.3
• Note: in (c) comparison to AMIE [Galarraga et al., 2015] (λ = 0)
23 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Example Rules Learned by Our Methods
Rules learned from Wikidata and IMDB
Nobles are typically married to nobles, but not in the case of Chinese dynasties
r1 : nobleFamily(X, Y)←spouse(X, Z), nobleFamily(Z, Y), not isA(Y,chineseDynasty)
Plots of films in a sequel are written by the same writer, unless a film is American
r2 : writtenBy(X, Z) ← hasPredecessor(X, Y), writtenBy(Y, Z), not american film(X)
Spouses of film directors appear on the cast, unless they are silent film actors
r3 : actedIn(X, Z) ← isMarriedTo(X, Y), directed(Y, Z), not silent film actor(X)
24 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Meta-data about Missing Facts in the KG
• Mining cardinality assertions from the Web [Mirza et al., 2016]
• “... Albert Einstein had 3 children ...”
• Estimating recall of KGs by crowd sourcing [Razniewski et al., 2016]
• 20 % of Nobel laureates in physics are missing
• Predicting completeness in KGs [Gal´arraga et al., 2017]
• complete(X, hasChild) ← child(X)
25 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Exploiting Meta-data in Rule Learning
Goal: make use of topological constraints on edge counts in the KG to
improve rule learning.
T. Tanon, D. Stepanova, S. Razniewski, P. Mirza, G. Weikum. Completeness-aware Rule Learning from KGs. ISWC2017
26 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Motivation
Rule Induction under Incompleteness
Numerical Rule Learning
Rule-based Fact Checking
27 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Numerical Rules
Article1 Article2
Pete
Bob
50
hasCitation
John
citedIn
33
hasCitation
citedIn
colleagueOf
citedIn
isSupervisorOf
124
hasCitation
influences(X, Y) ← colleague(X, Z), supervisorOf(Z, Y),
X.hasCitation > Z.hasCitation
28 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Numerical Rules
Article1 Article2
Pete
Bob
50
hasCitation
John
citedIn
33
hasCitation
citedIn
colleagueOf
citedIn
isSupervisorOf
124
hasCitation
influences
influences(X, Y) ← colleague(X, Z), supervisorOf(Z, Y),
X.hasCitation > Z.hasCitation
28 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning via Boolean Matrix Multiplication
NeuralLP [Yang et al., 2017]: Differentiable rule learning
Adjacency matrix Mp ∈ {0, 1}
(Mp)yx =
1 if p(x, y) ∈ G
0 otherwise
One-hot encoding
vx ∈ {0, 1}|C|
McitedIn =
john pete bob article1 article2










0 0 0 0 0 john
0 0 0 0 0 pete
0 0 0 0 0 bob
1 1 0 0 0 article1
1 0 0 0 0 article2
vjohn =










1 john
0 pete
0 bob
0 article1
0 article2
McitedIn
5 Internal | Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter | 2020-01-30
© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
Article1 Article2
Pete
Bob
50
hasCitation
John
citedIn
33
hasCitation
citedIn
colleagueOf
citedIn
isSupervisorOf
124
hasCitation
29 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning via Boolean Matrix Multiplication
NeuralLP [Yang et al., 2017]: Differentiable rule learning
Adjacency matrix Mp ∈ {0, 1}
(Mp)yx =
1 if p(x, y) ∈ G
0 otherwise
One-hot encoding
vx ∈ {0, 1}|C|
McitedIn =
john pete bob article1 article2










0 0 0 0 0 john
0 0 0 0 0 pete
0 0 0 0 0 bob
1 1 0 0 0 article1
1 0 0 0 0 article2
vjohn =










1 john
0 pete
0 bob
0 article1
0 article2
McitedIn
5 Internal | Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter | 2020-01-30
© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
sparse) matrix multiplication
One-hot encoding
vx ∈ {0, 1}|C|
e1
e2
vjohn =










1 john
0 pete
0 bob
0 article1
0 article2
McitedInvjohn =










0
0
0
1
1
on, as well as in the event of applications for industrial property rights.
Article1 Article2
Pete
Bob
50
hasCitation
John
citedIn
33
hasCitation
citedIn
colleagueOf
citedIn
isSupervisorOf
124
hasCitation
29 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule Learning via Boolean Matrix Multiplication
NeuralLP [Yang et al., 2017]: Differentiable rule learning
Adjacency matrix Mp ∈ {0, 1}
(Mp)yx =
1 if p(x, y) ∈ G
0 otherwise
One-hot encoding
vx ∈ {0, 1}|C|
McitedIn =
john pete bob article1 article2










0 0 0 0 0 john
0 0 0 0 0 pete
0 0 0 0 0 bob
1 1 0 0 0 article1
1 0 0 0 0 article2
vjohn =










1 john
0 pete
0 bob
0 article1
0 article2
McitedIn
5 Internal | Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter | 2020-01-30
© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
sparse) matrix multiplication
One-hot encoding
vx ∈ {0, 1}|C|
e1
e2
vjohn =










1 john
0 pete
0 bob
0 article1
0 article2
McitedInvjohn =










0
0
0
1
1
on, as well as in the event of applications for industrial property rights.
plication
ng
e1
e2
McitedInvjohn =










0
0
0
1
1
Article1 Article2
Pete
Bob
50
hasCitation
John
citedIn
33
hasCitation
citedIn
colleagueOf
citedIn
isSupervisorOf
124
hasCitation
Article1 Article2
Pete
Bob
50
hasCitation
John
citedIn
33
hasCitation
citedIn
colleagueOf
citedIn
isSupervisorOf
124
hasCitation
29 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Problem: Implementing Numerical Rule Matching
Differentiable learning framework via (sparse) matrix-vector multiplication
30 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Problem: Implementing Numerical Rule Matching
Differentiable learning framework via (sparse) matrix-vector multiplication
Adj matrix (McolleagueOf )y,x =
1 if colleagueOf( x, y )
0 otherwise
30 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Problem: Implementing Numerical Rule Matching
Differentiable learning framework via (sparse) matrix-vector multiplication
Adj matrix (McolleagueOf )y,x =
1 if colleagueOf( x, y )
0 otherwise
Apply rules (path counting) by sparse matrix-vector multiplication
influences( X, Z ) ← colleagueOf( X, Y ), supervisorOf( Y, Z )
influences( john, Z ) = one hot( john ) MT
colleagueOf MT
supervisorOf
30 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Problem: Implementing Numerical Rule Matching
Differentiable learning framework via (sparse) matrix-vector multiplication
Adj matrix (McolleagueOf )y,x =
1 if colleagueOf( x, y )
0 otherwise
Apply rules (path counting) by sparse matrix-vector multiplication
influences( X, Z ) ← colleagueOf( X, Y ), supervisorOf( Y, Z )
influences( john, Z ) = one hot( john ) MT
colleagueOf MT
supervisorOf
For numerical rules, we can similarly create the comparison matrix
Adj matrix (Mcmp)y,x =
1 if x.numCitation < y.numCitation
0 otherwise
30 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Problem: Implementing Numerical Rule Matching
Differentiable learning framework via (sparse) matrix-vector multiplication
Adj matrix (McolleagueOf )y,x =
1 if colleagueOf( x, y )
0 otherwise
Apply rules (path counting) by sparse matrix-vector multiplication
influences( X, Z ) ← colleagueOf( X, Y ), supervisorOf( Y, Z )
influences( john, Z ) = one hot( john ) MT
colleagueOf MT
supervisorOf
For numerical rules, we can similarly create the comparison matrix
Adj matrix (Mcmp)y,x =
1 if x.numCitation < y.numCitation
0 otherwise
Problem: may be a dense matrix ⇒ cannot be materialized on GPU
30 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Efficient Matrix Vector Multiplication for Numerical
Operators
Contribution: Efficient matrix-vector mult for numerical operators
Trick: assume values are sorted by the permutation matrices Pp and Pq, resp.
0 1 0 1 1 1 1 0
1 1 1 1 1 1 1 1
1 1 0 1 1 1 1 0
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
0 1 0 1 1 1 1 1
































˜Mr
≤
pq
=
NaN. . . NaN ˜g1 ≤ . . . ≤ ˜gn
NaN
...
NaN
˜f1
≤
...≤
˜fm
. . . . . .
...
...
...
. . .
...
. . .
1 . . . 1
0 1 . . .
... 0 1 . . .
0 1 . . .
. . . 0 1 1
Monotonic borderline:
γi: position of the first non-zero
element in the ith row
( ˜Mr≤
pq
v)i =
γi≤j≤|C|
vj = cumsum(v)γi
Mv = Pq cumsum(Ppv)γ
Complexity: O(n2) ⇒ O(n log n)
6 Public | Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter | 2020-04-08
© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.
Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter. Differentiable Learning of Numerical Rules from KGs. ICLR 2020
31 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Evaluation of Numerical Rule Learning
Hit@10: number of correct head atoms predicted out of the top 10 predictions
Dataset Synthetic1 Synthetic2 FB15K-237-num DBP15K-num
AnyBurl 0.031 0.685 0.426 0.522
NeuralLP 0.240 0.295 0.362 0.436
ours 1.000 1.000 0.415 0.682
32 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Evaluation of Numerical Rule Learning
Hit@10: number of correct head atoms predicted out of the top 10 predictions
Dataset Synthetic1 Synthetic2 FB15K-237-num DBP15K-num
AnyBurl 0.031 0.685 0.426 0.522
NeuralLP 0.240 0.295 0.362 0.436
ours 1.000 1.000 0.415 0.682
Rules learned from Freebase and DBPedia:
Some symptoms provoke risk factors inherited from diseases with these symptoms
symptomHasRiskFactors(X, Y) ← f(X), symtompOfDisease(X, Z),
diseaseHasRiskFactors(Z, Y)
Minister of defense with certain properties is the general of military of the given country
general(X, Y) ← ministerOfDefense(X, Z), f(Z), militaryBranchOfCountry(Z, Y)
32 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Motivation
Rule Induction under Incompleteness
Numerical Rule Learning
Rule-based Fact Checking
33 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule-based Fact Checking
M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. ExFakt: A Framework for Explaining Facts over KGs and Text. WSDM 2019.
M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. Tracy: Tracing Facts over Knowledge Graphs and Text. WWW 2019.
34 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Rule-based Fact Checking
M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. ExFakt: A Framework for Explaining Facts over KGs and Text. WSDM 2019.
M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. Tracy: Tracing Facts over Knowledge Graphs and Text. WWW 2019.
34 / 35
Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking
Summary
• Horn rule learning
• Exploiting embeddings to guide rule learning
• Numerical rule learning
• Rule-based fact checking
35 / 35
References I
Antoine Bordes, Nicolas Usunier, Alberto Garc´ıa-Dur´an, Jason Weston, and Oksana Yakhnenko.
Translating Embeddings for Modeling Multi-relational Data.
In Proceedings of NIPS, pages 2787–2795, 2013.
Luis Galarraga, Christina Teflioudi, Katja Hose, and Fabian M. Suchanek.
Fast rule mining in ontological knowledge bases with AMIE+.
In VLDB, volume 24, pages 707–730, 2015.
Luis Gal´arraga, Simon Razniewski, Antoine Amarilli, and Fabian M Suchanek.
Predicting completeness in knowledge bases.
WSDM, 2017.
Bart Goethals and Jan Van den Bussche.
Relational association rules: Getting warmer.
In PDD, 2002.
Paramita Mirza, Simon Razniewski, and Werner Nutt.
Expanding wikidata’s parenthood information by 178%, or how to mine relation cardinality information.
In ISWC 2016 Posters & Demos, 2016.
Maximilian Nickel, Lorenzo Rosasco, and Tomaso A. Poggio.
Holographic embeddings of knowledge graphs.
In AAAI, 2016.
Simon Razniewski, Fabian M. Suchanek, and Werner Nutt.
But what do we actually know?
In Proceedings of the 5th Workshop on Automated Knowledge Base Construction, AKBC@NAACL-HLT 2016, San Diego, CA,
USA, June 17, 2016, pages 40–44, 2016.
Han Xiao, Minlie Huang, Lian Meng, and Xiaoyan Zhu.
SSP: semantic space projection for knowledge graph embedding with text descriptions.
In AAAI, 2017.
References II
Fan Yang, Zhilin Yang, and William W. Cohen.
Differentiable learning of logical rules for knowledge base reasoning.
In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman
Garnett, editors, Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information
Processing Systems 2017, 4-9 December 2017, Long Beach, CA, USA, pages 2319–2328, 2017.

More Related Content

Recently uploaded

NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxBoston Institute of Analytics
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queensdataanalyticsqueen03
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理e4aez8ss
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...limedy534
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfBoston Institute of Analytics
 

Recently uploaded (20)

NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queens
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
 

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Knowledge Graphs, Daria Stepanova, Bosch Center for Artificial Intelligence

  • 1. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Induction and Reasoning in Knowledge Graphs Daria Stepanova Bosch Center for Artificial Intelligence, Renningen, Germany 14.05.2020 1 / 35
  • 2. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking 1 / 35
  • 3. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking What is Knowledge? Plato: “Knowledge is justified true belief” 2 / 35
  • 4. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking What is Knowledge? Plato: “Knowledge is justified true belief” 2 / 35
  • 5. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Knowledge Graphs as Digital Knowledge “Digital knowledge is semantically enriched machine processable data” Personal External 2020 Knowledge Graph NELL 2 / 35
  • 6. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Semantic Web Search  winner of Australian Open 2018 3 / 35
  • 7. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Semantic Web Search   ∃X winnerOf (X, AustralianOpen2018) 3 / 35
  • 8. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Semantic Web Search   ∃X winnerOf (X, AustralianOpen2018) RogerFederer AustralianOpen2018 winnerOf bornInBasel Switzerland locatedIn 3 / 35
  • 9. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Industrial KGs 4 / 35
  • 10. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking KG Incompleteness 5 / 35
  • 11. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Semantic Web Search 6 / 35
  • 12. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Semantic Web Search 7 / 35
  • 13. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Human Reasoning livesIn(Y, Z) ← marriedTo(X, Y), livesIn(X, Z) marriedTo(mirka, roger) livesIn(mirka, bottmingen) ———————————— Married people live together Mirka is married to Roger Mirka lives in Bottmingen ———————————— 8 / 35
  • 14. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Human Reasoning livesIn(Y, Z) ← marriedTo(X, Y), livesIn(X, Z) marriedTo(mirka, roger) livesIn(mirka, bottmingen) ———————————— livesIn(roger, bottmingen) Married people live together Mirka is married to Roger Mirka lives in Bottmingen ———————————— Roger lives in Bottmingen livesIn 8 / 35
  • 15. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Human Reasoning livesIn(Y, Z) ← marriedTo(X, Y), livesIn(X, Z) marriedTo(mirka, roger) livesIn(mirka, bottmingen) ———————————— livesIn(roger, bottmingen) Married people live together Mirka is married to Roger Mirka lives in Bottmingen ———————————— Roger lives in Bottmingen livesIn But where can a machine get such rules from? 8 / 35
  • 16. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking 9 / 35
  • 17. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Horn Rules Rule: a head ← b1, . . . , bm. body Informal semantics: If b1, . . . , bm are true, then a must be true. Logic program: Set of rules Example: ground rule % If Mirka is married to Roger and lives in B., then Roger lives there too livesIn(roger, bottmingen) ← isMarried(mirka, roger), livesIn(mirka, bottmingen) 10 / 35
  • 18. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Horn Rules Rule: a head ← b1, . . . , bm. body Informal semantics: If b1, . . . , bm are true, then a must be true. Logic program: Set of rules Example: non-ground rule % Married people live together livesIn(Y, Z) ← isMarried(X, Y), livesIn(X, Z) 10 / 35
  • 19. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Reasoning with Incomplete Information Default Reasoning Assume normal state of affairs, unless there is evidence to the contrary By default married people live together. 11 / 35
  • 20. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Reasoning with Incomplete Information Default Reasoning Assume normal state of affairs, unless there is evidence to the contrary By default married people live together. Abduction Choose between several explanations that explain an observation John and Mary live together. They must be married. 11 / 35
  • 21. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Reasoning with Incomplete Information Default Reasoning Assume normal state of affairs, unless there is evidence to the contrary By default married people live together. Abduction Choose between several explanations that explain an observation John and Mary live together. They must be married. Induction Generalize a number of similar observations into a hypothesis Given many examples of spouses living together generalize this knowledge. 11 / 35
  • 22. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Reasoning with Incomplete Information Default Reasoning Assume normal state of affairs, unless there is evidence to the contrary By default married people live together. Abduction Choose between several explanations that explain an observation John and Mary live together. They must be married. Induction Generalize a number of similar observations into a hypothesis Given many examples of spouses living together generalize this knowledge. 11 / 35
  • 23. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Challenges of Rule Induction from KGs Open World Assumption: negative facts cannot be easily derived 12 / 35
  • 24. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Challenges of Rule Induction from KGs Open World Assumption: negative facts cannot be easily derived Maybe Roger Federer is a researcher and Albert Einstein was a ballet dancer? 12 / 35
  • 25. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Challenges of Rule Induction from KGs Open World Assumption: negative facts cannot be easily derived Maybe Roger Federer is a researcher and Albert Einstein was a ballet dancer? 12 / 35
  • 26. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Challenges of Rule Induction from KGs Data bias: KGs are extracted from text, which typically mentions only popular entities and interesting facts about them. “Man bites dog phenomenon”1 1 https://en.wikipedia.org/wiki/Man_bites_dog_(journalism) 13 / 35
  • 27. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Challenges of Rule Induction from KGs Huge size: Modern KGs contain billions of facts E.g., Google KG stores 70 billion facts 14 / 35
  • 28. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning from KGs 15 / 35
  • 29. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning from KGs Confidence, e.g., WARMER [Goethals and den Bussche, 2002] CWA: whatever is missing is false conf(r) = | | | | + | | = 2 4 r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y) 15 / 35
  • 30. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning from KGs Confidence, e.g., WARMER [Goethals and den Bussche, 2002] CWA: whatever is missing is false conf(r) = | | | | + | | = 2 4 r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y) 15 / 35
  • 31. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning from KGs PCA confidence AMIE [Galarraga et al., 2015] PCA: Since Alice has a living place already, all others are incorrect. Brad Ann isMarriedTo John KateisMarriedTohasBrother Berlin Chicago Alice isMarriedTo Bob livesIn Clara isMarriedTo Dave Researcher livesInIsAIsA Amsterdam livesIn livesIn livesIn livesInlivesIn confPCA(r) = | | | | + | | = 2 3 r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y) 15 / 35
  • 32. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning from KGs Exception-enriched rules: OWA is a challenge! conf(r) = confPCA(r) = | | | | + | | =1 r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y), not isA(X, researcher) 15 / 35
  • 33. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning from KGs Exception-enriched rules: OWA is a challenge! conf(r) = | | | | + | | = 2 4 r : livesIn(X, Y) ← isMarriedTo(Z, X), livesIn(Z, Y), not isA(X, researcher) M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. Exception-enriched Rule Learning from KGs. ISWC2016 H. Dang Tran, D. Stepanova, M. Gad-Elrab, F. A. Lisi, G. Weikum. Towards Nonmonotonic Rule Learning from KGs. ILP2016 15 / 35
  • 34. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Absurd Rules due to Data Incompleteness Problem: rules learned from highly incomplete KGs might be absurd.. Brad ITech worksAt John OpenSysworksAt Berlin Chicago ITService worksAt Bob Clara worksAt SoftComp IsA ItCompany IsA livesIn officeIn officeInlivesIn officeIn officeIn conf(r) = confPCA(r) = 1 livesIn(X, Y) ← worksAt(X, Z), officeIn(Z, Y), not isA(Z, itCompany) 16 / 35
  • 35. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Ideal KG µ(r, Gi ): measure quality of the rule r on Gi , but Gi is unknown KG Ideal KG    i 17 / 35
  • 36. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Probabilistic Reconstruction of Ideal KG µ(r, Gi p): measure quality of r on Gi p KG probabilistic reconstruction of    i    i p 17 / 35
  • 37. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Hybrid Rule Measure µ(r, Gi p) = (1 − λ) × µ1(r, G) + λ × µ2(r, Gi p) • λ ∈ [0..1] :λ ∈ [0..1] :λ ∈ [0..1] : weighting factor • µ1 :µ1 :µ1 : descriptive quality of rule r over the available KG G • confidence • PCA confidence • µ2 :µ2 :µ2 : predictive quality of r relying on Gi p (probabilistic reconstruction of the ideal KG Gi ) 17 / 35
  • 38. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking KG Embeddings • Intuition: For s, p, o in KG, find s, p, o such that s + p ≈ o • The “error of translation” of a true KG fact should be smaller by a certain margin than the “error of translation” of an out-of-KG one 18 / 35
  • 39. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking KG Embeddings • Intuition: For s, p, o in KG, find s, p, o such that s + p ≈ o • The “error of translation” of a true KG fact should be smaller by a certain margin than the “error of translation” of an out-of-KG one 18 / 35
  • 40. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking KG Embeddings • Intuition: For s, p, o in KG, find s, p, o such that s + p ≈ o • The “error of translation” of a true KG fact should be smaller by a certain margin than the “error of translation” of an out-of-KG one 18 / 35
  • 41. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking KG Embeddings • Intuition: For s, p, o in KG, find s, p, o such that s + p ≈ o • The “error of translation” of a true KG fact should be smaller by a certain margin than the “error of translation” of an out-of-KG one 18 / 35
  • 42. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Embedding-based Rule Learning V. Thinh Ho, D. Stepanova, M. Gad-Elrab, E. Kharlamov, G. Weikum. Rule Learning from KGs Guided by Embeddings. ISWC2018 19 / 35
  • 43. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Construction • Clause exploration from general to specific • Our work: closed and safe rules with negation livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y), not isA(X, researcher) livesIn(X, Y ) ← add dangling atom  livesIn(X, Y) ← isA(X, researcher) add instantiated atom livesIn(X, Y) ← marriedTo(X, Z) add closing atom  livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y) 20 / 35
  • 44. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Construction • Clause exploration from general to specific • Our work: closed and safe rules with negation livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y), not isA(X, researcher) livesIn(X, Y ) ← add dangling atom  livesIn(X, Y) ← isA(X, researcher) add instantiated atom livesIn(X, Y) ← marriedTo(X, Z) add closing atom  livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y) add negated instantiated atom  livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y), not isA(X, researcher) livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y), not moved(X, Y) add negated atom  20 / 35
  • 45. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Prunning livesIn(X, Y) ← worksAt(X, Z), officeIn(Z, Y) livesIn(X, Y) ← worksAt(X, Z) livesIn(X, Y) ← livesIn(X, Y) ← marriedTo(X, Z) livesIn(Z, Y) livesIn(X, Y) ← marriedTo(X, Z), livesIn(Z, Y) not researcher(X) ... ... ... Prune rule search space relying on • novel hybrid embedding-based rule measure 21 / 35
  • 46. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Evaluation Setup • Datasets: • FB15K: 592K facts, 15K entities and 1345 relations • Wiki44K: 250K facts, 44K entities and 100 relations • Training graph G: remove 20% from the available KG • Embedding models Gi p: • TransE [Bordes et al., 2013], HolE [Nickel et al., 2016] • With text: SSP [Xiao et al., 2017] • Goals: • Evaluate effectiveness of our hybrid rule measure µ(r, Gi p) = (1 − λ) × µ1(r, G) + λ × µ2(r, Gi p) • Compare against state-of-the-art rule learning systems 22 / 35
  • 47. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Evaluation of Hybrid Rule Measure 0.7 0.75 0.8 0.85 0.9 0.95 1 0.0 0.2 0.4 0.6 0.8 1.0 Avg.score λ top_5 top_10 top_20 top_50 top_100 top_200 0.7 0.75 0.8 0.85 0.9 0.95 1 0.0 0.2 0.4 0.6 0.8 1.0 Avg.prec. λ (a) Conf-HolE 0.7 0.75 0.8 0.85 0.9 0.95 1 0.0 0.2 0.4 0.6 0.8 1.0 Avg.prec. λ (b) Conf-SSP 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.0 0.2 0.4 0.6 0.8 1.0 Avg.prec. λ (c) PCA-SSP Precision of top-k rules ranked using variations of µ on FB15K. 23 / 35
  • 48. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Evaluation of Hybrid Rule Measure 0.7 0.75 0.8 0.85 0.9 0.95 1 0.0 0.2 0.4 0.6 0.8 1.0 Avg.score λ top_5 top_10 top_20 top_50 top_100 top_200 0.7 0.75 0.8 0.85 0.9 0.95 1 0.0 0.2 0.4 0.6 0.8 1.0 Avg.prec. λ (a) Conf-HolE 0.7 0.75 0.8 0.85 0.9 0.95 1 0.0 0.2 0.4 0.6 0.8 1.0 Avg.prec. λ (b) Conf-SSP 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.0 0.2 0.4 0.6 0.8 1.0 Avg.prec. λ (c) PCA-SSP Precision of top-k rules ranked using variations of µ on FB15K. • Positive impact of embeddings in all cases for λ = 0.3 • Note: in (c) comparison to AMIE [Galarraga et al., 2015] (λ = 0) 23 / 35
  • 49. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Example Rules Learned by Our Methods Rules learned from Wikidata and IMDB Nobles are typically married to nobles, but not in the case of Chinese dynasties r1 : nobleFamily(X, Y)←spouse(X, Z), nobleFamily(Z, Y), not isA(Y,chineseDynasty) Plots of films in a sequel are written by the same writer, unless a film is American r2 : writtenBy(X, Z) ← hasPredecessor(X, Y), writtenBy(Y, Z), not american film(X) Spouses of film directors appear on the cast, unless they are silent film actors r3 : actedIn(X, Z) ← isMarriedTo(X, Y), directed(Y, Z), not silent film actor(X) 24 / 35
  • 50. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Meta-data about Missing Facts in the KG • Mining cardinality assertions from the Web [Mirza et al., 2016] • “... Albert Einstein had 3 children ...” • Estimating recall of KGs by crowd sourcing [Razniewski et al., 2016] • 20 % of Nobel laureates in physics are missing • Predicting completeness in KGs [Gal´arraga et al., 2017] • complete(X, hasChild) ← child(X) 25 / 35
  • 51. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Exploiting Meta-data in Rule Learning Goal: make use of topological constraints on edge counts in the KG to improve rule learning. T. Tanon, D. Stepanova, S. Razniewski, P. Mirza, G. Weikum. Completeness-aware Rule Learning from KGs. ISWC2017 26 / 35
  • 52. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking 27 / 35
  • 53. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Numerical Rules Article1 Article2 Pete Bob 50 hasCitation John citedIn 33 hasCitation citedIn colleagueOf citedIn isSupervisorOf 124 hasCitation influences(X, Y) ← colleague(X, Z), supervisorOf(Z, Y), X.hasCitation > Z.hasCitation 28 / 35
  • 54. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Numerical Rules Article1 Article2 Pete Bob 50 hasCitation John citedIn 33 hasCitation citedIn colleagueOf citedIn isSupervisorOf 124 hasCitation influences influences(X, Y) ← colleague(X, Z), supervisorOf(Z, Y), X.hasCitation > Z.hasCitation 28 / 35
  • 55. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning via Boolean Matrix Multiplication NeuralLP [Yang et al., 2017]: Differentiable rule learning Adjacency matrix Mp ∈ {0, 1} (Mp)yx = 1 if p(x, y) ∈ G 0 otherwise One-hot encoding vx ∈ {0, 1}|C| McitedIn = john pete bob article1 article2           0 0 0 0 0 john 0 0 0 0 0 pete 0 0 0 0 0 bob 1 1 0 0 0 article1 1 0 0 0 0 article2 vjohn =           1 john 0 pete 0 bob 0 article1 0 article2 McitedIn 5 Internal | Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter | 2020-01-30 © Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. Article1 Article2 Pete Bob 50 hasCitation John citedIn 33 hasCitation citedIn colleagueOf citedIn isSupervisorOf 124 hasCitation 29 / 35
  • 56. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning via Boolean Matrix Multiplication NeuralLP [Yang et al., 2017]: Differentiable rule learning Adjacency matrix Mp ∈ {0, 1} (Mp)yx = 1 if p(x, y) ∈ G 0 otherwise One-hot encoding vx ∈ {0, 1}|C| McitedIn = john pete bob article1 article2           0 0 0 0 0 john 0 0 0 0 0 pete 0 0 0 0 0 bob 1 1 0 0 0 article1 1 0 0 0 0 article2 vjohn =           1 john 0 pete 0 bob 0 article1 0 article2 McitedIn 5 Internal | Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter | 2020-01-30 © Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. sparse) matrix multiplication One-hot encoding vx ∈ {0, 1}|C| e1 e2 vjohn =           1 john 0 pete 0 bob 0 article1 0 article2 McitedInvjohn =           0 0 0 1 1 on, as well as in the event of applications for industrial property rights. Article1 Article2 Pete Bob 50 hasCitation John citedIn 33 hasCitation citedIn colleagueOf citedIn isSupervisorOf 124 hasCitation 29 / 35
  • 57. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule Learning via Boolean Matrix Multiplication NeuralLP [Yang et al., 2017]: Differentiable rule learning Adjacency matrix Mp ∈ {0, 1} (Mp)yx = 1 if p(x, y) ∈ G 0 otherwise One-hot encoding vx ∈ {0, 1}|C| McitedIn = john pete bob article1 article2           0 0 0 0 0 john 0 0 0 0 0 pete 0 0 0 0 0 bob 1 1 0 0 0 article1 1 0 0 0 0 article2 vjohn =           1 john 0 pete 0 bob 0 article1 0 article2 McitedIn 5 Internal | Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter | 2020-01-30 © Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. sparse) matrix multiplication One-hot encoding vx ∈ {0, 1}|C| e1 e2 vjohn =           1 john 0 pete 0 bob 0 article1 0 article2 McitedInvjohn =           0 0 0 1 1 on, as well as in the event of applications for industrial property rights. plication ng e1 e2 McitedInvjohn =           0 0 0 1 1 Article1 Article2 Pete Bob 50 hasCitation John citedIn 33 hasCitation citedIn colleagueOf citedIn isSupervisorOf 124 hasCitation Article1 Article2 Pete Bob 50 hasCitation John citedIn 33 hasCitation citedIn colleagueOf citedIn isSupervisorOf 124 hasCitation 29 / 35
  • 58. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Problem: Implementing Numerical Rule Matching Differentiable learning framework via (sparse) matrix-vector multiplication 30 / 35
  • 59. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Problem: Implementing Numerical Rule Matching Differentiable learning framework via (sparse) matrix-vector multiplication Adj matrix (McolleagueOf )y,x = 1 if colleagueOf( x, y ) 0 otherwise 30 / 35
  • 60. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Problem: Implementing Numerical Rule Matching Differentiable learning framework via (sparse) matrix-vector multiplication Adj matrix (McolleagueOf )y,x = 1 if colleagueOf( x, y ) 0 otherwise Apply rules (path counting) by sparse matrix-vector multiplication influences( X, Z ) ← colleagueOf( X, Y ), supervisorOf( Y, Z ) influences( john, Z ) = one hot( john ) MT colleagueOf MT supervisorOf 30 / 35
  • 61. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Problem: Implementing Numerical Rule Matching Differentiable learning framework via (sparse) matrix-vector multiplication Adj matrix (McolleagueOf )y,x = 1 if colleagueOf( x, y ) 0 otherwise Apply rules (path counting) by sparse matrix-vector multiplication influences( X, Z ) ← colleagueOf( X, Y ), supervisorOf( Y, Z ) influences( john, Z ) = one hot( john ) MT colleagueOf MT supervisorOf For numerical rules, we can similarly create the comparison matrix Adj matrix (Mcmp)y,x = 1 if x.numCitation < y.numCitation 0 otherwise 30 / 35
  • 62. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Problem: Implementing Numerical Rule Matching Differentiable learning framework via (sparse) matrix-vector multiplication Adj matrix (McolleagueOf )y,x = 1 if colleagueOf( x, y ) 0 otherwise Apply rules (path counting) by sparse matrix-vector multiplication influences( X, Z ) ← colleagueOf( X, Y ), supervisorOf( Y, Z ) influences( john, Z ) = one hot( john ) MT colleagueOf MT supervisorOf For numerical rules, we can similarly create the comparison matrix Adj matrix (Mcmp)y,x = 1 if x.numCitation < y.numCitation 0 otherwise Problem: may be a dense matrix ⇒ cannot be materialized on GPU 30 / 35
  • 63. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Efficient Matrix Vector Multiplication for Numerical Operators Contribution: Efficient matrix-vector mult for numerical operators Trick: assume values are sorted by the permutation matrices Pp and Pq, resp. 0 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1                                 ˜Mr ≤ pq = NaN. . . NaN ˜g1 ≤ . . . ≤ ˜gn NaN ... NaN ˜f1 ≤ ...≤ ˜fm . . . . . . ... ... ... . . . ... . . . 1 . . . 1 0 1 . . . ... 0 1 . . . 0 1 . . . . . . 0 1 1 Monotonic borderline: γi: position of the first non-zero element in the ith row ( ˜Mr≤ pq v)i = γi≤j≤|C| vj = cumsum(v)γi Mv = Pq cumsum(Ppv)γ Complexity: O(n2) ⇒ O(n log n) 6 Public | Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter | 2020-04-08 © Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. Po-Wei Wang, Daria Stepanova, Csaba Domokos, Zico Kolter. Differentiable Learning of Numerical Rules from KGs. ICLR 2020 31 / 35
  • 64. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Evaluation of Numerical Rule Learning Hit@10: number of correct head atoms predicted out of the top 10 predictions Dataset Synthetic1 Synthetic2 FB15K-237-num DBP15K-num AnyBurl 0.031 0.685 0.426 0.522 NeuralLP 0.240 0.295 0.362 0.436 ours 1.000 1.000 0.415 0.682 32 / 35
  • 65. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Evaluation of Numerical Rule Learning Hit@10: number of correct head atoms predicted out of the top 10 predictions Dataset Synthetic1 Synthetic2 FB15K-237-num DBP15K-num AnyBurl 0.031 0.685 0.426 0.522 NeuralLP 0.240 0.295 0.362 0.436 ours 1.000 1.000 0.415 0.682 Rules learned from Freebase and DBPedia: Some symptoms provoke risk factors inherited from diseases with these symptoms symptomHasRiskFactors(X, Y) ← f(X), symtompOfDisease(X, Z), diseaseHasRiskFactors(Z, Y) Minister of defense with certain properties is the general of military of the given country general(X, Y) ← ministerOfDefense(X, Z), f(Z), militaryBranchOfCountry(Z, Y) 32 / 35
  • 66. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking 33 / 35
  • 67. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule-based Fact Checking M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. ExFakt: A Framework for Explaining Facts over KGs and Text. WSDM 2019. M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. Tracy: Tracing Facts over Knowledge Graphs and Text. WWW 2019. 34 / 35
  • 68. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Rule-based Fact Checking M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. ExFakt: A Framework for Explaining Facts over KGs and Text. WSDM 2019. M. Gad-Elrab, D. Stepanova, J. Urbani, G. Weikum. Tracy: Tracing Facts over Knowledge Graphs and Text. WWW 2019. 34 / 35
  • 69. Motivation Rule Induction under Incompleteness Numerical Rule Learning Rule-based Fact Checking Summary • Horn rule learning • Exploiting embeddings to guide rule learning • Numerical rule learning • Rule-based fact checking 35 / 35
  • 70. References I Antoine Bordes, Nicolas Usunier, Alberto Garc´ıa-Dur´an, Jason Weston, and Oksana Yakhnenko. Translating Embeddings for Modeling Multi-relational Data. In Proceedings of NIPS, pages 2787–2795, 2013. Luis Galarraga, Christina Teflioudi, Katja Hose, and Fabian M. Suchanek. Fast rule mining in ontological knowledge bases with AMIE+. In VLDB, volume 24, pages 707–730, 2015. Luis Gal´arraga, Simon Razniewski, Antoine Amarilli, and Fabian M Suchanek. Predicting completeness in knowledge bases. WSDM, 2017. Bart Goethals and Jan Van den Bussche. Relational association rules: Getting warmer. In PDD, 2002. Paramita Mirza, Simon Razniewski, and Werner Nutt. Expanding wikidata’s parenthood information by 178%, or how to mine relation cardinality information. In ISWC 2016 Posters & Demos, 2016. Maximilian Nickel, Lorenzo Rosasco, and Tomaso A. Poggio. Holographic embeddings of knowledge graphs. In AAAI, 2016. Simon Razniewski, Fabian M. Suchanek, and Werner Nutt. But what do we actually know? In Proceedings of the 5th Workshop on Automated Knowledge Base Construction, AKBC@NAACL-HLT 2016, San Diego, CA, USA, June 17, 2016, pages 40–44, 2016. Han Xiao, Minlie Huang, Lian Meng, and Xiaoyan Zhu. SSP: semantic space projection for knowledge graph embedding with text descriptions. In AAAI, 2017.
  • 71. References II Fan Yang, Zhilin Yang, and William W. Cohen. Differentiable learning of logical rules for knowledge base reasoning. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, 4-9 December 2017, Long Beach, CA, USA, pages 2319–2328, 2017.