Peer-to-Peer and Social Networks Fall 2017

Slides:



Advertisements
Similar presentations
Complex Networks Advanced Computer Networks: Part1.
Advertisements

Emergence of Scaling in Random Networks Albert-Laszlo Barabsi & Reka Albert.
Analysis and Modeling of Social Networks Foudalis Ilias.
Models of Network Formation Networked Life NETS 112 Fall 2013 Prof. Michael Kearns.
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.
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.
Scale-free networks Péter Kómár Statistical physics seminar 07/10/2008.
The Barabási-Albert [BA] model (1999) ER Model Look at the distribution of degrees ER ModelWS Model actorspower grid www The probability of finding a highly.
The structure of the Internet. How are routers connected? Why should we care? –While communication protocols will work correctly on ANY topology –….they.
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.
Peer-to-Peer and Grid Computing Exercise Session 3 (TUD Student Use Only) ‏
Global topological properties of biological networks.
Graphs and Topology Yao Zhao. Background of Graph A graph is a pair G =(V,E) –Undirected graph and directed graph –Weighted graph and unweighted graph.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 7 May 14, 2006
Error and Attack Tolerance of Complex Networks Albert, Jeong, Barabási (presented by Walfredo)
Summary from Previous Lecture Real networks: –AS-level N= 12709, M=27384 (Jan 02 data) route-views.oregon-ix.net, hhtp://abroude.ripe.net/ris/rawdata –
Peer-to-Peer and Social Networks Random Graphs. Random graphs E RDÖS -R ENYI MODEL One of several models … Presents a theory of how social webs are formed.
Large-scale organization of metabolic networks Jeong et al. CS 466 Saurabh Sinha.
The Erdös-Rényi models
Optimization Based Modeling of Social Network Yong-Yeol Ahn, Hawoong Jeong.
(Social) Networks Analysis III Prof. Dr. Daning Hu Department of Informatics University of Zurich Oct 16th, 2012.
Topic 13 Network Models Credits: C. Faloutsos and J. Leskovec Tutorial
LANGUAGE NETWORKS THE SMALL WORLD OF HUMAN LANGUAGE Akilan Velmurugan Computer Networks – CS 790G.
Social Network Analysis Prof. Dr. Daning Hu Department of Informatics University of Zurich Mar 5th, 2013.
Class 9: Barabasi-Albert Model-Part I
Lecture 10: Network models CS 765: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
Most of contents are provided by the website Network Models TJTSD66: Advanced Topics in Social Media (Social.
How Do “Real” Networks Look?
March 3, 2009 Network Analysis Valerie Cardenas Nicolson Assistant Adjunct Professor Department of Radiology and Biomedical Imaging.
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.
Network (graph) Models
Lecture 23: Structure of Networks
Structures of Networks
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Lecture 1: Complex Networks
Topics In Social Computing (67810)
Structural Properties of Networks: Introduction
A Network Model of Knowledge Acquisition
Empirical analysis of Chinese airport network as a complex weighted network Methodology Section Presented by Di Li.
How Do “Real” Networks Look?
Lecture 23: Structure of Networks
Structural Properties of Networks: Introduction
Random Graph Models of large networks
How Do “Real” Networks Look?
How Do “Real” Networks Look?
Models of Network Formation
Lecture 13 Network evolution
Models of Network Formation
Models of Network Formation
How Do “Real” Networks Look?
Department of Computer Science University of York
Network Science: A Short Introduction i3 Workshop
Models of Network Formation
Topology and Dynamics of Complex Networks
Clustering Coefficients
Peer-to-Peer and Social Networks
Degree Distributions.
Lecture 23: Structure of Networks
Lecture 9: Network models CS 765: Complex Networks
Lecture 21 Network evolution
Modelling and Searching Networks Lecture 2 – Complex Networks
Modelling and Searching Networks Lecture 6 – PA models
Network Science: A Short Introduction i3 Workshop
Network Models Michael Goodrich Some slides adapted from:
Graphs G = (V,E) V is the vertex set.
Discrete Mathematics and its Applications Lecture 6 – PA models
Advanced Topics in Data Mining Special focus: Social Networks
Presentation transcript:

Peer-to-Peer and Social Networks Fall 2017 Random Graphs

Directed vs. Undirected graphs Collaborations, Friendship on Facebook (Symmetric relationship) Emails, citations, Following on Twitter (asymmetric relationship)

Directed vs. Undirected graphs Degree of a node = number of edges incident on it. Degree of A = 4 The average degree of nodes in an n-node graph G = (V, E) is In directed graphs, we have to define in-degree and out-degree of nodes. What is the average in-degree of the directed graph to the right?

Sparse and dense graphs In a clique with n nodes, the degree of each node is (n-1). In dense graphs, the average node degree is O(n). In sparse graphs, the average degree is much smaller. Are most real world social networks dense or sparse? A clique

Real-world graphs Most real world graphs are sparse, i.e. the average degree is much less than n-1 for an n-node graph. Some examples are LinkedIn N=6,946,668 Average degree = 8.87 Co-authorship (DBLP) = 317,080 Average degree = 6.62 Graphs can be weighted or un-weighted. Is the co-authorship network weighted or un-weighted?

Random graphs Erdös-Renyi model One of several models of real world networks Presents a theory of how social webs are formed. Start with a set of isolated nodes Connect each pair of nodes with a probability The resulting graph is known as

Random graphs ER model is different from the model The model randomly selects one from the entire family of graphs with nodes and edges.

Properties of ER graphs Property 1. The expected number of edges is Property 2. The expected degree per node is Property 3. The expected diameter of is Why? [deg = expected degree of a node] [Note the word expected]

Degree distribution in random graphs Probability that a node connects with a given set of nodes (and not to the remaining remaining nodes) is One can choose out of the remaining nodes in ways. So the probability distribution is (binomial distribution) (For large and small it is equivalent to Poisson distribution)

Degree distribution What distribution is this? P(k) = fraction of nodes that has degree k

Important network properties Here path length means average path length between pairs of nodes

Clustering coefficient For a given node, its local clustering coefficient (CC) measures what fraction of its various pairs of neighbors are neighbors of each other. B’s neighbors are {A,C,D,E}. Only (A,D), (D,E), (E,C) are connected CC of a graph is the mean of the CC of its various nodes CC(B) = 3/6 = ½ CC(D) = 2/3 = CC(E) The global CC is the average of the local CC values.

Properties of ER graphs -- When , an ER graph is a collection of disjoint trees. -- When suddenly one giant (connected) component emerges. Other components have a much smaller size [Phase change]

Properties of ER graphs When the graph is almost always connected why? (i.e. connected with high probability) Hints. The probability that a single node remains disconnected is (1-p)^(n-1). Substitute p = c.logn/n The clustering coefficient of an ER graph = p (why?} But a social network is not necessarily an ER graph! Human society is a “clustered” society, but ER graphs have poor (i.e. very low) clustering coefficient.

How social are you? Malcom Gladwell, a staff writer at the New Yorker magazine describes in his book The Tipping Point, an experiment to measure how social a person is. He started with a list of 248 last names A person scores a point if he or she knows someone with a last name from this list. If he/she knows three persons with the same last name, then he/she scores 3 points

How social are you? (Outcome of the Tipping Point experiment) Altogether 400 people from different groups were tested. (min) 9, (max) 118 {from a random sample} (min) 16, (max) 108 {from a highly homogeneous group} (min) 2, (max) 95 {from a college class} [Conclusion: Some people are very social, even in small or homogeneous samples. They are connectors]

Connectors Barabási observed that connectors are not unique to human society only, but true for many complex networks ranging from biology to computer science, where there are some nodes with an anomalously large number of links. Certainly these types of clustering cannot be expected in ER graphs. The world wide web, the ultimate forum of democracy, is not a random network, as Barabási’s web-mapping project revealed.

Anatomy of the web Barabási first experimented with the Univ. of Notre Dame’s web. 325,000 pages 270,000 pages (i.e. 82%) had three or fewer links 42 had 1000+ incoming links each. The entire WWW exhibited even more disparity. 90% had ≤ 10 links, whereas a few (4-5) like Yahoo were referenced by close to a million pages! These are the hubs of the web. They help create short paths between nodes (mean distance = 19 for WWW obtained via extrapolation). (Some dispute this figure now)

Random vs. Power-law Graphs The degree distribution in of the webpages in the World Wide Web follows a power-law

Random vs. Power-law Graphs

Random vs. Power-Law networks

Evolution of Scale-free networks

Example: Airline Routes Think of how new routes are added to an existing network

Preferential attachment A new node connects with an existing node with a probability proportional to its degree. The sum of the node degrees = 8 Existing network New node Also known as “Rich gets richer” policy This leads to a power-law distribution (Barabási & Albert)

Anatomy of the web Albert, Jeong, Barabasi: Diameter of the World Wide Web. (Brief Communication). Nature 401, 9 Sep 1999

The web is a bow tie Reference: Nature 405, 113(11 May 2000)

Power law graph The degree distribution in of the webpages in the World Wide Web follow a power-law. In a power-law graph, the number of nodes with degree satisfies the condition Also known as scale-free graph. Other examples are -- Income and number of people with that income -- Magnitude and number of earthquakes of that magnitude -- Population and number of cities with that population