Centrality Metrics

Centrality Metrics

Centrality Metrics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University E-mail: [email protected] Centrality • Tells us which nodes are important in a network based on the topological structure of the network (instead of using the offline information about the nodes: e.g., popularity of nodes) – How influential a person is within a social network – Which genes play a crucial role in regulating systems and processes – Infrastructure networks: if the node is removed, it would critically impede the functioning of the network. Nodes X and Z have higher Degree Node Y is more central from X YZ the point of view of Betweenness – to reach from one end to the other Closeness – can reach every other vertex in the fewest number of hops Centrality Metrics • Degree-based Centrality Metrics – Degree Centrality : measure of the number of vertices adjacent to a vertex (degree) – Eigenvector Centrality : measure of the degree of the vertex as well as the degree of its neighbors • Shortest-path based Centrality Metrics – Betweeness Centrality : measure of the number of shortest paths a node is part of – Closeness Centrality : measure of how close is a vertex to the other vertices [sum of the shortest path distances] – Farness Centrality: captures the variation of the shortest path distances of a vertex to every other vertex Degree Centrality Time Complexity: Θ(V 2) Weakness : Very likely that more than one vertex has the same degree and not possible to uniquely rank the vertices Eigenvector Power Iteration Method Centrality (1) Time Complexity: Θ(V 3) Eigenvector Centrality (2) After 7 iterations EigenVector Centrality Example (1) Iteration 1 1 3 0 1 0 0 0 1 1 0.213 5 1 0 0 1 0 1 2 0.426 = 0 0 0 1 1 1 2 ≡ 0.426 2 4 0 1 1 0 1 1 3 0.639 0 0 1 1 0 1 2 0.426 0 1 0 0 0 Normalized Value = 4.69 1 0 0 1 0 0 0 0 1 1 Iteration 2 0 1 1 0 1 0 0 1 1 0 0 1 0 0 0 0.213 0.426 0.195 1 0 0 1 0 0.426 0.852 0.389 = ≡ 0 0 0 1 1 0.426 1.065 0.486 1 0 1 1 0 1 0.639 1.278 0.584 Let X0 = 1 0 0 1 1 0 0.426 1.065 0.486 1 1 Normalized Value = 2.19 1 EigenVector Centrality Example (1) Iteration 3 1 3 0 1 0 0 0 0.195 0.389 0.176 5 1 0 0 1 0 0.389 0.779 0.352 = 0 0 0 1 1 0.486 1.07 ≡ 0.484 2 4 0 1 1 0 1 0.584 1.361 0.616 0 0 1 1 0 0.486 1.07 0.484 0 1 0 0 0 Normalized Value = 2.21 1 0 0 1 0 0 0 0 1 1 Eigen Vector 0 1 1 0 1 Iteration 4 Centrality 0 0 1 1 0 0 1 0 0 0 0.176 0.352 1 0.176 1 0 0 1 0 0.352 0.792 2 0.352 1 0 0 0 1 1 0.484 = 1.100 3 0.484 Let X0 = 1 0 1 1 0 1 0.616 1.320 4 0.616 1 0 0 1 1 0 0.484 1.100 5 0.484 1 1 Normalized Value = 2.21 converges EigenVector Centrality Example (2) Iteration 1 1 3 5 0 1 1 0 0 0 1 2 0.447 1 0 0 1 0 0 1 2 0.447 1 0 0 0 0 0 1 1 0.224 = ≡ 2 4 6 0 1 0 0 1 1 1 3 0.671 0 0 0 1 0 0 1 1 0.224 0 0 0 1 0 0 1 1 0.224 0 1 1 0 0 0 1 0 0 1 0 0 Normalized Value = 4.472 1 0 0 0 0 0 0 1 0 0 1 1 Iteration 2 0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0.447 0.671 0.401 1 0 0 1 0 0 0.447 0.671 0.401 1 1 0 0 0 0 0 0.224 0.447 0.267 = 1 0 1 0 0 1 1 ≡ Let X0 = 0.671 0.895 0.535 1 0 0 0 1 0 0 0.224 0.671 0.401 1 0 0 0 1 0 0 0.224 0.671 0.401 1 1 Normalized Value = 1.674 EigenVector Centrality Example (2) Iteration 3 1 3 5 0 1 1 0 0 0 0.401 0.668 0.357 1 0 0 1 0 0 0.401 0.936 0.500 1 0 0 0 0 0 0.267 0.401 0.214 = ≡ 0 1 0 0 1 1 0.535 1.203 0.643 2 4 6 0 0 0 1 0 0 0.401 0.535 0.286 0 0 0 1 0 0 0.401 0.535 0.286 0 1 1 0 0 0 Normalized Value = 1.872 1 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 1 1 Iteration 4 0 0 0 1 0 0 0 1 1 0 0 0 0.357 0.714 0.376 0 0 0 1 0 0 1 0 0 1 0 0 0.500 1.000 0.526 1 0 0 0 0 0 0.214 0.357 0.188 1 0 1 0 0 1 1 0.643 1.072 ≡ 0.564 1 = Let X0 = 0 0 0 1 0 0 0.286 0.643 0.338 1 0 0 0 1 0 0 0.286 0.643 0.338 1 1 Normalized Value = 1. 901 1 EigenVector Centrality Example (2) Iteration 5 1 3 5 0 1 1 0 0 0 0.376 0.714 0.376 1 0 0 1 0 0 0.526 0.940 0.494 1 0 0 0 0 0 0.188 = 0.376 ≡ 0.198 2 4 6 0 1 0 0 1 1 0.564 1.202 0.632 0 0 0 1 0 0 0.338 0.564 0.297 0 0 0 1 0 0 0.338 0.564 0.297 0 1 1 0 0 0 1 0 0 1 0 0 Normalized Value = 1. 901 converges 1 0 0 0 0 0 Node 0 1 0 0 1 1 EigenVector Ranking 0 0 0 1 0 0 Centrality 0 0 0 1 0 0 4 0.376 2 Note that we typically 1 0.494 1 stop when the EigenVector 1 0.198 5 values converge. Let X0 = 1 0.632 6 For exam purposes, 1 0.297 3 we will Stop when 1 0.297 the Normalized value 1 converges. Eigen Vector Centrality for Directed Graphs • For directed graphs, we can use the Eigen Vector centrality to evaluate the “importance” of a node (based on the out-degree Eigen Vector) and the “prestige” of a node (through the in-degree Eigen Vector) – A node is considered to be more important if it has out-going links to nodes that in turn have a larger out-degree (i.e., more out-going links). – A node is considered to have a higher “prestige”, if it has in-coming links from nodes that themselves have a larger in-degree (i.e., more in-coming links). 2 1 5 3 4 Importance of Nodes Prestige of Nodes 0 0 0 1 1 (Out-deg. Centrality) (In-deg. Centrality) 0 1 0 0 1 1 0 0 0 0 Node Score Node Score 0 0 1 0 0 0 1 0 0 0 1 0.5919 1 0.5919 0 0 0 1 0 0 0 1 0 0 4 0.4653 2 0.4653 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 5 0.4653 5 0.4653 3 0.3658 In-coming links 3 0.3658 Out-going links 2 0.2876 based Adj. Matrix 4 0.2876 based Adj. Matrix Closeness and Farness Centrality 4 Principal 6 7 Eigenvalue Ranking of Nodes η1 = 16.315 Score Node ID 0.2518 2 3 1 2 0.2527 1 0.3278 6 8 0.3763 8 5 Farness 0.3771 3 Closeness Distance Matrix Principal 0.3771 4 Sum of 0.3771 5 1 2 3 4 5 6 7 8 Eigenvector distances δ1 = 0.4439 7 1 0 1 1 1 1 2 3 2 11 [0.2527 2 1 0 2 2 2 1 2 1 11 0.2518 3 1 2 0 2 2 3 4 3 17 0.3771 4 1 2 2 0 2 3 4 3 17 0.3771 5 1 2 2 2 0 3 4 3 17 0.3771 6 2 1 3 3 3 0 1 2 15 0.3278 7 3 2 4 4 4 1 0 3 21 0.4439 8 2 1 3 3 3 2 3 0 17 0.3763] Time Complexity: Θ(VE + V 2) Betweeness Centrality Time Complexity: Θ(VE + V 2) (j < k for undirected graphs) • We will now discuss how to find the total number of shortest paths between any two vertices j and k as well as to find out how many of these shortest paths go through a vertex i (j ≠ k ≠ i).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    58 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us