Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS224W: Social and Information Network Analysis

Similar presentations


Presentation on theme: "CS224W: Social and Information Network Analysis"โ€” Presentation transcript:

1 Network Formation Processes: Power-law degree distributions and Preferential Attachment
CS224W: Social and Information Network Analysis Jure Leskovec, Stanford University

2 Network Formation Processes
What do we observe that needs explaining Small-world model? Diameter Clustering coefficient Preferential Attachment: Node degree distribution What fraction of all nodes have degree k (as a function of k)? Prediction from simple random graph models: ๐‘ƒ(๐‘˜)= exponential function of โ€“k Observation: Power-law: ๐‘ƒ(๐‘˜)= ๐‘˜ โˆ’๐›ผ 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

3 Degree Distributions ๐‘ท ๐’Œ โˆ ๐’Œ โˆ’๐œถ Found in data Expected based on Gnp
11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

4 Node Degrees in Networks
[Leskovec et al. KDD โ€˜08] Node Degrees in Networks Take a network, plot a histogram of P(k) vs. k Plot: fraction of nodes with degree k: ๐‘(๐‘˜)= | ๐‘ข| ๐‘‘ ๐‘ข =๐‘˜ | ๐‘ Probability: P(k) = P(X=k) Flickr social network n= 584,207, m=3,555,115 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

5 Node Degrees in Networks
[Leskovec et al. KDD โ€˜08] Node Degrees in Networks Plot the same data on log-log axis: ๐‘ƒ ๐‘˜ โˆ ๐‘˜ โˆ’1.75 How to distinguish: ๐‘ƒ(๐‘˜)โˆexpโก(๐‘˜) vs. ๐‘ƒ(๐‘˜)โˆ ๐‘˜ โˆ’๐›ผ ? Take logarithms: if ๐‘ฆ=๐‘“(๐‘ฅ)= ๐‘’ โˆ’๐‘ฅ then log ๐‘ฆ =โˆ’๐‘ฅ If ๐‘ฆ= ๐‘ฅ โˆ’๐›ผ then log ๐‘ฆ =โˆ’๐›ผ logโก(๐‘ฅ) So, on log-log axis power-law looks like a straight line of slope โˆ’๐›ผ Slope = โˆ’๐›ผ=1.75 Probability: P(k) = P(X=k) Flickr social network n= 584,207, m=3,555,115 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

6 Node Degrees: Faloutsos3
Internet Autonomous Systems [Faloutsos, Faloutsos and Faloutsos, 1999] Internet domain topology 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

7 Node Degrees: Web The World Wide Web [Broder et al., 2000] 11/11/2018
Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

8 Node Degrees: Barabasi&Albert
Other Networks [Barabasi-Albert, 1999] Actor collaborations Web graph Power-grid 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

9 Exponential vs. Power-Law
20 40 60 80 100 0.2 0.6 1 f(x) x Above a certain x value, the power law is always higher than the exponential. 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

10 Exponential vs. Power-Law
[Clauset-Shalizi-Newman 2007] Exponential vs. Power-Law Power-law vs. exponential on log-log and log-lin scales 10 1 2 3 -4 -3 -2 -1 log-log semi-log x โ€ฆ logarithmic y โ€ฆ logarithmic x โ€ฆ linear y โ€ฆ logarithmic 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

11 Exponential vs. Power-Law
11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

12 Power-Law Degree Exponents
Power-law degree exponent is typically 2 < ๏ก < 3 Web graph: ๏กin = 2.1, ๏กout = 2.4 [Broder et al. 00] Autonomous systems: ๏ก = 2.4 [Faloutsos3, 99] Actor-collaborations: ๏ก = 2.3 [Barabasi-Albert 00] Citations to papers: ๏ก ๏‚ป 3 [Redner 98] Online social networks: ๏ก ๏‚ป 2 [Leskovec et al. 07] 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

13 Scale-Free Networks Definition: Networks with a power law tail in their degree distribution are called โ€œscale-free networksโ€ Where does the name come from? Scale invariance: there is no characteristic scale Scale-free function: ๐’‡ ๐’‚๐’™ = ๐’‚ ๐€ ๐’‡(๐’™) Power-law function: ๐‘“ ๐‘Ž๐‘ฅ = ๐‘Ž ๐œ† ๐‘ฅ ๐œ† = ๐‘Ž ๐œ† ๐‘“(๐‘ฅ) 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

14 Power-Laws are Everywhere
[Clauset-Shalizi-Newman 2007] Power-Laws are Everywhere Many other quantities follow heavy-tailed distributions 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

15 Anatomy of the Long Tail
[Chris Anderson, Wired, 2004] Anatomy of the Long Tail Skip! 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

16 Not Everyone Likes Power-Laws ๏Š
CMU grad-students at the G20 meeting in Pittsburgh in Sept 2009 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

17 Mathematics of Power-Laws

18 Heavy Tailed Distributions
Skip! Degrees are heavily skewed: Distribution P(X>x) is heavy tailed if: ๐ฅ๐ข๐ฆ ๐’™โ†’โˆž ๐‘ท ๐‘ฟ>๐’™ ๐’† โˆ’๐€๐’™ =โˆž Note: Normal PDF: ๐‘“ ๐‘ฅ = 1 2๐œ‹๐œŽ ๐‘’ ๐‘ฅโˆ’๐œ‡ ๐œŽ 2 Exponential PDF: ๐‘“ ๐‘ฅ =๐œ† ๐‘’ โˆ’๐œ†๐‘ฅ then ๐‘ƒ ๐‘‹>๐‘ฅ =1โˆ’๐‘ƒ(๐‘‹โ‰ค๐‘ฅ)= ๐‘’ โˆ’๐œ†๐‘ฅ are not heavy tailed! 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

19 Heavy Tails Various names, kinds and forms:
[Clauset-Shalizi-Newman 2007] Heavy Tails Skip! Various names, kinds and forms: Long tail, Heavy tail, Zipfโ€™s law, Paretoโ€™s law Heavy tailed distributions: P(x) is proportional to: ๐‘ƒ ๐‘ฅ โˆ 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

20 Mathematics of Power-laws
[Clauset-Shalizi-Newman 2007] Mathematics of Power-laws What is the normalizing constant? P(x) = z x-๏ก z=? ๐‘ƒ(๐‘ฅ) is a distribution: ๐‘ƒ ๐‘ฅ ๐‘‘๐‘ฅ =1 Continuous approximation 1= ๐‘ฅ ๐‘š๐‘–๐‘› โˆž ๐‘ƒ ๐‘ฅ ๐‘‘๐‘ฅ =๐‘ง ๐‘ฅ ๐‘š โˆž ๐‘ฅ โˆ’๐›ผ ๐‘‘๐‘ฅ =โˆ’ ๐‘ง ๐›ผโˆ’1 ๐‘ฅ โˆ’๐›ผ+1 ๐‘ฅ ๐‘š โˆž =โˆ’ ๐‘ง ๐›ผโˆ’1 โˆž 1โˆ’๐›ผ โˆ’ ๐‘ฅ ๐‘š 1โˆ’๐›ผ ๐‘ง= ๐›ผโˆ’1 ๐‘ฅ ๐‘š ๐›ผโˆ’1 xm P(x) diverges as x๏‚ฎ0 so xm is the minimum value of the power-law distribution x ๏ƒŽ [xm, โˆž] ๐‘ ๐‘ฅ = ๐›ผโˆ’1 ๐‘ฅ ๐‘š ๐‘ฅ ๐‘ฅ ๐‘š โˆ’๐›ผ 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

21 Mathematics of Power-laws
[Clauset-Shalizi-Newman 2007] Mathematics of Power-laws Whatโ€™s the expectation of a power-law random variable x? ๐ธ ๐‘ฅ = ๐‘ฅ ๐‘š โˆž ๐‘ฅ ๐‘ƒ ๐‘ฅ ๐‘‘๐‘ฅ =๐‘ง ๐‘ฅ ๐‘š โˆž ๐‘ฅ โˆ’๐›ผ+1 ๐‘‘๐‘ฅ =โˆ’ ๐‘ง 2โˆ’๐›ผ ๐‘ฅ 2โˆ’๐›ผ ๐‘ฅ ๐‘š โˆž =โˆ’ ๐›ผโˆ’1 ๐‘ฅ ๐‘š ๐›ผโˆ’1 2โˆ’๐›ผ [ โˆž 2โˆ’๐›ผ โˆ’ ๐‘ฅ ๐‘š 2โˆ’๐›ผ ] ๐ธ ๐‘ฅ = ๐›ผโˆ’1 ๐›ผโˆ’2 ๐‘ฅ ๐‘š Need: ๏ก > 2 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

22 Mathematics of Power-Laws
ADD: How to sample from a power law? ๐ธ ๐‘ฅ = ๐›ผโˆ’1 ๐›ผโˆ’2 ๐‘ฅ ๐‘š Power-laws: Infinite moments! If ฮฑ โ‰ค 2 : E[x]= โˆž If ฮฑ โ‰ค 3 : Var[x]=โˆž Average is meaningless, as the variance is too high! Sample average of n samples from a power-law with exponent ฮฑ: In real networks 2 < ๏ก < 3 so: E[x] = const Var[x]=โˆž 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

23 Estimating Power-Law Exponent ๏ก
Estimating ๏ก from data: Fit a line on log-log axis using least squares method: Solve min ๐›ผ log ๐‘ฆ โˆ’๐›ผ log ๐‘ฅ 2 BAD! 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

24 Estimating Power-Law Exponent ๏ก
Estimating ๏ก from data: Plot Complementary CDF ๐‘ƒ ๐‘‹>๐‘ฅ . Then ๐›ผ=1+๐›ผโ€ฒ where ๐›ผ is the slope of ๐‘ƒ(๐‘‹>๐‘ฅ). If ๐ ๐—=๐ฑ โˆ ๐’™ โˆ’๐œถ then ๐ ๐—>๐’™ โˆ ๐’™ โˆ’(๐œถโˆ’๐Ÿ) ๐‘ƒ ๐‘‹>๐‘ฅ = ๐‘—=๐‘ฅ โˆž ๐‘ƒ(๐‘—) โ‰ˆ = ๐‘ฅ โˆž ๐‘ง ๐‘— โˆ’๐›ผ ๐‘‘๐‘— = = ๐‘ง ๐›ผ ๐‘— 1โˆ’๐›ผ ๐‘ฅ โˆž = ๐‘ง ๐›ผ ๐‘ฅ โˆ’ ๐›ผโˆ’1 OK 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

25 Estimating Power-Law Exponent ๏ก
Estimating ๏ก from data: Use MLE: ๐›ผ =1+๐‘› ๐‘– ๐‘› ln ๐‘‘ ๐‘– ๐‘ฅ ๐‘š โˆ’1 ๐ฟ ๐›ผ = ln ๐‘– ๐‘› ๐‘ ๐‘‘ ๐‘– = ๐‘– ๐‘› lnโก๐‘( ๐‘‘ ๐‘– ) = ๐‘– ๐‘› lnโก(๐›ผโˆ’1) โˆ’ ln ๐‘ฅ ๐‘š โˆ’๐›ผ ln ๐‘‘ ๐‘– ๐‘ฅ ๐‘š Want to find ๐œถ that max ๐ฟ(๐œถ): Set dL ๐›ผ d๐›ผ =0 dL ๐›ผ d๐›ผ =0 ๐‘› ๐›ผโˆ’1 โˆ’โˆ‘ ln ๐‘‘ ๐‘– ๐‘ฅ ๐‘š =0 ๐›ผ =1+๐‘› ๐‘– ๐‘› ln ๐‘‘ ๐‘– ๐‘ฅ ๐‘š โˆ’1 OK Power-law density: ๐‘ ๐‘ฅ = ๐›ผโˆ’1 ๐‘ฅ ๐‘š ๐‘ฅ ๐‘ฅ ๐‘š โˆ’๐›ผ 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

26 Flickr: Fitting Degree Exponent
Show examples of the fitting โ€“ not the nice line but the fitted line Linear scale Log scale, ฮฑ=1.75 CCDF, Log scale, ฮฑ=1.75, exp. cutoff CCDF, Log scale, ฮฑ=1.75 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

27 Maximum Degree Skip! What is the expected maximum degree K in a scale-free network? The expected number of nodes with degree > K should be less than 1: ๐พ โˆž ๐‘ƒ ๐‘ฅ ๐‘‘๐‘ฅ โ‰ˆ 1 ๐‘› =๐‘ง ๐พ โˆž ๐‘ฅ โˆ’๐›ผ ๐‘‘๐‘ฅ= ๐‘ง 1โˆ’๐›ผ ๐‘ฅ 1โˆ’๐›ผ ๐พ โˆž = = ๐›ผโˆ’1 ๐‘ฅ ๐‘š ๐›ผโˆ’1 โˆ’๐›ผ+1 0โˆ’ ๐พ 1โˆ’๐›ผ = ๐‘ฅ ๐‘š ๐›ผโˆ’1 ๐พ ๐›ผโˆ’1 โ‰ˆ 1 ๐‘› ๐พ= ๐‘ฅ ๐‘š ๐‘ 1 ๐›ผโˆ’1 Power-law density: ๐‘ ๐‘ฅ = ๐›ผโˆ’1 ๐‘ฅ ๐‘š ๐‘ฅ ๐‘ฅ ๐‘š โˆ’๐›ผ 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

28 Maximum Degree: Consequence
Skip! Why donโ€™t we see networks with exponents in the range of ๐œถ=๐Ÿ’,๐Ÿ“,๐Ÿ” ? In order to reliably estimate ๐›ผ, we need 2-3 orders of magnitude of K. That is, ๐พโ‰ˆ 10 3 E.g., to measure an degree exponent ๐›ผ=5,we need to maximum degree of the order of: ๐พ= ๐‘ฅ ๐‘š ๐‘ 1 ๐›ผโˆ’1 ๐‘= ๐พ ๐‘ฅ ๐‘š ๐›ผโˆ’1 โ‰ˆ 10 12 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

29 Why are Power-Laws Surprising
Can not arise from sums of independent events Recall: in ๐บ ๐‘›๐‘ each pair of nodes in connected independently with prob. ๐‘ ๐‘‹โ€ฆ degree of node ๐‘ฃ, ๐‘‹ ๐‘ค โ€ฆ event that w links to v ๐‘‹= ๐‘ค ๐‘‹ ๐‘ค ๐ธ ๐‘‹ = ๐‘ค ๐ธ ๐‘‹ ๐‘ค = ๐‘›โˆ’1 ๐‘ Now, what is ๐‘ท ๐‘ฟ=๐’Œ ? Central limit theorem! ๐‘‹,๐‘‹,โ€ฆ, ๐‘‹ ๐‘› : rnd. vars with mean ๏ญ, variance ๏ณ2 ๐‘† ๐‘› =โˆ‘ ๐‘‹ ๐‘– : ๐ธ ๐‘† ๐‘› =๐‘›๐œ‡ , var ๐‘† ๐‘› =๐‘› ๐œŽ 2 , SD ๐‘† ๐‘› =๐œŽ ๐‘› ๐‘ƒ ๐‘† ๐‘› =๐ธ ๐‘† ๐‘› +๐‘ฅโˆ™SD ๐‘† ๐‘› ~ 1 2๐œ‹ e โˆ’ x 2 2 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

30 Random vs. Scale-free network
Skip! Random network Scale-free (power-law) network (Erdos-Renyi random graph) Degree distribution is Power-law Degree distribution is Binomial 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

31 Model: Preferential Attachment

32 Model: Preferential attachment
Preferential attachment [Price โ€˜65, Albert-Barabasi โ€™99, Mitzenmacher โ€˜03] Nodes arrive in order 1,2,โ€ฆ,n At step j, let di be the degree of node i < j A new node j arrives and creates m out-links Prob. of j linking to a previous node i is proportional to degree di of node i 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

33 Rich Get Richer New nodes are more likely to link to nodes that already have high degree Herbert Simonโ€™s result: Power-laws arise from โ€œRich get richerโ€ (cumulative advantage) Examples [Price 65]: Citations: New citations to a paper are proportional to the number it already has 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

34 The Exact Model We will analyze the following model:
[Mitzenmacher, โ€˜03] The Exact Model Make everything as a directed graph. We only care about in-degree as every node has out-degre 1. Node j We will analyze the following model: Nodes arrive in order 1,2,3,โ€ฆ,n When node j is created it makes a single link to an earlier node i chosen: 1)With prob. p, j links to i chosen uniformly at random (from among all earlier nodes) 2) With prob. 1-p, node j chooses node i uniformly at random and links to a node i points to. Note this is same as saying: With prob. 1-p, node j links to node u with prob. proportional to du (the degree of u) 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

35 The Model Givens Power-Laws
Claim: The described model generates networks where the fraction of nodes with degree k scales as: where q=1-p 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

36 Continuous Approximation
Consider deterministic and continuous approximation to the degree of node i as a function of time t t is the number of nodes that have arrived so far Degree di(t) of node i (i=1,2,โ€ฆ,n) is a continuous quantity and it grows deterministically as a function of time t Plan: Analyze di(t) โ€“ continuous degree of node i at time t ๏‚ณ i 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

37 Continuous Degree: What We Know
Initial condition: di(t)=0, when t=i (node i just arrived) Expected change of di(t) over time: Node i gains an in-link at step t+1 only if a link from a newly created node t+1 points to it. Whatโ€™s the probability of this event? With prob. p node t+1 links randomly: Links to our node i with prob. 1/t With prob. 1-p node t+1 links preferentially: Links to our node i with prob. di(t)/t So: Prob. node t+1 links to i is: ๐ฉ ๐Ÿ ๐’• + ๐Ÿโˆ’๐’‘ ๐’… ๐’Š (๐’•) ๐’• 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

38 Continuous Degree At t=5 node i=5 comes and has total degree of 1 to deterministically share with other nodes: How does di(t) change as t๏‚ฎโˆž? i di(t-1)+1 di(t)+1 1 =1+๐‘ โˆ’๐‘ 1 6 2 3 =3+๐‘ โˆ’๐‘ 3 6 4 i=5 Node i=5 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

39 END!!!!!!!!!!!!!!!!!!!!! Too long, cut at the beginning where discussing importance of power-laws and why they are surprising. Cover also how to sample form a power-law distribution โ€“ derive why is that the case This lecture should finish with the proof of PA giving power-laws. 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

40 What is the rate of growth of di?
d ๐‘‘ ๐‘– (๐‘ก) d๐‘ก =๐‘ 1 ๐‘ก + 1โˆ’๐‘ ๐‘‘ ๐‘– (๐‘ก) ๐‘ก = ๐‘+๐‘ž ๐‘‘ ๐‘– (๐‘ก) ๐‘ก 1 ๐‘+๐‘ž ๐‘‘ ๐‘– (๐‘ก) d ๐‘‘ ๐‘– (๐‘ก)= 1 ๐‘ก d๐‘ก 1 ๐‘+๐‘ž ๐‘‘ ๐‘– (๐‘ก) d ๐‘‘ ๐‘– (๐‘ก) = 1 ๐‘ก d๐‘ก 1 ๐‘ž ln ๐‘+๐‘ž ๐‘‘ ๐‘– ๐‘ก = ln ๐‘ก +๐‘ ๐‘ž ๐‘‘ ๐‘– ๐‘ก +๐‘=๐ด ๐‘ก ๐‘ž ๐‘‘ ๐‘– ๐‘ก = 1 ๐‘ž ๐ด ๐‘ก ๐‘ž โˆ’๐‘ Divide by p+q di(t) integrate Let A=ec and exponentiate 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

41 What is the constant A? What is the constant A? We know: ๐‘‘ ๐‘– ๐‘– =0
๐‘‘ ๐‘– ๐‘ก = 1 ๐‘ž ๐ด ๐‘ก ๐‘ž โˆ’๐‘ What is the constant A? We know: ๐‘‘ ๐‘– ๐‘– =0 So: ๐‘‘ ๐‘– ๐‘– = 1 ๐‘ž ๐ด ๐‘– ๐‘ž โˆ’๐‘ =0 ๐ด= ๐‘ ๐‘– ๐‘ž ๐‘‘ ๐‘– ๐‘ก = ๐‘ ๐‘ž ๐‘ก ๐‘– ๐‘ž โˆ’1 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

42 Degree Distribution What is F(d) the fraction of nodes that has degree at least d at time t? How many nodes i have degree > t? ๐‘‘ ๐‘– ๐‘ก = ๐‘ ๐‘ž ๐‘ก ๐‘– ๐‘ž โˆ’1 >๐‘‘ then: i<t ๐‘ž ๐‘ ๐‘‘โˆ’1 โˆ’ 1 ๐‘ž There are t nodes total at time t so F(d): 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

43 Degree Distribution What is the fraction of nodes with degree exactly d? Take derivative of F(d): 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

44 Preferential attachment: Reflections
Two changes from the Gnp The network grows Preferential attachment Do we need both? Yes! Add growth to Gnp (assume p=1): xj = degree of node j at the end Xj(u)= 1 if u links to j, else 0 xj = xj(j+1)+xj(j+2)+โ€ฆ+xj(n) E[xj(u)] = P[u links to j]= 1/(u-1) E[xj] = ๏ƒฅ 1/(u-1) = 1/j + 1/(j+1)+โ€ฆ+1/(n-1) = Hn-1 โ€“ Hj E[xj] = log(n-1) โ€“ log(j) = log((n-1)/j) NOT (n/j)๏ก Hnโ€ฆn-th harmonic number: 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

45 Preferential attachment: Good news
Preferential attachment gives power-law degrees Intuitively reasonable process Can tune p to get the observed exponent On the web, P[node has degree d] ~ d-2.1 2.1 = 1+1/(1-p) ๏ƒ  p ~ 0.1 There are also other network formation mechanisms that generate scale-free networks: Random surfer model Forest Fire model 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

46 PA-like Link Formation
Skip! Copying mechanism (directed network) select a node and an edge of this node attach to the endpoint of this edge Walking on a network (directed network) the new node connects to a node, then to every first, second, โ€ฆ neighbor of this node Attaching to edges select an edge attach to both endpoints of this edge Node duplication duplicate a node with all its edges randomly prune edges of new node 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

47 Preferential attachment: Bad news
Give a picture of age correlation! Preferential attachment is not so good at predicting network structure Age-degree correlation Links among high degree nodes On the web nodes sometime avoid linking to each other Further questions: What is a reasonable probabilistic model for how people sample through web-pages and link to them? Short+Random walks Effect of search engines โ€“ reaching pages based on number of links to them 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

48 PA: Many Extensions & Variations
Skip! Preferential attachment is a key ingredient Extensions: Early nodes have advantage: node fitness Geometric preferential attachment Copying model: Picking a node proportional to the degree is same as picking an edge at random (pick node and then itโ€™s neighbor) 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

49 Network resilience (1) We observe how the connectivity (length of the paths) of the network changes as the vertices get removed [Albert et al. 00; Palmer et al. 01] Vertices can be removed: Uniformly at random In order of decreasing degree It is important for epidemiology Removal of vertices corresponds to vaccination 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,

50 Internet (Autonomous systems)
Network Resilience (2) Real-world networks are resilient to random attacks One has to remove all web-pages of degree > 5 to disconnect the web But this is a very small percentage of web pages Random network has better resilience to targeted attacks Preferential removal Internet (Autonomous systems) Random network Mean path length Random removal Fraction of removed nodes Fraction of removed nodes 11/11/2018 Jure Leskovec, Stanford CS224W: Social and Information Network Analysis,


Download ppt "CS224W: Social and Information Network Analysis"

Similar presentations


Ads by Google