SlideShare a Scribd company logo
1 of 31
Download to read offline
Web Science & Technologies
               University of Koblenz ▪ Landau, Germany




On the Spectral Evolution
   of Large Networks
        Jérôme Kunegis
Networks

                 …are everywhere
                                                                                               ip
                                                                                           r sh
                                                                                       tho
                                                                                     Au

                                                          ip
                                                       dsh
                                                Fr ien

                                                                                          t
                                                                                     Trus


                   o   n
             ic ati
         n
       mu                                                                                              e
Co
     m                                                                                            e nc
                                                               c
                                                                           ti   on         c   urr
                                                                      ra c             -oc
                                                               I   nte               Co


                       Jérôme Kunegis
                       kunegis@uni-koblenz.de        2 / 29
Social Network




               Person                Friendship




       Jérôme Kunegis
       kunegis@uni-koblenz.de   3 / 29
Trust Network


 Trust




         Jérôme Kunegis
         kunegis@uni-koblenz.de   4 / 29
Signed Social Network



    Friend
                                           Foe




         Jérôme Kunegis
         kunegis@uni-koblenz.de   5 / 29
Interaction Network




        Jérôme Kunegis
        kunegis@uni-koblenz.de   6 / 29
Recommender Systems


                                           :-(


  me


       Predict who I will add as friend next

Facebook's algorithm: find friends-of-friends

   → Problem: Rest of the network is ignored!

         Jérôme Kunegis
         kunegis@uni-koblenz.de   7 / 29
Outline


1.   Algebraic Link Prediction
2.   Spectral Transformations
3.   Learning Link Prediction




Take into account the whole network

          Jérôme Kunegis
          kunegis@uni-koblenz.de   8 / 29
Adjacency Matrix


                                 3


            1             2              4        5        6




                                                               1   2   3   4   5   6

Aij = 1 when i and j are connected                         1   0   1   0   0   0   0
Aij = 0 when i and j are not connected
                                                           2   1   0   1   1   0   0
                                                           3   0   1   0   1   0   0
                                                      A=
                                                           4   0   1   1   0   1   0
A is square and symmetric
                                                           5   0   0   0   1   0   1
                                                           6   0   0   0   0   1   0

                Jérôme Kunegis
                kunegis@uni-koblenz.de       9 / 29
Baseline: Friend of a Friend Model

    Count the number of ways a person can be found as
    the friend of a friend

    Matrix product AA = A2


                              2                                            3
        0   1   0   0   0   0   1     0      1   1   0     0
        1   0   1   1   0   0   0     3      1   1   1     0
A   2
      =
        0
        0
            1
            1
                0
                1
                    1
                    0
                        0
                        1
                            0
                            0
                              =
                                1
                                1
                                      1
                                      1
                                             2
                                             1
                                                 1
                                                 3
                                                     1
                                                     0
                                                           0
                                                           1
        0   0   0   1   0   1   0     1      1   0   2     0       1   2       4
        0   0   0   0   1   0   0     0      0   1   0     1




                    Jérôme Kunegis
                    kunegis@uni-koblenz.de               10 / 29
Friend of a Friend of a Friend
                                 3


        1                2               4            5                6



Compute the number of friends-of-friends-of-friends:
                                                  1   2    3   4   5       6
                                             3
                 0   1       0   0   0   0        0    3   1   1   1       0   1
                 1   0       1   1   0   0        3    2   4   5   1       1   2

    A3 =         0
                 0
                     1
                     1
                             0
                             1
                                 1
                                 0
                                     0
                                     1
                                         0
                                         0   =    1
                                                  1
                                                       4
                                                       5
                                                           2
                                                           4
                                                               4
                                                               2
                                                                   1
                                                                   4
                                                                           1
                                                                           0
                                                                               3
                                                                               4
                 0   0       0   1   0   1        1    1   1   4   0       2   5
                 0   0       0   0   1   0        0    1   1   0   2       0   6



                  Problem: A3 is not sparse!

            Jérôme Kunegis
            kunegis@uni-koblenz.de               11 / 29
Eigenvalue Decomposition




                           A = UΛUT


where
  U are the eigenvectors                   U TU = I
  Λ are the eigenvalues                    Λij = 0 when i ≠ j




        Jérôme Kunegis
        kunegis@uni-koblenz.de   12 / 29
Computing A3


Use the eigenvalue decomposition A = UΛUT

        A3 = UΛUT UΛUT UΛUT = UΛ3UT

Exploit U and Λ:

  U TU = I       because U contains eigenvectors
 (Λ )   = Λiik  because Λ contains eigenvalues
    k
      ii


Result: Just cube all eigenvalues!


         Jérôme Kunegis
         kunegis@uni-koblenz.de   13 / 29
Matrix Exponential
                                     3

        0.98                                                                0.76             0.22
           1                 2              4                5                 6                 7




       exp(A) = I + A + 1/2 A2 + 1/6 A3 + . . .
                                                1     2          3      4          5     6           7
       0   1     0   0   0       0   0     1 . 66   1 . 72   0 .93    0 . 98   0 . 28   0 . 06   0 . 01 1
       1   0     1   1   0       0   0     1. 72    3 . 57   2. 70    2 . 93   1. 04    0. 29    0 . 06 2
       0   1     0   1   0       0   0     0 . 93   2 .70    2. 86    2. 71    0 . 99   0 . 28   0 . 06 3
 exp   0   1     1   0   1       0   0   = 0 . 98   2 . 93   2 .71    3 . 63   1. 95    0 . 76   0 . 22 4
       0   0     0   1   0       1   0     0 . 28   1. 04    0 . 99   1 . 95   2 .35    1. 59    0 . 64 5
       0   0     0   0   1       0   1     0 . 06   0 . 29   0 .28    0 . 76   1 .59    2. 23    1 .38 6
       0   0     0   0   0       1   0     0. 01    0 . 06   0. 06    0 . 22   0 .64    1 . 38   1 .59 7




               Jérôme Kunegis
               kunegis@uni-koblenz.de                14 / 29
Spectral Transformations




   A2 = UΛ2UT                     Friend of a friend
   A = UΛ UT
     3            3
                                  Friend of a friend of a friend
exp(A) = Uexp(Λ)UT                Matrix exponential



                          …are link prediction functions!


         Jérôme Kunegis
         kunegis@uni-koblenz.de   15 / 29
Outline


  1.      Algebraic Link Prediction
  2.      Spectral Transformations
  3.      Learning Link Prediction




               Why does it work?

          Jérôme Kunegis
          kunegis@uni-koblenz.de   16 / 29
Looking at Real Facebook Data

Dataset:     Facebook New Orleans
             (Viswanath et al. 2009)


63,731 persons
1,545,686 friendship links with creation dates

Adjacency matrix At at time t                 (t = 1 . . . 75)

Compute all eigenvalue decompositions At = UtΛtUtT


           Jérôme Kunegis
           kunegis@uni-koblenz.de   17 / 29
Evolution of Eigenvalues

                       Constant eigenvalue
     (Λt)ii



                                             Growing eigenvalue




        Jérôme Kunegis
        kunegis@uni-koblenz.de     18 / 29
Eigenvector Evolution

Cosine similarity between (Ut)•i and (Ut+x)•i




                      Constant




                                            Sudden change




         Jérôme Kunegis
         kunegis@uni-koblenz.de   19 / 29
Eigenvector Permutation

Time split:            old edges A = UΛUT
                       new edges B = VDVT




Eigenvectors permute




                              |U•i∙   V•j|

             Jérôme Kunegis
             kunegis@uni-koblenz.de     20 / 29
Outline


1.     Algebraic Link Prediction
2.     Spectral Transformations
3.     Learning Link Prediction
     a) Learning by Extrapolation
     b) Learning by Curve Fitting




What spectral transformation is best?
          Jérôme Kunegis
          kunegis@uni-koblenz.de   21 / 29
a) Learning by Extrapolation                         CIKM 2010




 Extrapolate the growth of the spectrum

                                           Good when growth
                                              is irregular




                                           Potential problem:
                                               overfitting




        Jérôme Kunegis
        kunegis@uni-koblenz.de   22 / 29
b) Learning by Curve Fitting

                                    f
       A                                        B
      UΛUT                                      B
        Λ                                      UTBU



                                    f

                                 Diagonal


        Jérôme Kunegis
        kunegis@uni-koblenz.de       23 / 29
Curve Fitting


 (UTBU)ii




                                           Λii
        Jérôme Kunegis
        kunegis@uni-koblenz.de   24 / 29
Polynomial Curve Fitting

Fit a polynomial             a + bx + cx2 + dx3 + ex4




         Jérôme Kunegis
         kunegis@uni-koblenz.de   25 / 29
Other Curves                                                   ICML 2009




                                          Friend of a Friend
                                          a + bx + cx2
                                          Polynomial
                                          a + bx + cx2 + dx3 + ex4
                                          Nonnegative polynomial
                                          a + . . . + hx7 a, . . ., h ≥ 0
                                          Matrix exponential
                                          b exp(ax)
                                          Neumann kernel
                                          b / (1 − ax)
                                          Rank reduction
                                          ax if |x| ≥ x0, 0 otherwise



       Jérôme Kunegis
       kunegis@uni-koblenz.de   26 / 29
Evaluation Methodology



                              All edges E
          Training set Ea ∪ Eb
                          ˙                        Apply   Test set Ec

 Source set Ea     Learn           Target set Eb

                           Edge creation time




  3-way split of edge set by edge creation time


          Jérôme Kunegis
          kunegis@uni-koblenz.de         27 / 29
Experiments

 Precision of link prediction (1 = perfect)




                                 All datasets available at konect.uni-koblenz.de

        Jérôme Kunegis
        kunegis@uni-koblenz.de   28 / 29
Conclusion

●
    Observation
     ●
       Eigenvalue change, eigenvectors are constant

●
    Why?
     ●
       Graph kernels, triangle closing, the sum-over-paths model,
       rank reduction, etc.

●
    Application to recommender systems
     ●
       By learning the spectral transformation for a given dataset




             ACKNOWLEDGMENTS         →
                                                           Thank You!
            Jérôme Kunegis
            kunegis@uni-koblenz.de   29 / 29
Selected Publications

The Slashdot Zoo: Mining a social network with negative edges
J. Kunegis, A. Lommatzsch and C. Bauckhage
In Proc. World Wide Web Conf., pp. 741–750, 2009.
Learning spectral graph transformations for link prediction
J. Kunegis and A. Lommatzsch
In Proc. Int. Conf. on Machine Learning, pp. 561–568, 2009.
Spectral analysis of signed graphs for clustering, prediction and
visualization
J. Kunegis, S. Schmidt, A. Lommatzsch and J. Lerner
In Proc. SIAM Int. Conf. on Data Mining, pp. 559–570, 2010.
Network growth and the spectral evolution model
J. Kunegis, D. Fay and C. Bauckhage
In Proc. Conf. on Information and Knowledge Management,
pp. 739–748, 2010.

             Jérôme Kunegis
             kunegis@uni-koblenz.de   30 / 29
References

B. Viswanath, A. Mislove, M. Cha, K. P. Gummadi, On
the evolution of user interaction in Facebook. In Proc.
Workshop on Online Social Networks, pp. 37–42, 2009.




          Jérôme Kunegis
          kunegis@uni-koblenz.de   31 / 29

More Related Content

More from Jérôme KUNEGIS

Generating Networks with Arbitrary Properties
Generating Networks with Arbitrary PropertiesGenerating Networks with Arbitrary Properties
Generating Networks with Arbitrary PropertiesJérôme KUNEGIS
 
Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013Jérôme KUNEGIS
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsJérôme KUNEGIS
 
What Is the Added Value of Negative Links in Online Social Networks?
What Is the Added Value of Negative Links in Online Social Networks?What Is the Added Value of Negative Links in Online Social Networks?
What Is the Added Value of Negative Links in Online Social Networks?Jérôme KUNEGIS
 
KONECT – The Koblenz Network Collection
KONECT – The Koblenz Network CollectionKONECT – The Koblenz Network Collection
KONECT – The Koblenz Network CollectionJérôme KUNEGIS
 
Preferential Attachment in Online Networks: Measurement and Explanations
Preferential Attachment in Online Networks:  Measurement and ExplanationsPreferential Attachment in Online Networks:  Measurement and Explanations
Preferential Attachment in Online Networks: Measurement and ExplanationsJérôme KUNEGIS
 
Predicting Directed Links using Nondiagonal Matrix Decompositions
Predicting Directed Links using Nondiagonal Matrix DecompositionsPredicting Directed Links using Nondiagonal Matrix Decompositions
Predicting Directed Links using Nondiagonal Matrix DecompositionsJérôme KUNEGIS
 
Online Dating Recommender Systems: The Split-complex Number Approach
Online Dating Recommender Systems: The Split-complex Number ApproachOnline Dating Recommender Systems: The Split-complex Number Approach
Online Dating Recommender Systems: The Split-complex Number ApproachJérôme KUNEGIS
 
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other MeasuresWhy Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other MeasuresJérôme KUNEGIS
 
Fairness on the Web: Alternatives to the Power Law (WebSci 2012)
Fairness on the Web:  Alternatives to the Power Law (WebSci 2012)Fairness on the Web:  Alternatives to the Power Law (WebSci 2012)
Fairness on the Web: Alternatives to the Power Law (WebSci 2012)Jérôme KUNEGIS
 
Fairness on the Web: Alternatives to the Power Law
Fairness on the Web:  Alternatives to the Power LawFairness on the Web:  Alternatives to the Power Law
Fairness on the Web: Alternatives to the Power LawJérôme KUNEGIS
 
KONECT Cloud – Large Scale Network Mining in the Cloud
KONECT Cloud – Large Scale Network Mining in the CloudKONECT Cloud – Large Scale Network Mining in the Cloud
KONECT Cloud – Large Scale Network Mining in the CloudJérôme KUNEGIS
 
Searching Microblogs: Coping with Sparsity and Document Quality
Searching Microblogs: Coping with Sparsity and Document QualitySearching Microblogs: Coping with Sparsity and Document Quality
Searching Microblogs: Coping with Sparsity and Document QualityJérôme KUNEGIS
 
Bad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Bad News Travel Fast: A Content-based Analysis of Interestingness on TwitterBad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Bad News Travel Fast: A Content-based Analysis of Interestingness on TwitterJérôme KUNEGIS
 
On the Scalability of Graph Kernels Applied to Collaborative Recommenders
On the Scalability of Graph Kernels Applied to Collaborative RecommendersOn the Scalability of Graph Kernels Applied to Collaborative Recommenders
On the Scalability of Graph Kernels Applied to Collaborative RecommendersJérôme KUNEGIS
 
Learning Spectral Graph Transformations for Link Prediction
Learning Spectral Graph Transformations for Link PredictionLearning Spectral Graph Transformations for Link Prediction
Learning Spectral Graph Transformations for Link PredictionJérôme KUNEGIS
 
The Slashdot Zoo: Mining a Social Network with Negative Edges
The Slashdot Zoo:  Mining a Social Network with Negative EdgesThe Slashdot Zoo:  Mining a Social Network with Negative Edges
The Slashdot Zoo: Mining a Social Network with Negative EdgesJérôme KUNEGIS
 
Spectral Analysis of Signed Graphs for Clustering, Prediction and Visualization
Spectral Analysis of Signed Graphs for Clustering, Prediction and VisualizationSpectral Analysis of Signed Graphs for Clustering, Prediction and Visualization
Spectral Analysis of Signed Graphs for Clustering, Prediction and VisualizationJérôme KUNEGIS
 
Network Growth and the Spectral Evolution Model
Network Growth and the Spectral Evolution ModelNetwork Growth and the Spectral Evolution Model
Network Growth and the Spectral Evolution ModelJérôme KUNEGIS
 

More from Jérôme KUNEGIS (19)

Generating Networks with Arbitrary Properties
Generating Networks with Arbitrary PropertiesGenerating Networks with Arbitrary Properties
Generating Networks with Arbitrary Properties
 
Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013Karriere Lounge – INFORMATIK 2013
Karriere Lounge – INFORMATIK 2013
 
Eight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph ModelsEight Formalisms for Defining Graph Models
Eight Formalisms for Defining Graph Models
 
What Is the Added Value of Negative Links in Online Social Networks?
What Is the Added Value of Negative Links in Online Social Networks?What Is the Added Value of Negative Links in Online Social Networks?
What Is the Added Value of Negative Links in Online Social Networks?
 
KONECT – The Koblenz Network Collection
KONECT – The Koblenz Network CollectionKONECT – The Koblenz Network Collection
KONECT – The Koblenz Network Collection
 
Preferential Attachment in Online Networks: Measurement and Explanations
Preferential Attachment in Online Networks:  Measurement and ExplanationsPreferential Attachment in Online Networks:  Measurement and Explanations
Preferential Attachment in Online Networks: Measurement and Explanations
 
Predicting Directed Links using Nondiagonal Matrix Decompositions
Predicting Directed Links using Nondiagonal Matrix DecompositionsPredicting Directed Links using Nondiagonal Matrix Decompositions
Predicting Directed Links using Nondiagonal Matrix Decompositions
 
Online Dating Recommender Systems: The Split-complex Number Approach
Online Dating Recommender Systems: The Split-complex Number ApproachOnline Dating Recommender Systems: The Split-complex Number Approach
Online Dating Recommender Systems: The Split-complex Number Approach
 
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other MeasuresWhy Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
Why Beyoncé Is More Popular Than Me – Fairness, Diversity and Other Measures
 
Fairness on the Web: Alternatives to the Power Law (WebSci 2012)
Fairness on the Web:  Alternatives to the Power Law (WebSci 2012)Fairness on the Web:  Alternatives to the Power Law (WebSci 2012)
Fairness on the Web: Alternatives to the Power Law (WebSci 2012)
 
Fairness on the Web: Alternatives to the Power Law
Fairness on the Web:  Alternatives to the Power LawFairness on the Web:  Alternatives to the Power Law
Fairness on the Web: Alternatives to the Power Law
 
KONECT Cloud – Large Scale Network Mining in the Cloud
KONECT Cloud – Large Scale Network Mining in the CloudKONECT Cloud – Large Scale Network Mining in the Cloud
KONECT Cloud – Large Scale Network Mining in the Cloud
 
Searching Microblogs: Coping with Sparsity and Document Quality
Searching Microblogs: Coping with Sparsity and Document QualitySearching Microblogs: Coping with Sparsity and Document Quality
Searching Microblogs: Coping with Sparsity and Document Quality
 
Bad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Bad News Travel Fast: A Content-based Analysis of Interestingness on TwitterBad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
Bad News Travel Fast: A Content-based Analysis of Interestingness on Twitter
 
On the Scalability of Graph Kernels Applied to Collaborative Recommenders
On the Scalability of Graph Kernels Applied to Collaborative RecommendersOn the Scalability of Graph Kernels Applied to Collaborative Recommenders
On the Scalability of Graph Kernels Applied to Collaborative Recommenders
 
Learning Spectral Graph Transformations for Link Prediction
Learning Spectral Graph Transformations for Link PredictionLearning Spectral Graph Transformations for Link Prediction
Learning Spectral Graph Transformations for Link Prediction
 
The Slashdot Zoo: Mining a Social Network with Negative Edges
The Slashdot Zoo:  Mining a Social Network with Negative EdgesThe Slashdot Zoo:  Mining a Social Network with Negative Edges
The Slashdot Zoo: Mining a Social Network with Negative Edges
 
Spectral Analysis of Signed Graphs for Clustering, Prediction and Visualization
Spectral Analysis of Signed Graphs for Clustering, Prediction and VisualizationSpectral Analysis of Signed Graphs for Clustering, Prediction and Visualization
Spectral Analysis of Signed Graphs for Clustering, Prediction and Visualization
 
Network Growth and the Spectral Evolution Model
Network Growth and the Spectral Evolution ModelNetwork Growth and the Spectral Evolution Model
Network Growth and the Spectral Evolution Model
 

Recently uploaded

BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...Nguyen Thanh Tu Collection
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptx4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptxmary850239
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineCeline George
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Comparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxComparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxAvaniJani1
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 

Recently uploaded (20)

BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - I-LEARN SMART WORLD - CẢ NĂM - CÓ FILE NGHE (BẢN...
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
Plagiarism,forms,understand about plagiarism,avoid plagiarism,key significanc...
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptx4.9.24 Social Capital and Social Exclusion.pptx
4.9.24 Social Capital and Social Exclusion.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command Line
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Comparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptxComparative Literature in India by Amiya dev.pptx
Comparative Literature in India by Amiya dev.pptx
 
Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,Spearman's correlation,Formula,Advantages,
Spearman's correlation,Formula,Advantages,
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 

On the Spectral Evolution of Large Networks (PhD Thesis by Jérôme Kunegis)

  • 1. Web Science & Technologies University of Koblenz ▪ Landau, Germany On the Spectral Evolution of Large Networks Jérôme Kunegis
  • 2. Networks …are everywhere ip r sh tho Au ip dsh Fr ien t Trus o n ic ati n mu e Co m e nc c ti on c urr ra c -oc I nte Co Jérôme Kunegis kunegis@uni-koblenz.de 2 / 29
  • 3. Social Network Person Friendship Jérôme Kunegis kunegis@uni-koblenz.de 3 / 29
  • 4. Trust Network Trust Jérôme Kunegis kunegis@uni-koblenz.de 4 / 29
  • 5. Signed Social Network Friend Foe Jérôme Kunegis kunegis@uni-koblenz.de 5 / 29
  • 6. Interaction Network Jérôme Kunegis kunegis@uni-koblenz.de 6 / 29
  • 7. Recommender Systems :-( me Predict who I will add as friend next Facebook's algorithm: find friends-of-friends → Problem: Rest of the network is ignored! Jérôme Kunegis kunegis@uni-koblenz.de 7 / 29
  • 8. Outline 1. Algebraic Link Prediction 2. Spectral Transformations 3. Learning Link Prediction Take into account the whole network Jérôme Kunegis kunegis@uni-koblenz.de 8 / 29
  • 9. Adjacency Matrix 3 1 2 4 5 6 1 2 3 4 5 6 Aij = 1 when i and j are connected 1 0 1 0 0 0 0 Aij = 0 when i and j are not connected 2 1 0 1 1 0 0 3 0 1 0 1 0 0 A= 4 0 1 1 0 1 0 A is square and symmetric 5 0 0 0 1 0 1 6 0 0 0 0 1 0 Jérôme Kunegis kunegis@uni-koblenz.de 9 / 29
  • 10. Baseline: Friend of a Friend Model Count the number of ways a person can be found as the friend of a friend Matrix product AA = A2 2 3 0 1 0 0 0 0 1 0 1 1 0 0 1 0 1 1 0 0 0 3 1 1 1 0 A 2 = 0 0 1 1 0 1 1 0 0 1 0 0 = 1 1 1 1 2 1 1 3 1 0 0 1 0 0 0 1 0 1 0 1 1 0 2 0 1 2 4 0 0 0 0 1 0 0 0 0 1 0 1 Jérôme Kunegis kunegis@uni-koblenz.de 10 / 29
  • 11. Friend of a Friend of a Friend 3 1 2 4 5 6 Compute the number of friends-of-friends-of-friends: 1 2 3 4 5 6 3 0 1 0 0 0 0 0 3 1 1 1 0 1 1 0 1 1 0 0 3 2 4 5 1 1 2 A3 = 0 0 1 1 0 1 1 0 0 1 0 0 = 1 1 4 5 2 4 4 2 1 4 1 0 3 4 0 0 0 1 0 1 1 1 1 4 0 2 5 0 0 0 0 1 0 0 1 1 0 2 0 6 Problem: A3 is not sparse! Jérôme Kunegis kunegis@uni-koblenz.de 11 / 29
  • 12. Eigenvalue Decomposition A = UΛUT where U are the eigenvectors U TU = I Λ are the eigenvalues Λij = 0 when i ≠ j Jérôme Kunegis kunegis@uni-koblenz.de 12 / 29
  • 13. Computing A3 Use the eigenvalue decomposition A = UΛUT A3 = UΛUT UΛUT UΛUT = UΛ3UT Exploit U and Λ:  U TU = I because U contains eigenvectors  (Λ ) = Λiik because Λ contains eigenvalues k ii Result: Just cube all eigenvalues! Jérôme Kunegis kunegis@uni-koblenz.de 13 / 29
  • 14. Matrix Exponential 3 0.98 0.76 0.22 1 2 4 5 6 7 exp(A) = I + A + 1/2 A2 + 1/6 A3 + . . . 1 2 3 4 5 6 7 0 1 0 0 0 0 0 1 . 66 1 . 72 0 .93 0 . 98 0 . 28 0 . 06 0 . 01 1 1 0 1 1 0 0 0 1. 72 3 . 57 2. 70 2 . 93 1. 04 0. 29 0 . 06 2 0 1 0 1 0 0 0 0 . 93 2 .70 2. 86 2. 71 0 . 99 0 . 28 0 . 06 3 exp 0 1 1 0 1 0 0 = 0 . 98 2 . 93 2 .71 3 . 63 1. 95 0 . 76 0 . 22 4 0 0 0 1 0 1 0 0 . 28 1. 04 0 . 99 1 . 95 2 .35 1. 59 0 . 64 5 0 0 0 0 1 0 1 0 . 06 0 . 29 0 .28 0 . 76 1 .59 2. 23 1 .38 6 0 0 0 0 0 1 0 0. 01 0 . 06 0. 06 0 . 22 0 .64 1 . 38 1 .59 7 Jérôme Kunegis kunegis@uni-koblenz.de 14 / 29
  • 15. Spectral Transformations A2 = UΛ2UT Friend of a friend A = UΛ UT 3 3 Friend of a friend of a friend exp(A) = Uexp(Λ)UT Matrix exponential …are link prediction functions! Jérôme Kunegis kunegis@uni-koblenz.de 15 / 29
  • 16. Outline 1. Algebraic Link Prediction 2. Spectral Transformations 3. Learning Link Prediction Why does it work? Jérôme Kunegis kunegis@uni-koblenz.de 16 / 29
  • 17. Looking at Real Facebook Data Dataset: Facebook New Orleans (Viswanath et al. 2009) 63,731 persons 1,545,686 friendship links with creation dates Adjacency matrix At at time t (t = 1 . . . 75) Compute all eigenvalue decompositions At = UtΛtUtT Jérôme Kunegis kunegis@uni-koblenz.de 17 / 29
  • 18. Evolution of Eigenvalues Constant eigenvalue (Λt)ii Growing eigenvalue Jérôme Kunegis kunegis@uni-koblenz.de 18 / 29
  • 19. Eigenvector Evolution Cosine similarity between (Ut)•i and (Ut+x)•i Constant Sudden change Jérôme Kunegis kunegis@uni-koblenz.de 19 / 29
  • 20. Eigenvector Permutation Time split: old edges A = UΛUT new edges B = VDVT Eigenvectors permute |U•i∙ V•j| Jérôme Kunegis kunegis@uni-koblenz.de 20 / 29
  • 21. Outline 1. Algebraic Link Prediction 2. Spectral Transformations 3. Learning Link Prediction a) Learning by Extrapolation b) Learning by Curve Fitting What spectral transformation is best? Jérôme Kunegis kunegis@uni-koblenz.de 21 / 29
  • 22. a) Learning by Extrapolation CIKM 2010 Extrapolate the growth of the spectrum Good when growth is irregular Potential problem: overfitting Jérôme Kunegis kunegis@uni-koblenz.de 22 / 29
  • 23. b) Learning by Curve Fitting f A B UΛUT B Λ UTBU f Diagonal Jérôme Kunegis kunegis@uni-koblenz.de 23 / 29
  • 24. Curve Fitting (UTBU)ii Λii Jérôme Kunegis kunegis@uni-koblenz.de 24 / 29
  • 25. Polynomial Curve Fitting Fit a polynomial a + bx + cx2 + dx3 + ex4 Jérôme Kunegis kunegis@uni-koblenz.de 25 / 29
  • 26. Other Curves ICML 2009 Friend of a Friend a + bx + cx2 Polynomial a + bx + cx2 + dx3 + ex4 Nonnegative polynomial a + . . . + hx7 a, . . ., h ≥ 0 Matrix exponential b exp(ax) Neumann kernel b / (1 − ax) Rank reduction ax if |x| ≥ x0, 0 otherwise Jérôme Kunegis kunegis@uni-koblenz.de 26 / 29
  • 27. Evaluation Methodology All edges E Training set Ea ∪ Eb ˙ Apply Test set Ec Source set Ea Learn Target set Eb Edge creation time 3-way split of edge set by edge creation time Jérôme Kunegis kunegis@uni-koblenz.de 27 / 29
  • 28. Experiments Precision of link prediction (1 = perfect) All datasets available at konect.uni-koblenz.de Jérôme Kunegis kunegis@uni-koblenz.de 28 / 29
  • 29. Conclusion ● Observation ● Eigenvalue change, eigenvectors are constant ● Why? ● Graph kernels, triangle closing, the sum-over-paths model, rank reduction, etc. ● Application to recommender systems ● By learning the spectral transformation for a given dataset ACKNOWLEDGMENTS → Thank You! Jérôme Kunegis kunegis@uni-koblenz.de 29 / 29
  • 30. Selected Publications The Slashdot Zoo: Mining a social network with negative edges J. Kunegis, A. Lommatzsch and C. Bauckhage In Proc. World Wide Web Conf., pp. 741–750, 2009. Learning spectral graph transformations for link prediction J. Kunegis and A. Lommatzsch In Proc. Int. Conf. on Machine Learning, pp. 561–568, 2009. Spectral analysis of signed graphs for clustering, prediction and visualization J. Kunegis, S. Schmidt, A. Lommatzsch and J. Lerner In Proc. SIAM Int. Conf. on Data Mining, pp. 559–570, 2010. Network growth and the spectral evolution model J. Kunegis, D. Fay and C. Bauckhage In Proc. Conf. on Information and Knowledge Management, pp. 739–748, 2010. Jérôme Kunegis kunegis@uni-koblenz.de 30 / 29
  • 31. References B. Viswanath, A. Mislove, M. Cha, K. P. Gummadi, On the evolution of user interaction in Facebook. In Proc. Workshop on Online Social Networks, pp. 37–42, 2009. Jérôme Kunegis kunegis@uni-koblenz.de 31 / 29