http cs224w stanford edu spreading through examples
play

http://cs224w.stanford.edu Spreading through Examples: networks: - PowerPoint PPT Presentation

CS224W: Machine Learning with Graphs Jure Leskovec, Stanford University http://cs224w.stanford.edu Spreading through Examples: networks: Biological: Cascading behavior Diseases via contagion Technological: Diffusion of


  1. CS224W: Machine Learning with Graphs Jure Leskovec, Stanford University http://cs224w.stanford.edu

  2. ¡ Spreading through ¡ Examples: networks: § Biological: § Cascading behavior § Diseases via contagion § Technological: § Diffusion of innovations § Cascading failures § Network effects § Spread of information § Epidemics § Social: ¡ Behaviors that cascade § Rumors, news, new from node to node like technology an epidemic § Viral marketing 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 2

  3. Obscure tech story Small tech blog Engadget HackerNews Wired BBC NYT CNN 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 3

  4. 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 4

  5. 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 5

  6. ¡ Product adoption: § Senders and followers of recommendations 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 6

  7. 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 7

  8. ¡ Contagion that spreads over the edges of the network ¡ It creates a propagation tree, i.e., cascade Cascade Network (propagation tree) Terminology: • What spreads: Contagion • “Infection” event: Adoption, infection, activation • Main players: Infected/active nodes, adopters 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 8

  9. ¡ Decision based models (today!): § Models of product adoption, decision making § A node observes decisions of its neighbors and makes its own decision § Example: § You join demonstrations if k of your friends do so too ¡ Probabilistic models (on Tuesday): § Models of influence or disease spreading § An infected node tries to “push” the contagion to an uninfected node § Example: § You “catch” a disease with some prob. from each active neighbor in the network 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 9

  10. [Morris 2000] ¡ Based on 2 player coordination game § 2 players – each chooses technology A or B § Each player can only adopt one “behavior”, A or B § Intuition : you (node 𝑤 ) gain more payoff if your friends have adopted the same behavior as you Local view of the network of node 𝒘 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 11

  11. 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 12

  12. 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 13

  13. ¡ Payoff matrix: § If both v and w adopt behavior A , they each get payoff a > 0 § If v and w adopt behavior B , they reach get payoff b > 0 § If v and w adopt the opposite behaviors, they each get 0 ¡ In some large network: § Each node v is playing a copy of the game with each of its neighbors § Payoff : sum of node payoffs over all games 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 14

  14. Threshold: v chooses A if b > = p q + a b p … frac. v’s nbrs. with A q … payoff threshold ¡ Let v have d neighbors ¡ Assume fraction p of v ’s neighbors adopt A § Payoff v = a∙p∙d if v chooses A = b∙(1-p)∙d if v chooses B ¡ Thus: v chooses A if: p > q 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 15

  15. Scenario: ¡ Graph where everyone starts with all B ¡ Small set S of early adopters of A § Hard-wire S – they keep using A no matter what payoffs tell them to do ¡ Assume payoffs are set in such a way that nodes say: If more than q=50% of my friends take A I’ll also take A. This means: a = b-ε (ε>0, small positive constant) and then q=1/2 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 16

  16. S = { u , v } If more than q= 50% of my friends are red I’ll also be red 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 17

  17. S = { v u , } u v If more than q= 50% of my friends are red I’ll also be red 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 18

  18. S = { v u , } u v If more than q= 50% of my friends are red I’ll also be red 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 19

  19. S = { v u , } u v If more than q= 50% of my friends are red I’ll also be red 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 20

  20. S = { v u , } u v If more than q= 50% of my friends are red I’ll also be red 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 21

  21. S = { v u , } u v If more than q= 50% of my friends are red I’ll also be red 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 22

  22. The Dynamics of Protest Recruitment through an Online Network Bailon et al. Nature Scientific Reports, 2011

  23. ¡ Anti-austerity protests in Spain May 15-22, 2011 as a response to the financial crisis ¡ Twitter was used to organize and mobilize users to participate in the protest 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 24

  24. ¡ Researchers identified 70 hashtags that were used by the protesters 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 25

  25. ¡ 70 hashtags were crawled for 1 month period § Number of tweets: 581,750 ¡ Relevant users: Any user who tweeted any relevant hashtag and their followers + followees § Number of users: 87,569 ¡ Created two undirected follower networks: 1. Full network: with all Twitter follow links 2. Symmetric network with only the reciprocal follow links ( i ➞ j and j ➞ i ) § This network represents “strong” connections only. 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 26

  26. ¡ User activation time: Moment when user starts tweeting protest messages ¡ k in = The total number of neighbors when a user became active ¡ k a = Number of active neighbors when a user became active ¡ Activation threshold = k a /k in § The fraction of active neighbors at the time when a user becomes active 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 27

  27. ¡ If k a /k in ≈ 0 , then the user joins the movement when very few neighbors are active ⇒ no social pressure ¡ If k a /k in ≈ 1 , then the user joins the movement after most of its neighbors are active ⇒ high social pressure Already active node 0/4 = 0.0 No social pressure for Non-zero social pressure middle node to join for middle node to join 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 28

  28. ¡ Mostly uniform distribution of activation threshold in both networks, except for two local peaks 0.5 activation 0 activation threshold threshold users: Many users: Many users who join self-active after half their users. neighbors do. 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 29

  29. ¡ Hypothesis: If several neighbors become active in a short time period, then a user is more likely to become active ¡ Method: Calculate the burstiness of active neighbors as Low threshold users are insensitive to High threshold users recruitment bursts. join after sudden bursts in neighborhood activation Low threshold High threshold users users 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 30

  30. ¡ No cascades are given in the data ¡ So cascades were identified as follows: § If a user tweets a message at time t and one of its followers tweets a message in (t, t+ 𝚬 t), then they form a cascade. § E.g., 1 ➞ 2 ➞ 3 below form a cascade: 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 31

  31. ¡ Size = number of nodes in the cascade ¡ Most cascades are small: Successful cascades Fraction of cascades with size at least S Size S of cascade 10/30/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 32

  32. ¡ Are starters of successful cascades more central in the network? ¡ Method: k -core decomposition § k -core: biggest connected subgraph where every node has at least degree k § Method: repeatedly remove all nodes with degree less than k § Higher k -core number of a node means it is more central Peripheral nodes Central nodes 10/31/19 Jure Leskovec, Stanford CS224W: Machine Learning with Graphs, http://cs224w.stanford.edu 33

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend