Complex Networks Mark Jelasity. 2 ● Where are the networks? – Some example computer systems ● WWW, Internet routers, software components – Large decentralized.

Slides:



Advertisements
Similar presentations
Peer-to-Peer and Social Networks Power law graphs Small world graphs.
Advertisements

Complex Networks Advanced Computer Networks: Part1.
Scale Free Networks.
Algorithmic and Economic Aspects of Networks Nicole Immorlica.
Traffic-driven model of the World-Wide-Web Graph A. Barrat, LPT, Orsay, France M. Barthélemy, CEA, France A. Vespignani, LPT, Orsay, France.
Analysis and Modeling of Social Networks Foudalis Ilias.
VL Netzwerke, WS 2007/08 Edda Klipp 1 Max Planck Institute Molecular Genetics Humboldt University Berlin Theoretical Biophysics Networks in Metabolism.
Information Networks Generative processes for Power Laws and Scale-Free networks Lecture 4.
Advanced Topics in Data Mining Special focus: Social Networks.
Λ14 Διαδικτυακά Κοινωνικά Δίκτυα και Μέσα Network Measurements.
4. PREFERENTIAL ATTACHMENT The rich gets richer. Empirical evidences Many large networks are scale free The degree distribution has a power-law behavior.
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.
Networks. Graphs (undirected, unweighted) has a set of vertices V has a set of undirected, unweighted edges E graph G = (V, E), where.
Eurecom, Sophia-Antipolis Thrasyvoulos Spyropoulos / Random Graph Models: Create/Explain Complex Network Properties.
Scale-free networks Péter Kómár Statistical physics seminar 07/10/2008.
Network Statistics Gesine Reinert. Yeast protein interactions.
Peer-to-Peer and Grid Computing Exercise Session 3 (TUD Student Use Only) ‏
Advanced Topics in Data Mining Special focus: Social Networks.
Graphs and Topology Yao Zhao. Background of Graph A graph is a pair G =(V,E) –Undirected graph and directed graph –Weighted graph and unweighted graph.
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.
Large-scale organization of metabolic networks Jeong et al. CS 466 Saurabh Sinha.
The Erdös-Rényi models
Optimization Based Modeling of Social Network Yong-Yeol Ahn, Hawoong Jeong.
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.
Models and Algorithms for Complex Networks Networks and Measurements Lecture 3.
Author: M.E.J. Newman Presenter: Guoliang Liu Date:5/4/2012.
Percolation in self-similar networks Dmitri Krioukov CAIDA/UCSD M. Á. Serrano, M. Boguñá UNT, March 2011.
Clustering of protein networks: Graph theory and terminology Scale-free architecture Modularity Robustness Reading: Barabasi and Oltvai 2004, Milo et al.
Random-Graph Theory The Erdos-Renyi model. G={P,E}, PNP 1,P 2,...,P N E In mathematical terms a network is represented by a graph. A graph is a pair of.
Part 1: Biological Networks 1.Protein-protein interaction networks 2.Regulatory networks 3.Expression networks 4.Metabolic networks 5.… more biological.
Social Network Analysis Prof. Dr. Daning Hu Department of Informatics University of Zurich Mar 5th, 2013.
3. SMALL WORLDS The Watts-Strogatz model. Watts-Strogatz, Nature 1998 Small world: the average shortest path length in a real network is small Six degrees.
Complex Networks Measures and deterministic models Philippe Giabbanelli.
Percolation Processes Rajmohan Rajaraman Northeastern University, Boston May 2012 Chennai Network Optimization WorkshopPercolation Processes1.
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.
1 CIS 4930/6930 – Recent Advances in Bioinformatics Spring 2014 Network models Tamer Kahveci.
Informatics tools in network science
Response network emerging from simple perturbation Seung-Woo Son Complex System and Statistical Physics Lab., Dept. Physics, KAIST, Daejeon , Korea.
Lecture II Introduction to complex networks Santo Fortunato.
Cmpe 588- Modeling of Internet Emergence of Scale-Free Network with Chaotic Units Pulin Gong, Cees van Leeuwen by Oya Ünlü Instructor: Haluk Bingöl.
Network (graph) Models
Lecture 23: Structure of Networks
Structures of Networks
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Topics In Social Computing (67810)
Empirical analysis of Chinese airport network as a complex weighted network Methodology Section Presented by Di Li.
Section 8.6: Clustering Coefficients
Lecture 23: Structure of Networks
Section 8.6 of Newman’s book: Clustering Coefficients
The Watts-Strogatz model
Models of Network Formation
Models of Network Formation
Peer-to-Peer and Social Networks Fall 2017
Models of Network Formation
Department of Computer Science University of York
Models of Network Formation
Topology and Dynamics of Complex Networks
Clustering Coefficients
Peer-to-Peer and Social Networks
Lecture 23: Structure of Networks
Network Science: A Short Introduction i3 Workshop
Discrete Mathematics and its Applications Lecture 5 – Random graphs
Network Models Michael Goodrich Some slides adapted from:
Advanced Topics in Data Mining Special focus: Social Networks
Advanced Topics in Data Mining Special focus: Social Networks
Presentation transcript:

Complex Networks Mark Jelasity

2 ● Where are the networks? – Some example computer systems ● WWW, Internet routers, software components – Large decentralized systems ● Communication topology is always a non-trivial network – Other networks ● Social relationships, food web, chemical reactions (DNA), etc ● Complex self-managing systems will inevitably have to deal with complex networks Motivation

3 ● Some networks are actually important (not only interesting) – WWW, Internet, food web, metabolic nets, etc ● Some common aspects must be understood for most networks – Robustness – Epidemics (spreading of info, etc) – Efficiency ● function of network depending on its structure – Design and engineering ● need to understand emergent properties Motivation

4 Real world (empirical data) Design experiment s Construct (refine, reject) model Analise model (come up with predictions) This is empirical science ● Complex networks is a branch of physics – Empirical: loop of modeling and observation ● Models capture only selected aspects

5 Outline ● Basic concepts recap (graphs, probability) ● Graph models – Erdős-Rényi – General degree distribution – Watts-Strogatz – Barabási-Albert – [motifs]

6 ● Node, edge ● Graph – Directed, undirected, simple ● Paths – Length, average length, diameter ● Connected graph – Strongly, weakly ● Node degree – In-, out-, average, distribution Graph theoretical concepts

7 ● Discrete distribution, random variable ● Expectation value, variance ● What is a random graph? – Probability space of graphs Probability

8 ● Simple undirected graph G N,p ● Parameters – N: number of nodes – p: probability of connecting any pairs of nodes ● Algorithm – Start with empty graph of N nodes – Draw all N(N-1)/2 possible edges with probability p ● Stats of degree of a fixed node i – =p(N-1), k i has binomial distr, approx Poisson The model

9 ● Usual question: P(Q) over a probability space of graphs – Q can be eg “connected”, or “contains a triangle”, etc ● Usually P(Q) depends on N and p ● We are interested in “almost always” Q: Probabilistic properties

10 ● Often there is a critical probability p c such that Probabilistic properties ● We are interested in p c for different Q-s ● Example: G N,p has a subgraph

11 ● Note the case p~1/N where cycles of all order appear ● Note that this is understood as N tends to  Critical pr. for small subgraphs

12 ● Let’s look at connectivity as a function of p – AKA “graph evolution”: when we keep adding edges ● Note that if p grows slower than 1/N, the graph is a disconnected collection of small (constant size) components ● If p~1/N, avg node degree is constant, cycles of all order have finite probability – What’s going on if is constant? Connectivity

13 ● 0 <1 – One cycle, otherwise trees, the larges being O(ln N) size – The number of clusters is N-n (ie each new edge connects two clusters) ● =1 – Critical value: largest cluster is suddenly O(N 2/3 ), with complex structure ● >1 – The largest cluster is of size (1-f( ))N nodes where f decreases exponentially ● [If >= ln N, completely connected (but here the avg degree grows with N)] The case when p~1/N

14 ● k i the degree of fixed node – k i is binomial (Bin(N-1,p)) ● Degree distribution: the degree of a random node from a random graph – x k : number of nodes with degree k – =NP(k i =k) – Distribution of x k has very low variance – So it is a reasonable assumption to say that a random graph G N,p has very close to binomial degree distribution Degree distribution

15 ● The longest shortest path ● L = ln N/ln = log N ● The reason is that these graphs are locally like trees ● The average path length (l) grows also as log N ● Observed networks tend to have a diameter consistent with this prediction Diameter

16 Statistics of some networks

17 ● Definition of clustering coefficient – Ratio of actual and possible number of edges between neighbors of a node ● In this model it is evident – C = p = /N – Very small ● This does NOT predict the clustering in real networks Clustering coefficient

18 ● G r-reg : probability space is the set of r-regular graphs with equal probability – G 3-reg is Hamiltonian – Note that G 3/(N-1),N is not even connected ● G r-out : we generate a random graph by adding 3 edges from all nodes – G 4-out is Hamiltonian – It is believed that G 3-out is also Hamiltonian ● So we need to be careful ● When there is guarantee that all nodes have some edges, things are radically different Some other similar models

19 ● Motivation: random graphs don’t model clustering ● Local structure + randomness (“shortcuts”) – Ring with links to K nearest neighbors – Rewire each of the K/2 links to the left of a node with probability p (pNK/2 shortcuts on average) ● Clustering is c=3(K-2)/4(K-1) if p=0 ● Average path length is O(N) if p=0 ● With p=1 we get the G k/2-out model, not the Erdős-Rényi model Watts-Strogatz model

20 Watts-Strogatz model

21 In a wide region clustering is large, path length is short: small world graph The small world region

22 Statistical properties ● Clustering in the general case ● Degree distribution – Transition from constant (K) to Poisson(K/2)+K/2 ● Path length – Small p: linear; large p: logarithmic – Transition: p=2/NK (1 shortcut on average)

23 ● So far we can model clustering and path length. Is this all? No ● Degree distribution is very often heavy tail – P(k)~k -  (often some cutoff eg P(k)~k -g e -k/g ) – Without cutoff ● No expectation value (ie =  ) if g<=2 ● No variance (ie Var(k)=  ) if g<=3, etc ● Called scale-free because of fractals Growth models

24 Observed scale free networks

25 ● Preferential attachment rule – Start with a small number (m 0 ) of nodes – Repeat adding a new node with m<=m0 links, where each linked is linked to node i according to Barabási-Albert model ● T time step, t+m 0 nodes, mt edges ● Converges to exponent  =3

26 Empirical results with BA model

27 ● Average path length – L~ln N/ ln ln N (somewhat smaller then random) ● Clustering – C~N -0.75, (recall that random was 1/N) ● In Sum – Models degree distribution – But doesn’t model clustering Some statistics

28 ● BA model has another problem – Correlation between degree of neighbors ● General model – Given a sequence of degrees – Construct a probability space in which all graphs with the given sequence are equiprobable – Stubs method ● Problems: loop edges, multiple edges General degree distribution

29 ● [Recall the ER model had =1 as a tipping point for giant component] ● General rule for connectivity (critical value): -2 =0 ● For the Poisson distribution this gives 2 =, that is, =1 Connectivity of general model

30 ● Degree distribution, path length, clustering; is this all to account for? ● In a random model, small subgraphs have a theoretical distribution ● In a real network, some small subgraphs are represented more or less frequently – This is yet another aspect to account for in a model ● Are motifs functional? Or just side effects? ● In other words, should we bother? ● Z-score: (N real -N rand )/SD Network motifs

31 Some examples for motifs

32 ● We need to understand how vulnerable existing systems are ● We need to design self-healing and self-protecting systems ● Models – Node removal: failure ● A random node is removed along with all the links – Node removal: attack ● The most connected (highest degree) nodes are removed Error and attack tolerance

33 Node removal

34 N= =4 ER and BA model Achilles' heel

35 Real world examples

36 ● Internet and WWW – Extremely sensitive to attack, and extremely robust to random failure ● Cellular networks – 8% removal 500% increase in path length is attack, otherwise unchanged ● Ecologial networks Silwood Park web – Error tolerance: 95% removal – Attack tolerance: 20% removal – Secondary extinctions under attack: 16% removal Real world examples

37 ● Papers this presentation used material from – Réka Albert and Albert-László Barabási. Statistical mechanics of complex networks. Reviews of Modern Physics, 74(1):47-97, January 2002.Statistical mechanics of complex networks – R. Milo, S. Shen-Orr, S. Itzkovitz, N. Kashtan, D. Chklovskii, and U Alon. Network motifs: Simple building blocks of complex networks. Science, 298: , 2002.Network motifs: Simple building blocks of complex networks – Mark E. J. Newman. Random graphs as models of networks. In Stefan Bornholdt and Heinz G. Schuster, editors, Handbook of Graphs and Networks: From the Genome to the Internet, chapter 2. John Wiley, New York, NY, 2002.Random graphs as models of networks ● The course website – Some refs