SlideShare uma empresa Scribd logo
1 de 25
ACCELERATING GOOGLE’S
PAGERANK
    Liz & Steve
Background
   When a search query is entered in Google, the
    relevant results are returned to the user in an
    order that Google predetermines.
   This order is determined by each web page’s
    PageRank value.
   Google’s system of ranking web pages has made
    it the most widely used search engine available.
   The PageRank vector is a stochastic vector that
    gives a numerical value (0<val<1) to each web
    page.
   To compute this vector, Google uses a matrix
    denoting links between web pages.
Background
Main ideas:

   Web pages with the highest number of inlinks
    should receive the highest rank.

   The rank of a page P is to be determined by
    adding the (weighted) ranks of all the pages
    linking to P.
Background
   Problem: Compute a PageRank vector that
    contains an meaningful rank of every web
    page
                              rk 1 ( Q )                                                      T
rk ( Pi )                                    vk       rk ( P1 )   rk ( P2 )      rk ( Pn )
                    Q BP         Q
                          i


                                             1
                                                      if there is a link
    T           T
v       k
            v       k 1
                          H;          H ij   Pi
                                                  0        if no link
Power Method

   The PageRank vector is the dominant
    eigenvector of the matrix H…after modification
   Google currently uses the Power Method to
    compute this eigenvector. However, H is often
    not suitable for convergence.
                       T     T
   Power Method:   vk   vk 1 H


                                 not stochastic
               typically, H is
                                 not irreducible
Creating a usable matrix

                          T                    T
       G       (H       au )    (1      ) eu

           w here   0          1


  e is a vector of ones and u (for the moment)
  is an arbitrary probabilistic vector.
Using the Power Method


                  T    T
         vk   1
                      vk G
                           T     T        T                  T
                       vk H    v k ua              (1   )u
                                     ||   2
                                              ||
   The rate of convergence is:                         , where
                                                           1
                           || 1 ||
    is the
                                     2
    dominant eigenvalue and  is the aptly
    named subdominant eigenvalue
Alternative Methods:
Linear Systems



                  T                  T
       T   T
                 x (I     H)     u
   v       v G
                      v   x/ x
Langville & Meyer’s reordering
Alternative Methods: Iterative
Aggregation/Disaggregation (IAD)


                   G 11     G 12               v1
           G                           v
                   G 21     G 22               v2


                                                         T
          G 11            G 12 e                    w1
    A     T                 T
                                           w
        u 2 G 21   1 u 2 G 21 e                      c

                                   T
                             w1
                    v              T
                            cu 2
IAD Algorithm
   Form the matrix
                   A


   Find the stationary vectorT
                            w                             T
                                                          w1    c


         T
   vk                        T
                             w1        
                                       cu 2


                 T             T
   vk       1
                             vk G


   If       vk      1
                         T
                              vk
                                   T
                                          , then stop. Otherwise,
    
    u2           (vk 1 ) y / (vk 1 ) y
                                          1
New Ideas:
The Linear System In IAD


       T
                        G 11          G 12 e
  
  w1       c            T             T
                                                        T
                                                       w1      c
                   
                   u 2 G 21        
                                   u 2 G 22 e


  T
 w1 ( I        G 11 )         T
                            cu 2 G 21
  1T G 12 e
 w                c (1       2 T G 22 e )
                            u                    2 T G 21 e
                                               cu
New Ideas: Finding
                 c                            
                                           and 1
                                             w

                           T            T
 1. S olve   (I              
                     G 11 ) w1            
                                   cG 21 u 2

                  T
                  w1 G 12 e
  2. Let c
               T
              u 2 G 21 e

  3. C ontinue until          
                              w1   
                                   w1 (old )
Functional Codes
   Power Method
       We duplicated Google’s formulation of the power
        method in order to have a base time with which to
        compare our results
   A basic linear solver
     We used Gauss-Seidel method to solve the very basic
      linear system: H ) u T
               T
              x (I
     We also experimented with reordering by row degree
      before solving the aforementioned system.
   Langville & Meyer’s Linear System Algorithm
       Used as another time benchmark against our
        algorithms
Functional Codes (cont’d)
   IAD - using power method to find w1
     We  used the power method to find the dominant
      eigenvector of the aggregated matrix A. The
      rescaling constant, c, is merely the last entry of
      the dominant eigenvector
   IAD – using a linear system to find w1
     We  found the dominant eigenvector as discussed
      earlier, using some new reorderings
And now… The Winner!
   Power Method with
    preconditioning
     Applying a row and
     column reordering
     by decreasing
     degree almost
     always reduces the
     number of iterations
     required to
     converge.
Why this works…
1.   The power method converges faster as the
     magnitude of the subdominant eigenvalue
     decreases
2.   Tugrul Dayar found that partitioning a matrix
     in such a way that its off-diagonal blocks are
     close to 0, forces the dominant eigenvalue of
     the iteration matrix closer to 0. This is
     somehow related to the subdominant
     eigenvalue of the coefficient matrix in power
     method.
Decreased Iterations
Decreased Time
Some Comparisons
                Calif             Stan            CNR             Stan Berk             EU

Sample Size                  87              57              66                    69             58

Interval Size               100            5000            5000                 10000          15000



Mean Time
Pwr/Reorder              1.6334          2.2081          2.1136                1.4801         2.2410
STD Time
Pwr/Reorder              0.6000          0.3210          0.1634                0.2397         0.2823
Mean Iter
Pwr/Reorder              2.0880          4.3903          4.3856                3.7297         4.4752
STD Iter
Pwr/Reorder              0.9067          0.7636          0.7732                0.6795         0.6085




Favorable               100.00%          98.25%         100.00%               100.00%        100.00%
Future Research
   Test with more advanced numerical algorithms for
    linear systems (Krylov subspaces methods and
    preconditioners, i.e. GMRES, BICG, ILU, etc.)
   Test with other reorderings for all methods
   Test with larger matrices (find a supercomputer
    that works)
   Attempt a theoretical proof of the decrease in the
    magnitude of the subdominant eigenvalue as
    result of reorderings.
   Convert codes to low level languages (C++, etc.)
   Decode MATLAB’s spy
Langville & Meyer’s Algorithm

                               H 11       H 12
                  H
                                0            0
                                             1                           1                 T
              1       (I            H 11 )            (I          H 11 ) H 12         v2
(I      H)
                                 0                                   I
    T     T                         1            T                   1            T
x       v1 ( I        H 11 )                 v1 ( I            H 11 ) H 12   v2
                       T                                   T
                      x1 ( I             H 11 )       v1
                           T             T                 T
                      x2                x1 H 12       v2
Theorem: Perron-Frobenius

   If       is a non-negative irreducible matrix, then
         A n xn
     p ( A ) is a positive eigenvalue of
                                       A
     There is a positive eigenvectorv    associated p ( A )
      with)
       p( A
             has algebraic and geometric multiplicity
      1
The Power Method: Two
Assumptions

   The complete set of eigenvectors v n
                                 v1 
    are linearly independent

   For each eigenvector there exists
    eigenvalues such that
             1   2
                       n

Mais conteúdo relacionado

Mais procurados

Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION KERNEL AND RANGE OF LINEAR TR...
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION   KERNEL AND RANGE OF LINEAR TR...Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION   KERNEL AND RANGE OF LINEAR TR...
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION KERNEL AND RANGE OF LINEAR TR...Sukhvinder Singh
 
Data Exchange over RDF
Data Exchange over RDFData Exchange over RDF
Data Exchange over RDFnet2-project
 
Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...
Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...
Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...Takahiro Katagiri
 
Tele4653 l4
Tele4653 l4Tele4653 l4
Tele4653 l4Vin Voro
 
Live model transformations driven by incremental pattern matching
Live model transformations driven by incremental pattern matchingLive model transformations driven by incremental pattern matching
Live model transformations driven by incremental pattern matchingIstvan Rath
 
Hidden Markov Models
Hidden Markov ModelsHidden Markov Models
Hidden Markov ModelsVu Pham
 
Hidden markovmodel
Hidden markovmodelHidden markovmodel
Hidden markovmodelPiyorot
 
Signal fundamentals
Signal fundamentalsSignal fundamentals
Signal fundamentalsLalit Kanoje
 
Linear Machine Learning Models with L2 Regularization and Kernel Tricks
Linear Machine Learning Models with L2 Regularization and Kernel TricksLinear Machine Learning Models with L2 Regularization and Kernel Tricks
Linear Machine Learning Models with L2 Regularization and Kernel TricksFengtao Wu
 
Logics of the laplace transform
Logics of the laplace transformLogics of the laplace transform
Logics of the laplace transformTarun Gehlot
 
Linear transformation vcla (160920107003)
Linear transformation vcla (160920107003)Linear transformation vcla (160920107003)
Linear transformation vcla (160920107003)Prashant odhavani
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceresearchinventy
 
R. Jimenez - Fundamental Physics from Astronomical Observations
R. Jimenez - Fundamental Physics from Astronomical ObservationsR. Jimenez - Fundamental Physics from Astronomical Observations
R. Jimenez - Fundamental Physics from Astronomical ObservationsSEENET-MTP
 
Pole placement by er. sanyam s. saini (me reg)
Pole  placement by er. sanyam s. saini (me reg)Pole  placement by er. sanyam s. saini (me reg)
Pole placement by er. sanyam s. saini (me reg)Sanyam Singh
 
Weyl's Theorem for Algebraically Totally K - Quasi – Paranormal Operators
Weyl's Theorem for Algebraically Totally K - Quasi – Paranormal OperatorsWeyl's Theorem for Algebraically Totally K - Quasi – Paranormal Operators
Weyl's Theorem for Algebraically Totally K - Quasi – Paranormal OperatorsIOSR Journals
 
Two dimensional Pool Boiling
Two dimensional Pool BoilingTwo dimensional Pool Boiling
Two dimensional Pool BoilingRobvanGils
 

Mais procurados (20)

Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION KERNEL AND RANGE OF LINEAR TR...
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION   KERNEL AND RANGE OF LINEAR TR...Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION   KERNEL AND RANGE OF LINEAR TR...
Vcla.ppt COMPOSITION OF LINEAR TRANSFORMATION KERNEL AND RANGE OF LINEAR TR...
 
Data Exchange over RDF
Data Exchange over RDFData Exchange over RDF
Data Exchange over RDF
 
Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...
Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...
Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...
 
Tele4653 l4
Tele4653 l4Tele4653 l4
Tele4653 l4
 
Live model transformations driven by incremental pattern matching
Live model transformations driven by incremental pattern matchingLive model transformations driven by incremental pattern matching
Live model transformations driven by incremental pattern matching
 
Hidden Markov Models
Hidden Markov ModelsHidden Markov Models
Hidden Markov Models
 
Hidden markovmodel
Hidden markovmodelHidden markovmodel
Hidden markovmodel
 
Chapter5 system analysis
Chapter5 system analysisChapter5 system analysis
Chapter5 system analysis
 
Signal fundamentals
Signal fundamentalsSignal fundamentals
Signal fundamentals
 
Linear Machine Learning Models with L2 Regularization and Kernel Tricks
Linear Machine Learning Models with L2 Regularization and Kernel TricksLinear Machine Learning Models with L2 Regularization and Kernel Tricks
Linear Machine Learning Models with L2 Regularization and Kernel Tricks
 
Rdnd2008
Rdnd2008Rdnd2008
Rdnd2008
 
Adc
AdcAdc
Adc
 
Logics of the laplace transform
Logics of the laplace transformLogics of the laplace transform
Logics of the laplace transform
 
Linear transformation vcla (160920107003)
Linear transformation vcla (160920107003)Linear transformation vcla (160920107003)
Linear transformation vcla (160920107003)
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Vcla 1
Vcla 1Vcla 1
Vcla 1
 
R. Jimenez - Fundamental Physics from Astronomical Observations
R. Jimenez - Fundamental Physics from Astronomical ObservationsR. Jimenez - Fundamental Physics from Astronomical Observations
R. Jimenez - Fundamental Physics from Astronomical Observations
 
Pole placement by er. sanyam s. saini (me reg)
Pole  placement by er. sanyam s. saini (me reg)Pole  placement by er. sanyam s. saini (me reg)
Pole placement by er. sanyam s. saini (me reg)
 
Weyl's Theorem for Algebraically Totally K - Quasi – Paranormal Operators
Weyl's Theorem for Algebraically Totally K - Quasi – Paranormal OperatorsWeyl's Theorem for Algebraically Totally K - Quasi – Paranormal Operators
Weyl's Theorem for Algebraically Totally K - Quasi – Paranormal Operators
 
Two dimensional Pool Boiling
Two dimensional Pool BoilingTwo dimensional Pool Boiling
Two dimensional Pool Boiling
 

Destaque

Rock Candy Experiment
Rock Candy ExperimentRock Candy Experiment
Rock Candy Experimentaleshatelvick
 
Leviticus 10 1-2 NASB
Leviticus 10 1-2 NASBLeviticus 10 1-2 NASB
Leviticus 10 1-2 NASBjasonian7
 
Another Ordinary Miracle
Another Ordinary MiracleAnother Ordinary Miracle
Another Ordinary Miracleshari lindberry
 
Cloning daily dumpred
Cloning daily dumpredCloning daily dumpred
Cloning daily dumpredSenthil Kumar
 
Different types of music
Different types of musicDifferent types of music
Different types of musicToño Navarro
 
Cloning daily dumpred1
Cloning daily dumpred1Cloning daily dumpred1
Cloning daily dumpred1Senthil Kumar
 
Pre employment screenen diis.nl
Pre employment screenen diis.nlPre employment screenen diis.nl
Pre employment screenen diis.nlAlphium BV
 
See How They Killed My People
See How They Killed My PeopleSee How They Killed My People
See How They Killed My PeopleBec Hamilton
 
Intro To Maharishi Sthapatya Veda
Intro To Maharishi Sthapatya VedaIntro To Maharishi Sthapatya Veda
Intro To Maharishi Sthapatya VedaSJQ
 
Another Ordinary Miracle.C
Another Ordinary Miracle.CAnother Ordinary Miracle.C
Another Ordinary Miracle.Cshari lindberry
 

Destaque (18)

Rock Candy Experiment
Rock Candy ExperimentRock Candy Experiment
Rock Candy Experiment
 
ET the Snowman
ET the SnowmanET the Snowman
ET the Snowman
 
PPT
PPTPPT
PPT
 
Guía 2 logaritmo
Guía 2 logaritmoGuía 2 logaritmo
Guía 2 logaritmo
 
Leviticus 10 1-2 NASB
Leviticus 10 1-2 NASBLeviticus 10 1-2 NASB
Leviticus 10 1-2 NASB
 
Another Ordinary Miracle
Another Ordinary MiracleAnother Ordinary Miracle
Another Ordinary Miracle
 
Cloning daily dumpred
Cloning daily dumpredCloning daily dumpred
Cloning daily dumpred
 
Cloning Daily Dump
Cloning Daily DumpCloning Daily Dump
Cloning Daily Dump
 
Different types of music
Different types of musicDifferent types of music
Different types of music
 
Cloning daily dumpred1
Cloning daily dumpred1Cloning daily dumpred1
Cloning daily dumpred1
 
Pre employment screenen diis.nl
Pre employment screenen diis.nlPre employment screenen diis.nl
Pre employment screenen diis.nl
 
See How They Killed My People
See How They Killed My PeopleSee How They Killed My People
See How They Killed My People
 
India A
India AIndia A
India A
 
Intro To Maharishi Sthapatya Veda
Intro To Maharishi Sthapatya VedaIntro To Maharishi Sthapatya Veda
Intro To Maharishi Sthapatya Veda
 
Online marketing
Online marketingOnline marketing
Online marketing
 
The Great Mom
The  Great  MomThe  Great  Mom
The Great Mom
 
Another Ordinary Miracle.C
Another Ordinary Miracle.CAnother Ordinary Miracle.C
Another Ordinary Miracle.C
 
E Lib&Learning
E Lib&LearningE Lib&Learning
E Lib&Learning
 

Semelhante a Steveliz

Speech waves in tube and filters
Speech waves in tube and filtersSpeech waves in tube and filters
Speech waves in tube and filtersNikolay Karpov
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 
@1a introductory concepts of control systems 2
@1a introductory concepts of control systems 2@1a introductory concepts of control systems 2
@1a introductory concepts of control systems 2Quoc Cuong
 
Chapter 02
Chapter 02Chapter 02
Chapter 02Tha Mike
 

Semelhante a Steveliz (8)

Speech waves in tube and filters
Speech waves in tube and filtersSpeech waves in tube and filters
Speech waves in tube and filters
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
1 d wave equation
1 d wave equation1 d wave equation
1 d wave equation
 
Anil2003
Anil2003Anil2003
Anil2003
 
Lecture notes 03
Lecture notes 03Lecture notes 03
Lecture notes 03
 
@1a introductory concepts of control systems 2
@1a introductory concepts of control systems 2@1a introductory concepts of control systems 2
@1a introductory concepts of control systems 2
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
6 truyen nhiet
6   truyen nhiet6   truyen nhiet
6 truyen nhiet
 

Último

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Último (20)

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

Steveliz

  • 2. Background  When a search query is entered in Google, the relevant results are returned to the user in an order that Google predetermines.  This order is determined by each web page’s PageRank value.  Google’s system of ranking web pages has made it the most widely used search engine available.  The PageRank vector is a stochastic vector that gives a numerical value (0<val<1) to each web page.  To compute this vector, Google uses a matrix denoting links between web pages.
  • 3. Background Main ideas:  Web pages with the highest number of inlinks should receive the highest rank.  The rank of a page P is to be determined by adding the (weighted) ranks of all the pages linking to P.
  • 4. Background  Problem: Compute a PageRank vector that contains an meaningful rank of every web page rk 1 ( Q ) T rk ( Pi ) vk rk ( P1 ) rk ( P2 )  rk ( Pn ) Q BP Q i 1 if there is a link T T v k v k 1 H; H ij Pi 0 if no link
  • 5. Power Method  The PageRank vector is the dominant eigenvector of the matrix H…after modification  Google currently uses the Power Method to compute this eigenvector. However, H is often not suitable for convergence. T T  Power Method: vk vk 1 H not stochastic typically, H is not irreducible
  • 6. Creating a usable matrix T T G (H au ) (1 ) eu w here 0 1 e is a vector of ones and u (for the moment) is an arbitrary probabilistic vector.
  • 7. Using the Power Method T T vk 1 vk G T T T T vk H v k ua (1 )u || 2 ||  The rate of convergence is: , where 1 || 1 || is the 2 dominant eigenvalue and is the aptly named subdominant eigenvalue
  • 8. Alternative Methods: Linear Systems T T T T x (I H) u v v G v x/ x
  • 10. Alternative Methods: Iterative Aggregation/Disaggregation (IAD) G 11 G 12 v1 G v G 21 G 22 v2 T G 11 G 12 e w1 A T T w u 2 G 21 1 u 2 G 21 e c T w1 v T cu 2
  • 11. IAD Algorithm  Form the matrix A  Find the stationary vectorT w  T w1 c T  vk  T w1  cu 2 T T  vk 1 vk G  If vk 1 T vk T , then stop. Otherwise,  u2 (vk 1 ) y / (vk 1 ) y 1
  • 12. New Ideas: The Linear System In IAD T G 11 G 12 e  w1 c T T  T w1 c  u 2 G 21  u 2 G 22 e  T w1 ( I G 11 )  T cu 2 G 21  1T G 12 e w c (1  2 T G 22 e ) u  2 T G 21 e cu
  • 13. New Ideas: Finding c  and 1 w T T 1. S olve (I  G 11 ) w1  cG 21 u 2 T w1 G 12 e 2. Let c  T u 2 G 21 e 3. C ontinue until  w1  w1 (old )
  • 14. Functional Codes  Power Method  We duplicated Google’s formulation of the power method in order to have a base time with which to compare our results  A basic linear solver  We used Gauss-Seidel method to solve the very basic linear system: H ) u T T x (I  We also experimented with reordering by row degree before solving the aforementioned system.  Langville & Meyer’s Linear System Algorithm  Used as another time benchmark against our algorithms
  • 15. Functional Codes (cont’d)  IAD - using power method to find w1  We used the power method to find the dominant eigenvector of the aggregated matrix A. The rescaling constant, c, is merely the last entry of the dominant eigenvector  IAD – using a linear system to find w1  We found the dominant eigenvector as discussed earlier, using some new reorderings
  • 16. And now… The Winner!  Power Method with preconditioning  Applying a row and column reordering by decreasing degree almost always reduces the number of iterations required to converge.
  • 17. Why this works… 1. The power method converges faster as the magnitude of the subdominant eigenvalue decreases 2. Tugrul Dayar found that partitioning a matrix in such a way that its off-diagonal blocks are close to 0, forces the dominant eigenvalue of the iteration matrix closer to 0. This is somehow related to the subdominant eigenvalue of the coefficient matrix in power method.
  • 20. Some Comparisons Calif Stan CNR Stan Berk EU Sample Size 87 57 66 69 58 Interval Size 100 5000 5000 10000 15000 Mean Time Pwr/Reorder 1.6334 2.2081 2.1136 1.4801 2.2410 STD Time Pwr/Reorder 0.6000 0.3210 0.1634 0.2397 0.2823 Mean Iter Pwr/Reorder 2.0880 4.3903 4.3856 3.7297 4.4752 STD Iter Pwr/Reorder 0.9067 0.7636 0.7732 0.6795 0.6085 Favorable 100.00% 98.25% 100.00% 100.00% 100.00%
  • 21.
  • 22. Future Research  Test with more advanced numerical algorithms for linear systems (Krylov subspaces methods and preconditioners, i.e. GMRES, BICG, ILU, etc.)  Test with other reorderings for all methods  Test with larger matrices (find a supercomputer that works)  Attempt a theoretical proof of the decrease in the magnitude of the subdominant eigenvalue as result of reorderings.  Convert codes to low level languages (C++, etc.)  Decode MATLAB’s spy
  • 23. Langville & Meyer’s Algorithm H 11 H 12 H 0 0 1 1 T 1 (I H 11 ) (I H 11 ) H 12 v2 (I H) 0 I T T 1 T 1 T x v1 ( I H 11 ) v1 ( I H 11 ) H 12 v2 T T x1 ( I H 11 ) v1 T T T x2 x1 H 12 v2
  • 24. Theorem: Perron-Frobenius  If is a non-negative irreducible matrix, then A n xn  p ( A ) is a positive eigenvalue of A  There is a positive eigenvectorv associated p ( A ) with) p( A  has algebraic and geometric multiplicity 1
  • 25. The Power Method: Two Assumptions  The complete set of eigenvectors v n v1  are linearly independent  For each eigenvector there exists eigenvalues such that 1 2  n