markov logic networks: exploring their application to social network analysis parag singla dept. of...

39
Markov Logic Networks: Exploring their Application to Social Network Analysis Parag Singla Dept. of Computer Science and Engineering Indian Institute of Technology, Delhi Joint work with people at University of Washington and IIT Delhi

Upload: noelle-baskett

Post on 16-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Markov Logic Networks: Exploring their Application to Social Network Analysis

Parag SinglaDept. of Computer Science and Engineering

Indian Institute of Technology, Delhi

Joint work with people at University of Washington and IIT Delhi

Overview

Motivation Markov logic Application to Social Network Analysis Opportunities/Challenges

Social Network and Smoking Behavior

Smoking Cancer

Social Network and Smoking Behavior

Smoking leads to Cancer

Social Network and Smoking Behavior

Smoking leads to Cancer

Friendship Similar Smoking Habits

Social Network and Smoking Behavior

Smoking leads to Cancer

Friendship leads to Similar Smoking Habits

Examples

Web search Information extraction Natural language processing Perception Medical diagnosis Computational biology Social networks Ubiquitous computing Etc.

Examples

Web search Information extraction Natural language processing Perception Medical diagnosis Computational biology Social networks Ubiquitous computing Etc.

Motivation Real World

Entities and Relationships Uncertain Behavior

Motivation

Markov Logic=

First Order Logic+

Markov Networks

Real World Entities and Relationships Uncertain Behavior

Overview

Motivation Markov logic Application to Social Network Analysis Future Directions

Markov Logic[Richardson and Domingos 06]

A logical KB : A set of hard constraints How can we make them soft constraints Give each formula a weight

(Higher weight Stronger constraint)

satisfiesit formulas of weightsexpP(world)

Example: Friends & Smokers

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

Example: Friends & Smokers

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

1.1

5.1

Example: Friends & Smokers

Two constants: Anil (A) and Bunty (B)

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

1.1

5.1

Example: Friends & Smokers

Cancer(A)

Smokes(A) Smokes(B)

Cancer(B)

Two constants: Anil (A) and Bunty (B)

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

1.1

5.1

Example: Friends & Smokers

Cancer(A)

Smokes(A)Friends(A,A)

Friends(B,A)

Smokes(B)

Friends(A,B)

Cancer(B)

Friends(B,B)

Two constants: Anil (A) and Bunty (B)

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

1.1

5.1

Example: Friends & Smokers

Cancer(A)

Smokes(A)Friends(A,A)

Friends(B,A)

Smokes(B)

Friends(A,B)

Cancer(B)

Friends(B,B)

Two constants: Anil (A) and Bunty (B)

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

1.1

5.1

Example: Friends & Smokers

Cancer(A)

Smokes(A)Friends(A,A)

Friends(B,A)

Smokes(B)

Friends(A,B)

Cancer(B)

Friends(B,B)

Two constants: Anil (A) and Bunty (B)

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

1.1

5.1

Example: Friends & Smokers

Cancer(A)

Smokes(A)Friends(A,A)

Friends(B,A)

Smokes(B)

Friends(A,B)

Cancer(B)

Friends(B,B)

Two constants: Anil (A) and Bunty (B)

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

1.1

5.1

State of the World {0,1} Assignment to the nodes

Probability Distribution

Weight of formula i No. of true groundings of formula i in x

formulas MLN

)(exp1

)(i

ii xnwZ

xP

Computing Probabilities: Marginal Inference

Cancer(A)

Smokes(A)?Friends(A,A)

Friends(B,A)

Smokes(B)?

Friends(A,B)

Cancer(B)?

Friends(B,B)

What is the probability Smokes(B) = 1?

Inference: Belief Propagation

Variables Clauses

Smokes(Anil)Smokes(Anil) Friends(Anil, Bunty)

Smokes(Bunty)

Belief Propagation

Variables Clauses

}\{)(

)()(fxnh

xhfx xx

}{~ }{\)(

)( )()(x xfny

fyzwf

xf yex

Lifted Belief Propagation[Singla and Domingos, 2008]

}\{)(

)()(fxnh

xhfx xx

}{~ }{\)(

)( )()(x xfny

fywf

xf yex z

, :Functions of edge counts

Variables Clauses

Learning Parameters [Lowd and Domingos 07]

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

?w

?w

2

1

Learning Parameters [Lowd and Domingos 07]

)()(),(,

)()(

ySmokesxSmokesyxFriendsyx

xCancerxSmokesx

?w

?w

2

1

Smokes

Smokes(Anil)

Smokes(Bunty)

Closed World Assumption: Anything not in the database is assumed false.

Three constants: Anil, Bunty, Priya

Cancer

Cancer(Anil)

Cancer(Bunty)

Friends

Friends(Anil, Bunty)

Friends(Bunty, Anil)

Friends(Anil, Priya)

Friends(Priya, Anil)

Overview

Motivation Markov logic Application to Social Network Analysis Observations/Challenges

Large Social Network Analysis

Twitter Datasets [Ruhela et al. ANTS 2011]

SNAP Twitter7 : 196 Million Tweets9.8 Million Users

Kaist : 1.4 Billion Social Relations

Twitter : 7.4 Million User Locations

Yahoo! PlaceFinder

: 4 Million user location mapped to Latitude-Longitude

OpenCalais : Semantic categorization of 114 Million Tweets into 4135 different topics

Who “Tweets” on what?

Sachin is my favorite batsman!

He’s going to do get the century!

Century of Centuries! Wow!

Go Sachin go!

Cricket tonight!

Who “Tweets” on what?

Sachin is my favorite batsman!

He’s going to do get the century!

Century of Centuries! Wow!

Go Sachin go!

I am going to watch the match today!

Cricket tonight!

Who “Tweets” on what?

Sachin is my favorite batsman!

He’s going to do get the century!

Century of Centuries! Wow!

Go Sachin go!

I am going to watch the match today!

Cricket tonight!

AttributionProblem

Features: Own Past Behavior

tweets(uid,topic,+t) => tweet_T(uid,topic)

Anil Anil

T = 51t = 1…50

Time

Features: Followers’ Past Behavior

tweets(uid1,topic,+t) ^ follows(uid2,uid1) => tweets_T(uid2,topic)

Anil

Bunty

Priya

Anil

T = 51t = 1…50

Time

Features: Followers’ Current Behavior

Anil

Bunty

Priya

Anil

T = 51t = 1…50

Time

Bunty

Priya

tweets_T(uid1,topic) ^ follows(uid2,uid1) => tweets_T(uid2,topic)

Overview

Motivation Markov logic Application to Social Network Analysis Challenges/Opportunities

Challenges/Opportunities

Scaling up – extremely large-sized networks Lifted Belief Propagation

Cluster “approximately similar” nodes Micro/Macro Properties

Can we abstract out micro details? Learning

Time varying data Incremental (online) learning

Other Research Directions

Lifted Inference - Graph-Cut, SAT Learning with partial observability Video Activity Recognition