Models and Algorithms for Complex Networks Introduction and Background Lecture 1.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Complex Networks Advanced Computer Networks: Part1.
Cpt S 223 – Advanced Data Structures Graph Algorithms: Introduction
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Analysis and Modeling of Social Networks Foudalis Ilias.
Information Networks Graph Clustering Lecture 14.
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
Information Networks Generative processes for Power Laws and Scale-Free networks Lecture 4.
Information Retrieval Lecture 8 Introduction to Information Retrieval (Manning et al. 2007) Chapter 19 For the MSc Computer Science Programme Dell Zhang.
Information Networks Small World Networks Lecture 5.
Advanced Topics in Data Mining Special focus: Social Networks.
CS 599: Social Media Analysis University of Southern California1 The Basics of Network Analysis Kristina Lerman University of Southern California.
1 Evolution of Networks Notes from Lectures of J.Mendes CNR, Pisa, Italy, December 2007 Eva Jaho Advanced Networking Research Group National and Kapodistrian.
Mining and Searching Massive Graphs (Networks)
Introduction to PageRank Algorithm and Programming Assignment 1 CSC4170 Web Intelligence and Social Computing Tutorial 4 Tutor: Tom Chao Zhou
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lecture 1 (Part 1) Introduction/Overview Tuesday, 9/4/01.
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.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Lecture 1 (Part 1) Introduction/Overview Tuesday, 9/3/02.
Mining and Searching Massive Graphs (Networks) Introduction and Background Lecture 1.
Advanced Topics in Data Mining Special focus: Social Networks.
Graph, Search Algorithms Ka-Lok Ng Department of Bioinformatics Asia University.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2004 Lecture 1 (Part 1) Introduction/Overview Wednesday, 9/8/04.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 7 May 14, 2006
Data Mining for Complex Network Introduction and Background.
Network analysis and applications Sushmita Roy BMI/CS 576 Dec 2 nd, 2014.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2002 Lecture 1 (Part 1) Introduction/Overview Tuesday, 1/29/02.
Application of Graph Theory to OO Software Engineering Alexander Chatzigeorgiou, Nikolaos Tsantalis, George Stephanides Department of Applied Informatics.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
Social Media Mining Graph Essentials.
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)
Online Social Networks and Media Introduction. Instructors: Ευαγγελία Πιτουρά Παναγιώτης Τσαπάρας
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.
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.
Lectures 6 & 7 Centrality Measures Lectures 6 & 7 Centrality Measures February 2, 2009 Monojit Choudhury
Algorithms  Al-Khwarizmi, arab mathematician, 8 th century  Wrote a book: al-kitab… from which the word Algebra comes  Oldest algorithm: Euclidian algorithm.
COM1721: Freshman Honors Seminar A Random Walk Through Computing Lecture 2: Structure of the Web October 1, 2002.
Lecture 5: Mathematics of Networks (Cont) CS 790g: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
Social Network Analysis Prof. Dr. Daning Hu Department of Informatics University of Zurich Mar 5th, 2013.
Mathematics of Networks (Cont)
Data Structures & Algorithms Graphs
Complex Networks: Models Lecture 2 Slides by Panayiotis TsaparasPanayiotis Tsaparas.
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.
The Structure of the Web. Getting to knowing the Web How big is the web and how do you measure it? How many people use the web? How many use search engines?
Clusters Recognition from Large Small World Graph Igor Kanovsky, Lilach Prego Emek Yezreel College, Israel University of Haifa, Israel.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
Miniconference on the Mathematics of Computation
1 Friends and Neighbors on the Web Presentation for Web Information Retrieval Bruno Lepri.
KAIST TS & IS Lab. CS710 Know your Neighbors: Web Spam Detection using the Web Topology SIGIR 2007, Carlos Castillo et al., Yahoo! 이 승 민.
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.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Review Lecture Tuesday, 12/11/01.
Informatics tools in network science
Class 2: Graph Theory IST402.
Algorithms and Computational Biology Lab, Department of Computer Science and & Information Engineering, National Taiwan University, Taiwan Network Biology.
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 1 (Part 1) Introduction/Overview Tuesday, 9/9/08
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Groups of vertices and Core-periphery structure
Network Science: A Short Introduction i3 Workshop
Prof. Paolo Ferragina, Algoritmi per "Information Retrieval"
Discrete Mathematics and its Applications Lecture 1 – Graph Theory
Prof. Paolo Ferragina, Algoritmi per "Information Retrieval"
Modelling and Searching Networks Lecture 2 – Complex Networks
Presentation transcript:

Models and Algorithms for Complex Networks Introduction and Background Lecture 1

Welcome!  Introductions  My name in finnish: Panajotis Tsaparas I am from Greece I graduated from University of Toronto  Web searching and Link Analysis In University of Helsinki for the past 2 years  Tutor: Evimaria Terzi also Greek  Knowledge of Greek is not required

Course overview  The course goal  To read some recent and interesting papers on information networks  Understand the underlying techniques  Think about interesting problems  Prerequisites:  Mathematical background on discrete math, graph theory, probabilities, linear algebra  The course will be more “theoretical”, but your project may be more “practical”  Style  Both slides and blackboard

Topics  Measuring Real Networks  Models for networks  Scale Free and Small World networks  Distributed hashing and Peer-to-Peer search  The Web graph  Web crawling, searching and ranking  Biological networks  Gossip and Epidemics  Graph Clustering  Other special topics

Homework  Two or three assignments of the following three types  Reaction paper  Problem Set  Presentation  Project: Select your favorite network/algorithm/model and  do an experimental analysis  do a theoretical analysis  do a in-depth survey  No final exam  Final Grade: 50% assignments, 50% project (or 60%,40%)  Tutorials: will be arranged on demand

Web page

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?

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

Web search  First generation search engines: the Web as a collection of documents  Suffered from spammers, poor, unstructured, unsupervised content, increase in Web size  Second generation search engines: the Web as a network  use the anchor text of links for annotation  good pages should be pointed to by many pages  good pages should be pointed to by many good pages PageRank algorithm, Google!

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.

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(i),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

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

Eigenvalues

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

Probability Theory  Probability Space: pair ‹Ω,P›  Ω: sample space  P: probability measure over subsets of Ω  Random variable X: Ω →R  Probability mass function P[X=x]  Expectation

Classes of random graphs  A class of random graphs is defined as the pair ‹G n,P› where G n the set of all graphs of size n, and P a probability distribution over the set G n  Erdös-Renyi graphs: each edge appears with probability p  when p=1/2, we have a uniform distribution

Asymptotic Notation  For two functions f(n) and g(n)  f(n) = O(g(n)) if there exist positive numbers c and N, such that f(n) ≤ c g(n), for all n≥N  f(n) = Ω(g(n)) if there exist positive numbers c and N, such that f(n) ≥ c g(n), for all n≥N  f(n) = Θ(g(n)) if f(n)=O(g(n)) and f(n)=Ω(g(n))  f(n) = o(g(n)) if lim f(n)/g(n) = 0, as n → ∞  f(n) = ω(g(n)) if lim f(n)/g(n) = ∞, as n → ∞

P and NP  P: the class of problems that can be solved in polynomial time  NP: the class of problems that can be verified in polynomial time  NP-hard: problems that are at least as hard as any problem in NP

Approximation Algorithms  NP-optimization problem: Given an instance of the problem, find a solution that minimizes (or maximizes) an objective function.  Algorithm A is a factor c approximation for a problem, if for every input x, A(x) ≤ c OPT(x) (minimization problem) A(x) ≥ c OPT(x) (maximization problem)

References  M. E. J. Newman, The structure and function of complex networks, SIAM Reviews, 45(2): , 2003