-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add notes for decision based models (#1)
- Loading branch information
1 parent
da8d396
commit 29a6a98
Showing
6 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
layout: post | ||
title: Network Effects And Cascading Behaviour | ||
header-includes: | ||
- \usepackage{amsmath} | ||
--- | ||
|
||
In this section, we study how a infection propages through a network. We will look into two classed of model, namely decision based models and probabilistic models. But first lets look at some terminology used throughout the post. | ||
|
||
**Terminology** | ||
1. Cascade: Propagation tree created by spreading contagion | ||
2. Contagion: What is spreading in the network, e.g., diseases, tweet, etc. | ||
3. Infection: Adoption/activation of a node | ||
4. Main players: Infected/active nodes, early adopters | ||
|
||
# Decision Based Models | ||
In decision based models, every nodes independently decides whether to adopt the contagion or not depending upon its neighbors. The decision is modelled as a two-player coordination game between user and its neighbor and related payoffs. Hence a node with degree $$k$$ plays $$k$$ such games to decide its payoff and correspondingly its behavior. | ||
|
||
## Single Contagion Model | ||
There are two contagions $$A$$ and $$B$$ in the network and initially every node has behavior $$B$$. Every node can have only one behavior out of the two. The payoff matrix is given as: | ||
|
||
| | A | B | | ||
|---|---|---| | ||
| A | a | 0 | | ||
| B | 0 | b | | ||
|
||
Lets analyze a node with d neighbors, and let p be the fraction of nodes who have adopted $$A$$. Hence the payoff for $$A$$ is $$apd$$ and payoff for $$B$$ is $$b(1-p)d$$. Hence the node adopts behavior $$A$$ if | ||
$$apd > b(1-p)d \implies p > \frac{b}{a+b} = q$$(threshold) | ||
|
||
### Case Study: [Modelling Protest Recruitment on social networks](https://arxiv.org/abs/1111.5595) | ||
Key Insights: | ||
- Uniform activation threhold for users, with two peaks | ||
- Most cascades are short | ||
- Successful cascades are started by central users | ||
|
||
#### Note: | ||
**k-core decomposition**: biggest connected subgraph where every node has at least degree k (iteratively remove nodes with degree less than k) | ||
|
||
### Multiple Contagion Model | ||
There are two contagions $$A$$ and $$B$$ in the network and initially every node has behavior $$B$$. In this case a node can have both behavior $$A$$ and $$B$$ at a total cost of $$c$$ (over all interactions). The payoff matrix is given as: | ||
|
||
| | A | B | AB | | ||
|---|---|---|----| | ||
| A | a | 0 | a | | ||
| B | 0 | b | b | | ||
| AB| a | b | max(a,b)| | ||
|
||
### Example: Infinite Line graph | ||
**Case 1**:**A-w-B** | ||
 | ||
|
||
Payoffs for $$w$$: $$A: a$$, $$B: 1$$, $$AB: a+1-c$$ | ||
|
||
 | ||
|
||
**Case 1**: **AB-w-B** | ||
 | ||
|
||
Payoffs for $$w$$: $$A: a$$, $$B: 1$$, $$AB: max(a, 1) + 1 -c$$ | ||
|
||
 | ||
|