Eigenvector Centrality • Compute Eigenvector Centrality

Eigenvector Centrality • Compute Eigenvector Centrality

Prof. Ralucca Gera, [email protected] Applied Mathematics Department, ExcellenceNaval Postgraduate Through Knowledge School MA4404 Complex Networks Eigenvector Centrality • Compute eigenvector centrality. • Interpret the meaning of the values of Learning eigenvector centrality. Outcomes • Explain why the eigenvector centrality is an extension of degree centrality. Eigenvector Centrality Recall: Quality: what makes a Mathematical Description Appropriate Usage Identification node important (central) Lots of one-hop The number of vertices that Local influence Degree connections from influences directly matters deg Small diameter Lots of one-hop The proportion of the Local influence Degree centrality connections from vertices that influences matters deg C relative to the size of the directly Small diameter |V(G)| graph Lots of one-hop A weighted degree For example when HOW? connections to high centrality based on the the people you are Eigenvector centrality centrality vertices weight of the neighbors connected to (recursive formula): (instead of a weight of 1 as matter. ∝ in degree centrality) Eigenvector Centrality • A generalization of the degree centrality: a weighted degree vector that depends on the centrality of its neighbors (rather than every neighbor having a fixed centrality of 1) • How do we find it? By finding the largest eigenvalue and its associated eigenvector (leading eigenvector) of the adjacency matrix • Let’s see why 5 Example 1 (Eigenvector centrality) Node Eigenvector centrality 00 1 0.5298987782873977 2 0.3577513877490464 3 0.5298987782873977 4 0.3577513877490464 5 0.4271328349194304 Notice that deg(5) =deg (1) = deg(3). Why and ? 6 Computing Eigenvector Centrality with the centrality at time t=0 being 0 1, ∀ Eigenvector Centrality • Define the centrality ′ of recursively in terms of the centrality of its neighbors ∈ With initial vertex centrality 1, ∀ —we’ll see why on next slide The centrality of vertices and at time t and t‐1, • That is equivalent to: respectively 1 with the centrality at time t=0 being 0 1, ∀ 8 In class: Eigenvector Centrality Adjacency matrix A for the graph to the right: 011010 101 010 A= 110001 000000 110 001 001010 Then the vector x(t) = : gives a random surfer’s behavior. Answer the following questions based on the information above 9 In class activity: Eigenvector Centrality Q1: Find x(1). What does it represent? 011010 1 101 010 1 Answer: 1 110001 1 = ? 000000 1 110 001 1 001010 1 10 In class activity: Eigenvector Centrality Q1: Find x(1). What does it represent? 011010 1 3 101 010 1 3 Answer: 1 110001 1 = 3 000000 1 0 110 001 1 3 001010 1 2 The Degree Centrality vector 11 In class activity: Eigenvector Centrality Q2: Find x(2). What does it represent? 011010 3 101 010 3 Answer: 2 110001 3 = ? 000000 0 110 001 3 001010 2 12 In class activity: Eigenvector Centrality Q2: Find x(2). What does it represent? 011010 3 9 101 010 3 9 Answer: 2 110001 3 = 8 000000 0 0 110 001 3 8 001010 2 6 A weighted Degree Centrality vector (distance 2 or less) 13 In class activity: Eigenvector Centrality Q3: Find x(3). What does it represent? 011010 9 101 010 9 Answer: 3 110001 8 = ? 000000 0 110 001 8 001010 6 14 In class activity: Eigenvector Centrality Q3: Find x(3). What does it represent? 011010 9 25 101 010 9 25 Answer: 3 110001 8 = 24 000000 0 0 110 001 8 24 001010 6 16 A weighted Degree Centrality vector (distance 3 or less) 15 In class: Eigenvector Centrality Results Node Eigenvector centrality 0 0.49122209552166 1 0.49122209552166 2 0.4557991200411896 30 4 0.4557991200411896, 5 0.31921157573304415 16 1 1 The derivation t … 1 ))) = 0 , 0 of eigenvector 1 centrality 1 1 Discussion: What did you notice? • What is x(3)? 1 1 Answer: 3 1 ))) = 0 1 1 1 3 depends on the centrality of its distance 3 or less neighbors • What is x(t)? 1 1 Answer: t … 1 ))) = 0 , 0 1 1 1 t depends on the centrality of its distance t or less neighbors 18 Eigenvector Centrality Derivation • We can consolidate the eigenvector centralities of all the nodes in a recursive formula with vectors: x · 1 with the centrality at time t=0 being x 0 (as a vector) • Then, we solve: x · 0, with x 0 • Let be the eigenvectors of the adjacency matrix • Let be the largest eigenvalue. • Let x 0 ∑ , be a linear combination of eigenvectors are orthogonal since is real and symmetric) Eigenvector Centrality Derivation Facts from previous page: • x · 0, with x 0 1 • are the eigenvectors of the adjacency matrix A • x 0 ∑ is a linear combination of • be the largest eigenvalue. Then x · 0 ∑ = ∑ = ∑ = ( + + …) x since 0 as t ∞ (as you repeat the process) Eigenvector Centrality • Thus the eigenvector centrality is where is the eigenvector corresponding to the largest eigenvalue • So the eigenvector centrality (as a vector), , is a multiple of the eigenvector ,i.e. is an eigenvector of . A x = x • Meaning that the eigenvector centrality of each node is given by the entries of the leading eigenvector (the one corresponding to the largest eigenvalue λ) 21 Is it well defined? • That is: • Is the eigenvector guaranteed to exist? • Is the eigenvector unique? • Is the eigenvalue unique? • Can we have negative entries in the eigenvector? • We say that a matrix/vector is positive if all of its entries are positive • Perron‐Frobenius theorem: A real square matrix with positive entries has a unique largest real eigenvalue and that the corresponding eigenvector has strictly positive components • Perron‐Frobenius theorem applies to positive matrices (but it gives similar information for nonnegative ones) 22 Perron‐Frobenius theorem for nonnegative symmetric (0,1)‐matrices Let A ∈ be symmetric (0,1)‐nonnegative, then • there is a unique maximal eigenvalue λ of the matrix A (for any other eigenvalue λ, we have λ < λ, with the possibility of |λ| = λ for nonnegative matrices) • λ is real, simple (i.e., has multiplicity one), and positive (trace is zero so some are positive and some negative), • the associated eigenvector is nonnegative (and there are no other nonnegative ones since all eigenvectors are orthogonal) If you have not seen this and its proof in linear algebra, see a proof on pages 346‐347 of Newman’s textbook Note 1 3 9 25 1 3 9 25 Consider the vectors computed: 1 , 3 , 8 , 24 1 0 0 0 1 3 8 24 1 2 6 16 • In finding the eigenvector, these vectors get normalized as they are computed using the power method from Linear Algebra, and eventually converge to a normalized eigenvector as well. • Note that , where is the entry, however, the ratios will converge to λ 24 Conclusion: Eigenvector Centrality • Therefore: • it is a generalized degree centrality (takes into consideration the global network) • It is extremely useful, one of the most common ones used for non‐oriented networks • ∝ ∑ or ∑ or ∑ є • Why is Eigenvector Centrality not commonly used for directed graphs? • Adjacency matrix is asymmetric…use left or right leading eigenvector? • Choose right leading eigenvector…importance bestowed by vertices pointing toward you (same problem with left). • Any vertex within degree zero has centrality value zero and “passes” that value to all vertices to which it points. • The fix: Katz centrality 25 Extra example 2 (Adjacency matrix, eigenvector centrality and the graph) 0: 0.08448651593556764, 0. 0. 1. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1: 0.1928608426462633, 0. 0. 0. 0. 1. 0. 1. 0. 0. 0. 0. 0. 0. 0. 0. 1. 0. 0. 0. 1. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 2: 0.3011603786470362, 0. 0. 0. 0. 0. 1. 0. 0. 0. 0. 0. 0. 1. 0. 0. 3: 0.17530527234882679, 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 0. 1. 1. 0. 0. 0. 0. 1. 0. 0. 1. 0. 0. 0. 0. 0. 1. 0. 1. 4: 0.40835121533077895, 0. 1. 0. 0. 0. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 5: 0.2865100597893966, 0. 0. 1. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 6: 0.2791290343288953, 0. 0. 1. 0. 0. 0. 0. 1. 0. 0. 0. 1. 0. 0. 1. 0. 0. 1. 0. 0. 0. 0. 1. 0. 0. 0. 0. 0. 0. 0. 7: 0.1931920790704947, 0. 0. 0. 0. 1. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 8: 0.24881035953707603, 0. 0. 0. 0. 0. 0. 0. 0. 1. 0. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 1. 0. 0. 0. 0. 9: 0.13868390351302598, 0. 0. 0. 0. 1. 0. 1. 0. 0. 0. 1. 0. 0. 0. 0. 10: 0.336067959653752, 0. 0. 0. 0. 0. 1. 1. 0. 1. 0. 0. 0. 0. 0. 0. 11: 0.16407815738375933, 12: 0.33838887484747293, 13: 0.2871391639624871, 14: 0.22848023925633135 26 Extra example 2 (Eigenvector centrality) C2 = 0.3011603786470362 C4 = 0.40835121533077895 Adjacent to vertices of small degree Adjacent to vertices of large degree 27.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    27 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