Centralities (4) Ralucca Gera,

Slides:



Advertisements
Similar presentations
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.
Advertisements

Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Introduction to Network Theory: Modern Concepts, Algorithms
Introduction to Social Network Analysis Lluís Coromina Departament d’Economia. Universitat de Girona Girona, 18/01/2005.
Relationship Mining Network Analysis Week 5 Video 5.
Centrality and Prestige HCC Spring 2005 Wednesday, April 13, 2005 Aliseya Wright.
Graph: Relations There are many kinds of social relations. For example: Role-based : brother of, father of, sister of, etc. : friend of, acquaintance of,
Network Measures Social Media Mining. 2 Measures and Metrics 2 Social Media Mining Network Measures Klout.
Introduction to Graph Theory
Soon-Hyung Yook, Sungmin Lee, Yup Kim Kyung Hee University NSPCS 08 Unified centrality measure of complex networks.
Presentation: Random Walk Betweenness, J. Govorčin Laboratory for Data Technologies, Faculty of Information Studies, Novo mesto – September 22, 2011 Random.
GRAPH THEORY.  A graph is a collection of vertices and edges.  An edge is a connection between two vertices (or nodes).  One can draw a graph by marking.
Vertices and Edges Introduction to Graphs and Networks Mills College Spring 2012.
Lecture 13: Network centrality Slides are modified from Lada Adamic.
Mathematics of Networks (Cont)
Slides are modified from Lada Adamic
Walks, Paths and Circuits. A graph is a connected graph if it is possible to travel from one vertex to any other vertex by moving along successive edges.
How to Analyse Social Network? Social networks can be represented by complex networks.
Informatics tools in network science
Importance Measures on Nodes Lecture 2 Srinivasan Parthasarathy 1.
1 New metrics for characterizing the significance of nodes in wireless networks via path-based neighborhood analysis Leandros A. Maglaras 1 Dimitrios Katsaros.
Contagion in Networks Networked Life NETS 112 Fall 2015 Prof. Michael Kearns.
An Introduction to Graph Theory
Centralities (Gephi and Python)
Random Walk for Similarity Testing in Complex Networks
Groups of vertices and Core-periphery structure
Central nodes (Python and Gephi).
Graphs: Definitions and Basic Properties
Copyright © Zeph Grunschlag,
Structural Properties of Networks: Introduction
Applications of graph theory in complex systems research
Department of Computer and IT Engineering University of Kurdistan
Graph theory Definitions Trees, cycles, directed graphs.
Agenda Lecture Content: Introduction to Graph Path and Cycle
Shuffle Exchange Point-to-point, Bus, Ring, Star, Mesh
Network analysis.
Routing in Wireless Ad Hoc Networks by Analogy to Electrostatic Theory
Section 8.6: Clustering Coefficients
Node Similarity Ralucca Gera,
Community detection in graphs
I206: Lecture 15: Graphs Marti Hearst Spring 2012.
Centralities (2) Ralucca Gera,
Google Scholar, ShareLaTeX, and Gephi
Networked Life NETS 112 Fall 2018 Prof. Michael Kearns
Degree and Eigenvector Centrality
Network Science: A Short Introduction i3 Workshop
Section 8.6 of Newman’s book: Clustering Coefficients
Peer-to-Peer and Social Networks
CS223 Advanced Data Structures and Algorithms
Section 7.12: Similarity By: Ralucca Gera, NPS.
Centrality in Social Networks
Michael L. Nelson CS 495/595 Old Dominion University
Closeness Centrality.
Section 8.2: Shortest path and small world effect
Shortest path and small world effect
Networked Life NETS 112 Fall 2017 Prof. Michael Kearns
Robustness or Network Resilience
Networked Life NETS 112 Fall 2016 Prof. Michael Kearns
Central Nodes (Python and Gephi).
Closeness Centrality.
Introduction Wireless Ad-Hoc Network
Clustering Coefficients
Katz Centrality (directed graphs).
Section 8.3: Degree Distribution
Google Scholar, OverLeaf, and Gephi
Practical Applications Using igraph in R Roger Stanton
Centralities Using Gephi and Python Prof. Ralucca Gera,
Warm Up – Tuesday Find the critical times for each vertex.
Degree Distribution Ralucca Gera,
Networked Life NETS 112 Fall 2019 Prof. Michael Kearns
Presentation transcript:

Centralities (4) Ralucca Gera, Applied Mathematics Dept. Naval Postgraduate School Monterey, California rgera@nps.edu Excellence Through Knowledge

Different types of centralities: Betweenness Centrality Closeness Centrality Eigenvector Centrality Degree Centrality Source: Discovering Sets of Key Players in Social Networks – Daniel Ortiz-Arroyo – Springer 2010/

Betweenness Centrality Some pages are adapted from Dan Ryan, Mills College

Betweenness Centrality Intuition: how many pairs of individuals would have to go through you in order to reach one another using the minimum number of hops? Interactions between two individuals depend on the other individuals in the set of nodes. The nodes in the middle have some control over the paths in the graph. Useful for flow, such as information or data packages

Flow takes the shortest path (we’ll look at alternatives) Assumptions When there is more than one geodesic, all geodesics are equally likely to be used. Flow takes the shortest path (we’ll look at alternatives) Every pair of nodes in G exchanges a message with equal probability per unit time. Question: How many messages, on average, will have passed through each vertex en route to their destination? A node’s betweenness is given by all pairs of nodes, including the node in question.

Meaning of betweenness centrality Vertices with high betweenness centrality have influence in the network by virtue of their control over information passing between others. They get to see the messages as they pass through They could get paid for passing the message along Thus they get a lot of power: their removal would disrupt communication How would you capture it in a mathematical formula?

Formula for betweenness centrality 𝑥 𝑖 = 𝑛 𝑠𝑡 𝑖 , ∀ 𝑠, 𝑡∈𝑉(𝐺) where 𝑛 𝑠𝑡 𝑖 is the number of s-t geodesics that i belongs to (default: i could equal s or t, but in other versions it cannot and that’s where you see 0 values [see ref. 2]), in an undirected graph, an s-t geodesic is the same as a t-s geodesics, so each path gets counted twice), trivial paths don’t count (i.e. a path from i to i). It is applicable to directed networks as well.

Bounds for disconnected graphs Let G be a disconnected graph: What is the minimum value of betweenness centrality a vertex can have in disconnected graphs? an isolated vertex: 1 What is the maximum value of betweenness centrality a vertex can have in disconnected graphs? center of a star in the largest component of 𝑛 1 nodes: 𝑛 1 2 −( 𝑛 1 −1) To see this: let at V star ={𝑣, 𝑣 1 , 𝑣 2 ,…, 𝑣 𝑛−1 } with center node at 𝑣 . Then there are n 1 2 pairs of nodes, from which we take away the n 1 −1 paths from 𝑣 𝑖 to 𝑣 𝑖 since 𝑣 is not on them.

Bounds for connected graphs Let G be connected: What is the minimum value of betweenness centrality a vertex can have in connected graphs? A leaf x would have it: (𝑛−1)+(𝑛−1)=2𝑛−2 where we have 𝑛−1 paths from x to each vertex. And (𝑛−1) more paths from each vertex to x. What is the maximum value of betweenness centrality a vertex can have in disconnected graphs? center of a star: 𝑛 2 −(𝑛−1) which is the number of pairs of nodes minus the trivial paths from a nod to itself as on the previous slide

A refined formula How do we find the relative (to the other nodes) betweenness centrality values? 𝑥 𝑖 = 𝑛 𝑠𝑡 𝑖 𝑔 𝑠𝑡 , ∀ 𝑠, 𝑡∈𝑉(𝐺) where 𝑛 𝑠𝑡 𝑖 is the number of s-t geodesics that i belongs to. 𝑔 𝑠𝑡 is the number of s-t geodesics (that do or do not include 𝑖) Convention: if 𝑔 𝑠𝑡 = 0 and 𝑛 𝑠𝑡 𝑖 = 0, then 𝑥 𝑖 =0 (in an undirected graph, an s-t geodesic is the same as a t-s geodesics, so it gets counted twice)

In class activity: betweenness of A? Fraction of shortest paths that include vertex A 𝑥 𝐴 = 𝑛 𝑠𝑡 𝐴 𝑔 𝑠𝑡 , ∀ 𝑠, 𝑡∈𝑉(𝐺) 1 shortest path of 4 goes through A Number of paths A B C D E F G - 1 4 1 shortest path of 4 goes through A 𝑥 𝐴 = 𝑛 𝑠𝑡 𝐴 𝑔 𝑠𝑡 =2( 1 4 + 1 4 + 1 4 ) = 1.5 1 shortest path of 4 goes through A

Recall: 𝑥 𝑖 = 𝑛 𝑠𝑡 𝑖 𝑔 𝑠𝑡 , ∀ 𝑠≠𝑡≠𝑖 ∈𝑉(𝐺) Gephi Recall: 𝑥 𝑖 = 𝑛 𝑠𝑡 𝑖 𝑔 𝑠𝑡 , ∀ 𝑠≠𝑡≠𝑖 ∈𝑉(𝐺) In the orientated graph Colored by betweenness in the underlying graph Underlying graph

A normalized refined formula How do we find the normalized relative betweenness centrality values? Allows to compare nodes in other graph. 𝑥 𝑖 = ( 𝑛 𝑠𝑡 𝑖 𝑔 𝑠𝑡 ) / 𝑛 2 where 𝑛 𝑠𝑡 𝑖 is the number of s-t geodesics that i belongs to. 𝑔 𝑠𝑡 is the number of s-t geodesics Convention: 𝑔 𝑠𝑡 = 0 and 𝑛 𝑠𝑡 𝑖 = 0, then 𝑥 𝑖 =0 𝑛 is the number of nodes in the network

Another normalized formula How do we find the normalized relative betweenness centrality values? Allows to compare nodes in other graph. 𝑥 𝑖 = ( 𝑛 𝑠𝑡 𝑖 𝑔 𝑠𝑡 ) / (𝑛 2 −𝑛+1) where 𝑛 𝑠𝑡 𝑖 is the number of s-t geodesics that i belongs to. 𝑔 𝑠𝑡 is the number of s-t geodesics Convention: 𝑔 𝑠𝑡 = 0 and 𝑛 𝑠𝑡 𝑖 = 0, then 𝑥 𝑖 =0 𝑛 2 −𝑛+1 is the maximum centrality score

Betweenness Centrality Used generally for Information flow Typically distributed over a wide range Betweenness only uses geodesic paths Information can also flow on longer paths Sometimes we hear it through the grapevine While betweenness focuses just on the geodesic, flow betweenness centrality focuses on how information might flow through many different paths.

Flow betweenness centrality Same expression, 𝑥 𝑖 = 𝑛 𝑠𝑡 𝑖 𝑔 𝑠𝑡 , ∀ 𝑠, 𝑡∈𝑉(𝐺) BUT 𝑛 𝑠𝑡 𝑖 is the maximum flow transmitted from s to t through all possible paths that i belongs to. 𝑔 𝑠𝑡 is the maximum flow transmitted from s to t through all possible paths Convention: 𝑔 𝑠𝑡 = 0 and 𝑛 𝑠𝑡 𝑖 = 0, then 𝑥 𝑖 =0

Random walk betweenness centrality Same expression, 𝑥 𝑖 = 𝑛 𝑠𝑡 𝑖 𝑔 𝑠𝑡 , ∀ 𝑠, 𝑡∈𝑉(𝐺) BUT 𝑛 𝑠𝑡 𝑖 is the number of times a random walk from s to t passes through i, averaged over many repetitions of a walk Note that 𝑛 𝑠𝑡 𝑖 ≠ 𝑛 𝑡𝑠 𝑖 since they are random paths A good measure for traffic that doesn’t have a particular destination

Other extensions of centralities How would you extend the centralities you have seen? What else would you introduce that would capture the centrality of a vertex? Would you use it for edges? This is a good time to share your thoughts Subgraph/subset centrality? How central are you to that particular subgraph? How central is the subgraph to the network? If so, would you repeat the centralities seen before for that subgraph?

Overview Local measure: degree Relative to rest of network: closeness, betweenness, eigenvector, Katz, PageRank. How evenly is centrality distributed among nodes? hubs and authorities You’ve learned the traditional centralities: Which are appropriate to use for your network? May learn about the other centralities if needed.

References Newman, Mark. Networks: An introduction. Oxford university press, 2010. Estrada, Ernesto. The structure of complex networks: theory and applications. Oxford University Press, 2012.