stanford universitysnap.stanford.edu/na09/09-cascades-annot.pdf · stanford university ......

32
CS 322: (Social and Information) Network Analysis Jure Leskovec Stanford University

Upload: others

Post on 27-Sep-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

CS 322: (Social and Information) Network AnalysisJure LeskovecStanford University

Page 2: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Homework 2 is out Homework 2 is out It is due in a week  27 October in class 27 October in class

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 3: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 4: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 5: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

cc1

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 6: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

One of the networks is a spread of a disease One of the networks is a spread of a disease, the other one is product recommendations

Which is which? Which is which? 

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 7: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

A fundamental process in social networks:A fundamental process in social networks: Behaviors that cascade from node to node like an epidemicN i i f d b l d News, opinions, rumors, fads, urban legends, …

Word‐of‐mouth effects in marketing: rise of new websites, free web based services

Virus, disease propagation Change in social priorities: smoking, recyclingS t ti t i diff i bl Saturation news coverage: topic diffusion among bloggers

Internet‐energized political campaigns Cascading failures in financial marketsg Localized effects: riots, people walking out of a lecture

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 8: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Experimental studies of diffusion:Experimental studies of diffusion: Spread of new agricultural practices [Ryan‐Gross 1943] Adoption of a new hybrid‐corn between the 259 farmers in Iowa Classical study of diffusion Interpersonal network plays important role in adoption              p p y p p Diffusion is a social process

Spread of new medical practices [Coleman et al. 1966] Studied the adoption of a new drug between doctors in Illinois Studied the adoption of a new drug between doctors in Illinois Clinical studies and scientific evaluations were not sufficient to convince the doctorsIt th i l f th t l d t d ti It was the social power of peers that led to adoption

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 9: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Diffusion is a social process10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 10: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Senders and followers of recommendations Senders and followers of recommendations receive discounts on products

10% credit 10% off

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 11: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Diffusion has many (very interesting) Diffusion has many  (very interesting) flavors, e.g.: The contagion of obesity [Christakis et al 2007] The contagion of obesity [Christakis et al. 2007] If you have an overweight friend your chances of becoming obese increases by 57%g y

Psychological effects of others’ opinions, e.g.: Which line is closest in length to A? [Asch 1958] A B

C DC D

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 12: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Basis for models:  Probability of adopting new behavior depends on the number of friends who have adopted [Bass ‘69, Granovetter ‘78, Shelling ’78]

Wh ’ h d d ? What’s the dependence?

on on

 of a

doptio

 of a

doptio

k = number of friends adopting

Prob

. o

k = number of friends adopting

Prob

. o

k = number of friends adopting k = number of friends adopting

Diminishing returns? Critical mass?10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 13: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

on on

 of a

doptio

 of a

doptio

k = number of friends adopting

Prob

. o

k = number of friends adopting

Prob

. o

k   number of friends adopting k   number of friends adopting

Diminishing returns? Critical mass?

Key issue: qualitative shape of diffusion curves Diminishing returns? Critical mass? Distinction has consequences for models of diffusion Distinction has consequences for models of diffusion at population level

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 14: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Probabilistic models: Probabilistic models: “catch” a disease with some prob. From neighbors in the networkin the network

Decision based models: Adopt new behaviors if k of your friends do Adopt new behaviors if k of your friends do

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 15: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Two flavors two types of questions: Two flavors, two types of questions: A) Probabilistic models: Virus Propagation: SIS: Susceptible – Infective – Susceptible (e.g., flu)p p ( g , ) SIR: Susceptible – Infective – Recovered (e.g., chicken‐pox) Question Will the virus take over the network? Question: Will the virus take over the network? B) Decision based models: Diffusion of Innovation Independent contagion modelIndependent contagion model Threshold model Questions:  Finding influential nodes Detecting cascades

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 16: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Model where everyone sees everyone else’s Model where everyone sees everyone else s behavior

Collective action [Granovetter ‘78] Collective action [Granovetter,  78] Example: Neighborhoods in cities changing ethnic composition Neighborhoods in cities changing ethnic composition Riots, protests, strikes People leaving a lecture that runs overPeople leaving a lecture that runs over

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 17: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

n people – everyone can observe all actions n people – everyone can observe all actions

Each person i has threshold t : Each person i has threshold ti:  Node i will take part in the behavior iff at least tiother people are already doing it:other people are already doing it: Small ti: early adopter Large ti: late adopterg i p

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 18: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Easy to simulate:Easy to simulate: Given t1, …, tn F(x) = fraction of people whose threshold  x( ) p p s(t) = fraction of participants at time t

Then:

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 19: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 20: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

What if we start the process somewhere else? What if we start the process somewhere else? We move up/down to the next fixed point

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 21: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 22: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Each threshold t is drawn independently from Each threshold ti is drawn independently from some distribution F(x) = Pr[thresh  x] Suppose: Normal with n/2 variance Suppose: Normal with  =n/2, variance Small : Large :

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 23: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

As we continuously vary the parameter ,As we continuously vary the parameter , something discontinuous happens:

Bigger variance let’s you build a bridge fromBigger variance let s you build a bridge from early adopters to mainstream

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 24: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

But if we increase the variance even further But if we increase the variance even further we move one higher fixed point lower

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 25: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Pluralistic ignorance – erroneous estimates Pluralistic ignorance  erroneous estimates about the prevalence of certain opinions in the populationp p

Survey conducted in the U.S. in 1970 showed that while a clear minority of white Americans at that point favored racial segregation, i ifi tl th 50% b li d th t itsignificantly more than 50% believed that it was favored by a majority of white Americans in their region of the countryin their region of the country

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 26: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Personal threshold k: “I will show up to the Personal threshold k:  I will show up to the protest if I am sure at least k people in total (including myself) will show up”(including myself) will show up

Each node in the network knows the Each node in the network knows the thresholds of all their friends

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 27: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Will uprising occur? Will uprising occur?

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 28: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Will uprising occur? Will uprising occur?

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 29: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Will uprising occur? Will uprising occur?

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 30: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

It does not take into account: It does not take into account: No notion of social network – more influential users It matters who the early adopters are, not just how many Models people’s awareness of size of participation not just actual number of people participating M d li th h ld Modeling thresholds Richer distributions Deriving thresholds from mode basic assumptionsDeriving thresholds from mode basic assumptions game theoretic models

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 31: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

It does not take into account: It does not take into account: Modeling perceptions of who is adopting the behavior/ who you believe is adoptingbehavior/ who you believe is adopting Non monotone behavior – dropping out if too many people adoptmany people adopt Similarity – thresholds not based only on numbers People get “locked in” to certain choice over a People get  locked in  to certain choice over a period of time

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Page 32: Stanford Universitysnap.stanford.edu/na09/09-cascades-annot.pdf · Stanford University ... 10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis

Based on 2 player coordination game Based on 2 player coordination game 2 players – each chooses technology A or B

10/20/2009 Jure Leskovec, Stanford CS322: Network Analysis