Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay,...

45
Complex networks A. Barrat, LPT, Université Paris- Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay, France) R. Pastor-Satorras (Barcelona, Spain) A. Vespignani (LPT, Orsay, France) http://www.th.u-psud.fr/

Transcript of Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay,...

Page 1: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Complex networks

A. Barrat, LPT, Université Paris-Sud, France

I. Alvarez-Hamelin (LPT, Orsay, France)M. Barthélemy (CEA, France)L. Dall’Asta (LPT, Orsay, France)R. Pastor-Satorras (Barcelona, Spain)A. Vespignani (LPT, Orsay, France)

http://www.th.u-psud.fr/

Page 2: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

●Complex networks: examples

●Small-world networks

●Scale-free networks: evidences, modeling, tools for characterization

●Consequences of SF structure

●Perspectives: weighted complex networks

Plan of the talk

Page 3: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Examples of complex networks

● Internet● WWW● Transport networks● Protein interaction networks● Food webs● Social networks● ...

Page 4: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Social networks:Milgram’s experiment

Milgram, Psych Today 2, 60 (1967)

Dodds et al., Science 301, 827 (2003)

“Six degrees of separation”

Page 5: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Small-world properties:also in the Internet

Distribution of chemical distancesbetween two nodes

Average fraction of nodes within a chemical distance d

Page 6: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Usual random graphs: Erdös-Renyi model (1960)

BUT...

N points, links with proba p:static random graphs

short distances

(log N)

Poisson distribution

(p=O(1/N))

Page 7: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Clustering coefficient

C =# of links between 1,2,…n neighbors

n(n-1)/21

2

3

n

Higher probability to be connected

Clustering: My friends will know each other with high probability!(typical example: social networks)

Page 8: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Asymptotic behavior

.)(

)( /1

constNC

NNL d

1)(

log)(

NNC

NNL

Lattice

Random graph

Page 9: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

In-between: Small-world networks

Watts & Strogatz,

Nature 393, 440 (1998)

N = 1000

•Large clustering

coeff. •Short typical path

N nodes forms a regular lattice. With probability p, each edge is rewired randomly

=>Shortcuts

Page 10: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Size-dependence

Amaral & Barthélemy Phys Rev Lett 83, 3180 (1999)

Newman & Watts, Phys Lett A 263, 341 (1999)

Barrat & Weigt, Eur Phys J B 13, 547 (2000)

p >> 1/N => Small-world structure

Page 11: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Is that all we need ?

NO, because...

Random graphs,

Watts-Strogatz graphs are

homogeneous graphs

(small fluctuations of the degree k):

While.....

Page 12: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Airplane route network

Page 13: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

CAIDA AS cross section map

Page 14: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Scale-free properties

P(k) = probability that a node has k links

P(k) ~ k - ( 3)

• <k>= const• <k2>

Diverging fluctuations

•The Internet and the World-Wide-Web

•Protein networks

•Metabolic networks

•Social networks

•Food-webs and ecological networks

Are

Heterogeneous networks

Topological characterization

Page 15: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Exp. vs. Scale-FreePoisson distribution

Exponential Network

Power-law distribution

Scale-free Network

Page 16: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Main Features of complex networks

•Many interacting units•Self-organization•Small-world•Scale-free heterogeneity•Dynamical evolution

•Many interacting units•Self-organization•Small-world•Scale-free heterogeneity•Dynamical evolution

Standard graph theory

•Static •Ad-hoc topology

Random graphs

Page 17: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Two important observations

(1) The number of nodes (N) is NOT fixed. Networks continuously expand

by the addition of new nodesExamples: WWW : addition of new documents Citation : publication of new papers

(2) The attachment is NOT uniform.A node is linked with higher probability to a

node that already has a large number of links.Examples : WWW : new documents link to well known sites (CNN, YAHOO, NewYork Times, etc) Citation : well cited papers are more likely to be cited again

Origins SF

Page 18: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Scale-free model

(1) GROWTH : At every timestep we add a new node with m edges (connected to the nodes already present in the system).

(2) PREFERENTIAL ATTACHMENT : The probability Π that a new node will be connected to node i depends on the connectivity ki of that node

A.-L.Barabási, R. Albert, Science 286, 509 (1999)

jj

ii k

kk

)(

P(k) ~k-3

Page 19: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

BA network

Connectivity distribution

Page 20: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

More models

•Generalized BA model

(Redner et al. 2000)

(Mendes et al. 2000)

(Albert et al. 2000)

j jj

iii k

kk

)(

Non-linear preferential attachment : (k) ~ k

Initial attractiveness : (k) ~ A+k

Rewiring •Highly clustered(Dorogovtsev et al. 2001)

(Eguiluz & Klemm 2002)

•Fitness Model (Bianconi et al. 2001)

•Multiplicative noise (Huberman & Adamic 1999)

(....)

Page 21: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Tools for characterizing the various models

● Connectivity distribution P(k)

=>Homogeneous vs. Scale-free● Clustering● Assortativity● ...

=>Compare with real-world networks

Page 22: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Topological correlations: clustering

i

ki=5ci=0.ki=5ci=0.1

aij: Adjacency matrix

Page 23: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Topological correlations: assortativity

ki=4knn,i=(3+4+4+7)/4=4.5

i

k=3k=7

k=4k=4

Page 24: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Assortativity

● Assortative behaviour: growing knn(k)Example: social networks

Large sites are connected with large sites

● Disassortative behaviour: decreasing knn(k)Example: internet

Large sites connected with small sites, hierarchical structure

Page 25: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Consequences of the topological heterogeneity

●Robustness and vulnerability

●Propagation of epidemics

Page 26: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

RobustnessComplex systems maintain their basic functions even under errors and failures

(cell mutations; Internet router breakdowns)

node failure

fc

0 1Fraction of removed nodes, f

1

SS: fraction of giant

component

Page 27: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Case of Scale-free NetworksCase of Scale-free Networks

s

fc 1

Random failure fc =1 ( 3)

Attack =progressive failure of the most

connected nodes fc <1

Internet mapsInternet maps

R. Albert, H. Jeong, A.L. Barabasi, Nature 406 378 (2000)

Page 28: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Failures vs. attacks

1

S

0 1ffc

Attacks

3 : fc=1

(R. Cohen et al PRL, 2000)

Failures

Topological error tolerance

Page 29: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Other attack strategies

● Most connected nodes● Nodes with largest betweenness● Removal of links linked to nodes with large k● Removal of links with largest betweenness● Cascades● ...

Page 30: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Betweenness

measures the “centrality” of a node i:

for each pair of nodes (l,m) in the graph, there are

lm shortest paths between l and m

ilm shortest paths going through i

bi is the sum of ilm

/ lm over all pairs (l,m)

ij

bi is largebj is small

Page 31: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Other attack strategies

● Most connected nodes● Nodes with largest betweenness● Removal of links linked to nodes with large k● Removal of links with largest betweenness● Cascades● ...

P. Holme et al., P.R.E 65 (2002) 056109

A. Motter et al., P.R.E 66 (2002) 065102, 065103

D. Watts, PNAS 99 (2002) 5766

Problem of reinforcement ?

Page 32: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Natural computer virus•DNS-cache computer viruses•Routing tables corruption

Data carried viruses •ftp, file exchange, etc.

Internet topology

Computer worms •e-mail diffusing •self-replicating

E-mail network topology

Epidemic spreaEpidemic spreading on SF networks on SF networks

Epidemiology Air travel topology

Page 33: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Mathematical models of epidemicsMathematical models of epidemics

Coarse grained description of individuals and their state

•Individuals exist only in few states: •Healthy or Susceptible * Infected * Immune * Dead•Particulars on the infection mechanism on each individual are neglected.

Topology of the system: the pattern of contacts along which infections spread in population is identified by a network

•Each node represents an individual•Each link is a connection along which the virus can spread

Page 34: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

•Non-equilibrium phase transition •epidemic threshold = critical point •prevalence =order parameter

c

Active phaseAbsorbingphase

Finite prevalenceVirus death

The epidemic threshold is a general result

The question of thresholds in epidemics is central(in particular for immunization strategies)

•Each node is infected with rate if connected to one or more infected nodes

•Infected nodes are recovered (cured) with rate without loss of generality =1 (sets the time scale)

•Definition of an effective spreading rate= =prevalence

SIS model:

Page 35: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

What about computer viruses?

● Very long average lifetime (years!) compared to the time scale of the antivirus

● Small prevalence in the endemic case

c

Active phaseAbsorbingphase

Finite prevalenceVirus death

Computer viruses ???

Long lifetime + low prevalence = computer viruses always tuned infinitesimally close to the epidemic threshold ???

Page 36: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

SIS model on SF networks

SIS= Susceptible – Infected – Susceptible

Mean-Field usual approximation: all nodes are “equivalent” (same connectivity) => existence of an epidemic threshold 1/<k> for the order parameter density of infected nodes)

Scale-free structure => necessary to take into account the strong heterogeneity of connectivities => k=density of infected nodes of connectivity k

c= <k2><k>

=>epidemic threshold

Page 37: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Order parameterOrder parameterbehavior in an behavior in an infinite systeminfinite system

c= <k2><k>

c 0

<k2>

Epidemic threshold in scale-free networks

Page 38: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Rationalization of computer virus data

•Wide range of spreading rate with low prevalence (no tuning)•Lack of healthy phase = standard immunization cannot

drive the system below threshold!!!

Page 39: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

•If 3 we have absence of an epidemic thresholdand no critical behavior.

•If 4 an epidemic threshold appears, butit is approached with vanishing slope (no criticality).

•If 4 the usual MF behavior is recovered.SF networks are equal to random graph.

•If 3 we have absence of an epidemic thresholdand no critical behavior.

•If 4 an epidemic threshold appears, butit is approached with vanishing slope (no criticality).

•If 4 the usual MF behavior is recovered.SF networks are equal to random graph.

Results can be generalized to generic

scale-free connectivity distributions P(k)~ k-

Page 40: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

•Absence of an epidemic/immunization threshold

•The network is prone to infections (endemic state always possible)

•Small prevalence for a wide range of spreading rates

•Progressive random immunization is totally ineffective

•Infinite propagation velocity

(NB: Consequences for immunization strategies)

Main results for epidemics spreading on SF networks

Pastor-Satorras & Vespignani (2001, 2002), Boguna, Pastor-Satorras, Vespignani (2003),

Dezso & Barabasi (2001), Havlin et al. (2002), Barthélemy, Barrat, Pastor-Satorras, Vespignani (2004)

Very important consequences of the SF topology!

Page 41: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Perspectives: Weighted networks

●Scientific collaborations●Internet●Emails●Airports' network●Finance, economic networks●...

=> are weighted networks !!

Page 42: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Weights: examples

● Scientific collaborations:

i, j: authors; k: paper; nk: number of authors

: 1 if author i has contributed to paper k

(M. Newman, P.R.E. 2001)

● Internet, emails: traffic, number of exchanged emails

● Airports: number of passengers for the year 2002

Page 43: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Weights

● Weights: heterogeneous (broad distributions)?

● Correlations between topology and traffic ?

● Effects of the weights on the dynamics ?

Page 44: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

Weights: recent works and perspectives

● Empirical studies (airport network; collaboration network: PNAS 2004)

● New tools (PNAS 2004)

● strength● weighted clustering coefficient (vs. clustering coefficient)● weighted assortativity (vs. assortativity)

● New models (PRL 2004)

● New effects on dynamics (resilience, epidemics...) on networks (work in progress)

Page 45: Complex networks A. Barrat, LPT, Université Paris-Sud, France I. Alvarez-Hamelin (LPT, Orsay, France) M. Barthélemy (CEA, France) L. Dall’Asta (LPT, Orsay,

[email protected]

http://www.th.u-psud.fr/