SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
Link Structure Analysis
Kira Radinsky
All of the following slides are courtesy of Ronny Lempel (Yahoo!)
29 November 2010 236620 Search Engine Technology 2
Link Analysis
In the Lecture
• HITS: topic-specific algorithm
– Assigns each page two scores – a hub score and an authority score –
with respect to a topic
• PageRank: query independent algorithm
– Assigns each page a single, global importance score
• Both algorithms reduced to the computation of principal eigenvectors
of certain matrices
Today’s Tutorial:
1. Graph modifications in link analysis algorithms
2. SALSA – HITS with a random-walk twist
3. Topic-Sensitive PageRank
30 November 2010 236620 Search Engine Technology 3
Graph Modifications in Link-Analysis
Algorithms
1. Delete irrelevant elements (pages, links) from the collection.
 Non-informative links
 Pages that are deemed irrelevant (mostly by similarity of
content to the query), and their incident links [Bharat
and Henzinger, 1998]
2. Assign varying (positive) link weights to the non-deleted
links.
– Similarity of anchor text to the query [CLEVER]
– Links incident to pre-defined relevant pages [CLEVER]
– Multiple links from pages of site A to pages of site B
[Bharat and Henzinger, 1998]
• Note that some of the above modifications are only
applicable to topic distillation algorithms
29 November 2010 236620 Search Engine Technology 4
SALSA – Stochastic Approach to Link
Structure Analysis
• SALSA, like HITS, is a topic-distillation algorithm that aims to
assign pages both hub and authority scores
– SALSA analyzes the same topic-centric graph as HITS, but splits each
node into two – a “hub personality” without in-links and an
“authority personality” without out-links
– Examines the resulting bipartite graph
• Innovation: incorporate stochastic analysis with the
authority-hub paradigm
– Examine two separate random walk Markov chains:
an authority chain A, and a hub chain H.
– A single step in each chain is composed of two link traversals on the
Web - one link forward, and one link backwards.
– The principal community of each type: the most frequently visited
pages in the corresponding Markov Chain
Forming bi-pirate graph in Salsa
29 November 2010 236620 Search Engine Technology 6
Pr (23) = 2/5*1/3
• Formally, The transition
probability matrix:
SALSA – Authority Chain Example
[PA]i,j =  {k| ki, kj} (iin)-1(kout)-1
29 November 2010 236620 Search Engine Technology 7
SALSA: Analysis
• The transition probabilities induce a probability
distribution on the authorities (hubs) in the authority
(hub) Markov chain
– If the chains are not irreducible, the probability depends on the
initial distribution (chosen to be uniform)
• The principal community of authorities (hubs) is defined
as the k most probable pages in the authority (hub) chain
• While one can compute the scores by calculating the
principal eigenvector of the stochastic transition matrices,
a more efficient way exists
29 November 2010 236620 Search Engine Technology 8
Mathematical Analysis of SALSA leads to the
following theorem: SALSA’s authority weights reflect
The normalized in-degree of each page,
multiplied by the relative size of the
page’s component in the authority side of the graph
x
3 4
a(x) = ----- x ----- = 0.25
3 +5 4 +2
SALSA: Analysis (cont.)
29 November 2010 236620 Search Engine Technology 9
SALSA: Proof for Irreducible Authority Chains
• The proof assumes a weighted graph, in which the link kj
has weight w(kj)
– The examples shown so far assumed that all links have a weight of
1
• Define W as the sum of all links weights
• Define a distribution vector π by πj = din(j)/W, where din(j)
is the sum of weights of j’s incoming links
– Similarly, dout(k) is the sum of weights of k’s outgoing links
• It is enough to prove that πPA=π, since PA has a single
stationary eigenvector (Ergodic Theorem)
– Recall that PA is the transition matrix of the authority chain
– PA is always aperiodic
29 November 2010 236620 Search Engine Technology 10
SALSA: Proof for Irreducible Authority Chains
29 November 2010 236620 Search Engine Technology 11
Topic Sensitive PageRank
[T. Haveliwala, 2002]
• A topic T is defined by a set of on-topic pages ST.
• A T-biased PageRank is PageRank where the random jumps
(teleportations) land u.a.r. on ST rather than on any arbitrary
Web page
• Recall the alternative interpretation of PageRank, as walking
random paths of geometrically distributed lengths between
resets
– Here, a reset returns to some on-topic page
• If we assume that pages tend to link to pages with topical
affinity, short paths starting at ST will not stray too far away
from on-topic pages, hence the PageRanks will be T-biased
– Note that pages unreachable from ST will receive a T-biased PageRank of 0
• Where would be a good place to find sets ST for certain
topics?
– The pages classified under the 16 top-level topics of the Open Directory
Project (see next slide)
29 November 2010 236620 Search Engine Technology 12
29 November 2010 236620 Search Engine Technology 13
Topic-Sensitive PageRank (cont.)
• 16 PageRank vectors are computed, PR1,…,PR16
• Given a query q, its affinity to the 16 topics T1,…,T16 is
computed
– Based on the probability of generating the query by the language
model induced by the set of pages ST
– A distribution vector [α1,…,α16] is computed, where
αj ~ Prob(q | language model of STj)
• The PageRank vector that will be used to serve q is
PRq = αjPRj
• The idea of biasing PageRank’s random jump destinations is
also used for personalized PageRank flavors [e.g. Jeh and
Widom 2003]
29 November 2010 236620 Search Engine Technology 14
Link Analysis Algorithms - Summary
• Many variants and refinements of both HITS and PageRank
have been proposed.
• Other approaches include:
– Max-flow techniques [Flake et al., SIGKDD 2000]
– Machine learning and Bayesian techniques
• Examples of applications:
– Ranking pages (topic specific/global importance/ personalized rankings)
– Categorization, clustering, finding related pages
– Identifying virtual communities
• Computational issues:
– Distributed computations of eigenvectors of massive, sparse matrices
– Convergence acceleration, approximations
• A wealth of literature

Mais conteúdo relacionado

Semelhante a Tutorial 7 (link analysis) (20)

Pagerank
PagerankPagerank
Pagerank
 
Pagerank (1)
Pagerank (1)Pagerank (1)
Pagerank (1)
 
Pagerank (2)
Pagerank (2)Pagerank (2)
Pagerank (2)
 
Pagerank (1)
Pagerank (1)Pagerank (1)
Pagerank (1)
 
Pagerank (2)
Pagerank (2)Pagerank (2)
Pagerank (2)
 
Pagerank
PagerankPagerank
Pagerank
 
Pagerank (1)
Pagerank (1)Pagerank (1)
Pagerank (1)
 
Pagerank (1)
Pagerank (1)Pagerank (1)
Pagerank (1)
 
Pagerank
PagerankPagerank
Pagerank
 
Pagerank
PagerankPagerank
Pagerank
 
Pagerank
PagerankPagerank
Pagerank
 
Pagerank
PagerankPagerank
Pagerank
 
Pagerank
PagerankPagerank
Pagerank
 
Pagerank
PagerankPagerank
Pagerank
 
Power Point
Power PointPower Point
Power Point
 
prueba
prueba prueba
prueba
 
Pagerank
PagerankPagerank
Pagerank
 
Pagerank
PagerankPagerank
Pagerank
 
Pagerank (1)
Pagerank (1)Pagerank (1)
Pagerank (1)
 
Pagerank
PagerankPagerank
Pagerank
 

Mais de Kira

Mais de Kira (13)

Tutorial 14 (collaborative filtering)
Tutorial 14 (collaborative filtering)Tutorial 14 (collaborative filtering)
Tutorial 14 (collaborative filtering)
 
Tutorial 12 (click models)
Tutorial 12 (click models)Tutorial 12 (click models)
Tutorial 12 (click models)
 
Tutorial 11 (computational advertising)
Tutorial 11 (computational advertising)Tutorial 11 (computational advertising)
Tutorial 11 (computational advertising)
 
Tutorial 10 (computational advertising)
Tutorial 10 (computational advertising)Tutorial 10 (computational advertising)
Tutorial 10 (computational advertising)
 
Tutorial 9 (bloom filters)
Tutorial 9 (bloom filters)Tutorial 9 (bloom filters)
Tutorial 9 (bloom filters)
 
Tutorial 8 (web graph models)
Tutorial 8 (web graph models)Tutorial 8 (web graph models)
Tutorial 8 (web graph models)
 
Tutorial 6 (web graph attributes)
Tutorial 6 (web graph attributes)Tutorial 6 (web graph attributes)
Tutorial 6 (web graph attributes)
 
Tutorial 5 (lucene)
Tutorial 5 (lucene)Tutorial 5 (lucene)
Tutorial 5 (lucene)
 
Tutorial 4 (duplicate detection)
Tutorial 4 (duplicate detection)Tutorial 4 (duplicate detection)
Tutorial 4 (duplicate detection)
 
Tutorial 3 (b tree min heap)
Tutorial 3 (b tree min heap)Tutorial 3 (b tree min heap)
Tutorial 3 (b tree min heap)
 
Tutorial 2 (mle + language models)
Tutorial 2 (mle + language models)Tutorial 2 (mle + language models)
Tutorial 2 (mle + language models)
 
Tutorial 1 (information retrieval basics)
Tutorial 1 (information retrieval basics)Tutorial 1 (information retrieval basics)
Tutorial 1 (information retrieval basics)
 
Tutorial 13 (explicit ugc + sentiment analysis)
Tutorial 13 (explicit ugc + sentiment analysis)Tutorial 13 (explicit ugc + sentiment analysis)
Tutorial 13 (explicit ugc + sentiment analysis)
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Tutorial 7 (link analysis)

  • 1. Link Structure Analysis Kira Radinsky All of the following slides are courtesy of Ronny Lempel (Yahoo!)
  • 2. 29 November 2010 236620 Search Engine Technology 2 Link Analysis In the Lecture • HITS: topic-specific algorithm – Assigns each page two scores – a hub score and an authority score – with respect to a topic • PageRank: query independent algorithm – Assigns each page a single, global importance score • Both algorithms reduced to the computation of principal eigenvectors of certain matrices Today’s Tutorial: 1. Graph modifications in link analysis algorithms 2. SALSA – HITS with a random-walk twist 3. Topic-Sensitive PageRank
  • 3. 30 November 2010 236620 Search Engine Technology 3 Graph Modifications in Link-Analysis Algorithms 1. Delete irrelevant elements (pages, links) from the collection.  Non-informative links  Pages that are deemed irrelevant (mostly by similarity of content to the query), and their incident links [Bharat and Henzinger, 1998] 2. Assign varying (positive) link weights to the non-deleted links. – Similarity of anchor text to the query [CLEVER] – Links incident to pre-defined relevant pages [CLEVER] – Multiple links from pages of site A to pages of site B [Bharat and Henzinger, 1998] • Note that some of the above modifications are only applicable to topic distillation algorithms
  • 4. 29 November 2010 236620 Search Engine Technology 4 SALSA – Stochastic Approach to Link Structure Analysis • SALSA, like HITS, is a topic-distillation algorithm that aims to assign pages both hub and authority scores – SALSA analyzes the same topic-centric graph as HITS, but splits each node into two – a “hub personality” without in-links and an “authority personality” without out-links – Examines the resulting bipartite graph • Innovation: incorporate stochastic analysis with the authority-hub paradigm – Examine two separate random walk Markov chains: an authority chain A, and a hub chain H. – A single step in each chain is composed of two link traversals on the Web - one link forward, and one link backwards. – The principal community of each type: the most frequently visited pages in the corresponding Markov Chain
  • 6. 29 November 2010 236620 Search Engine Technology 6 Pr (23) = 2/5*1/3 • Formally, The transition probability matrix: SALSA – Authority Chain Example [PA]i,j =  {k| ki, kj} (iin)-1(kout)-1
  • 7. 29 November 2010 236620 Search Engine Technology 7 SALSA: Analysis • The transition probabilities induce a probability distribution on the authorities (hubs) in the authority (hub) Markov chain – If the chains are not irreducible, the probability depends on the initial distribution (chosen to be uniform) • The principal community of authorities (hubs) is defined as the k most probable pages in the authority (hub) chain • While one can compute the scores by calculating the principal eigenvector of the stochastic transition matrices, a more efficient way exists
  • 8. 29 November 2010 236620 Search Engine Technology 8 Mathematical Analysis of SALSA leads to the following theorem: SALSA’s authority weights reflect The normalized in-degree of each page, multiplied by the relative size of the page’s component in the authority side of the graph x 3 4 a(x) = ----- x ----- = 0.25 3 +5 4 +2 SALSA: Analysis (cont.)
  • 9. 29 November 2010 236620 Search Engine Technology 9 SALSA: Proof for Irreducible Authority Chains • The proof assumes a weighted graph, in which the link kj has weight w(kj) – The examples shown so far assumed that all links have a weight of 1 • Define W as the sum of all links weights • Define a distribution vector π by πj = din(j)/W, where din(j) is the sum of weights of j’s incoming links – Similarly, dout(k) is the sum of weights of k’s outgoing links • It is enough to prove that πPA=π, since PA has a single stationary eigenvector (Ergodic Theorem) – Recall that PA is the transition matrix of the authority chain – PA is always aperiodic
  • 10. 29 November 2010 236620 Search Engine Technology 10 SALSA: Proof for Irreducible Authority Chains
  • 11. 29 November 2010 236620 Search Engine Technology 11 Topic Sensitive PageRank [T. Haveliwala, 2002] • A topic T is defined by a set of on-topic pages ST. • A T-biased PageRank is PageRank where the random jumps (teleportations) land u.a.r. on ST rather than on any arbitrary Web page • Recall the alternative interpretation of PageRank, as walking random paths of geometrically distributed lengths between resets – Here, a reset returns to some on-topic page • If we assume that pages tend to link to pages with topical affinity, short paths starting at ST will not stray too far away from on-topic pages, hence the PageRanks will be T-biased – Note that pages unreachable from ST will receive a T-biased PageRank of 0 • Where would be a good place to find sets ST for certain topics? – The pages classified under the 16 top-level topics of the Open Directory Project (see next slide)
  • 12. 29 November 2010 236620 Search Engine Technology 12
  • 13. 29 November 2010 236620 Search Engine Technology 13 Topic-Sensitive PageRank (cont.) • 16 PageRank vectors are computed, PR1,…,PR16 • Given a query q, its affinity to the 16 topics T1,…,T16 is computed – Based on the probability of generating the query by the language model induced by the set of pages ST – A distribution vector [α1,…,α16] is computed, where αj ~ Prob(q | language model of STj) • The PageRank vector that will be used to serve q is PRq = αjPRj • The idea of biasing PageRank’s random jump destinations is also used for personalized PageRank flavors [e.g. Jeh and Widom 2003]
  • 14. 29 November 2010 236620 Search Engine Technology 14 Link Analysis Algorithms - Summary • Many variants and refinements of both HITS and PageRank have been proposed. • Other approaches include: – Max-flow techniques [Flake et al., SIGKDD 2000] – Machine learning and Bayesian techniques • Examples of applications: – Ranking pages (topic specific/global importance/ personalized rankings) – Categorization, clustering, finding related pages – Identifying virtual communities • Computational issues: – Distributed computations of eigenvectors of massive, sparse matrices – Convergence acceleration, approximations • A wealth of literature