Скачать презентацию School of Information University of Michigan SI 614 Скачать презентацию School of Information University of Michigan SI 614

aba28a1771964b89cfa6d9a744231db1.ppt

  • Количество слайдов: 53

School of Information University of Michigan SI 614 Small Worlds Lecture 5 Instructor: Lada School of Information University of Michigan SI 614 Small Worlds Lecture 5 Instructor: Lada Adamic

Outline n Milgram’s small world experiment n Watts & Strogatz small world model n Outline n Milgram’s small world experiment n Watts & Strogatz small world model n Kleinberg small world model n Watts, Dodds & Newman community model n Network models: a few examples n Things for Lada to remember: n Online survey for short profiles n Email in groups by Monday Feb. 6 th n Cormen chapter now available as PDF on c. Tools n PS 1 graded n PS 3 available by tomorrow

Small world experiments then MA NE Milgram’s experiment (1960’s): Given a target individual and Small world experiments then MA NE Milgram’s experiment (1960’s): Given a target individual and a particular property, pass the message to a person you correspond with who is “closest” to the target.

Milgram’s small world experiment n Target person worked in Boston as a stockbroker. n Milgram’s small world experiment n Target person worked in Boston as a stockbroker. n 296 senders from Boston and Omaha. n 20% of senders reached target. n average chain length = 6. 5. n “Six degrees of separation”

Small world experiments now email experiment Dodds, Muhamad, Watts, Science 301, (2003) 18 targets Small world experiments now email experiment Dodds, Muhamad, Watts, Science 301, (2003) 18 targets 13 different countries 60, 000+ participants 24, 163 message chains 384 reached their targets average path length 4. 0 image by Stephen G. Eick http: //www. bell-labs. com/user/eick/index. html (unrelated to small world experiment…)

Targets for the small world experiment at Columbia n a professor at an Ivy Targets for the small world experiment at Columbia n a professor at an Ivy League university, n an archival inspector in Estonia, n a technology consultant in India, n a policeman in Australia, n a veterinarian in the Norwegian army. n no chain reached the target in Croatia

Accounting for attrition n Approximate 37% participation rate approximately. n Probability of a chain Accounting for attrition n Approximate 37% participation rate approximately. n Probability of a chain of length 10 getting through: n. 3710 ~ 5 x 10 -5 n so only one out of 20, 000 chains would make it n actual # of completed chains: 384 (1. 6% of all chains). n Small changes in attrition rates lead to large changes in completion rates n e. g. , a 15% decrease in attrition rate would lead to a 800% increase in completion rate

Estimating ‘recovered’ chain lengths for uncompleted chains n <L> = 4. 05 for all Estimating ‘recovered’ chain lengths for uncompleted chains n = 4. 05 for all completed chains n L* = Estimated `true' median chain length n Intra-country chains: L* = 5 n Inter-country chains: L* = 7 n All chains: L* = 7 n Milgram: L * ~ 8 -9 hops

Attrition rate stays approx. constant throughout n r. L – probability of not passing Attrition rate stays approx. constant throughout n r. L – probability of not passing on the message at distance L from the source average 95 % confidence interval

Estimated ‘recovered’ chain lengths n observed chain lengths n ‘recovered’ histogram of path lengths Estimated ‘recovered’ chain lengths n observed chain lengths n ‘recovered’ histogram of path lengths n inter-country intra-country

Small world experiment at Columbia Successful chains disproportionately used • weak ties (Granovetter) • Small world experiment at Columbia Successful chains disproportionately used • weak ties (Granovetter) • professional ties (34% vs. 13%) • ties originating at work/college • target's work (65% vs. 40%). . . and disproportionately avoided • hubs (8% vs. 1%) (+ no evidence of funnels) • family/friendship ties (60% vs. 83%) Strategy: Geography -> Work

How many hops actually separate any two individuals in the world? n Participants are How many hops actually separate any two individuals in the world? n Participants are not perfect in routing messages n They use only local information n “The accuracy of small world chains in social networks” Peter D. Killworth, Chris Mc. Carty , H. Russell Bernard& Mark House: n Analyze 10920 shortest path connections between 105 members of an interviewing bureau, n together with the equivalent conceptual, or ‘small world’ routes, which use individuals’ selections of intermediaries. n This permits the first study of the impact of accuracy within small world chains. n The mean small world path length (3. 23) is 40% longer than the mean of the actual shortest paths (2. 30) n Model suggests that people make a less than optimal small world choice more than half the time.

Why study small world phenomena? Curiosity: Why is the world small? How are people Why study small world phenomena? Curiosity: Why is the world small? How are people able to route messages? Social Networking as a Business: Friendster, Orkut, My. Space Linked. In, Spoke, Visible. Path

Six degrees of separation - to be expected Pool and Kochen (1978) - average Six degrees of separation - to be expected Pool and Kochen (1978) - average person has 500 -1500 acquaintances Ignoring clustering (the probability that my friend’s friend is not someone unknown to me, but is actually my friend…) ~ 103 first neighbors, 106 second neighbors, 109 third neighbors Since the number of neighbors grows exponentially with distance (measured in hops traversed in a breadth-first search) Connected random networks have short average path lengths: ~ log(N) N = population size, d. AB = distance between nodes A and B. But: social networks aren't random…

Reverse small world experiment n Killworth & Bernard (1978): n Given hypothetical targets (name, Reverse small world experiment n Killworth & Bernard (1978): n Given hypothetical targets (name, occupation, location, hobbies, religion…) n n n participants choose an acquaintance for each target Acquaintance chosen based on (most often) occupation, geography only 7% because they “know a lot of people” Simple greedy algorithm: most similar acquaintance two-step strategy rare

The small world model High clustering: my friends’ friends tend to be my friends The small world model High clustering: my friends’ friends tend to be my friends Watts & Strogatz (1998) - a few random links in an otherwise clustered graph give an average shortest path close to that of a random graph

Networks in nature (empirical observations) neural network of C. elegans, semantic networks of languages, Networks in nature (empirical observations) neural network of C. elegans, semantic networks of languages, actor collaboration graph, food webs.

Model proposed n Crossover from regular lattices to random graphs n Tunable n Small Model proposed n Crossover from regular lattices to random graphs n Tunable n Small world network with (simultaneously): n Small average shortest path n Large clustering coefficient (not obeyed by RG)

Two ways of constructing a small world graph Select a fraction p of edges Two ways of constructing a small world graph Select a fraction p of edges Reposition on of their endpoints Add a fraction p of additional edges leaving underlying lattice intact n As in many network generating algorithms n Disallow self-edges n Disallow multiple edges

Original model n Each node has K>=4 nearest neighbors (local) n Probability p of Original model n Each node has K>=4 nearest neighbors (local) n Probability p of rewiring to randomly chosen nodes n p small: regular lattice n p large: classical random graph

p=0 Ordered lattice n Compute the clustering coefficient as follows n each node is p=0 Ordered lattice n Compute the clustering coefficient as follows n each node is connected to K neighbors, who can have K*(K-1)/2 pairwise connections between them n some of the connections between them are present in the lattice If K = 4 (connected to two closest neighbors on each side) C = 3*2/4/3 = ½ Caution: sometimes the lattice will be specified as each node connects to K closest neighbors each node connects to all neighbors within distance k (k = K/2)

Clustering coefficient for regular lattice n In general, can have any K n a Clustering coefficient for regular lattice n In general, can have any K n a neighbor K/2 hops away from i can connect to (K/2 – 1) of i’s neighbors n a neighbor K/2 -1 hops away can connect to (1 + K/2 – 1) neighbors n K/2 – 2 hops away i n (2 + K/2 – 1) neighbors i n 1 hop away n 2*(K/2 – 1) n Sum this up n multiply by factor of 2 because i has neighbors on both sides n divide by a factor of 2 because edges are undirected i

Clustering coefficient for regular lattice n The number of connections between neighbors is given Clustering coefficient for regular lattice n The number of connections between neighbors is given by i n The maximum number of i connections is K*(K-1)/2 n → clustering coefficient is i

Average shortest path – regular lattice n Average node is N/4 hops away (a Average shortest path – regular lattice n Average node is N/4 hops away (a quarter of the way around the ring), and you can hop over K/2 nodes at a time

p=1 Random graph n We’ll talk more about this next week There an average p=1 Random graph n We’ll talk more about this next week There an average of K links per node. The probability that any two nodes are connected is p = K/N. The probability that two nodes which share in a neighbor in common are connected themselves is the same as any two random nodes: K/N (actually (K-1)/N because they have already expended one edge on their common neighbor.

What happens in between? n Small shortest path means small clustering? n Large shortest What happens in between? n Small shortest path means small clustering? n Large shortest path means large clustering? n Through numerical simulation n As we increase p from 0 to 1 n Fast decrease of mean distance n Slow decrease in clustering

Change in clustering coefficient and average path length as a function of the proportion Change in clustering coefficient and average path length as a function of the proportion of rewired edges C(p)/C(0) Exact analytical solution l(p)/l(0) No exact analytical solution 1% of links rewired 10% of links rewired

Clustering coefficient for SW model with rewiring n The probability that a connected triple Clustering coefficient for SW model with rewiring n The probability that a connected triple stays connected after rewiring n probability that none of the 3 edges were rewired (1 -p)3 n probability that edges were rewired back to each other very small, can ignore n Clustering coefficient = C(p) = C(p=0)*(1 -p)3 C(p)/C(0) p

Clustering coefficient: addition of random edges n How does C depend on p? n Clustering coefficient: addition of random edges n How does C depend on p? n C’(p)= 3 xnumber of triangles / number of connected triples n C’(p) computed analytically for the small world model without rewiring C’(p) p

Degree distribution n p=0 delta-function n p>0 broadens the distribution n Edges left in Degree distribution n p=0 delta-function n p>0 broadens the distribution n Edges left in place with probability (1 -p) n Edges rewired towards i with probability 1/N

Model: small world with probability p of rewiring Why does each node keep at Model: small world with probability p of rewiring Why does each node keep at least K/2 links? Even at p = 1, graph is not a purely random graph 1000 vertices random network with average connectivity K visit nodes sequentially and rewire links exponential decay, all nodes have similar number of links

Some examples for real networks (in averages) Network size vertex degree shorte st path Some examples for real networks (in averages) Network size vertex degree shorte st path Shortest path in fitted random graph Clustering (# triangles) Clustering (averaged over vertices) Clustering in random graph Film actors 225, 226 61 3. 65 2. 99 0. 20 0. 79 0. 00027 MEDLINE coauthorship 1, 520, 251 18. 1 4. 6 4. 91 0. 45 0. 56 1. 8 x 10 -4 E. Coli substrate graph 282 7. 35 2. 9 3. 04 0. 32 0. 026 C. Elegans 282 14 2. 65 2. 25 0. 28 0. 05

What if long range links depend on distance? “The geographic movement of the [message] What if long range links depend on distance? “The geographic movement of the [message] from Nebraska to Massachusetts is striking. There is a progressive closing in on the target area as each new person is added to the chain” S. Milgram ‘The small world problem’, Psychology Today 1, 61, 1967 MA NE

Kleinberg’s geographical small world model nodes are placed on a lattice and connect to Kleinberg’s geographical small world model nodes are placed on a lattice and connect to nearest neighbors additional links placed with puv~ Kleinberg, ‘The Small World Phenomenon, An Algorithmic Perspective’ (Nature 2000)

no locality When r=0, links are randomly distributed, ASP ~ log(n), n size of no locality When r=0, links are randomly distributed, ASP ~ log(n), n size of grid

Links highly localized links on a lattice Links highly localized links on a lattice

Links balanced between long and short range Links balanced between long and short range

How the small world phenomenon arises l 2|R|<|R’|<l|R| R R’ T S k = How the small world phenomenon arises l 2|R|<|R’|

h Hierarchical network models: b=3 Individuals classified into a hierarchy, hij = height of h Hierarchical network models: b=3 Individuals classified into a hierarchy, hij = height of the least common ancestor. e. g. state-county-city-neighborhood industry-corporation-division-group Group structure models: Individuals belong to nested groups q = size of smallest group that v, w belong to f(q) ~ q-a Kleinberg, ‘Small-World Phenomena and the Dynamics of Information’ NIPS 14, 2001

Identity and search in social networks Watts, Dodds, Newman (Science, 2001) individuals belong to Identity and search in social networks Watts, Dodds, Newman (Science, 2001) individuals belong to hierarchically nested groups pij ~ exp(-a x) multiple independent hierarchies h=1, 2, . . , H coexist corresponding to occupation, geography, hobbies, religion…

Other generative models n Assign properties to nodes (e. g. spatial location, group membership) Other generative models n Assign properties to nodes (e. g. spatial location, group membership) n Add or rewire links according to some rule n optimize for a particular property (simulated annealing) n add links with probability depending on property of existing nodes, edges (preferential attachment, link copying) n simulate nodes as agents ‘deciding’ whether to rewire or add links

Example: trade-off between wiring and connectivity Small worlds: How and Why, Nisha Mathias and Example: trade-off between wiring and connectivity Small worlds: How and Why, Nisha Mathias and Venkatesh Gopal n E is the ‘energy’ cost we are trying to minimize n L is the average shortest path in ‘hops’ n W is the total length of wire used

Network configuration n rewire using simulated annealing n sequence is shown in order of Network configuration n rewire using simulated annealing n sequence is shown in order of increasing l

Small worlds: the how and the why n same networks, but the vertices are Small worlds: the how and the why n same networks, but the vertices are allowed to move using a spring layout algorithm n wiring cost associated with the physical distance between nodes

Shape and efficiency in spatial distribution networks Michael Gastner & Mark Newman (a) Commuter Shape and efficiency in spatial distribution networks Michael Gastner & Mark Newman (a) Commuter rail network in the Boston area. The arrow marks the assumed root of the network. (b) Star graph. (c) Minimum spanning tree. (d) The model of Eq. (3) applied to the same set of stations.

Assign an effective cost to each edge physical distance number of hops n l Assign an effective cost to each edge physical distance number of hops n l incorporates a person’s preference for short distances or a small number of hops n car travel: short distance n airplane travel: small number of hops, sometimes at the expense of total distance n Construct network using simulated annealing

slide by Mark Newman slide by Mark Newman

slide by Mark Newman slide by Mark Newman

slide by Mark Newman slide by Mark Newman

Roads Air routes slide by Mark Newman Roads Air routes slide by Mark Newman

How do networks become navigable? Aaron Clauset and Christopher Moore arxiv. org/abs/cond-mat/0309415 • start How do networks become navigable? Aaron Clauset and Christopher Moore arxiv. org/abs/cond-mat/0309415 • start with a 1 -D lattice (a ring) • each node is connected to its 2 nearest neighbors and has one long range link (initially just a self-loop) y • we start going from x to y, but go no more than a certain threshold # of steps which repesents how many hops we think getting to y should take • if we give up, we rewire x’s long range link to the last node we reached x • In the limit N-> • long range link distribution becomes 1/r, r = lattice distance between nodes • search time starts scaling as log(N)

Summary n The world is small! n Watts & Strogatz came up with a Summary n The world is small! n Watts & Strogatz came up with a simple model to explain why n Later, more sophisticated models of social structure were developed n There are many, many more models that can be thought up and that give useful insights