SlideShare a Scribd company logo
Probabilistic Soft Logic:
An Overview
Lise Getoor, Stephen Bach, Bert Huang
University of Maryland, College Park
http://psl.umiacs.umd.edu
Additional Contributors: Matthias Broecheler, Shobeir Fakhraei, Angelika Kimmig,
London, Alex Memory, Hui Miao, Lily Mihalkova, Eric Norris, Jay Pujara, Theo Rekatsinas, Arti Rames
Probabilistic Soft Logic (PSL)
Declarative language based on logics to express
collective probabilistic inference problems
 Predicate = relationship or property
 Atom = (continuous) random variable
 Rule = capture dependency or constraint
 Set = define aggregates
PSL Program = Rules + Input DB
Probabilistic Soft Logic (PSL)
Declarative language based on logics to express
collective probabilistic inference problems
 Predicate = relationship or property
 Atom = (continuous) random variable
 Rule = capture dependency or constraint
 Set = define aggregates
PSL Program = Rules + Input DB
Probabilistic Soft Logic
Entity Resolution
 Entities
- People References
 Attributes
- Name
 Relationships
- Friendship
 Goal: Identify
references that denote
the same person
A B
John Smith J. Smith
name name
C
E
D F G
H
friend friend
=
=
Probabilistic Soft Logic
Entity Resolution
 References, names,
friendships
 Use rules to express
evidence
- ‘’If two people have similar
names, they are probably the
same’’
- ‘’If two people have similar
friends, they are probably the
same’’
- ‘’If A=B and B=C, then A and C
must also denote the same
person’’
A B
John Smith J. Smith
name name
C
E
D F G
H
friend friend
=
=
Probabilistic Soft Logic
Entity Resolution
 References, names,
friendships
 Use rules to express
evidence
- ‘’If two people have similar
names, they are probably the
same’’
- ‘’If two people have similar
friends, they are probably the
same’’
- ‘’If A=B and B=C, then A and C
must also denote the same
person’’
A B
John Smith J. Smith
name name
C
E
D F G
H
friend friend
=
=
A.name ≈{str_sim} B.name => A≈B : 0.8
Probabilistic Soft Logic
Entity Resolution
 References, names,
friendships
 Use rules to express
evidence
- ‘’If two people have similar
names, they are probably the
same’’
- ‘’If two people have similar
friends, they are probably the
same’’
- ‘’If A=B and B=C, then A and C
must also denote the same
person’’
A B
John Smith J. Smith
name name
C
E
D F G
H
friend friend
=
=
{A.friends} ≈{} {B.friends} => A≈B : 0.6
Probabilistic Soft Logic
Entity Resolution
 References, names,
friendships
 Use rules to express
evidence
- ‘’If two people have similar
names, they are probably the
same’’
- ‘’If two people have similar
friends, they are probably the
same’’
- ‘’If A=B and B=C, then A and C
must also denote the same
person’’
A B
John Smith J. Smith
name name
C
E
D F G
H
friend friend
=
=
A≈B ^ B≈C => A≈C : ∞
Probabilistic Soft Logic
Link Prediction
 Entities
- People, Emails
 Attributes
- Words in emails
 Relationships
- communication, work
relationship
 Goal: Identify work
relationships
- Supervisor, subordinate,
colleague








Probabilistic Soft Logic
Link Prediction
 People, emails, words,
communication, relations
 Use rules to express
evidence
- “If email content suggests type X,
it is of type X”
- “If A sends deadline emails to B,
then A is the supervisor of B”
- “If A is the supervisor of B, and A
is the supervisor of C, then B and C
are colleagues”








Probabilistic Soft Logic
Link Prediction
 People, emails, words,
communication, relations
 Use rules to express
evidence
- “If email content suggests type X,
it is of type X”
- “If A sends deadline emails to B,
then A is the supervisor of B”
- “If A is the supervisor of B, and A
is the supervisor of C, then B and C
are colleagues”








complete by
due
Probabilistic Soft Logic
Link Prediction
 People, emails, words,
communication, relations
 Use rules to express
evidence
- “If email content suggests type X,
it is of type X”
- “If A sends deadline emails to B,
then A is the supervisor of B”
- “If A is the supervisor of B, and A
is the supervisor of C, then B and C
are colleagues”








Probabilistic Soft Logic
Link Prediction
 People, emails, words,
communication, relations
 Use rules to express
evidence
- “If email content suggests type X,
it is of type X”
- “If A sends deadline emails to B,
then A is the supervisor of B”
- “If A is the supervisor of B, and A
is the supervisor of C, then B and C
are colleagues”








Probabilistic Soft Logic

Node Labeling
?
Probabilistic Soft Logic

Voter Opinion Modeling
?
$$
Tweet
Status
update
Probabilistic Soft Logic

Voter Opinion Modeling

 
spouse
spouse
colleague
colleague
spouse
friend
friend
friend
friend
Probabilistic Soft Logic

Voter Opinion Modeling

 
vote(A,P) ∧ spouse(B,A)  vote(B,P) : 0.8
vote(A,P) ∧ friend(B,A)  vote(B,P) : 0.3
spouse
spouse
colleague
colleague
spouse
friend
friend
friend
friend
Probabilistic Soft Logic
Multiple Ontologies
18
Organization
Employees
Developer Staff
CustomersService & Products
Hardware IT Services Sales PersonSoftware
work forprovides
buys
helps
interacts
sells todevelops
Company
Employee
Technician Accountant
CustomerProducts & Services
Hardware Consulting SalesSoftware Dev
works fordevelop
buys
helps
interacts with
sells
Probabilistic Soft Logic
Ontology Alignment
19
Organization
Employees
Developer Staff
CustomersService & Products
Hardware IT Services Sales PersonSoftware
work forprovides
buys
helps
interacts
sells todevelops
Company
Employee
Technician Accountant
CustomerProducts & Services
Hardware Consulting SalesSoftware Dev
works fordevelop
buys
helps
interacts with
sells
Probabilistic Soft Logic
Ontology Alignment
20
Organization
Employees
Developer Staff
CustomersService & Products
Hardware IT Services Sales PersonSoftware
work forprovides
buys
helps
interacts
sells todevelops
Company
Employee
Technician Accountant
CustomerProducts & Services
Hardware Consulting SalesSoftware Dev
works fordevelop
buys
helps
interacts with
sells
Match, Don’t Match?
Probabilistic Soft Logic
Ontology Alignment
21
Organization
Employees
Developer Staff
CustomersService & Products
Hardware IT Services Sales PersonSoftware
work forprovides
buys
helps
interacts
sells todevelops
Company
Employee
Technician Accountant
CustomerProducts & Services
Hardware Consulting SalesSoftware Dev
works fordevelop
buys
helps
interacts with
sells
Similar to what extent?
Probabilistic Soft Logic
Logic Foundation
Probabilistic Soft Logic
Rules
 Atoms are real valued
- Interpretation I, atom A: I(A) [0,1]
- We will omit the interpretation and write A [0,1]
 ∨, ∧ are combination functions
- T-norms: [0,1]n →[0,1]
H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn
Ground Atoms
[Broecheler, et al., UAI ‘1
Probabilistic Soft Logic
Rules
 Combination functions (Lukasiewicz T-norm)
 A ∨ B = min(1, A + B)
 A ∧ B = max(0, A + B – 1)
H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn
[Broecheler, et al., UAI ‘1
Probabilistic Soft Logic
Satisfaction
 Establish Satisfaction
- ∨ (H1,..,Hm) ← ∧ (B1,..,Bn)
H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn
H1 ← B1:0.7 ∧ B2:0.8
[Broecheler, et al., UAI ‘1
≥0.5
Probabilistic Soft Logic
Distance to Satisfaction
 Distance to Satisfaction
- max( ∧ (B1,..,Bn) - ∨ (H1,..,Hm) , 0)
H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn
H1:0.7 ← B1:0.7 ∧ B2:0.8
H1:0.2 ← B1:0.7 ∧ B2:0.8
0.0
0.3
[Broecheler, et al., UAI ‘1
Probabilistic Soft Logic
W: H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn
Rule Weights
 Weighted Distance to Satisfaction
- d(R,I) = W  max( ∧ (B1,..,Bn) - ∨ (H1,..,Hm) , 0)
[Broecheler, et al., UAI ‘1
Probabilistic Soft Logic
Let’s Review
 Given a data set and a PSL program, we can
construct a set of ground rules.
 Some of the atoms have fixed truth values
and some have unknown truth values.
 For every assignment of truth values to the
unknown atoms, we get a set of weighted
distances from satisfaction.
 How to decide which is best?
Probabilistic Soft Logic
Probabilistic Foundation
Probabilistic Soft Logic
Probabilistic Model
Probability
density over
interpretation I
Normalization
constant
Set of ground
rules
Distance
exponent
in {1, 2}
Rule’s weight Rule’s distance to satisfaction
Probabilistic Soft Logic
Hinge-loss Markov Random Fields
Subject to arbitrary linear constraints
PSL models ground out to HL-MRFs
Log-concave!
Probabilistic Soft Logic
MPE Inference
Probabilistic Soft Logic
Inferring Most Probable Explanations
Objective:
Convex optimization
Decomposition-based inference
algorithm using the ADMM framework
Probabilistic Soft Logic
Alternating Direction Method of
Multipliers
• We perform inference using the alternating
direction method of multipliers (ADMM)
• Inference with ADMM
is fast, scalable,
and straightforward
• Optimize subproblems
(ground rules) independently, in parallel
• Auxiliary variables enforce consensus
across subproblems
[Bach et al., NIPS ’12]
Probabilistic Soft Logic
Inference Algorithm
Initialize local copies
of variables and
Lagrange multipliers
Begin inference
iterations
Simple updates
solve subproblems
for each potential...
...and each
constraint
Average to update
global variables and
clip to [0,1]
[Bach, et al., Under revie
Probabilistic Soft Logic
ADMM Scalability
0
100
200
300
400
500
600
125000 225000 325000
Timeinseconds
Number of potential functions and constraints
ADMM
Interior-point method
[Bach, et al., NIPS ‘12]
Probabilistic Soft Logic
ADMM Scalability [Bach, et al., Under revie
Probabilistic Soft Logic
Distributed MPE Inference:
MapReduce Implementation
z1z1 zq zqz1 z2z2 zp
sub
problem
local
variable
copy
Mapper
z1 z2z1 z1 z2 zq zq zp
Reducer
update
global
component
load global variable
X as side data
Job Bootstrap
HDFS or
HBase
read/write
subproblem
write new
global variable
read global
variable X
Hui Miao, Xiangyang Liu
Probabilistic Soft Logic
Distributed MPE Inference:
GraphLab Implementation
.
.
.
.
.
.
.
.
.
.
.
.
sub
problem
node
global
variable
component
gather
get z
apply
update y
update x
scatter
notify z
gather
get local z,y
apply
update z
scatter
unless converge
notify X
update i update i+1
Hui Miao, Xiangyang Liu
Probabilistic Soft Logic
Weight Learning
Probabilistic Soft Logic
Weight Learning
Learn from training data
No need to hand-code rule-weights
Various methods:
- approximate maximum likelihood
[Broecheler et al., UAI ’10]
- maximum pseudolikelihood
- large-margin estimation
[Bach, et al., UAI ’13]
Probabilistic Soft Logic
Weight Learning
State-of-the-art supervised-learning
performance on
- Collective classification
- Social-trust prediction
- Preference prediction
- Image reconstruction
[Bach, et al., UAI ’13]
Probabilistic Soft Logic
Foundations Summary
Probabilistic Soft Logic
Foundations Summary
Design probabilistic models using
declarative language
- Syntax based on first-order logic
Inference of most-probable
explanation is fast convex
optimization (ADMM)
Learning algorithms for training rule
weights from labeled data
Probabilistic Soft Logic
PSL Applications
Probabilistic Soft Logic
Document Classification




2
2
2
2
2A
B
A or B?
A or B?
A or B?
 Given a networked collection of documents
 Observe some labels
 Predict remaining labels using
 link direction
 inferred class label
[Bach, et al., UAI ’13]
Probabilistic Soft Logic
Computer Vision Applications
Low-level vision:
- image reconstruction
High-level vision:
- activity recognition in videos
Probabilistic Soft Logic
Image Reconstruction
RMSE reconstruction error
[Bach, et al., UAI ’13]
Probabilistic Soft Logic
Activity Recognition in Videos
crossing waiting queueing walking talking dancing jogging
[London, et al., Under revi
Probabilistic Soft Logic
Results on Activity Recognition
Recall matrix between
different activity types
Accuracy metrics
compared against
baseline features
[London, et al., Under revi
Probabilistic Soft Logic
Social Trust Prediction
Competing models from social
psychology of strong ties
- Structural balance [Granovetter ’73]
- Social status [Cosmides et al., ’92]
Leskovec, Huttenlocher, & Kleinberg,
[2010]: effects of both models present
in online social networks
Probabilistic Soft Logic
Structural Balance vs. Social Status
 Structural balance: strong ties are governed by
tendency toward balanced triads
- e.g., the enemy of my enemy...
 Social status: strong ties indicate unidirectional
respect, “looking up to”, expertise status
- e.g., patient-nurse-doctor, advisor-advisee
Probabilistic Soft Logic
Structural Balance in PSL
[Huang, et al., SBP ‘1
Probabilistic Soft Logic
Structural Balance in PSL
[Huang, et al., SBP ‘1
Probabilistic Soft Logic
Social Status in PSL
[Huang, et al., SBP ‘1
Probabilistic Soft Logic
Social Status in PSL
[Huang, et al., SBP ‘1
Probabilistic Soft Logic
Experiments
 User-user trust ratings from two different
online social networks
 Observe some ratings, predict held-out
 Eight-fold cross validation on two data sets:
- FilmTrust - movie review network,
trust ratings from 1-10
- Epinions - product review network,
trust / distrust ratings {-1, 1}
[Huang, et al., SBP ‘1
Probabilistic Soft Logic
Compared Methods
 TidalTrust: graph-based propagation of trust
- Predict trust via breadth-first search to combine
closest known relationships
 EigenTrust: spectral method for trust
- Predict trustworthiness of nodes based on
eigenvalue centrality of weighted trust network
 Average baseline: predict average trust score for
all relationships
[Huang, et al., SBP ‘1
Probabilistic Soft Logic
FilmTrust Experiment
 Normalize [1,10] rating to [0,1]
 Prune network to largest connected-component
 1,754 users, 2,055 relationships
 Compare mean average error, Spearman’s rank
coefficient, and Kendall-tau distance
* measured on only non-default predictions
• PSL-Status and PSL-Balance disagree on 514 relationships
[Huang, et al., SBP ‘1
Probabilistic Soft Logic
Epinions Experiment
 Snowball sample of 2,000 users from
Epinions data set
 8,675 trust scores normalized to {0,1}
 Measure area under precision-recall
curve for distrust edges (rarer class)
[Huang, et al., SBP ‘1
Probabilistic Soft Logic
Knowledge Graph Identification
 Problem: Collectively reason about noisy,
inter-related fact extractions
 Task: NELL fact-promotion (web-scale IE)
- Millions of extractions, with entity ambiguity
and confidence scores
- Rich ontology: Domain, Range, Inverse,
Mutex, Subsumption
 Goal: Determine which facts to include in
NELL’s knowledge base
Jay Pujara, Hui Miao, William Cohen
Probabilistic Soft Logic
PSL Rules
Candidate Extractions:
- CandRel_CMC(E1,E2,R) => Rel(E1,E2,R)
- CandLbl_Morph(E1,L) => Lbl(E1,L)
Entity Resolution:
- SameEntity(E1,E2) & Lbl(E1,L) => Lbl(E2,L)
- SameEntity(E1,E2) & Rel(E1,X,R) => Rel(E2,X,R)
Ontological Rules:
- Domain(R,L) & Rel(E1,E2,R) => Lbl(E1,L)
- Mut(L1,L2) & Lbl(E,L1) => ~Lbl(E,L2)
Probabilistic Soft Logic
Results
Data: Iteration 165 of NELL
- 1.2M extractions
- 68K ontological constraints
- 14K labeled instances (Jiang, 2012)
- NELL & MLN baselines (Jiang, 2012)
F1 Precision Recall AUC-PR
NELL .673 .801 .580 .765
MLN .836 .837 .836 .899
PSL .841 .773 .922 .882
Probabilistic Soft Logic
Schema Matching
 Correspondences between
source and target schemas
 Matching rules
- ‘’If two concepts are the same,
they should have similar
subconcepts’’
- ‘’If the domains of two attributes
are similar, they may be the
same’’
Organization
Customers
Service &
Products
provides
buys
Company
Customer
Products &
Services
develop
buys
Portfolios
includes
develop(A, B) <= provides(A, B)
Company(A) <= Organization(A)
Products&Services(B) <= Service&Products(B)
Probabilistic Soft Logic
Schema Mapping
 Input: Schema matches
 Output: S-T query pairs
(TGD) for exchange or
mediation
 Mapping rules
- “Every matched attribute should
participate in some TGD.”
- “The solutions to the queries in
TGDs should be similar.”
Organization
Customers
Service &
Products
provides
buys
Company
Customer
Products &
Services
develop
buys
Portfolios
includes
∃Portfolio P, develop(A, P) ∧
includes(P, B) <= provides(A, B) . . .
Alex Memory, Angelika Kimmig
Probabilistic Soft Logic
Learning Latent Groups
 Can we better understand political discourse in social
media by learning groups of similar people?
 Case study: 2012 Venezuelan Presidential Election
 Incumbent: Hugo Chávez
 Challenger: Henrique Capriles
Left: This photograph was produced by Agência Brasil, a public Brazilian news agency. This file is licensed under the Creative
Commons Attribution 3.0 Brazil license. Right: This photograph was produced by Wilfredor. This file is licensed under the Creative
Commons Attribution-Share Alike 3.0 Unported license.
[Bach, et al., Under revi
Probabilistic Soft Logic
Learning Latent Groups
 South American tweets collected from 48-hour
window around election.
 Selected 20 top users
 Candidates, campaigns, media, and most
retweeted
 1,678 regular users interacted with at least one
top user and used at least one hashtag in another
tweet
 Those regular users had 8,784 interactions with
non-top users
[Bach, et al., Under revi
Probabilistic Soft Logic
Learning Latent Groups
[Bach, et al., Under revi
Probabilistic Soft Logic
Learning Latent Groups
[Bach, et al., Under revi
Probabilistic Soft Logic
Learning Latent Groups
[Bach, et al., Under revi
Probabilistic Soft Logic
Learning Latent Groups
[Bach, et al., Under revi
Probabilistic Soft Logic
Other LINQS Projects
 Drug-target interaction: Shobeir Fakhraei
 MOOC user-role prediction and expert identification: Arti Ramesh
 Semantic-role labeling: Arti Ramesh and Alex Memory
 Optimal source selection for data integration: Theo Rekatsinas
 Learning theory in non-I.I.D. settings: Ben London, Bert Huang
Collective stability [London et al, ICML13]
 Scalable graph analysis using GraphLab: Hui Miao, Walaa Eldin
Moustafa
Uncertain graph models: Walaa Eldin Moustafa
Probabilistic Soft Logic
Conclusion
Probabilistic Soft Logic
Conclusion
 PSL:
 expressive framework for structured problems
 scalable
 Much ongoing work, including incorporating hidden
variables and structure learning, distributing
 Very interested in applying it to a variety of
domains, especially in computational social science
 We encourage you to try it!
http://psl.umiacs.umd.edu
Probabilistic Soft Logic
psl.umiacs.umd.edu

More Related Content

What's hot

Noun Paraphrasing Based on a Variety of Contexts
Noun Paraphrasing Based on a Variety of ContextsNoun Paraphrasing Based on a Variety of Contexts
Noun Paraphrasing Based on a Variety of Contexts
Tomoyuki Kajiwara
 
GDG Tbilisi 2017. Word Embedding Libraries Overview: Word2Vec and fastText
GDG Tbilisi 2017. Word Embedding Libraries Overview: Word2Vec and fastTextGDG Tbilisi 2017. Word Embedding Libraries Overview: Word2Vec and fastText
GDG Tbilisi 2017. Word Embedding Libraries Overview: Word2Vec and fastText
rudolf eremyan
 
Allerton
AllertonAllerton
Allerton
mustafa sarac
 
Automatic multiple choice question generation system for
Automatic multiple choice question generation system forAutomatic multiple choice question generation system for
Automatic multiple choice question generation system for
Alexander Decker
 
Text summarization
Text summarization Text summarization
Text summarization
prateek khandelwal
 
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project ReportSouvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
Akshit Arora
 
Exploring Session Context using Distributed Representations of Queries and Re...
Exploring Session Context using Distributed Representations of Queries and Re...Exploring Session Context using Distributed Representations of Queries and Re...
Exploring Session Context using Distributed Representations of Queries and Re...
Bhaskar Mitra
 
Text summarization
Text summarizationText summarization
Text summarization
Akash Karwande
 
Text Summarization
Text SummarizationText Summarization
Text Summarization
Prabhakar Bikkaneti
 
Clustering Algorithm for Gujarati Language
Clustering Algorithm for Gujarati LanguageClustering Algorithm for Gujarati Language
Clustering Algorithm for Gujarati Language
ijsrd.com
 
Vectorland: Brief Notes from Using Text Embeddings for Search
Vectorland: Brief Notes from Using Text Embeddings for SearchVectorland: Brief Notes from Using Text Embeddings for Search
Vectorland: Brief Notes from Using Text Embeddings for Search
Bhaskar Mitra
 
IRJET- A System for Determining Sarcasm in Tweets: Sarcasm Detector
IRJET-  	  A System for Determining Sarcasm in Tweets: Sarcasm DetectorIRJET-  	  A System for Determining Sarcasm in Tweets: Sarcasm Detector
IRJET- A System for Determining Sarcasm in Tweets: Sarcasm Detector
IRJET Journal
 
Introduction to Text Mining
Introduction to Text Mining Introduction to Text Mining
Introduction to Text Mining
Rupak Roy
 
Souvenir's Booth - Algorithm Design and Analysis Project Presentation
Souvenir's Booth - Algorithm Design and Analysis Project PresentationSouvenir's Booth - Algorithm Design and Analysis Project Presentation
Souvenir's Booth - Algorithm Design and Analysis Project Presentation
Akshit Arora
 
Word embedding
Word embedding Word embedding
Word embedding
ShivaniChoudhary74
 
Topic Modeling - NLP
Topic Modeling - NLPTopic Modeling - NLP
Topic Modeling - NLP
Rupak Roy
 
Latent dirichlet allocation_and_topic_modeling
Latent dirichlet allocation_and_topic_modelingLatent dirichlet allocation_and_topic_modeling
Latent dirichlet allocation_and_topic_modeling
ankit_ppt
 

What's hot (20)

Noun Paraphrasing Based on a Variety of Contexts
Noun Paraphrasing Based on a Variety of ContextsNoun Paraphrasing Based on a Variety of Contexts
Noun Paraphrasing Based on a Variety of Contexts
 
GDG Tbilisi 2017. Word Embedding Libraries Overview: Word2Vec and fastText
GDG Tbilisi 2017. Word Embedding Libraries Overview: Word2Vec and fastTextGDG Tbilisi 2017. Word Embedding Libraries Overview: Word2Vec and fastText
GDG Tbilisi 2017. Word Embedding Libraries Overview: Word2Vec and fastText
 
Allerton
AllertonAllerton
Allerton
 
E r diagram
E r diagramE r diagram
E r diagram
 
Automatic multiple choice question generation system for
Automatic multiple choice question generation system forAutomatic multiple choice question generation system for
Automatic multiple choice question generation system for
 
Text summarization
Text summarization Text summarization
Text summarization
 
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project ReportSouvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
 
Exploring Session Context using Distributed Representations of Queries and Re...
Exploring Session Context using Distributed Representations of Queries and Re...Exploring Session Context using Distributed Representations of Queries and Re...
Exploring Session Context using Distributed Representations of Queries and Re...
 
Text summarization
Text summarizationText summarization
Text summarization
 
Text Summarization
Text SummarizationText Summarization
Text Summarization
 
Clustering Algorithm for Gujarati Language
Clustering Algorithm for Gujarati LanguageClustering Algorithm for Gujarati Language
Clustering Algorithm for Gujarati Language
 
Vectorland: Brief Notes from Using Text Embeddings for Search
Vectorland: Brief Notes from Using Text Embeddings for SearchVectorland: Brief Notes from Using Text Embeddings for Search
Vectorland: Brief Notes from Using Text Embeddings for Search
 
P13 corley
P13 corleyP13 corley
P13 corley
 
IRJET- A System for Determining Sarcasm in Tweets: Sarcasm Detector
IRJET-  	  A System for Determining Sarcasm in Tweets: Sarcasm DetectorIRJET-  	  A System for Determining Sarcasm in Tweets: Sarcasm Detector
IRJET- A System for Determining Sarcasm in Tweets: Sarcasm Detector
 
Introduction to Text Mining
Introduction to Text Mining Introduction to Text Mining
Introduction to Text Mining
 
Souvenir's Booth - Algorithm Design and Analysis Project Presentation
Souvenir's Booth - Algorithm Design and Analysis Project PresentationSouvenir's Booth - Algorithm Design and Analysis Project Presentation
Souvenir's Booth - Algorithm Design and Analysis Project Presentation
 
Ijcai 2007 Pedersen
Ijcai 2007 PedersenIjcai 2007 Pedersen
Ijcai 2007 Pedersen
 
Word embedding
Word embedding Word embedding
Word embedding
 
Topic Modeling - NLP
Topic Modeling - NLPTopic Modeling - NLP
Topic Modeling - NLP
 
Latent dirichlet allocation_and_topic_modeling
Latent dirichlet allocation_and_topic_modelingLatent dirichlet allocation_and_topic_modeling
Latent dirichlet allocation_and_topic_modeling
 

Similar to PSL Overview

Lise Getoor, Professor, Computer Science, UC Santa Cruz at MLconf SF
Lise Getoor, Professor, Computer Science, UC Santa Cruz at MLconf SFLise Getoor, Professor, Computer Science, UC Santa Cruz at MLconf SF
Lise Getoor, Professor, Computer Science, UC Santa Cruz at MLconf SF
MLconf
 
Designing, Visualizing and Understanding Deep Neural Networks
Designing, Visualizing and Understanding Deep Neural NetworksDesigning, Visualizing and Understanding Deep Neural Networks
Designing, Visualizing and Understanding Deep Neural Networks
connectbeubax
 
A Distributed Architecture System for Recognizing Textual Entailment
A Distributed Architecture System for Recognizing Textual EntailmentA Distributed Architecture System for Recognizing Textual Entailment
A Distributed Architecture System for Recognizing Textual EntailmentFaculty of Computer Science
 
Chat bot using text similarity approach
Chat bot using text similarity approachChat bot using text similarity approach
Chat bot using text similarity approach
dinesh_joshy
 
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdfGUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
ChrisRomany1
 
NLP in Practice - Part II
NLP in Practice - Part IINLP in Practice - Part II
NLP in Practice - Part II
Delip Rao
 
Contextual Ontology Alignment - ESWC 2011
Contextual Ontology Alignment - ESWC 2011Contextual Ontology Alignment - ESWC 2011
Contextual Ontology Alignment - ESWC 2011
Mariana Damova, Ph.D
 
Frontiers of Computational Journalism week 1 - Introduction and High Dimensio...
Frontiers of Computational Journalism week 1 - Introduction and High Dimensio...Frontiers of Computational Journalism week 1 - Introduction and High Dimensio...
Frontiers of Computational Journalism week 1 - Introduction and High Dimensio...
Jonathan Stray
 
A Distributional Semantics Approach for Selective Reasoning on Commonsense Gr...
A Distributional Semantics Approach for Selective Reasoning on Commonsense Gr...A Distributional Semantics Approach for Selective Reasoning on Commonsense Gr...
A Distributional Semantics Approach for Selective Reasoning on Commonsense Gr...
Andre Freitas
 
Jarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicJarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicPalGov
 
A toy model of human cognition: Utilizing fluctuation in uncertain and non-s...
A toy model of  human cognition: Utilizing fluctuation in uncertain and non-s...A toy model of  human cognition: Utilizing fluctuation in uncertain and non-s...
A toy model of human cognition: Utilizing fluctuation in uncertain and non-s...
Tatsuji Takahashi
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
Pranav Gupta
 
probabilistic ranking
probabilistic rankingprobabilistic ranking
probabilistic rankingFELIX75
 
ch03-2018.02.02.pptx
ch03-2018.02.02.pptxch03-2018.02.02.pptx
ch03-2018.02.02.pptx
SYAMDAVULURI
 
Logic 2
Logic 2Logic 2
4 musatov
4 musatov4 musatov
4 musatov
Yandex
 
2006-05-25__coi-semdis
2006-05-25__coi-semdis2006-05-25__coi-semdis
2006-05-25__coi-semdiswebuploader
 
A Primer on Entity Resolution
A Primer on Entity ResolutionA Primer on Entity Resolution
A Primer on Entity Resolution
Benjamin Bengfort
 

Similar to PSL Overview (20)

Lise Getoor, Professor, Computer Science, UC Santa Cruz at MLconf SF
Lise Getoor, Professor, Computer Science, UC Santa Cruz at MLconf SFLise Getoor, Professor, Computer Science, UC Santa Cruz at MLconf SF
Lise Getoor, Professor, Computer Science, UC Santa Cruz at MLconf SF
 
Designing, Visualizing and Understanding Deep Neural Networks
Designing, Visualizing and Understanding Deep Neural NetworksDesigning, Visualizing and Understanding Deep Neural Networks
Designing, Visualizing and Understanding Deep Neural Networks
 
A Distributed Architecture System for Recognizing Textual Entailment
A Distributed Architecture System for Recognizing Textual EntailmentA Distributed Architecture System for Recognizing Textual Entailment
A Distributed Architecture System for Recognizing Textual Entailment
 
Chat bot using text similarity approach
Chat bot using text similarity approachChat bot using text similarity approach
Chat bot using text similarity approach
 
01bkb04p.ppt
01bkb04p.ppt01bkb04p.ppt
01bkb04p.ppt
 
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdfGUC_2744_59_29307_2023-02-22T14_07_02.pdf
GUC_2744_59_29307_2023-02-22T14_07_02.pdf
 
NLP in Practice - Part II
NLP in Practice - Part IINLP in Practice - Part II
NLP in Practice - Part II
 
Contextual Ontology Alignment - ESWC 2011
Contextual Ontology Alignment - ESWC 2011Contextual Ontology Alignment - ESWC 2011
Contextual Ontology Alignment - ESWC 2011
 
Frontiers of Computational Journalism week 1 - Introduction and High Dimensio...
Frontiers of Computational Journalism week 1 - Introduction and High Dimensio...Frontiers of Computational Journalism week 1 - Introduction and High Dimensio...
Frontiers of Computational Journalism week 1 - Introduction and High Dimensio...
 
A Distributional Semantics Approach for Selective Reasoning on Commonsense Gr...
A Distributional Semantics Approach for Selective Reasoning on Commonsense Gr...A Distributional Semantics Approach for Selective Reasoning on Commonsense Gr...
A Distributional Semantics Approach for Selective Reasoning on Commonsense Gr...
 
Jarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicJarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logic
 
A toy model of human cognition: Utilizing fluctuation in uncertain and non-s...
A toy model of  human cognition: Utilizing fluctuation in uncertain and non-s...A toy model of  human cognition: Utilizing fluctuation in uncertain and non-s...
A toy model of human cognition: Utilizing fluctuation in uncertain and non-s...
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 
probabilistic ranking
probabilistic rankingprobabilistic ranking
probabilistic ranking
 
ch03-2018.02.02.pptx
ch03-2018.02.02.pptxch03-2018.02.02.pptx
ch03-2018.02.02.pptx
 
Logic 2
Logic 2Logic 2
Logic 2
 
4 musatov
4 musatov4 musatov
4 musatov
 
2006-05-25__coi-semdis
2006-05-25__coi-semdis2006-05-25__coi-semdis
2006-05-25__coi-semdis
 
A Primer on Entity Resolution
A Primer on Entity ResolutionA Primer on Entity Resolution
A Primer on Entity Resolution
 
Fusing semantic data
Fusing semantic dataFusing semantic data
Fusing semantic data
 

Recently uploaded

Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 

Recently uploaded (20)

Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 

PSL Overview

  • 1. Probabilistic Soft Logic: An Overview Lise Getoor, Stephen Bach, Bert Huang University of Maryland, College Park http://psl.umiacs.umd.edu Additional Contributors: Matthias Broecheler, Shobeir Fakhraei, Angelika Kimmig, London, Alex Memory, Hui Miao, Lily Mihalkova, Eric Norris, Jay Pujara, Theo Rekatsinas, Arti Rames
  • 2. Probabilistic Soft Logic (PSL) Declarative language based on logics to express collective probabilistic inference problems  Predicate = relationship or property  Atom = (continuous) random variable  Rule = capture dependency or constraint  Set = define aggregates PSL Program = Rules + Input DB
  • 3. Probabilistic Soft Logic (PSL) Declarative language based on logics to express collective probabilistic inference problems  Predicate = relationship or property  Atom = (continuous) random variable  Rule = capture dependency or constraint  Set = define aggregates PSL Program = Rules + Input DB
  • 4. Probabilistic Soft Logic Entity Resolution  Entities - People References  Attributes - Name  Relationships - Friendship  Goal: Identify references that denote the same person A B John Smith J. Smith name name C E D F G H friend friend = =
  • 5. Probabilistic Soft Logic Entity Resolution  References, names, friendships  Use rules to express evidence - ‘’If two people have similar names, they are probably the same’’ - ‘’If two people have similar friends, they are probably the same’’ - ‘’If A=B and B=C, then A and C must also denote the same person’’ A B John Smith J. Smith name name C E D F G H friend friend = =
  • 6. Probabilistic Soft Logic Entity Resolution  References, names, friendships  Use rules to express evidence - ‘’If two people have similar names, they are probably the same’’ - ‘’If two people have similar friends, they are probably the same’’ - ‘’If A=B and B=C, then A and C must also denote the same person’’ A B John Smith J. Smith name name C E D F G H friend friend = = A.name ≈{str_sim} B.name => A≈B : 0.8
  • 7. Probabilistic Soft Logic Entity Resolution  References, names, friendships  Use rules to express evidence - ‘’If two people have similar names, they are probably the same’’ - ‘’If two people have similar friends, they are probably the same’’ - ‘’If A=B and B=C, then A and C must also denote the same person’’ A B John Smith J. Smith name name C E D F G H friend friend = = {A.friends} ≈{} {B.friends} => A≈B : 0.6
  • 8. Probabilistic Soft Logic Entity Resolution  References, names, friendships  Use rules to express evidence - ‘’If two people have similar names, they are probably the same’’ - ‘’If two people have similar friends, they are probably the same’’ - ‘’If A=B and B=C, then A and C must also denote the same person’’ A B John Smith J. Smith name name C E D F G H friend friend = = A≈B ^ B≈C => A≈C : ∞
  • 9. Probabilistic Soft Logic Link Prediction  Entities - People, Emails  Attributes - Words in emails  Relationships - communication, work relationship  Goal: Identify work relationships - Supervisor, subordinate, colleague        
  • 10. Probabilistic Soft Logic Link Prediction  People, emails, words, communication, relations  Use rules to express evidence - “If email content suggests type X, it is of type X” - “If A sends deadline emails to B, then A is the supervisor of B” - “If A is the supervisor of B, and A is the supervisor of C, then B and C are colleagues”        
  • 11. Probabilistic Soft Logic Link Prediction  People, emails, words, communication, relations  Use rules to express evidence - “If email content suggests type X, it is of type X” - “If A sends deadline emails to B, then A is the supervisor of B” - “If A is the supervisor of B, and A is the supervisor of C, then B and C are colleagues”         complete by due
  • 12. Probabilistic Soft Logic Link Prediction  People, emails, words, communication, relations  Use rules to express evidence - “If email content suggests type X, it is of type X” - “If A sends deadline emails to B, then A is the supervisor of B” - “If A is the supervisor of B, and A is the supervisor of C, then B and C are colleagues”        
  • 13. Probabilistic Soft Logic Link Prediction  People, emails, words, communication, relations  Use rules to express evidence - “If email content suggests type X, it is of type X” - “If A sends deadline emails to B, then A is the supervisor of B” - “If A is the supervisor of B, and A is the supervisor of C, then B and C are colleagues”        
  • 15. Probabilistic Soft Logic  Voter Opinion Modeling ? $$ Tweet Status update
  • 16. Probabilistic Soft Logic  Voter Opinion Modeling    spouse spouse colleague colleague spouse friend friend friend friend
  • 17. Probabilistic Soft Logic  Voter Opinion Modeling    vote(A,P) ∧ spouse(B,A)  vote(B,P) : 0.8 vote(A,P) ∧ friend(B,A)  vote(B,P) : 0.3 spouse spouse colleague colleague spouse friend friend friend friend
  • 18. Probabilistic Soft Logic Multiple Ontologies 18 Organization Employees Developer Staff CustomersService & Products Hardware IT Services Sales PersonSoftware work forprovides buys helps interacts sells todevelops Company Employee Technician Accountant CustomerProducts & Services Hardware Consulting SalesSoftware Dev works fordevelop buys helps interacts with sells
  • 19. Probabilistic Soft Logic Ontology Alignment 19 Organization Employees Developer Staff CustomersService & Products Hardware IT Services Sales PersonSoftware work forprovides buys helps interacts sells todevelops Company Employee Technician Accountant CustomerProducts & Services Hardware Consulting SalesSoftware Dev works fordevelop buys helps interacts with sells
  • 20. Probabilistic Soft Logic Ontology Alignment 20 Organization Employees Developer Staff CustomersService & Products Hardware IT Services Sales PersonSoftware work forprovides buys helps interacts sells todevelops Company Employee Technician Accountant CustomerProducts & Services Hardware Consulting SalesSoftware Dev works fordevelop buys helps interacts with sells Match, Don’t Match?
  • 21. Probabilistic Soft Logic Ontology Alignment 21 Organization Employees Developer Staff CustomersService & Products Hardware IT Services Sales PersonSoftware work forprovides buys helps interacts sells todevelops Company Employee Technician Accountant CustomerProducts & Services Hardware Consulting SalesSoftware Dev works fordevelop buys helps interacts with sells Similar to what extent?
  • 23. Probabilistic Soft Logic Rules  Atoms are real valued - Interpretation I, atom A: I(A) [0,1] - We will omit the interpretation and write A [0,1]  ∨, ∧ are combination functions - T-norms: [0,1]n →[0,1] H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn Ground Atoms [Broecheler, et al., UAI ‘1
  • 24. Probabilistic Soft Logic Rules  Combination functions (Lukasiewicz T-norm)  A ∨ B = min(1, A + B)  A ∧ B = max(0, A + B – 1) H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn [Broecheler, et al., UAI ‘1
  • 25. Probabilistic Soft Logic Satisfaction  Establish Satisfaction - ∨ (H1,..,Hm) ← ∧ (B1,..,Bn) H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn H1 ← B1:0.7 ∧ B2:0.8 [Broecheler, et al., UAI ‘1 ≥0.5
  • 26. Probabilistic Soft Logic Distance to Satisfaction  Distance to Satisfaction - max( ∧ (B1,..,Bn) - ∨ (H1,..,Hm) , 0) H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn H1:0.7 ← B1:0.7 ∧ B2:0.8 H1:0.2 ← B1:0.7 ∧ B2:0.8 0.0 0.3 [Broecheler, et al., UAI ‘1
  • 27. Probabilistic Soft Logic W: H1 ∨... Hm ← B1 ∧ B2 ∧ ... Bn Rule Weights  Weighted Distance to Satisfaction - d(R,I) = W  max( ∧ (B1,..,Bn) - ∨ (H1,..,Hm) , 0) [Broecheler, et al., UAI ‘1
  • 28. Probabilistic Soft Logic Let’s Review  Given a data set and a PSL program, we can construct a set of ground rules.  Some of the atoms have fixed truth values and some have unknown truth values.  For every assignment of truth values to the unknown atoms, we get a set of weighted distances from satisfaction.  How to decide which is best?
  • 30. Probabilistic Soft Logic Probabilistic Model Probability density over interpretation I Normalization constant Set of ground rules Distance exponent in {1, 2} Rule’s weight Rule’s distance to satisfaction
  • 31. Probabilistic Soft Logic Hinge-loss Markov Random Fields Subject to arbitrary linear constraints PSL models ground out to HL-MRFs Log-concave!
  • 33. Probabilistic Soft Logic Inferring Most Probable Explanations Objective: Convex optimization Decomposition-based inference algorithm using the ADMM framework
  • 34. Probabilistic Soft Logic Alternating Direction Method of Multipliers • We perform inference using the alternating direction method of multipliers (ADMM) • Inference with ADMM is fast, scalable, and straightforward • Optimize subproblems (ground rules) independently, in parallel • Auxiliary variables enforce consensus across subproblems [Bach et al., NIPS ’12]
  • 35. Probabilistic Soft Logic Inference Algorithm Initialize local copies of variables and Lagrange multipliers Begin inference iterations Simple updates solve subproblems for each potential... ...and each constraint Average to update global variables and clip to [0,1] [Bach, et al., Under revie
  • 36. Probabilistic Soft Logic ADMM Scalability 0 100 200 300 400 500 600 125000 225000 325000 Timeinseconds Number of potential functions and constraints ADMM Interior-point method [Bach, et al., NIPS ‘12]
  • 37. Probabilistic Soft Logic ADMM Scalability [Bach, et al., Under revie
  • 38. Probabilistic Soft Logic Distributed MPE Inference: MapReduce Implementation z1z1 zq zqz1 z2z2 zp sub problem local variable copy Mapper z1 z2z1 z1 z2 zq zq zp Reducer update global component load global variable X as side data Job Bootstrap HDFS or HBase read/write subproblem write new global variable read global variable X Hui Miao, Xiangyang Liu
  • 39. Probabilistic Soft Logic Distributed MPE Inference: GraphLab Implementation . . . . . . . . . . . . sub problem node global variable component gather get z apply update y update x scatter notify z gather get local z,y apply update z scatter unless converge notify X update i update i+1 Hui Miao, Xiangyang Liu
  • 41. Probabilistic Soft Logic Weight Learning Learn from training data No need to hand-code rule-weights Various methods: - approximate maximum likelihood [Broecheler et al., UAI ’10] - maximum pseudolikelihood - large-margin estimation [Bach, et al., UAI ’13]
  • 42. Probabilistic Soft Logic Weight Learning State-of-the-art supervised-learning performance on - Collective classification - Social-trust prediction - Preference prediction - Image reconstruction [Bach, et al., UAI ’13]
  • 44. Probabilistic Soft Logic Foundations Summary Design probabilistic models using declarative language - Syntax based on first-order logic Inference of most-probable explanation is fast convex optimization (ADMM) Learning algorithms for training rule weights from labeled data
  • 46. Probabilistic Soft Logic Document Classification     2 2 2 2 2A B A or B? A or B? A or B?  Given a networked collection of documents  Observe some labels  Predict remaining labels using  link direction  inferred class label [Bach, et al., UAI ’13]
  • 47. Probabilistic Soft Logic Computer Vision Applications Low-level vision: - image reconstruction High-level vision: - activity recognition in videos
  • 48. Probabilistic Soft Logic Image Reconstruction RMSE reconstruction error [Bach, et al., UAI ’13]
  • 49. Probabilistic Soft Logic Activity Recognition in Videos crossing waiting queueing walking talking dancing jogging [London, et al., Under revi
  • 50. Probabilistic Soft Logic Results on Activity Recognition Recall matrix between different activity types Accuracy metrics compared against baseline features [London, et al., Under revi
  • 51. Probabilistic Soft Logic Social Trust Prediction Competing models from social psychology of strong ties - Structural balance [Granovetter ’73] - Social status [Cosmides et al., ’92] Leskovec, Huttenlocher, & Kleinberg, [2010]: effects of both models present in online social networks
  • 52. Probabilistic Soft Logic Structural Balance vs. Social Status  Structural balance: strong ties are governed by tendency toward balanced triads - e.g., the enemy of my enemy...  Social status: strong ties indicate unidirectional respect, “looking up to”, expertise status - e.g., patient-nurse-doctor, advisor-advisee
  • 53. Probabilistic Soft Logic Structural Balance in PSL [Huang, et al., SBP ‘1
  • 54. Probabilistic Soft Logic Structural Balance in PSL [Huang, et al., SBP ‘1
  • 55. Probabilistic Soft Logic Social Status in PSL [Huang, et al., SBP ‘1
  • 56. Probabilistic Soft Logic Social Status in PSL [Huang, et al., SBP ‘1
  • 57. Probabilistic Soft Logic Experiments  User-user trust ratings from two different online social networks  Observe some ratings, predict held-out  Eight-fold cross validation on two data sets: - FilmTrust - movie review network, trust ratings from 1-10 - Epinions - product review network, trust / distrust ratings {-1, 1} [Huang, et al., SBP ‘1
  • 58. Probabilistic Soft Logic Compared Methods  TidalTrust: graph-based propagation of trust - Predict trust via breadth-first search to combine closest known relationships  EigenTrust: spectral method for trust - Predict trustworthiness of nodes based on eigenvalue centrality of weighted trust network  Average baseline: predict average trust score for all relationships [Huang, et al., SBP ‘1
  • 59. Probabilistic Soft Logic FilmTrust Experiment  Normalize [1,10] rating to [0,1]  Prune network to largest connected-component  1,754 users, 2,055 relationships  Compare mean average error, Spearman’s rank coefficient, and Kendall-tau distance * measured on only non-default predictions • PSL-Status and PSL-Balance disagree on 514 relationships [Huang, et al., SBP ‘1
  • 60. Probabilistic Soft Logic Epinions Experiment  Snowball sample of 2,000 users from Epinions data set  8,675 trust scores normalized to {0,1}  Measure area under precision-recall curve for distrust edges (rarer class) [Huang, et al., SBP ‘1
  • 61. Probabilistic Soft Logic Knowledge Graph Identification  Problem: Collectively reason about noisy, inter-related fact extractions  Task: NELL fact-promotion (web-scale IE) - Millions of extractions, with entity ambiguity and confidence scores - Rich ontology: Domain, Range, Inverse, Mutex, Subsumption  Goal: Determine which facts to include in NELL’s knowledge base Jay Pujara, Hui Miao, William Cohen
  • 62. Probabilistic Soft Logic PSL Rules Candidate Extractions: - CandRel_CMC(E1,E2,R) => Rel(E1,E2,R) - CandLbl_Morph(E1,L) => Lbl(E1,L) Entity Resolution: - SameEntity(E1,E2) & Lbl(E1,L) => Lbl(E2,L) - SameEntity(E1,E2) & Rel(E1,X,R) => Rel(E2,X,R) Ontological Rules: - Domain(R,L) & Rel(E1,E2,R) => Lbl(E1,L) - Mut(L1,L2) & Lbl(E,L1) => ~Lbl(E,L2)
  • 63. Probabilistic Soft Logic Results Data: Iteration 165 of NELL - 1.2M extractions - 68K ontological constraints - 14K labeled instances (Jiang, 2012) - NELL & MLN baselines (Jiang, 2012) F1 Precision Recall AUC-PR NELL .673 .801 .580 .765 MLN .836 .837 .836 .899 PSL .841 .773 .922 .882
  • 64. Probabilistic Soft Logic Schema Matching  Correspondences between source and target schemas  Matching rules - ‘’If two concepts are the same, they should have similar subconcepts’’ - ‘’If the domains of two attributes are similar, they may be the same’’ Organization Customers Service & Products provides buys Company Customer Products & Services develop buys Portfolios includes develop(A, B) <= provides(A, B) Company(A) <= Organization(A) Products&Services(B) <= Service&Products(B)
  • 65. Probabilistic Soft Logic Schema Mapping  Input: Schema matches  Output: S-T query pairs (TGD) for exchange or mediation  Mapping rules - “Every matched attribute should participate in some TGD.” - “The solutions to the queries in TGDs should be similar.” Organization Customers Service & Products provides buys Company Customer Products & Services develop buys Portfolios includes ∃Portfolio P, develop(A, P) ∧ includes(P, B) <= provides(A, B) . . . Alex Memory, Angelika Kimmig
  • 66. Probabilistic Soft Logic Learning Latent Groups  Can we better understand political discourse in social media by learning groups of similar people?  Case study: 2012 Venezuelan Presidential Election  Incumbent: Hugo Chávez  Challenger: Henrique Capriles Left: This photograph was produced by Agência Brasil, a public Brazilian news agency. This file is licensed under the Creative Commons Attribution 3.0 Brazil license. Right: This photograph was produced by Wilfredor. This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. [Bach, et al., Under revi
  • 67. Probabilistic Soft Logic Learning Latent Groups  South American tweets collected from 48-hour window around election.  Selected 20 top users  Candidates, campaigns, media, and most retweeted  1,678 regular users interacted with at least one top user and used at least one hashtag in another tweet  Those regular users had 8,784 interactions with non-top users [Bach, et al., Under revi
  • 68. Probabilistic Soft Logic Learning Latent Groups [Bach, et al., Under revi
  • 69. Probabilistic Soft Logic Learning Latent Groups [Bach, et al., Under revi
  • 70. Probabilistic Soft Logic Learning Latent Groups [Bach, et al., Under revi
  • 71. Probabilistic Soft Logic Learning Latent Groups [Bach, et al., Under revi
  • 72. Probabilistic Soft Logic Other LINQS Projects  Drug-target interaction: Shobeir Fakhraei  MOOC user-role prediction and expert identification: Arti Ramesh  Semantic-role labeling: Arti Ramesh and Alex Memory  Optimal source selection for data integration: Theo Rekatsinas  Learning theory in non-I.I.D. settings: Ben London, Bert Huang Collective stability [London et al, ICML13]  Scalable graph analysis using GraphLab: Hui Miao, Walaa Eldin Moustafa Uncertain graph models: Walaa Eldin Moustafa
  • 74. Probabilistic Soft Logic Conclusion  PSL:  expressive framework for structured problems  scalable  Much ongoing work, including incorporating hidden variables and structure learning, distributing  Very interested in applying it to a variety of domains, especially in computational social science  We encourage you to try it! http://psl.umiacs.umd.edu