Professor Yashar Ganjali Department of Computer Science University of Toronto

Slides:



Advertisements
Similar presentations
Scale Free Networks.
Advertisements

The Strength of Weak Ties
‘Small World’ Networks (An Introduction) Presenter : Vishal Asthana
Network Matrix and Graph. Network Size Network size – a number of actors (nodes) in a network, usually denoted as k or n Size is critical for the structure.
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Introduction to Graphs
Analysis and Modeling of Social Networks Foudalis Ilias.
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.
Advanced Topics in Data Mining Special focus: Social Networks.
On the Spread of Viruses on the Internet Noam Berger Joint work with C. Borgs, J.T. Chayes and A. Saberi.
Emergence of Scaling in Random Networks Barabasi & Albert Science, 1999 Routing map of the internet
The Structure of Networks with emphasis on information and social networks RU T-214-SINE Summer 2011 Ýmir Vigfússon.
Small Worlds Presented by Geetha Akula For the Faculty of Department of Computer Science, CALSTATE LA. On 8 th June 07.
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) ‏
CSE 222 Systems Programming Graph Theory Basics Dr. Jim Holten.
Social Networks: Advertising, Pricing and All That Zvi Topol & Itai Yarom.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 7 May 14, 2006
How is this going to make us 100K Applications of Graph Theory.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
Models of Influence in Online Social Networks
(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
Section 8 – Ec1818 Jeremy Barofsky March 31 st and April 1 st, 2010.
Social Networks 101 P ROF. J ASON H ARTLINE AND P ROF. N ICOLE I MMORLICA.
Small World Social Networks With slides from Jon Kleinberg, David Liben-Nowell, and Daniel Bilar.
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
COM1721: Freshman Honors Seminar A Random Walk Through Computing Lecture 2: Structure of the Web October 1, 2002.
COLOR TEST COLOR TEST. Social Networks: Structure and Impact N ICOLE I MMORLICA, N ORTHWESTERN U.
Murtaza Abbas Asad Ali. NETWORKOLOGY THE SCIENCE OF NETWORKS.
Structural Properties of Networks: Introduction Networked Life NETS 112 Fall 2015 Prof. Michael Kearns.
Networks Igor Segota Statistical physics presentation.
Professor Yashar Ganjali Department of Computer Science University of Toronto
L – Modelling and Simulating Social Systems with MATLAB Lesson 6 – Graphs (Networks) Anders Johansson and Wenjian Yu (with S. Lozano.
Lecture 10: Network models CS 765: Complex Networks Slides are modified from Networks: Theory and Application by Lada Adamic.
Handout # 3: Introduction to Computer Networks
Most of contents are provided by the website Network Models TJTSD66: Advanced Topics in Social Media (Social.
Lecture 5.4: Paths and Connectivity CS 250, Discrete Structures, Fall 2011 Nitesh Saxena *Adopted from previous lectures by Zeph Grunschlag.
CS:4980:0005 Peer-to-Peer and Social Networks Fall 2015 Introduction.
1 Friends and Neighbors on the Web Presentation for Web Information Retrieval Bruno Lepri.
Small World Social Networks With slides from Jon Kleinberg, David Liben-Nowell, and Daniel Bilar.
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.
Informatics tools in network science
Class 2: Graph Theory IST402.
Importance Measures on Nodes Lecture 2 Srinivasan Parthasarathy 1.
Teachers Teaching With Technology 2010 Annual Meeting - Atlanta, GA Ray Barton, Olympus High, SLC, UT.
Netlogo demo. Complexity and Networks Melanie Mitchell Portland State University and Santa Fe Institute.
Response network emerging from simple perturbation Seung-Woo Son Complex System and Statistical Physics Lab., Dept. Physics, KAIST, Daejeon , Korea.
Topics In Social Computing (67810) Module 1 Introduction & The Structure of Social Networks.
GRAPH AND LINK MINING 1. Graphs - Basics 2 Undirected Graphs Undirected Graph: The edges are undirected pairs – they can be traversed in any direction.
Social Networks Some content from Ding-Zhu Du, Lada Adamic, and Eytan Adar.
Lecture 23: Structure of Networks
Structural Properties of Networks: Introduction
Network analysis.
The Strength of Weak Ties
Lecture 23: Structure of Networks
Structural Properties of Networks: Introduction
Network Science: A Short Introduction i3 Workshop
Why Social Graphs Are Different Communities Finding Triangles
Peer-to-Peer and Social Networks Fall 2017
Connectivity Section 10.4.
Lecture 23: Structure of Networks
Graph and Link Mining.
Network Models Michael Goodrich Some slides adapted from:
Advanced Topics in Data Mining Special focus: Social Networks
Presentation transcript:

Professor Yashar Ganjali Department of Computer Science University of Toronto

Announcements Class mailing list: if you haven’t received an from me, please let me know. Check out class web page for slides, and lecture notes. Volunteer for lecture notes? SII Computer Networks and Society2University of Toronto – Fall 2015

Announcements – Cont’d Assignment # 1 is posted. Submission deadline: 5PM on Friday Oct. 9 th your solutions (one PDF file) to me; or Slide them under my office door BA5238 SII Computer Networks and Society3University of Toronto – Fall 2015

SII Computer Networks and SocietyUniversity of Toronto – Fall 2015 The Story So Far … Last week: Introduction to Computer Networks Basics concepts and components An introduction to the mail system An introduction to the Internet This week: The Science of Network Introduction to graphs Random graphs Scale-free networks Six degrees of separation Diffusion of information 4

Konigsberg Bridge Problem Can one walk cross the 7 bridges and never pass the same bridge twice? Model as a graph Nodes: pieces of land Edges: bridges Euler proved that … Such a path does not exist Why? D A B C SII Computer Networks and Society5University of Toronto – Fall 2015

Science of Networks Society as a graph Nodes: people Edges or links: relationships Why? Removes unnecessary details Easier to focus, and … To generalize ideas Use ideas from one domain in another one Can be applied to other networks Examples: students in this class, computers at your home, … SII Computer Networks and Society6University of Toronto – Fall 2015

Some Terminology Edges can be directed or undirected Examples? Edges can also have weights Indication of the strength of the relationship between two nodes Degree of a node Number of links connected to that node A component of a graph is … Set of nodes that are connected by links A connected graph has only one component SII Computer Networks and Society7University of Toronto – Fall 2015

Terminology – Cont’d Path between node a and node b Start at node a. Go through a sequence of nodes (and links) to reach b. Path Length is the number of links on the path SII Computer Networks and Society8University of Toronto – Fall 2015

Definitions – Cont’d Shortest path between node a and node b Path with the minimum number of links We can have more than one shortest path Distance is the length of shortest path Diameter is the distance of the two furthest nodes SII Computer Networks and Society9University of Toronto – Fall 2015

Characteristics of Social Networks What do social networks look like today? Are they completely random? Is there a pattern we can find? Properties of social networks Average number of friends Average path length between any two people How does information propagate? News, fashion, … Who are the most influential people? Fastest to distribute info, best target for advertisement How can we detect communities? SII Computer Networks and Society10University of Toronto – Fall 2015

Random Graphs Random graphs are extremely simple ways of modeling networks How to build a random graph Consider all pairs of nodes (a, b) With probability p connect a and b Question: what is the average degree of each node? Answer: p(N-1) Question: what is the average number of links? Answer: [p(N-1)N]/2 SII Computer Networks and Society11University of Toronto – Fall 2015

Example SII Computer Networks and Society12University of Toronto – Fall 2015 No. of nodes12 Probability (p)00.11 Avg. degree Avg. no. links Avg. path length??1

Properties of Random Graphs All nodes are treated similarly Is this true in human networks? What about computer networks? Normal degree distribution Sum of multiple coin flips Let’s try it … SII Computer Networks and Society13University of Toronto – Fall 2015

In Class Exercise Flip a coin 11 times Assuming there are 12 students in class If the i-th flip is heads You and student number i are friends Else You and student number i are not friends Count the number of friends you have. SII Computer Networks and Society14University of Toronto – Fall 2015

Social Networks vs. Random Graphs Can we model social networks with random graphs? There are groups of nodes which are highly connected to each other But have less connectivity to the outside Non-uniform probability of friendship Not all nodes are similar Few people have many many friends Degree distribution is not normal SII Computer Networks and Society15University of Toronto – Fall 2015 Social networks are far from being random

Hubs in Social Networks In social networks not all nodes are equal. Hubs: nodes with extremely larger degrees People who know a lot of people They connect different communities to each other Degree distribution is not normal. Heavy-tailed SII Computer Networks and Society16University of Toronto – Fall 2015

Examples of Hubs In the World Wide Web, hubs might be websites such as Google, Facebook. In Hollywood, the hubs are the actors who have worked with the most people. In school, hubs are students who take many classes and interact with many classmates. Membership in different groups Class representatives … SII Computer Networks and Society17University of Toronto – Fall 2015

Scale-Free Networks Small subset of nodes have high degree of connectivity Node degrees are heavy-tailed Small number of nodes have very high degrees Majority of nodes have small degrees Not normal distribution (like random graphs) SII Computer Networks and Society18University of Toronto – Fall 2015

Barabasi-Albert Networks Start from a small number of nodes Add new nodes one after another Each node will connect to k previous nodes Preferential attachment Connect to high node degrees with higher probability Rich gets richer This approach creates hubs Few nodes in the network with very large degree of connectivity SII Computer Networks and Society19University of Toronto – Fall 2015

Example (k = 1) SII Computer Networks and Society20University of Toronto – Fall 2015

Rich Get Richer In Barabasi-Albert model, incoming node has a higher probability of connecting to a node with a larger degree than a node with a small degree. In other words, “rich get richer”. This is what leads to creation of hubs. Question. If you want to increase the size of your friends network, who is a better target: Someone who has a similar background? Or, Someone you know with a completely different background? SII Computer Networks and Society21University of Toronto – Fall 2015

Six Degrees of Separation Harvard Psychology Professor Study of obedience In 1967 performed an experiment Random people where asked to send a letter (through intermediaries) to someone in Boston. If they didn’t know the target, they could send it to someone who might know him. Only send to someone who you know on a first-name basis. The average path length was six Among the letters that were received Many were not SII Computer Networks and Society22University of Toronto – Fall 2015 Small World

It Is a Small World Same “small world” phenomena is seen in other networks Co-authorship network Nodes: paper authors Links: co-authorship relationship Network of web page Nodes: web pages Links: referrals Hollywood Nodes: actors and actresses Links: playing in the same movie SII Computer Networks and Society23University of Toronto – Fall 2015

The Kevin Bacon Game Consider any actor You can get to Kevin Bacon in 6 steps or less By traveling along the links connecting actors Two actors are connected if they played in the same movie together. SII Computer Networks and Society24University of Toronto – Fall 2015

Separation of Web Pages, Molecules, … You can get from a given web page to any other in a maximum of 19 clicks Barabasi et al. Molecules in a cell Connected by reactions between molecules Most pairs can be linked by a path of length three SII Computer Networks and Society25University of Toronto – Fall 2015

Diffusion in Social Networks Ideas, products, viruses, … can spread in networks Spreading rate: how fast the number of adopters grows Depends on how likely people are to adopt University of Toronto – Fall 2015 Innovation Late adopters Early adopters SII Computer Networks and Society26

Diffusion in Networks – Cont’d In random networks Either the entire network is infected, or It dies out Depends on spreading rate Above a threshold  all nodes will be infected Below that threshold  spread will die out In scale-free networks however No epidemic threshold Steady state of small persistence rate Hubs have an important role in the spread It is critical to protect or infect the hubs SII Computer Networks and Society27University of Toronto – Fall 2015

Connectivity in Scale-Free Networks Removing a few nodes randomly in scale-free networks does not make it disconnected. You need to remove many nodes for that to happen. Why? Randomly selecting nodes, chances are you will select one with a small degree. There are very few hubs after all. In an adversarial attack however, one can remove hubs. Very few removals can break the system into several parts. Think in terms of communication networks. SII Computer Networks and Society28University of Toronto – Fall 2015

Summary and Discussion We model social networks with graphs. Random graphs capture some properties of social networks, but not all. Scale-free networks are better ways of modeling social networks. We have heavy-tailed degree distribution in scale-free networks. Diffusion of information Random networks: all nodes infected if rate is above a threshold Scale-free networks: steady persistence regardless of the rate Can we take advantage of this? SII Computer Networks and Society29University of Toronto – Fall 2015