an introduction to networks

56
An Introduction to Networks Francesco Gadaleta, PhD.

Upload: francesco-gadaleta

Post on 10-Aug-2015

105 views

Category:

Education


2 download

TRANSCRIPT

Page 1: An Introduction to Networks

An Introduction to NetworksFrancesco Gadaleta, PhD.

Page 2: An Introduction to Networks

Networks are around us

Page 3: An Introduction to Networks

Spreading consensus

The model

• few peers spreading a message(advertising)

• others sharing to their friends(if they don’t already know)

Page 4: An Introduction to Networks
Page 5: An Introduction to Networks
Page 6: An Introduction to Networks
Page 7: An Introduction to Networks
Page 8: An Introduction to Networks

The network of relationships

Page 9: An Introduction to Networks

Economy network

Page 10: An Introduction to Networks

Protein-protein interaction network

Page 11: An Introduction to Networks

Political network

Page 12: An Introduction to Networks

Not-so-recent graph of the Internet

Page 13: An Introduction to Networks

(c) 2014 www.worldofpiggy.com

Solving the problem of DNA sequencing

Definition: Each read is an edge

Nodes are prefix and suffix of the string that connects them

Solution: Find a cycle in such a graph: reading the superstring that contains all reads with maximum overlap.

Hey! That’s an Eulerian cycle

Page 14: An Introduction to Networks

Being a freeloader with networks

Homeless Visit a place Doesn’t repeat a node

Page 15: An Introduction to Networks

• Social relationships

• Professional networks (boss, employees)

• Power grids

• Internet

• Biology (cells, genes, proteins, diseases…)

Networks today

Page 16: An Introduction to Networks

Power grids

Page 17: An Introduction to Networks
Page 18: An Introduction to Networks

Facebook at 10am

Page 19: An Introduction to Networks

Graph Theory(Mathematics)

Social Network Analysis1920

economic transactions

trades among nations

communications between groups

Page 20: An Introduction to Networks

Complexity of networks

• irregular structure • evolution in time • dimension

Page 21: An Introduction to Networks

Complexity of networks • irregular structure • evolution in time • dimension

time = ttime = t0

Page 22: An Introduction to Networks

Nature(1998) Small-world networks Watts D., Strogatz S.

Page 23: An Introduction to Networks

Science(1999) Scale-free networks Barabasi, Albert

Page 24: An Introduction to Networks

TopologyRelated to the structure of the network eg. how nodes are connected

Page 25: An Introduction to Networks

Topology: Modules

Subnetworks with specific properties

Page 26: An Introduction to Networks

Some definitions

N nodes E edges

graph:

directed

undirected

Page 27: An Introduction to Networks

Neighbours of node i (of order k) neigh(i,k)

neigh(3,1) = ?neigh(2,2) = ?

{2,4}{1,3,4,5}

Example

Page 28: An Introduction to Networks

Reachability of two nodes i and j

walk: alternating sequence of nodes and edges from i to j eg. (1-2-3-4-3)

trail: a walk with no repeated edges eg. (1-2-3-4-5-2)

path: a walk with no repeated nodes eg. (1-2-3-4-6)

Page 29: An Introduction to Networks
Page 30: An Introduction to Networks

Connectivity matrix(also known as adjacency matrix)

A =

Sizebinary or weighted

Page 31: An Introduction to Networks
Page 32: An Introduction to Networks
Page 33: An Introduction to Networks

Node degree

d(4) = ? d(6) = ?

31

Page 34: An Introduction to Networks

Degree distributionDetermines the statistical properties of uncorrelated networks

Page 35: An Introduction to Networks

Degree distributionDetermines the statistical properties of uncorrelated networks

Page 36: An Introduction to Networks

Degree distributionDetermines the statistical properties of uncorrelated networks

Page 37: An Introduction to Networks

Shortest path• Indicates the distance between i and j in terms of geodesics

(unweighted)

• Can define the structure of a network

Transport and communicationp(1,3) = {1-5-4-3} {1-5-2-3} {1-2-5-4-3} {1-2-3}

Warning: the “longest” path can be the shortest (weighted graph)

Page 38: An Introduction to Networks

Diameter• Indicates the maximum number of hops between i and j

(unweighted)

• global property of a network

Page 39: An Introduction to Networks

Average Shortest Path - ASP

• global property of a network

Problem?i and j are disconnected

Solution (efficiency)

Page 40: An Introduction to Networks

Betweenness centrality

# SPs from j to k via i

# SPs from j to k

Page 41: An Introduction to Networks

Which node is the most important?

Page 42: An Introduction to Networks

Communities/Clusters

• Local properties are shared only by a subset of the nodes

Page 43: An Introduction to Networks

Facebook

Page 44: An Introduction to Networks

Facebook(again)

Page 45: An Introduction to Networks

Network components

Page 46: An Introduction to Networks

Network components

• define the topology • locally • globally

(how many triads/pendants/dyads…)

Page 47: An Introduction to Networks

example: count the number of triads in a network for comparison

Page 48: An Introduction to Networks
Page 49: An Introduction to Networks

Topologies: small-world

Random shortcuts

ASP

each node is connected to any other node in only log(N) steps

Page 50: An Introduction to Networks

Topologies: scale-free

Degree distribution follows power-law

Fact! most real networks follow a power-law

Page 51: An Introduction to Networks

Topologies: scale-free

Degree distribution follows power-law

• the sizes of earthquakes • craters on the moon • solar flares • the foraging pattern of various species • the sizes of activity patterns of

neuronal populations • the frequencies of words in

most languages • frequencies of family names • sizes of power outages • wars • criminal charges per convict • and many more…

Page 52: An Introduction to Networks

Topologies: random

Nodes are statistically independent

Page 53: An Introduction to Networks

Networks

static (1)

dynamic (2)

given a degree distrib. -> connect

structural changes are governed by evolution of the system (gene-gene, web, social net.)

(1) given , assign uniform prob. to all random graphs with a number of nodes with degree k (Aiello et. al) N and k are fully determined

(2) Prob. of link j connected to existing node i is proportional to

Page 54: An Introduction to Networks

Weighted networks

A =3 1

852

20 5 0 0 1 05 0 8 0 6 0

60 8 0 2 0 00 0 2 0 3 21 6 0 3 0 00 0 0 2 0 0

Page 55: An Introduction to Networks

Weighted networks

node strength

strength of nodes of degree k(independence between weight and topology)

average weight

with correlation

Page 56: An Introduction to Networks

–Robert Kiyosaki

“The richest people in the world look for and build networks. Everyone else looks for work.”