Finding central nodes in large networks

Similar documents
Local properties of PageRank and graph limits. Nelly Litvak University of Twente Eindhoven University of Technology, The Netherlands MIPT 2018

Link Analysis Information Retrieval and Data Mining. Prof. Matteo Matteucci

Complex Social System, Elections. Introduction to Network Analysis 1

DATA MINING LECTURE 13. Link Analysis Ranking PageRank -- Random walks HITS

Online Social Networks and Media. Link Analysis and Web Search

Link Analysis. Leonid E. Zhukov

Web Structure Mining Nodes, Links and Influence

Computing PageRank using Power Extrapolation

ECEN 689 Special Topics in Data Science for Communications Networks

Link Analysis Ranking

Node Centrality and Ranking on Networks

Mathematical Properties & Analysis of Google s PageRank

6.207/14.15: Networks Lecture 7: Search on Networks: Navigation and Web Search

Monte Carlo methods in PageRank computation: When one iteration is sufficient

Math 304 Handout: Linear algebra, graphs, and networks.

LINK ANALYSIS. Dr. Gjergji Kasneci Introduction to Information Retrieval WS

Random Walk Based Algorithms for Complex Network Analysis

MAE 298, Lecture 8 Feb 4, Web search and decentralized search on small-worlds

Quick Detection of Top-k Personalized PageRank Lists

Wiki Definition. Reputation Systems I. Outline. Introduction to Reputations. Yury Lifshits. HITS, PageRank, SALSA, ebay, EigenTrust, VKontakte

Online Social Networks and Media. Link Analysis and Web Search

Analysis of Google s PageRank

CS 277: Data Mining. Mining Web Link Structure. CS 277: Data Mining Lectures Analyzing Web Link Structure Padhraic Smyth, UC Irvine

Slides based on those in:

Uncertainty and Randomization

1 Searching the World Wide Web

CS224W: Social and Information Network Analysis Jure Leskovec, Stanford University

1998: enter Link Analysis

Kristina Lerman USC Information Sciences Institute

Personalized PageRank with node-dependent restart

Introduction to Search Engine Technology Introduction to Link Structure Analysis. Ronny Lempel Yahoo Labs, Haifa

PAGERANK PARAMETERS. Amy N. Langville. American Institute of Mathematics Workshop on Ranking Palo Alto, CA August 17th, 2010

CSI 445/660 Part 6 (Centrality Measures for Networks) 6 1 / 68

Overview and comparison of random walk based techniques for estimating network averages

PageRank. Ryan Tibshirani /36-662: Data Mining. January Optional reading: ESL 14.10

How does Google rank webpages?

Web Ranking. Classification (manual, automatic) Link Analysis (today s lesson)

Introduction to Data Mining

Analysis and Computation of Google s PageRank

Inf 2B: Ranking Queries on the WWW

Link Analysis. Stony Brook University CSE545, Fall 2016

Online Sampling of High Centrality Individuals in Social Networks

Slide source: Mining of Massive Datasets Jure Leskovec, Anand Rajaraman, Jeff Ullman Stanford University.

Node and Link Analysis

arxiv:cond-mat/ v1 3 Sep 2004

Degree Distribution: The case of Citation Networks

Thanks to Jure Leskovec, Stanford and Panayiotis Tsaparas, Univ. of Ioannina for slides

CS246: Mining Massive Datasets Jure Leskovec, Stanford University

Personalized PageRank with Node-dependent Restart

Thanks to Jure Leskovec, Stanford and Panayiotis Tsaparas, Univ. of Ioannina for slides

Page rank computation HPC course project a.y

The Push Algorithm for Spectral Ranking

Calculating Web Page Authority Using the PageRank Algorithm

MultiRank and HAR for Ranking Multi-relational Data, Transition Probability Tensors, and Multi-Stochastic Tensors

Data Mining and Matrices

Data Mining Recitation Notes Week 3

AXIOMS FOR CENTRALITY

Applications to network analysis: Eigenvector centrality indices Lecture notes

Information Retrieval and Search. Web Linkage Mining. Miłosz Kadziński

Lab 8: Measuring Graph Centrality - PageRank. Monday, November 5 CompSci 531, Fall 2018

Lecture 12: Link Analysis for Web Retrieval

As it is not necessarily possible to satisfy this equation, we just ask for a solution to the more general equation

Link Analysis. Reference: Introduction to Information Retrieval by C. Manning, P. Raghavan, H. Schutze

PageRank algorithm Hubs and Authorities. Data mining. Web Data Mining PageRank, Hubs and Authorities. University of Szeged.

A Note on Google s PageRank

Algebraic Representation of Networks

Four graph partitioning algorithms. Fan Chung University of California, San Diego

DS504/CS586: Big Data Analytics Graph Mining II

Lecture 14: Random Walks, Local Graph Clustering, Linear Programming

Web Ranking. Classification (manual, automatic) Link Analysis (today s lesson)

CS246: Mining Massive Datasets Jure Leskovec, Stanford University.

How Does Google?! A journey into the wondrous mathematics behind your favorite websites. David F. Gleich! Computer Science! Purdue University!

Graph Models The PageRank Algorithm

0.1 Naive formulation of PageRank

MPageRank: The Stability of Web Graph

Available online at ScienceDirect. IFAC PapersOnLine 51-7 (2018) 64 69

Facebook Friends! and Matrix Functions

CS6220: DATA MINING TECHNIQUES

DS504/CS586: Big Data Analytics Graph Mining II

Jeffrey D. Ullman Stanford University

Link Mining PageRank. From Stanford C246

CS6220: DATA MINING TECHNIQUES

Data and Algorithms of the Web

The Second Eigenvalue of the Google Matrix

Randomization and Gossiping in Techno-Social Networks

Algorithmic Primitives for Network Analysis: Through the Lens of the Laplacian Paradigm

IR: Information Retrieval

Dirichlet PageRank and Ranking Algorithms Based on Trust and Distrust

Data science with multilayer networks: Mathematical foundations and applications

Lecture: Local Spectral Methods (1 of 4)

MobiHoc 2014 MINIMUM-SIZED INFLUENTIAL NODE SET SELECTION FOR SOCIAL NETWORKS UNDER THE INDEPENDENT CASCADE MODEL

Department of Applied Mathematics. University of Twente. Faculty of EEMCS. Memorandum No. 1712

Google PageRank. Francesco Ricci Faculty of Computer Science Free University of Bozen-Bolzano

The Google Markov Chain: convergence speed and eigenvalues

Application. Stochastic Matrices and PageRank

CSCI 3210: Computational Game Theory. Cascading Behavior in Networks Ref: [AGT] Ch 24

arxiv: v1 [math.pr] 8 May 2018

Extrapolation Methods for Accelerating PageRank Computations

The Dynamic Absorbing Model for the Web

Updating PageRank. Amy Langville Carl Meyer

Transcription:

Finding central nodes in large networks Nelly Litvak University of Twente Eindhoven University of Technology, The Netherlands Woudschoten Conference 2017

Complex networks Networks: Internet, WWW, social networks, neural networks,...

Complex networks Networks: Internet, WWW, social networks, neural networks,... Many nodes connected by edges

Complex networks Networks: Internet, WWW, social networks, neural networks,... Many nodes connected by edges Physics, computer science, sociology, biology, art

The Internet www.opte.org

Examples of networks Euromaidan Retweets

Examples of networks Euromaidan Retweets Bank transactions in Australia.

Centrality in networks Network as a graph G = (V, E)

Centrality in networks Network as a graph G = (V, E) Undirected:

Centrality in networks Network as a graph G = (V, E) Undirected: Facebook, roads networks, airline networks, power grids, co-authorship networks

Centrality in networks Network as a graph G = (V, E) Undirected: Facebook, roads networks, airline networks, power grids, co-authorship networks Directed:

Centrality in networks Network as a graph G = (V, E) Undirected: Facebook, roads networks, airline networks, power grids, co-authorship networks Directed: Twitter, bank transactions, food webs, WWW, scientific citations

Centrality in networks Network as a graph G = (V, E) Undirected: Facebook, roads networks, airline networks, power grids, co-authorship networks Directed: Twitter, bank transactions, food webs, WWW, scientific citations V set of vertices, E set of edges

Centrality in networks Network as a graph G = (V, E) Undirected: Facebook, roads networks, airline networks, power grids, co-authorship networks Directed: Twitter, bank transactions, food webs, WWW, scientific citations V set of vertices, E set of edges V = n, we can let n

Centrality in networks Network as a graph G = (V, E) Undirected: Facebook, roads networks, airline networks, power grids, co-authorship networks Directed: Twitter, bank transactions, food webs, WWW, scientific citations V set of vertices, E set of edges V = n, we can let n Which nodes are most central in a network?

Google search Brin and Page 1998 The anatomy of a large-scale hypertextual web search engine. Page, Brin, Motwani and Winograd 1999 The PageRank Citation Ranking: Bringing Order to the Web.

Google search Brin and Page 1998 The anatomy of a large-scale hypertextual web search engine. Page, Brin, Motwani and Winograd 1999 The PageRank Citation Ranking: Bringing Order to the Web. Yahoo, AltaVista,...

Google search Brin and Page 1998 The anatomy of a large-scale hypertextual web search engine. Page, Brin, Motwani and Winograd 1999 The PageRank Citation Ranking: Bringing Order to the Web. Yahoo, AltaVista,... Directory-based, comparable to telephone books

Google search Brin and Page 1998 The anatomy of a large-scale hypertextual web search engine. Page, Brin, Motwani and Winograd 1999 The PageRank Citation Ranking: Bringing Order to the Web. Yahoo, AltaVista,... Directory-based, comparable to telephone books

Google PageRank PageRank r i of page i = 1,..., n is defined as: r i = j : j i α d j r j + (1 α)q i, i = 1,..., n d j = # out-links of page j α (0, 1), damping factor originally 0.85 q i 0, i q i = 1, originally, q i = 1/n.

Easily bored surfer model r i = j : j i α d j r j + (1 α)q i, i = 1,..., n r i is a stationary distribution of a Markov chain

Easily bored surfer model r i = j : j i α d j r j + (1 α)q i, i = 1,..., n r i is a stationary distribution of a Markov chain with probability α follow a randomly chosen outgoing link with probability 1 α random jump (to page i w.p. q i )

Easily bored surfer model r i = j : j i α d j r j + (1 α)q i, i = 1,..., n r i is a stationary distribution of a Markov chain with probability α follow a randomly chosen outgoing link with probability 1 α random jump (to page i w.p. q i ) Dangling nodes, d j = 0: Random jump from dangling nodes

Easily bored surfer model r i = j : j i α d j r j + (1 α)q i, i = 1,..., n r i is a stationary distribution of a Markov chain with probability α follow a randomly chosen outgoing link with probability 1 α random jump (to page i w.p. q i ) Dangling nodes, d j = 0: Random jump from dangling nodes Stationary distribution π = r/ r 1

Easily bored surfer model r i = j : j i α d j r j + (1 α)q i, i = 1,..., n r i is a stationary distribution of a Markov chain with probability α follow a randomly chosen outgoing link with probability 1 α random jump (to page i w.p. q i ) Dangling nodes, d j = 0: Random jump from dangling nodes Stationary distribution π = r/ r 1 The page is important if many important pages link to it!

PageRank beyond web search Applications: Topic-sensitive search (Haveliwala 2002); Spam detection (Gyöngyi et al. 2004) Finding related entities (Chakrabarti 2007); Link prediction (Liben-Nowell and Kleinberg 2003; Voevodski, Teng, Xia 2009); Finding local cuts (Andersen, Chung, Lang 2006); Graph clustering (Tsiatas, Chung 2010); Person name disambiguation (Smirnova, Avrachenkov, Trousse 2010); Finding most influential people in Wikipedia (Shepelyansky et al 2010, 2013)

PageRank beyond web search Applications: Topic-sensitive search (Haveliwala 2002); Spam detection (Gyöngyi et al. 2004) Finding related entities (Chakrabarti 2007); Link prediction (Liben-Nowell and Kleinberg 2003; Voevodski, Teng, Xia 2009); Finding local cuts (Andersen, Chung, Lang 2006); Graph clustering (Tsiatas, Chung 2010); Person name disambiguation (Smirnova, Avrachenkov, Trousse 2010); Finding most influential people in Wikipedia (Shepelyansky et al 2010, 2013) Global characteristic of the graph

Example: food web

Example: food web Allesina and Pascual 2009

Matrix form r i = j : j i α d j r j + (1 α)q i, i = 1,..., n P = { 1 d j, j i 0, otherwise. r = (r 1, r 2,..., r n ) q = (q 1, q 2,..., q n ) r = αrp + (1 α)q

Matrix form r i = j : j i α d j r j + (1 α)q i, i = 1,..., n P = { 1 d j, j i 0, otherwise. r = (r 1, r 2,..., r n ) q = (q 1, q 2,..., q n ) r = αrp + (1 α)q

Linear equation and eigenvector problem r = αrp + (1 α)q [ r = r αp + 1 α ] 1 t q n r = (1 α)q[i αp] 1 = (1 α)q eigenvector problem α t P t. t=0

Matrix expansion r = αrp + (1 α)q r = (1 α)q[i αp] 1 = (1 α)q Computation by matrix iterations: r (0) = (1/n,..., 1/n) r (k) = αr (k 1) P + (1 α)q α t P t. t=0 k 1 = r (0) α k P k + (1 α)q α t P t t=0

Matrix expansion r = αrp + (1 α)q r = (1 α)q[i αp] 1 = (1 α)q Computation by matrix iterations: r (0) = (1/n,..., 1/n) r (k) = αr (k 1) P + (1 α)q α t P t. t=0 k 1 = r (0) α k P k + (1 α)q α t P t t=0 Exponentially fast convergence due to α (0, 1)

Matrix expansion r = αrp + (1 α)q r = (1 α)q[i αp] 1 = (1 α)q Computation by matrix iterations: r (0) = (1/n,..., 1/n) r (k) = αr (k 1) P + (1 α)q α t P t. t=0 k 1 = r (0) α k P k + (1 α)q α t P t t=0 Exponentially fast convergence due to α (0, 1) Matrix iterations are used to compute PageRank in practice Langville&Meyer 2004, Berkhin 2005

Ranking algorithms/centrality measures Recent review: (Boldi and Vigna 2014) Based on distances: (in-)degree: number of nodes on distance 1 Closeness centrality (Bavelas 1950) Harmonic centrality (Boldi and Vigna 2014) Based on paths: Betweenness centrality (Anthonisse 1971) Katz s index (Katz 1953) Based ob spectrum: Seeley index (Seeley 1949) HITS (Kleinberg 1997) PageRank (Brin, Page, Motwani and Vinograd 1999)

Plan Part I: Centrality & computaitonal aspects Part II: PageRank

Degree The degree of a node is a number of edges attached to it

Degree The degree of a node is a number of edges attached to it Directed graph: in- and out-degree

Degree The degree of a node is a number of edges attached to it Directed graph: in- and out-degree Is (in-)degree a good centrality measure?

Degree The degree of a node is a number of edges attached to it Directed graph: in- and out-degree Is (in-)degree a good centrality measure? Easy to compute?

Finding top-k most followed users on Twitter Problem: Find top-k network nodes with most number of connections

Finding top-k most followed users on Twitter Problem: Find top-k network nodes with most number of connections Some applications: Routing via large degree nodes Proxy for various centrality measures Node clustering and classification Epidemic processes on networks Finding most popular entities (e.g. interest groups)

Finding top-k most followed users on Twitter Problem: Find top-k network nodes with most number of connections Some applications: Routing via large degree nodes Proxy for various centrality measures Node clustering and classification Epidemic processes on networks Finding most popular entities (e.g. interest groups) Many companies maintain network statistics (twittercounter.com, followerwonk.com, twitaholic.com, www.insidefacebook.com, yavkontakte.ru)

Finding top-k largest degree nodes If the information about a complete network is available, complexity O(n)

Finding top-k largest degree nodes If the information about a complete network is available, complexity O(n) Twitter has one billion accounts

Finding top-k largest degree nodes If the information about a complete network is available, complexity O(n) Twitter has one billion accounts The network can be accessed only via API, one access per minute. It will take 900 years to crawl Twitter!

Finding top-k largest degree nodes If the information about a complete network is available, complexity O(n) Twitter has one billion accounts The network can be accessed only via API, one access per minute. It will take 900 years to crawl Twitter! Randomized algorithms: Find a good enough answer with a small number of API requests.

Known algorithms Random-walk based. Cooper, Radzik, Siantos 2012 Transitions probabilities along undirected edges (i, j) are proportional to (d(i)d(j)) b, where d(i) is the degree of a vertex x and b > 0 is some parameter. Random Walk Avrachenkov, L, Sokol, Towsley 2012 Random walk with uniform jumps. In an undirected graphs the stationary distribution is a linear function of degrees. Crawl-Al and Crawl-GAI. Kumar, Lang, Marlow, Tomkins 2008 At every step all nodes have their apparent in-degrees S j, j = 1,..., n: the number of discovered edges pointing to this node. Designed for WWW crawl. HighestDegree. Borgs, Brautbar, Chayes, Khanna, Lucier 2012 Retrieve a random node, check in-degrees of its out-neighbors. Proceed while resources are available Two-stage algorithm. Avrachenkov,L,Ostroumova 2014

The Friendship Paradox Feld, 1991

The Friendship Paradox Feld, 1991 In the figure: # friends (average number of friends friends)

The Friendship Paradox Feld, 1991 In the figure: # friends (average number of friends friends) More popular than her friends: Sue, Alice As popular as her friends: Carol Less popular than her friends: Betty, Pam, Tina, Dale, Jane

Friendship paradox People with may connections are more likely to be your friend

Friendship paradox People with may connections are more likely to be your friend Sampling by edge is biased towards nodes with high degrees

Friendship paradox People with may connections are more likely to be your friend Sampling by edge is biased towards nodes with high degrees

Friendship paradox: star graph

Friendship paradox: consequences Friendship paradox can lead to wrong sampling

Friendship paradox: consequences Friendship paradox can lead to wrong sampling But it can be also exploited!

Friendship paradox: consequences Friendship paradox can lead to wrong sampling But it can be also exploited! Neighbor vaccinations

Friendship paradox: consequences Friendship paradox can lead to wrong sampling But it can be also exploited! Neighbor vaccinations Most followed Twitter users

Friendship paradox: consequences Friendship paradox can lead to wrong sampling But it can be also exploited! Neighbor vaccinations Most followed Twitter users

Exploiting the Friendship Paradox

Exploiting the Friendship Paradox Step 1: Select N 1 random users, see whom they follow (N 1 API requests) Friendship paradox: the people that a random user follows are often the most popular users in the network

Exploiting the Friendship Paradox Step 1: Select N 1 random users, see whom they follow (N 1 API requests) Friendship paradox: the people that a random user follows are often the most popular users in the network Step 2: Check, say, N 2 accounts, most followed by the group of N 1 random users chosen in Step 1. Top-k accounts should be there with high probability! In total, we use N 1 + N 2 = N requests to API

Results on Twitter 1 0.9 fraction of correctly identified nodes 0.8 0.7 0.6 0.5 0.4 0.3 0.2 k=50 0.1 k=100 k=250 0 0 100 200 300 400 500 600 700 800 900 1000 n 2 The fraction of correctly identified top-k most followed Twitter users. Horisonal axis: number of requests in Step 2. Total number of requests is N = 1000.

Comparison to known algorithms fraction of correctly identified nodes 100 80 60 40 20 Two-stage algorithm Random walk (strict) Random walk (relaxed) Crawl GAI Crawl-AI HighestDegree 0 100 250 500 1000 2000 5000 Figure: The fraction of correctly identified top-100 most followed Twitter users as a function of the number of API averaged over 10 experiments. n

Advantages of the two-stage algorithm Does not waste resources Obtains exact degrees of the N 2 most promising nodes

Hubs in complex networks D is (in-)degree of a random node Regular varying distribution: P(D > x) = L(x)x γ (1) L(x) is slowly varying, i.e. lim t L(tx)/L(t) = 1, x 0

Hubs in complex networks D is (in-)degree of a random node Regular varying distribution: P(D > x) = L(x)x γ (1) L(x) is slowly varying, i.e. lim t L(tx)/L(t) = 1, x 0 Scale-free distribution Some nodes (hubs) have really high degrees

Hubs in complex networks D is (in-)degree of a random node Regular varying distribution: P(D > x) = L(x)x γ (1) L(x) is slowly varying, i.e. lim t L(tx)/L(t) = 1, x 0 Scale-free distribution Some nodes (hubs) have really high degrees Top-degrees are top order statistics

Hubs in complex networks D is (in-)degree of a random node Regular varying distribution: P(D > x) = L(x)x γ (1) L(x) is slowly varying, i.e. lim t L(tx)/L(t) = 1, x 0 Scale-free distribution Some nodes (hubs) have really high degrees Top-degrees are top order statistics Extreme value theory Top-k order degrees of the order n 1/γ k 1/γ

Hubs in complex networks D is (in-)degree of a random node Regular varying distribution: P(D > x) = L(x)x γ (1) L(x) is slowly varying, i.e. lim t L(tx)/L(t) = 1, x 0 Scale-free distribution Some nodes (hubs) have really high degrees Top-degrees are top order statistics Extreme value theory Top-k order degrees of the order n 1/γ k 1/γ Heurostic proof : P(D > x) k/n

Performance evaluation Sublinear complexity N = O(n 1 1/γ ) Prediction of the performance of the algorithm 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 Poisson+EVT based on top 20 Poisson Experiment 0.2 0 100 200 300 400 500 600 700 800 900 1000

Performance evaluation Sublinear complexity N = O(n 1 1/γ ) Prediction of the performance of the algorithm 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 Poisson+EVT based on top 20 Poisson Experiment 0.2 0 100 200 300 400 500 600 700 800 900 1000 Network sampling vaccinations (L&Holme 2017), marketing, P2P

Katz s index Katz (1953) 1 vector of ones Classical version of PageRank nr = (1 α)1[i αp] 1, P is a matrix of a simple random walk on the graph Katz s index k = (1 β)1[i βa] 1, A - adjacency matrix of the graph β < 1/λ, where λ is the dominant eigenvalue of A

Closeness centrality d(i, j) graph distance between i and j no path, then d(i, j) = Closeness centrality of node i 1 Problem? j:d(i,j)< d(i, j)

Closeness centrality d(i, j) graph distance between i and j no path, then d(i, j) = Closeness centrality of node i 1 Problem? j:d(i,j)< d(i, j) Maximal closeness for two disconnected vertices How do we compute distances?

Harmonic centrality Boldi& Vigna (2014) 1 Closeness centrality j:d(i,j)< d(i,j) Harmonic centrality 1 d(i, j) j i Maximal for central nodes in large components

Harmonic centrality Boldi& Vigna (2014) 1 Closeness centrality j:d(i,j)< d(i,j) Harmonic centrality 1 d(i, j) j i Maximal for central nodes in large components HyperLogLog-type algorithm to compute distances

Betweenness centrality σ st number of shortest paths from s to t σ st (i) number of shortest paths from s to t through i

Betweenness centrality σ st number of shortest paths from s to t σ st (i) number of shortest paths from s to t through i Betweenness centrality of i σ st (i). σ st s,t i,σ s,t 0 Fraction of shortest paths through i

Current flow betweenness centrality Newman (2005) V i (s, t) # visits to i of a random walk from s to t V j (s, t) V i (s, t) centrality of edge {i, j} Current through {i, j} when 1 unit current goes from s to t Complexity O((I (n1) + n log n E )

Current flow betweenness centrality Newman (2005) V i (s, t) # visits to i of a random walk from s to t V j (s, t) V i (s, t) centrality of edge {i, j} Current through {i, j} when 1 unit current goes from s to t Complexity O((I (n1) + n log n E ) Avrachenkov, L, Medyanikov, Sokol (2013) α-current flow betweenness centrality At each step the random walk continues with probability α Similar to PageRank

Open Wikipedia ranking http://wikirank.di.unimi.it/