Data Mining for Complex Network Introduction and Background.

Slides:



Advertisements
Similar presentations
Introduction to Network Theory: Modern Concepts, Algorithms
Advertisements

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.
CS 599: Social Media Analysis University of Southern California1 The Basics of Network Analysis Kristina Lerman University of Southern California.
Weighted networks: analysis, modeling A. Barrat, LPT, Université Paris-Sud, France M. Barthélemy (CEA, France) R. Pastor-Satorras (Barcelona, Spain) A.
Emergence of Scaling in Random Networks Barabasi & Albert Science, 1999 Routing map of the internet
Network Models Social Media Mining. 2 Measures and Metrics 2 Social Media Mining Network Models Why should I use network models? In may 2011, Facebook.
Mining and Searching Massive Graphs (Networks)
1 Complex systems Made of many non-identical elements connected by diverse interactions. NETWORK New York Times Slides: thanks to A-L Barabasi.
CS 728 Lecture 4 It’s a Small World on the Web. Small World Networks It is a ‘small world’ after all –Billions of people on Earth, yet every pair separated.
Web as Graph – Empirical Studies The Structure and Dynamics of Networks.
Mining and Searching Massive Graphs (Networks) Introduction and Background Lecture 1.
Advanced Topics in Data Mining Special focus: Social Networks.
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.
Systems Biology, April 25 th 2007Thomas Skøt Jensen Technical University of Denmark Networks and Network Topology Thomas Skøt Jensen Center for Biological.
Statistical Properties of Massive Graphs (Networks) Networks and Measurements.
Computer Science 1 Web as a graph Anna Karpovsky.
Social Media Mining Graph Essentials.
Models of Influence in Online Social Networks
The Erdös-Rényi models
Information Networks Power Laws and Network Models Lecture 3.
Topic 13 Network Models Credits: C. Faloutsos and J. Leskovec Tutorial
Graph Theory in 50 minutes. This Graph has 6 nodes (also called vertices) and 7 edges (also called links)
Models and Algorithms for Complex Networks Networks and Measurements Lecture 3.
Biological Networks Lectures 6-7 : February 02, 2010 Graph Algorithms Review Global Network Properties Local Network Properties 1.
Information Networks Introduction to networks Lecture 1.
Author: M.E.J. Newman Presenter: Guoliang Liu Date:5/4/2012.
Network properties Slides are modified from Networks: Theory and Application by Lada Adamic.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
Clustering of protein networks: Graph theory and terminology Scale-free architecture Modularity Robustness Reading: Barabasi and Oltvai 2004, Milo et al.
COLOR TEST COLOR TEST. Social Networks: Structure and Impact N ICOLE I MMORLICA, N ORTHWESTERN U.
Complex Networks First Lecture TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA TexPoint fonts used in EMF. Read the.
Social Network Analysis Prof. Dr. Daning Hu Department of Informatics University of Zurich Mar 5th, 2013.
Professor Yashar Ganjali Department of Computer Science University of Toronto
Complex Networks: Models Lecture 2 Slides by Panayiotis TsaparasPanayiotis Tsaparas.
Network Computing Laboratory The Structure and Function of Complex Networks (Episode I) M.E.J. Newman, Dept. of Physics, U. Michigan, presented.
Most of contents are provided by the website Graph Essentials TJTSD66: Advanced Topics in Social Media.
Lecture 10: Network models CS 765: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
Complex Network Theory – An Introduction Niloy Ganguly.
Most of contents are provided by the website Network Models TJTSD66: Advanced Topics in Social Media (Social.
Online Social Networks and Media Network Measurements.
Models and Algorithms for Complex Networks Introduction and Background Lecture 1.
Clusters Recognition from Large Small World Graph Igor Kanovsky, Lilach Prego Emek Yezreel College, Israel University of Haifa, Israel.
How Do “Real” Networks Look?
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
1 Friends and Neighbors on the Web Presentation for Web Information Retrieval Bruno Lepri.
Class 2: Graph Theory IST402. Can one walk across the seven bridges and never cross the same bridge twice? Network Science: Graph Theory THE BRIDGES OF.
Class 2: Graph Theory IST402.
Analyzing Networks. Milgram’s Experiments “Six degrees of Separation” Milgram’s letters to various recruits in Nebraska who were asked to forward the.
Models and Algorithms for Complex Networks
Information Retrieval Search Engine Technology (10) Prof. Dragomir R. Radev.
Netlogo demo. Complexity and Networks Melanie Mitchell Portland State University and Santa Fe Institute.
GRAPH AND LINK MINING 1. Graphs - Basics 2 Undirected Graphs Undirected Graph: The edges are undirected pairs – they can be traversed in any direction.
Lecture 23: Structure of Networks
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Groups of vertices and Core-periphery structure
How Do “Real” Networks Look?
Lecture 23: Structure of Networks
Network Science: A Short Introduction i3 Workshop
How Do “Real” Networks Look?
How Do “Real” Networks Look?
How Do “Real” Networks Look?
Lecture 23: Structure of Networks
Modelling and Searching Networks Lecture 2 – Complex Networks
Advanced Topics in Data Mining Special focus: Social Networks
Advanced Topics in Data Mining Special focus: Social Networks
Presentation transcript:

Data Mining for Complex Network Introduction and Background

Welcome!  Instructor: Ruoming Jin  Homepage:  Office: 264 MCS Building 

Course overview  The course goal  First of all, this is a research course, or a special topic course. There is no textbook and even no definition what topics are supposed to under the course name  Discussing the state-of-are techniques for mining complex networks  Review & Course Project

Simple Concepts (Review)  Erdős–Rényi model Random Graph Model  Markov Chain and Random Walk  Maximal Likelihood/Model Selection

Requirement  Each of you will have one presentation  Review Paper  Select a topic and review at least four papers  Bonus: Develop a new idea on this topic  Course Project  One or Two a group  Collect data; preprocess data; analyzing the data;  Final Grade: 30% presentations, 25% review, 35% project, and 10% class participation

What is a network?  Network: a collection of entities that are interconnected with links.  people that are friends  computers that are interconnected  web pages that point to each other  proteins that interact

Graphs  In mathematics, networks are called graphs, the entities are nodes, and the links are edges  Graph theory starts in the 18th century, with Leonhard Euler  The problem of Königsberg bridges  Since then graphs have been studied extensively.

Networks in the past  Graphs have been used in the past to model existing networks (e.g., networks of highways, social networks)  usually these networks were small  network can be studied visual inspection can reveal a lot of information

Networks now  More and larger networks appear  Products of technological advancement e.g., Internet, Web  Result of our ability to collect more, better, and more complex data e.g., gene regulatory networks  Networks of thousands, millions, or billions of nodes  impossible to visualize

The internet map

Understanding large graphs  What are the statistics of real life networks?  Can we explain how the networks were generated?  What else? A still very young field! (What is the basic principles and what those principle will mean?)

Measuring network properties  Around 1999  Watts and Strogatz, Dynamics and small- world phenomenon  Faloutsos 3, On power-law relationships of the Internet Topology  Kleinberg et al., The Web as a graph  Barabasi and Albert, The emergence of scaling in real networks

Real network properties  Most nodes have only a small number of neighbors (degree), but there are some nodes with very high degree (power-law degree distribution)  scale-free networks  If a node x is connected to y and z, then y and z are likely to be connected  high clustering coefficient  Most nodes are just a few edges away on average.  small world networks  Networks from very diverse areas (from internet to biological networks) have similar properties  Is it possible that there is a unifying underlying generative process?

Generating random graphs  Classic graph theory model (Erdös-Renyi)  each edge is generated independently with probability p  Very well studied model but:  most vertices have about the same degree  the probability of two nodes being linked is independent of whether they share a neighbor  the average paths are short

Modeling real networks  Real life networks are not “random”  Can we define a model that generates graphs with statistical properties similar to those in real life?  a flurry of models for random graphs

Processes on networks  Why is it important to understand the structure of networks?  Epidemiology: Viruses propagate much faster in scale-free networks  Vaccination of random nodes does not work, but targeted vaccination is very effective

The future of networks  Networks seem to be here to stay  More and more systems are modeled as networks  Scientists from various disciplines are working on networks (physicists, computer scientists, mathematicians, biologists, sociologist, economists)  There are many questions to understand.

Basic Mathematical Tools  Graph theory  Probability theory  Linear Algebra

Graph Theory  Graph G=(V,E)  V = set of vertices  E = set of edges undirected graph E={(1,2),(1,3),(2,3),(3,4),(4,5)}

Graph Theory  Graph G=(V,E)  V = set of vertices  E = set of edges directed graph E={‹1,2›, ‹2,1› ‹1,3›, ‹3,2›, ‹3,4›, ‹4,5›}

Undirected graph  degree d(i) of node i  number of edges incident on node i  degree sequence  [d(1),d(2),d(3),d(4),d(5)]  [2,2,2,1,1]  degree distribution  [(1,2),(2,3)]

Directed Graph  in-degree d in (i) of node i  number of edges pointing to node i  out-degree d out (i) of node i  number of edges leaving node i  in-degree sequence  [1,2,1,1,1]  out-degree sequence  [2,1,2,1,0]

Paths  Path from node i to node j: a sequence of edges (directed or undirected from node i to node j)  path length: number of edges on the path  nodes i and j are connected  cycle: a path that starts and ends at the same node

Shortest Paths  Shortest Path from node i to node j  also known as BFS path, or geodesic path

Diameter  The longest shortest path in the graph

Undirected graph  Connected graph: a graph where there every pair of nodes is connected  Disconnected graph: a graph that is not connected  Connected Components: subsets of vertices that are connected

Fully Connected Graph  Clique K n  A graph that has all possible n(n-1)/2 edges

Directed Graph  Strongly connected graph: there exists a path from every i to every j  Weakly connected graph: If edges are made to be undirected the graph is connected

Subgraphs  Subgraph: Given V’  V, and E’  E, the graph G’=(V’,E’) is a subgraph of G.  Induced subgraph: Given V’  V, let E’  E is the set of all edges between the nodes in V’. The graph G’=(V’,E’), is an induced subgraph of G

Trees  Connected Undirected graphs without cycles

Bipartite graphs  Graphs where the set V can be partitioned into two sets L and R, such that all edges are between nodes in L and R, and there is no edge within L or R

Linear Algebra  Adjacency Matrix  symmetric matrix for undirected graphs

Linear Algebra  Adjacency Matrix  unsymmetric matrix for undirected graphs

Random Walks  Start from a node, and follow links uniformly at random.  Stationary distribution: The fraction of times that you visit node i, as the number of steps of the random walk approaches infinity  if the graph is strongly connected, the stationary distribution converges to a unique vector.

Random Walks  stationary distribution: principal left eigenvector of the normalized adjacency matrix  x = xP  for undirected graphs, the degree distribution

Eigenvalues and Eigenvectors  The value λ is an eigenvalue of matrix A if there exists a non-zero vector x, such that Ax=λx. Vector x is an eigenvector of matrix A  The largest eigenvalue is called the principal eigenvalue  The corresponding eigenvector is the principal eigenvector  Corresponds to the direction of maximum change

Types of networks  Social networks  Knowledge (Information) networks  Technology networks  Biological networks

Social Networks  Links denote a social interaction  Networks of acquaintances  actor networks  co-authorship networks  director networks  phone-call networks  networks  IM networks Microsoft buddy network  Bluetooth networks  sexual networks  home page networks

Knowledge (Information) Networks  Nodes store information, links associate information  Citation network (directed acyclic)  The Web (directed)  Peer-to-Peer networks  Word networks  Networks of Trust  Bluetooth networks

Technological networks  Networks built for distribution of commodity  The Internet router level, AS level  Power Grids  Airline networks  Telephone networks  Transportation Networks roads, railways, pedestrian traffic  Software graphs

Biological networks  Biological systems represented as networks  Protein-Protein Interaction Networks  Gene regulation networks  Metabolic pathways  The Food Web  Neural Networks

Now what?  The world is full with networks. What do we do with them?  understand their topology and measure their properties  study their evolution and dynamics  create realistic models  create algorithms that make use of the network structure

Measuring Networks  Degree distributions  Small world phenomena  Clustering Coefficient  Mixing patterns  Degree correlations  Communities and clusters

Degree distributions  Problem: find the probability distribution that best fits the observed data degree frequency k fkfk f k = fraction of nodes with degree k = probability of a randomly selected node to have degree k

Power-law distributions  The degree distributions of most real-life networks follow a power law  Right-skewed/Heavy-tail distribution  there is a non-negligible fraction of nodes that has very high degree (hubs)  scale-free: no characteristic scale, average is not informative  In stark contrast with the random graph model!  highly concentrated around the mean  the probability of very high degree nodes is exponentially small p(k) = Ck -α

Power-law signature  Power-law distribution gives a line in the log-log plot  α : power-law exponent (typically 2 ≤ α ≤ 3) degree frequency log degree log frequency α log p(k) = -α logk + logC

Examples Taken from [Newman 2003]

A random graph example

Maximum degree  For random graphs, the maximum degree is highly concentrated around the average degree z  For power law graphs  Rough argument: solve nP[X≥k]=1

Exponential distribution  Observed in some technological or collaboration networks  Identified by a line in the log-linear plot p(k) = λe -λk log p(k) = - λk + log λ degree log frequency λ

Collective Statistics (M. Newman 2003)

Clustering (Transitivity) coefficient  Measures the density of triangles (local clusters) in the graph  Two different ways to measure it:  The ratio of the means

Example

Clustering (Transitivity) coefficient  Clustering coefficient for node i  The mean of the ratios

Example  The two clustering coefficients give different measures  C (2) increases with nodes with low degree

Collective Statistics (M. Newman 2003)

Clustering coefficient for random graphs  The probability of two of your neighbors also being neighbors is p, independent of local structure  clustering coefficient C = p  when z is fixed C = z/n =O(1/n)

Small world phenomena  Small worlds: networks with short paths Obedience to authority (1963) Small world experiment (1967) Stanley Milgram ( ): “The man who shocked the world”

Small world experiment  Letters were handed out to people in Nebraska to be sent to a target in Boston  People were instructed to pass on the letters to someone they knew on first-name basis  The letters that reached the destination followed paths of length around 6  Six degrees of separation: (play of John Guare)  Also:  The Kevin Bacon game  The Erdös number  Small world project:

Measuring the small world phenomenon  d ij = shortest path between i and j  Diameter:  Characteristic path length:  Harmonic mean

Collective Statistics (M. Newman 2003)

Mixing patterns  Assume that we have various types of nodes. What is the probability that two nodes of different type are linked?  assortative mixing (homophily) E : mixing matrix p(i,j) = mixing probability p(j | i) = conditional mixing probability

Mixing coefficient  Gupta, Anderson, May 1989  Advantages:  Q=1 if the matrix is diagonal  Q=0 if the matrix is uniform  Disadvantages  sensitive to transposition  does not weight the entries

Mixing coefficient  Newman 2003  Advantages:  r = 1 for diagonal matrix, r = 0 for uniform matrix  not sensitive to transposition, accounts for weighting (row marginal) (column marginal) r=0.621Q=0.528

Degree correlations  Do high degree nodes tend to link to high degree nodes?  Pastor Satoras et al.  plot the mean degree of the neighbors as a function of the degree  Newman  compute the correlation coefficient of the degrees of the two endpoints of an edge  assortative/disassortative

Collective Statistics (M. Newman 2003)

Communities and Clusters  Use the graph structure to discover communities of nodes  essentially clustering and classification on graphs

Other measures  Frequent (or interesting) motifs  bipartite cliques in the web graph  patterns in biological and software graphs  Use graphlets to compare models [Przulj,Corneil,Jurisica 2004]

Other measures  Network resilience  against random or targeted node deletions  Graph eigenvalues

Other measures  The giant component  Other?

References  M. E. J. Newman, The structure and function of complex networks, SIAM Reviews, 45(2): , 2003  M. E. J. Newman, Random graphs as models of networks in Handbook of Graphs and Networks, S. Bornholdt and H. G. Schuster (eds.), Wiley- VCH, Berlin (2003).  N. Alon J. Spencer, The Probabilistic Method