Link analysis in web IR CE-324: Modern Information Retrieval Sharif University of Technology

Similar documents
Link Analysis SEEM5680. Taken from Introduction to Information Retrieval by C. Manning, P. Raghavan, and H. Schutze, Cambridge University Press.

Link analysis in web IR CE-324: Modern Information Retrieval Sharif University of Technology

Introduction to Information Retrieval (Manning, Raghavan, Schutze) Chapter 21 Link analysis

Link analysis. Query-independent ordering. Query processing. Spamming simple popularity

CS276A Text Information Retrieval, Mining, and Exploitation. Lecture November, 2002

Information Retrieval

Information retrieval. Lecture 9

Multimedia Content Management: Link Analysis. Ralf Moeller Hamburg Univ. of Technology

TODAY S LECTURE HYPERTEXT AND

Introduction In to Info Inf rmation o Ret Re r t ie i v e a v l a LINK ANALYSIS 1

Einführung in Web und Data Science Community Analysis. Prof. Dr. Ralf Möller Universität zu Lübeck Institut für Informationssysteme

This lecture. CS276B Text Retrieval and Mining Winter Pagerank: Issues and Variants. Influencing PageRank ( Personalization )

CS60092: Informa0on Retrieval

Lecture 8: Linkage algorithms and web search

Information Retrieval and Web Search

Informa(on Retrieval

Introduction to Information Retrieval

Pagerank Scoring. Imagine a browser doing a random walk on web pages:

Informa(on Retrieval

Today s lecture hypertext and links

F. Aiolli - Sistemi Informativi 2007/2008. Web Search before Google

Brief (non-technical) history

Lecture 8: Linkage algorithms and web search

Information Retrieval. Lecture 11 - Link analysis

PV211: Introduction to Information Retrieval

Information Retrieval Lecture 4: Web Search. Challenges of Web Search 2. Natural Language and Information Processing (NLIP) Group

Web consists of web pages and hyperlinks between pages. A page receiving many links from other pages may be a hint of the authority of the page

Information Retrieval

COMP 4601 Hubs and Authorities

Link Analysis and Web Search

Mining The Web. Anwar Alhenshiri (PhD)

1 Starting around 1996, researchers began to work on. 2 In Feb, 1997, Yanhong Li (Scotch Plains, NJ) filed a

CS224W: Social and Information Network Analysis Jure Leskovec, Stanford University

CS6322: Information Retrieval Sanda Harabagiu. Lecture 10: Link analysis

Information retrieval

CS224W: Social and Information Network Analysis Jure Leskovec, Stanford University

CS224W: Social and Information Network Analysis Jure Leskovec, Stanford University

Link Analysis. Hongning Wang

Link Structure Analysis

COMP5331: Knowledge Discovery and Data Mining

Generalized Social Networks. Social Networks and Ranking. How use links to improve information search? Hypertext

How to organize the Web?

INFO 4300 / CS4300 Information Retrieval. slides adapted from Hinrich Schütze s, linked from

COMP Page Rank

Informa(on Retrieval

Lec 8: Adaptive Information Retrieval 2

Web Search. Lecture Objectives. Text Technologies for Data Science INFR Learn about: 11/14/2017. Instructor: Walid Magdy

Mining Web Data. Lijun Zhang

Introduction to Data Mining

CS6200 Information Retreival. The WebGraph. July 13, 2015

Centralities (4) By: Ralucca Gera, NPS. Excellence Through Knowledge

ROBERTO BATTITI, MAURO BRUNATO. The LION Way: Machine Learning plus Intelligent Optimization. LIONlab, University of Trento, Italy, Apr 2015

Big Data Analytics CSCI 4030

PageRank and related algorithms

Mining Web Data. Lijun Zhang

Bruno Martins. 1 st Semester 2012/2013

Information Networks: PageRank

Web search before Google. (Taken from Page et al. (1999), The PageRank Citation Ranking: Bringing Order to the Web.)

Part 1: Link Analysis & Page Rank

Lecture #3: PageRank Algorithm The Mathematics of Google Search

Administrative. Web crawlers. Web Crawlers and Link Analysis!

Lecture Notes to Big Data Management and Analytics Winter Term 2017/2018 Node Importance and Neighborhoods

Slides based on those in:

Link Analysis from Bing Liu. Web Data Mining: Exploring Hyperlinks, Contents, and Usage Data, Springer and other material.

5/30/2014. Acknowledgement. In this segment: Search Engine Architecture. Collecting Text. System Architecture. Web Information Retrieval

Lecture 9: I: Web Retrieval II: Webology. Johan Bollen Old Dominion University Department of Computer Science

Web Search Ranking. (COSC 488) Nazli Goharian Evaluation of Web Search Engines: High Precision Search

CS-C Data Science Chapter 9: Searching for relevant pages on the Web: Random walks on the Web. Jaakko Hollmén, Department of Computer Science

Web Search Basics. Berlin Chen Department t of Computer Science & Information Engineering National Taiwan Normal University

Web Search Basics. Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University

3 announcements: Thanks for filling out the HW1 poll HW2 is due today 5pm (scans must be readable) HW3 will be posted today

Bibliometrics: Citation Analysis

Information Retrieval and Web Search Engines

Big Data Analytics CSCI 4030

The PageRank Citation Ranking

INTRODUCTION TO DATA SCIENCE. Link Analysis (MMDS5)

World Wide Web has specific challenges and opportunities

MAE 298, Lecture 9 April 30, Web search and decentralized search on small-worlds

Unit VIII. Chapter 9. Link Analysis

Recent Researches on Web Page Ranking

Information Retrieval. Lecture 4: Search engines and linkage algorithms

CS246: Mining Massive Datasets Jure Leskovec, Stanford University

Text classification II CE-324: Modern Information Retrieval Sharif University of Technology

Searching the Web What is this Page Known for? Luis De Alba

Large-Scale Networks. PageRank. Dr Vincent Gramoli Lecturer School of Information Technologies

Lecture 17 November 7

CS425: Algorithms for Web Scale Data

CS246: Mining Massive Datasets Jure Leskovec, Stanford University

Social Network Analysis

Lecture 7 April 30, Prabhakar Raghavan

Link Analysis in Web Mining

Agenda. Math Google PageRank algorithm. 2 Developing a formula for ranking web pages. 3 Interpretation. 4 Computing the score of each page

Extracting Information from Complex Networks

A Survey on Web Information Retrieval Technologies

Home Page. Title Page. Page 1 of 14. Go Back. Full Screen. Close. Quit

10/10/13. Traditional database system. Information Retrieval. Information Retrieval. Information retrieval system? Information Retrieval Issues

A STUDY OF RANKING ALGORITHM USED BY VARIOUS SEARCH ENGINE

Searching the Web [Arasu 01]

Analysis of Large Graphs: TrustRank and WebSpam

CSI 445/660 Part 10 (Link Analysis and Web Search)

Transcription:

Link analysis in web IR CE-324: Modern Information Retrieval Sharif University of Technology M. Soleymani Fall 2013 Most slides have been adapted from: Profs. Manning, Nayak & Raghavan (CS-276, Stanford)

Hypertext and links We look beyond the content of documents We begin to look at the hyperlinks between them Address questions like Do the links represent a conferral of authority to some pages? Is this useful for ranking? How likely is it that a page pointed to by the CERN home page is about high energy physics Big application areas The Web Social networks: a rich source of grouping behavior E.g., Shoppers affinity Goel+Goldstein 2010: Consumers whose friends spend a lot, spend a lot themselves 2

Our primary interest in this course Analogs of most IR functionality based purely on text Scoring and ranking Powerful sources of authenticity and authority are achievable via links Link-based clustering topical structure from links Links as features in classification docs that link to one another are likely to be on the same subject Crawling Based on the links seen, where do we crawl next? 3

Sec. 21.1 The Web as a Directed Graph Page A Anchor hyperlink Page B Assumption 1: A hyperlink between pages denotes a conferral of authority (quality signal) [author of the link thinks that the linked-to page is high-quality] Assumption 2: The text in the anchor of the hyperlink describes the target page (textual context) 4

Anchor text We use anchor text somewhat loosely here for: the text surrounding the hyperlink. Example: You can find cheap cars <a href=http://...>here</a>. (Extended) anchor text: You can find cheap cars here 5

Assumption 1: reputed sites 6

Assumption 2: annotation of target 7

Sec. 21.1.1 Indexing anchor text When indexing a doc d, include (with some weight) anchor text from links pointing to d. Searching on [text of d] + [anchor text d] is often more effective than searching on [text of d] only. Armonk, NY-based computer giant IBM announced today www.ibm.com Joe s computer hardware links Sun HP IBM Big Blue today announced record profits for the quarter 8

Anchor text: example Example: Query IBM Matches IBM s copyright page Matches many spam pages Matches IBM wikipedia article May not match IBM home page!... if IBM home page is mostly graphics Searching on [anchor text d2] is better for the query IBM. In this representation, the page with the most occurrences of IBM is www.ibm.com. 9

10

Sec. 21.1.1 Indexing anchor text Can score anchor text with weight depending on the authority of the anchor page s website E.g., if we were to assume that content from cnn.com or yahoo.com is authoritative, then trust this anchor text Can sometimes have unexpected side effects 11

Google bombs A Google bomb is a search with bad results due to maliciously manipulated anchor text. Google introduced a new weighting function in January 2007 that fixed many Google bombs. Defused Google bombs: [who is a failure?], [evil empire] 12

Sec. 21.1.1 Anchor Text Other applications Weighting/filtering links in the graph Generating page descriptions from anchor text 13

Origins of PageRank We can use citation analysis for hyperlinks on the web like citations in the scientific literature Appropriately weighted citation frequency is an excellent measure of quality...... both for web pages and for scientific publications. Next: PageRank algorithm for computing weighted citation frequency on the web 14

The web isn t scholarly citation Millions of participants, each with self interests Spamming is widespread Once search engines began to use links for ranking (roughly 1998), link spam grew You can join a group of websites that heavily link to one another 15

Random walk Imagine a web surfer doing a random walk on the web Start at a random page At each step, go out of the current page along one of the links on that page, equiprobably In the steady state, each page has a long-term visit rate. This long-term visit rate is the page s PageRank. PageRank = long-term visit rate = steady state probability 16

Sec. 21.2 Not quite enough The web is full of dead-ends. Random walk can get stuck in dead-ends. Makes no sense to talk about long-term visit rates.?? 17

Sec. 21.2 Teleporting At a dead end, jump to a random web page with probability 1/N. At any non-dead end, with probability α (e.g. 10%), jump to a random web page. With remaining probability, go out on one of the links on that page, equiprobably 18

Sec. 21.2 Result of teleporting Now cannot get stuck locally. There is a long-term rate at which any page is visited (not obvious, will show this). How do we compute this visit rate? 19

Computing the probability matrix The uniform vector v = [ 1, 1,, 1 ] N N N P = A (adjacency matrix of the graph) For each dead-end: set the corresponding row of P to v P = 1 α P + αv 20

Sec. 21.2.1 Markov chains A Markov chain consists of n states, plus an nn transition probability matrix P. At each step, we are in exactly one of the states. P ij : probability of j being the next state, given we are currently in state i. i P ij j n i, P 1 j 1 ij 21

Sec. 21.2.1 Ergodic Markov chains Theorem: For any ergodic Markov chain, there is a unique long-term visit rate for each state. Steady-state probability distribution. Over a long time-period, we visit each state in proportion to this rate. It doesn t matter where we start. 22

Sec. 21.2.1 Probability vectors A probability (row) vector x = (x 1, x n ) tells us where the walk is at any point. E.g., (0 0 0 1 0 0 0) means we re in state i. 1 i n More generally, the vector x = (x 1, x n ) means the walk is in state i with probability x i. n i1 x i 1. 24

Sec. 21.2.1 Change in probability vector If the probability vector is x = (x 1, x n ) at this step, what is it at the next step? Recall that row i of the transition prob. Matrix P tells us where we go next from state i. So from x, our next state is distributed as xp The one after that is xp 2, then xp 3, etc. (Where) Does the converge? 25

Sec. 21.2.2 How do we compute this vector? Let a = (a 1, a n ) denote the row vector of steady-state probabilities. If our current position is described by a, then the next step is distributed as ap. But a is the steady state, so a = ap. Solving this matrix equation gives us a. So a is the (left) eigenvector for P. Corresponds to the principal eigenvector of P with the largest eigenvalue. Transition probability matrices always have largest eigenvalue 1. 26

Example 27 [This slide has been adopted from Schutze s slides]

Example a = (0.05, 0.04, 0.11, 0.25, 0.21, 0.04, 0.31) 28

Sec. 21.2.2 Pagerank summary Preprocessing: Given graph of links, build matrix P. From it compute a left eigenvector of P. The entry a i is a number between 0 and 1: the pagerank of page i. Query processing: Retrieve pages meeting query. Rank them by their pagerank. But this rank order is query-independent 29

The reality Pagerank is used in Google and other engines, but is hardly the full story of ranking Many sophisticated features are used Some address specific query classes Machine learned ranking (Lecture 19) heavily used Pagerank still very useful for things like crawl policy 30

Sec. 21.3 Hyperlink-Induced Topic Search (HITS) In response to a query, instead of an ordered list of pages each meeting the query, find two sets of inter-related pages: Hub pages are good lists of links on a subject. e.g., Bob s list of cancer-related links. Authority pages occur recurrently on good hubs for the subject. Best suited for broad topic queries rather than for pagefinding queries. Gets at a broader slice of common opinion. 31

Sec. 21.3 Hubs and Authorities Thus, a good hub page for a topic points to many authoritative pages for that topic. A good authority page for a topic is pointed to by many good hubs for that topic. Circular definition - will turn this into an iterative computation. 32

Sec. 21.3 Hubs & Authorities Hubs Alice Bob AT&T ITIM O2 Authorities Mobile telecom companies 33

Sec. 21.3 High-level scheme Extract from the web a base set of pages that could be good hubs or authorities. From these, identify a small set of top hub and authority pages; iterative algorithm. 34

Sec. 21.3 Base set Given text query (say information), use a text index to get all pages containing information. Call this the root set of pages. Add in any page that either points to a page in the root set, or is pointed to by a page in the root set. Call this the base set. 35

Sec. 21.3 Visualization Root set Base set Get in-links (and out-links) from a connectivity server 36

Sec. 21.3 Iterative update Repeat the following updates, for all x: h( x) a( y) x xy a( x) h( y) x yx 37

Sec. 21.3 Distilling hubs and authorities Compute, for each page x in the base set, a hub score h(x) and an authority score a(x): Initialize: for all x, h(x) 1; a(x) 1; Iteratively update all h(x), a(x); After iterations output pages with highest h scores as top hubs output pages with highest a scores as top authorities. 38

Iterative algorithm a = (1, 1,..., 1) h = (1, 1,..., 1) repeat for i=1 to m do h i = Aij =1 for i=1 to n do a i = Aji =1 Normalize(a) Normalize(h) Until convergence a j h j To prevent the h and a values from getting too big, can scale down after each iteration. Scaling factor doesn t really matter: we only care about the relative values of the scores. 39

Sec. 21.3 How many iterations? Claim: relative values of scores will converge after a few iterations: Suitably scaled, h and a scores settle into a steady state! proof of this comes later. In practice, ~5 iterations get you close to stability. 40

Hub and authority: example 41

Sec. 21.3 Japan Elementary Schools schools LINK Page-13 ú { ÌŠw Z a Šw Zƒz [ƒ ƒy [ƒw 100 Schools Home Pages (English) K-12 from Japan 10/...rnet and Education ) Hubs http://www...iglobe.ne.jp/~ikesan l f j Šw Z U N P g Œê ÒŠ ÒŠ Œ Šw Z Koulutus ja oppilaitokset TOYODA HOMEPAGE Education Cay's Homepage(Japanese) y ì Šw Z ̃z [ƒ ƒy [ƒw UNIVERSITY J ³ Šw Z DRAGON97-TOP ŽÂ ª Šw Z T N P gƒz [ƒ ƒy [ƒw µ é¼âá á Ë å ¼ á Ë å ¼ The American School in Japan The Link Page ª èžs ˆä c Šw Zƒz [ƒ ƒy [ƒw Kids' Space ˆÀ éžs ˆÀ é ¼ Šw Z { é ³ˆç åšw Šw Z KEIMEI GAKUEN Home Page ( Japanese ) Authorities Shiranuma Home Page fuzoku-es.fukui-u.ac.jp welcome to Miasa E&J school _ Þ ìœ E lžs ì ¼ Šw Z ̃y http://www...p/~m_maru/index.html fukui haruyama-es HomePage Torisu primary school goo Yakumo Elementary,Hokkaido,Japan FUZOKU Home Page Kamishibun Elementary School... 42

Sec. 21.3 Things to note Pulled together good pages regardless of language of page content. Use only link analysis after the base set is assembled iterative scoring is query-independent. Iterative computation after text index retrieval - significant overhead. 43

Sec. 21.3 Proof of convergence NN adjacency matrix A: each of the N pages in the base set has a row and column in the matrix. Entry A ij = 1 if page i links to page j, else = 0. 1 2 3 1 2 3 1 2 3 0 1 0 1 1 1 1 0 0 44

Sec. 21.3 Rewrite in matrix form h = Aa. a = A T h. Substituting, h = AA T h and a = A T Aa. Thus, h is an eigenvector of AA T and a is an eigenvector of A T A. Further, our iterative algorithm is indeed a known algorithm for computing eigenvectors: the power iteration method. Guaranteed to converge. 45

Sec. 21.3 Issues Topic Drift Off-topic pages can cause off-topic authorities to be returned E.g., the neighborhood graph can be about a super topic Mutually Reinforcing Affiliates Affiliated pages/sites can boost each others scores Linkage between affiliated pages is not a useful signal 46

Resources IIR Chap 21 47