Complex Networks Analysis @ Universita Roma Tre

42
Complex Networks Analysis 3-6-2013 Università degli Studi Roma Tre Matteo Moci @matteomoci [email protected]

description

lecture done on 03/06/2013 @ Università degli Studi Roma Tre

Transcript of Complex Networks Analysis @ Universita Roma Tre

Page 1: Complex Networks Analysis @ Universita Roma Tre

Complex Networks Analysis

3-6-2013

Università degli Studi Roma Tre

Matteo Moci

@matteomoci

[email protected]

Page 2: Complex Networks Analysis @ Universita Roma Tre

Why?

Page 3: Complex Networks Analysis @ Universita Roma Tre

Complex systems are around us

Page 4: Complex Networks Analysis @ Universita Roma Tre
Page 5: Complex Networks Analysis @ Universita Roma Tre
Page 6: Complex Networks Analysis @ Universita Roma Tre
Page 7: Complex Networks Analysis @ Universita Roma Tre

Complex systems No blueprint

No “master-mind”

Self-organization

Evolution

Adaptation

Behind each complex system

there is a network,

that defines the interactions

between the components

Page 8: Complex Networks Analysis @ Universita Roma Tre

Graph theory: 1735, EulerSocial Network Research: 1930s, Moreno Communication networks/internet: 1960s

Ecological Networks: 1979

History

Page 9: Complex Networks Analysis @ Universita Roma Tre

The Seven Bridges of Königsberg

Page 10: Complex Networks Analysis @ Universita Roma Tre

The Seven Bridges of KönigsbergThe Seven Bridges of Königsberg

Page 11: Complex Networks Analysis @ Universita Roma Tre

What's next?

"I think the next century will be

the century of complexity”S. Hawking

Page 12: Complex Networks Analysis @ Universita Roma Tre

Network or Graph?

Network often refers to real systems

• www,

• social network

• metabolic network.

Language: (Network, node, link)

Graph: mathematical representation of a network

• web graph,

• social graph (a Facebook term)

Language: (Graph, vertex, edge)

Page 13: Complex Networks Analysis @ Universita Roma Tre

Graph Modeling

http://www.flickr.com/photos/visual-telling/8499317469/

Page 14: Complex Networks Analysis @ Universita Roma Tre

Single-relational, un-directed

G (V, E ⊆ (V x V))

Page 15: Complex Networks Analysis @ Universita Roma Tre

Single-relational, un-directed

G (V, E ⊆ (V x V))

friend

friend

friend

Alex

Bob

Carla

Page 16: Complex Networks Analysis @ Universita Roma Tre

Multi-relational, directed

G (V, E)E = (E0, E1, …, Em (V x V))

favourited

watched

follows

watched

Alex

Bob

Page 17: Complex Networks Analysis @ Universita Roma Tre

http://lists.w3.org/Archives/Public/public-rdf-wg/2012Apr/0232.html

Points of view

http://lists.w3.org/Archives/Public/public-rdf-wg/2012Apr/0232.html

Page 18: Complex Networks Analysis @ Universita Roma Tre

Different problems, different models

The choice of the proper network representation determines

our ability to use network theory successfully.

In some cases there is a unique, unambiguous

representation. In other cases,

the representation is by no means unique

The way we assign the links between a group of individuals

will determine the nature of the question we can study

Page 19: Complex Networks Analysis @ Universita Roma Tre

Examples

WWW > directed

Protein Interactions > undirected, unweighted

Collaboration network > undirected or weighted

Mobile phone calls > directed, weighted

Facebook Friendship links > undirected, unweighted.

Page 20: Complex Networks Analysis @ Universita Roma Tre

Most graph databases support a graph data

model, known as property graph

A property graph is a

directed, multi-relational graph

Page 21: Complex Networks Analysis @ Universita Roma Tre

Graph morphisms

http://www.tinkerpop.com/docs/wikidocs/blueprints/2.2.0/Graph-Morphisms.html

Page 22: Complex Networks Analysis @ Universita Roma Tre

Graph properties and measures

Degree distribution P(k)

Average path length <d>

Clustering coefficient C

Page 23: Complex Networks Analysis @ Universita Roma Tre

Types of Networks

Random

Power-law

Scale-free (preferential attachment)

Small-world (small diameter, high clustering)

Page 24: Complex Networks Analysis @ Universita Roma Tre

How does the Web "work"?

Page 25: Complex Networks Analysis @ Universita Roma Tre

How does the Web "work"?• Content analysis (text mining)• Link analysis (e.g. PageRank)

PageRank is an algorithm that assigns a numerical weighting to each element of a set of documents

Page 26: Complex Networks Analysis @ Universita Roma Tre
Page 27: Complex Networks Analysis @ Universita Roma Tre

Importance of a Node

• Degree centrality (# of links)

• Betweenness centrality (# of shortest-paths)

• Closeness centrality (mean distance to neighbours)

• PageRank (P that a random walker visits that node)

Page 28: Complex Networks Analysis @ Universita Roma Tre

Social Networks

A social structure, determined by interactions

between individuals, groups,

organisations

http://www.flickr.com/photos/hanspoldoja/5001818922/

Page 29: Complex Networks Analysis @ Universita Roma Tre

Social Networks' Properties

HomophilySocial Influence

Page 30: Complex Networks Analysis @ Universita Roma Tre

The tendency of individuals to associate and bond with similar others

"birds of a feather flock together"

Homophily

http://www.flickr.com/photos/57574984@N00/81938785/

Page 31: Complex Networks Analysis @ Universita Roma Tre

Social InfluenceOne's emotions, opinions, or behaviors are affected by others

Social networks transmit states and behaviors such as obesity, smoking, drinking and happiness*

* http://www.bmj.com/content/337/bmj.a2338

Page 32: Complex Networks Analysis @ Universita Roma Tre

Social Influence

Why does it work?

Reciprocity

Commitment and Consistency

Social Proof

Authority

Liking

Scarcityhttp://en.wikipedia.org/wiki/Special:BookSources/0321011473

Page 33: Complex Networks Analysis @ Universita Roma Tre

Can we measure and maximise influence?

Goal: "Cascades"

http://www.youtube.com/watch?v=GA8z7f7a2Pk

Page 34: Complex Networks Analysis @ Universita Roma Tre

Disease spreading • Where to place monitoring stations to

detect epidemics?

Blogs• Which are the influential blogs?

• Which blogs create big cascades?

Viral marketing• Who are the influencers?

• Where should I advertise?

Page 35: Complex Networks Analysis @ Universita Roma Tre

http://barabasilab.neu.edu/courses/phys5116/

Page 36: Complex Networks Analysis @ Universita Roma Tre

Influence is related to many aspects!

Thesis:

Sviluppo di un Framework

per il Calcolo dell’Influenza su Twitter

Edoardo Venturini

@edoventurini

Page 37: Complex Networks Analysis @ Universita Roma Tre

Popularity

Page 38: Complex Networks Analysis @ Universita Roma Tre

Activity

http://www.flickr.com/photos/antonioculicigno/8928121349/

Page 39: Complex Networks Analysis @ Universita Roma Tre

Engagement

Page 40: Complex Networks Analysis @ Universita Roma Tre

Topic Relevance

Page 41: Complex Networks Analysis @ Universita Roma Tre

Influence Maximization Problem

NP-CompleteHeuristics• Simulated Annealing

Page 42: Complex Networks Analysis @ Universita Roma Tre

Q&AMatteo Moci

[email protected]@matteomoci