Network Models Michael Goodrich Some slides adapted from:

Slides:



Advertisements
Similar presentations
Scale Free Networks.
Advertisements

The Theory of Zeta Graphs with an Application to Random Networks Christopher Ré Stanford.
Algorithmic and Economic Aspects of Networks Nicole Immorlica.
Analysis and Modeling of Social Networks Foudalis Ilias.
Week 5 - Models of Complex Networks I Dr. Anthony Bonato Ryerson University AM8002 Fall 2014.
Week 4 – Random Graphs Dr. Anthony Bonato Ryerson University AM8002 Fall 2014.
Lecture 21 Network evolution Slides are modified from Jurij Leskovec, Jon Kleinberg and Christos Faloutsos.
Information Networks Generative processes for Power Laws and Scale-Free networks Lecture 4.
Synopsis of “Emergence of Scaling in Random Networks”* *Albert-Laszlo Barabasi and Reka Albert, Science, Vol 286, 15 October 1999 Presentation for ENGS.
Models of Network Formation Networked Life NETS 112 Fall 2013 Prof. Michael Kearns.
Generative Models for the Web Graph José Rolim. Aim Reproduce emergent properties: –Distribution site size –Connectivity of the Web –Power law distriubutions.
SILVIO LATTANZI, D. SIVAKUMAR Affiliation Networks Presented By: Aditi Bhatnagar Under the guidance of: Augustin Chaintreau.
CSE 522 – Algorithmic and Economic Aspects of the Internet Instructors: Nicole Immorlica Mohammad Mahdian.
School of Information University of Michigan SI 614 Random graphs & power law networks preferential attachment Lecture 7 Instructor: Lada Adamic.
1 Evolution of Networks Notes from Lectures of J.Mendes CNR, Pisa, Italy, December 2007 Eva Jaho Advanced Networking Research Group National and Kapodistrian.
Complex Networks Third Lecture TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA TexPoint fonts used in EMF. Read the.
CS728 Lecture 5 Generative Graph Models and the Web.
Networks. Graphs (undirected, unweighted) has a set of vertices V has a set of undirected, unweighted edges E graph G = (V, E), where.
Scale-free networks Péter Kómár Statistical physics seminar 07/10/2008.
The structure of the Internet. How are routers connected? Why should we care? –While communication protocols will work correctly on ANY topology –….they.
Peer-to-Peer and Grid Computing Exercise Session 3 (TUD Student Use Only) ‏
Advanced Topics in Data Mining Special focus: Social Networks.
SDSC, skitter (July 1998) A random graph model for massive graphs William Aiello Fan Chung Graham Lincoln Lu.
CSE 522 – Algorithmic and Economic Aspects of the Internet Instructors: Nicole Immorlica Mohammad Mahdian.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 7 May 14, 2006
Network analysis and applications Sushmita Roy BMI/CS 576 Dec 2 nd, 2014.
Peer-to-Peer and Social Networks Random Graphs. Random graphs E RDÖS -R ENYI MODEL One of several models … Presents a theory of how social webs are formed.
The Erdös-Rényi models
Information Networks Power Laws and Network Models Lecture 3.
(Social) Networks Analysis III Prof. Dr. Daning Hu Department of Informatics University of Zurich Oct 16th, 2012.
Topic 13 Network Models Credits: C. Faloutsos and J. Leskovec Tutorial
“Adversarial Deletion in Scale Free Random Graph Process” by A.D. Flaxman et al. Hammad Iqbal CS April 2006.
10 December, 2008 CIMCA2008 (Vienna) 1 Statistical Inferences by Gaussian Markov Random Fields on Complex Networks Kazuyuki Tanaka, Takafumi Usui, Muneki.
Class 9: Barabasi-Albert Model-Part I
Lecture 10: Network models CS 765: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
How Do “Real” Networks Look?
Network (graph) Models
Lecture 23: Structure of Networks
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Lecture 1: Complex Networks
Topics In Social Computing (67810)
Structural Properties of Networks: Introduction
Models of networks (synthetic networks or generative models): Random, Small-world, Scale-free, Configuration model and Random geometric model By: Ralucca.
How Do “Real” Networks Look?
Lecture 23: Structure of Networks
CS224W: Social and Information Network Analysis
Random Graph Models of large networks
How Do “Real” Networks Look?
How Do “Real” Networks Look?
Social Network Analysis
Models of Network Formation
Lecture 13 Network evolution
Models of Network Formation
Why Social Graphs Are Different Communities Finding Triangles
Peer-to-Peer and Social Networks Fall 2017
Models of Network Formation
How Do “Real” Networks Look?
Models of Network Formation
Peer-to-Peer and Social Networks
From the Synthetic networks slide deck (didn’t have a chance to go over them at that time) By: Ralucca Gera, NPS.
Lecture 23: Structure of Networks
Lecture 21 Network evolution
Modelling and Searching Networks Lecture 5 – Random graphs
Modelling and Searching Networks Lecture 6 – PA models
Network Science: A Short Introduction i3 Workshop
Discrete Mathematics and its Applications Lecture 5 – Random graphs
Diffusion in Networks
Advanced Topics in Data Mining Special focus: Social Networks
Discrete Mathematics and its Applications Lecture 6 – PA models
Advanced Topics in Data Mining Special focus: Social Networks
Presentation transcript:

Network Models Michael Goodrich Some slides adapted from: Networked Life (NETS) 112, Univ. of Penn., 2018, Prof. Michael Kearns Efficient generation of large random networks, by Batagelj and Brandes.

Database of Real-World Graphs SNAP: Stanford Network Analysis Project’s Large Network Dataset Collection http://snap.stanford.edu/data/index.html Many real-world networks: Social networks : online social networks, edges represent interactions between people Communication networks : email communication networks with edges representing communication Citation networks : nodes represent papers, edges represent citations Collaboration networks : nodes represent scientists, edges represent collaborations (co-authoring a paper) Web graphs : nodes represent webpages and edges are hyperlinks Amazon networks : nodes represent products and edges link commonly co-purchased products Internet networks : nodes represent computers and edges communication … many more

Network Models Recent studies of complex systems such as the Internet, biological networks, or social networks, have significantly increased the interest in modeling networks. Network models are desired that match real-world graph structures and properties, including: Degree distributions Small-world property Clustering coefficients Image from https://matrix.berkeley.edu/research/social-networks-history

Network Models I. The Erdös-Rényi (Random Graph) Model

Random Graphs (Erdös/Rényi) G(n,p): n nodes Every pair of nodes is connected independently with probability p Average degree: d = (n-1)p ~ np

Erdös-Rényi G(n,p) Generation Begin with n isolated vertices, no edges Consider (unordered) vertex pairs, {v,w}, according to some ordering. For each such pair, {v,w}: Randomly generate a bit, b, that is 1 with probability p. If b = 1, then add the edge (v,w) to the graph This algorithm runs in O(n2) time, however.

Faster Erdös-Rényi G(n,p) Generation The above algorithm for generating G(n,p) is slow if p is small, because most of the bits are 0. Probability of having k-1 0’s then a 1 is qk-1p, where q = 1-p. Waiting times are geometrically distributed. Divide the interval [0,1) according to the waiting times:

Faster Erdös-Rényi G(n,p) Generation Pick r uniformly at random in the interval [0,1) Divide the interval [0,1) according to the waiting times. The subinterval in which r falls will sample a waiting time:

Faster Erdös-Rényi G(n,p) Generation The above algorithm for generating G(n,p) is slow if p is small, because most of the bits are 0. Probability of having k-1 0’s then a 1 is (1-p)k-1p Faster O(n+m)-time algorithm skips over runs of 0’s:

There Can’t Be Two Large Components? densely connected densely connected missing edges

Threshold Phenomena in Erdös-Renyi Theorem: In Erdös-Renyi, as n becomes large: If p < 1/n, probability of a giant component (e.g. 50% of vertices) goes to 0 If p > 1/n, probability of a giant component goes to 1, and all other components will have size at most log(n) Note: at edge density p, expected/average degree is p(N-1) ~ pn So at p ~ 1/n, average degree is ~ 1: incredibly sparse So model “explains” giant components in real networks General “tipping point” at edge density q (may depend on n): If p < q, probability of property goes to 0 as n becomes large If p > q, probability of property goes to 1 as n becomes large For example, could examine property “diameter 6 or less”

Threshold Phenomena in Erdös-Renyi Theorem: In Erdös-Renyi, as N becomes large: The diameter is O(log (N) / log (Np). Threshold at for diameter 6. Note: degrees growing (slightly) with N If N = 300M (U.S. population) then average degree pN ~ 500 If N = 7BN (world population) then average degree pN ~ 1000 Not unreasonable figures… At p not too far from 1/N, get strong connectivity Very efficient use of edges

What Doesn’t the Model Explain? Erdös-Renyi explains giant component and small diameter But: degree distribution not heavy-tailed; exponential decay from mean (Poisson) clustering coefficient is *exactly* p To model these real-world phenomena, we’ll need richer models with greater realism…

Rich-Get-Richer Processes Processes in which the more someone has of something, the more likely they are to get more of it Examples: the more friends you have, the easier it is to make more the more business a firm has, the easier it is to win more the more people there are at a nightclub, the more who want to go Such processes will amplify inequality One simple and general model: if you have amount x of something, the probability you get more is proportional to x so if you have twice as much as me, you’re twice as likely to get more Generally leads to heavy-tailed distributions (power laws)

Preferential Attachment Start with two vertices connected by an edge At each step, add one new vertex v with one edge back to previous vertices Probability a previously added vertex u receives the new edge from v is proportional to the (current) degree of u more precisely, probability u gets the edge is (current degree of u)/(sum of all current degrees) Vertices with high degree are likely to get even more links! just like Instagram, Twitter, … Generates a power law distribution of degrees Variation: each new vertex initially gets d edges

Barabasi-Albert (BA) model The BA model for preferential attachment input: some initial subgraph G0, and d the number of edges per new node the process: nodes arrive one at the time each node connects to d other nodes selecting them with probability proportional to their degree if [d1,…,dt] is the degree sequence at time t, the node t+1 links to node i with probability equal to Guarantees a degeneracy of d. Why? Brute-force algorithm runs in O(n2) time. (Bad.)

Faster Barabasi-Albert (BA) Algorithm Let d be the parameter for the BA algorithm // M is an array of edges chosen so far. // Each vertex v appears dv times in M.

Barabasi-Albert (BA) algorithm Faster algorithm runs in O(nd) = O(n+m) time. The BA model should result in power-law degree distribution with exponent c = -3 c = -3. different d’s. P(k) changes. c does not