Introduction to Data Mining

Similar documents
Slides based on those in:

CS425: Algorithms for Web Scale Data

Analysis of Large Graphs: TrustRank and WebSpam

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

CS246: Mining Massive Datasets Jure Leskovec, Stanford University

CS246: Mining Massive Datasets Jure Leskovec, Stanford University

Big Data Analytics CSCI 4030

Link Analysis in Web Mining

CS345a: Data Mining Jure Leskovec and Anand Rajaraman Stanford University

Big Data Analytics CSCI 4030

Jeffrey D. Ullman Stanford University

CS246: Mining Massive Datasets Jure Leskovec, Stanford University

CS47300 Web Information Search and Management

Part 1: Link Analysis & Page Rank

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

How to organize the Web?

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

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

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

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

Unit VIII. Chapter 9. Link Analysis

Jeffrey D. Ullman Stanford University/Infolab

INTRODUCTION TO DATA SCIENCE. Link Analysis (MMDS5)

Link Analysis and Web Search

Information Retrieval. Lecture 11 - Link analysis

Information Networks: PageRank

Link Analysis. Chapter PageRank

COMP 4601 Hubs and Authorities

A STUDY OF RANKING ALGORITHM USED BY VARIOUS SEARCH ENGINE

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

Lecture 8: Linkage algorithms and web search

Web Spam. Seminar: Future Of Web Search. Know Your Neighbors: Web Spam Detection using the Web Topology

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

Introduction to Data Mining

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

Information Networks: Hubs and Authorities

TODAY S LECTURE HYPERTEXT AND

Bruno Martins. 1 st Semester 2012/2013

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

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

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

Some Interesting Applications of Theory. PageRank Minhashing Locality-Sensitive Hashing

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

Link Analysis. CSE 454 Advanced Internet Systems University of Washington. 1/26/12 16:36 1 Copyright D.S.Weld

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

Brief (non-technical) history

Link Analysis. Hongning Wang

Network Centrality. Saptarshi Ghosh Department of CSE, IIT Kharagpur Social Computing course, CS60017

Mining Web Data. Lijun Zhang

Graph and Web Mining - Motivation, Applications and Algorithms PROF. EHUD GUDES DEPARTMENT OF COMPUTER SCIENCE BEN-GURION UNIVERSITY, ISRAEL

CS6200 Information Retreival. The WebGraph. July 13, 2015

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

Recent Researches on Web Page Ranking

CC PROCESAMIENTO MASIVO DE DATOS OTOÑO Lecture 7: Information Retrieval II. Aidan Hogan

On Finding Power Method in Spreading Activation Search

Introduction to Information Retrieval

Information Retrieval and Web Search

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

Using Spam Farm to Boost PageRank p. 1/2

Final Exam Search Engines ( / ) December 8, 2014

Anti-Trust Rank for Detection of Web Spam and Seed Set Expansion

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

CS 6604: Data Mining Large Networks and Time-Series

Link Analysis in the Cloud

Promoting Website CS 4640 Programming Languages for Web Applications

DATA MINING - 1DL105, 1DL111

Exploring both Content and Link Quality for Anti-Spamming

Social Networks 2015 Lecture 10: The structure of the web and link analysis

Link Structure Analysis

Lecture Notes: Social Networks: Models, Algorithms, and Applications Lecture 28: Apr 26, 2012 Scribes: Mauricio Monsalve and Yamini Mule

Lecture #3: PageRank Algorithm The Mathematics of Google Search

Collaborative filtering based on a random walk model on a graph

Web Structure Mining using Link Analysis Algorithms

Lec 8: Adaptive Information Retrieval 2

Search Engine Optimization (SEO) & Your Online Success

Web Spam Challenge 2008

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

Proximity Prestige using Incremental Iteration in Page Rank Algorithm

A project report submitted to Indiana University

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

A novel approach of web search based on community wisdom

CS249: SPECIAL TOPICS MINING INFORMATION/SOCIAL NETWORKS

Searching the Web [Arasu 01]

CS435 Introduction to Big Data FALL 2018 Colorado State University. 9/24/2018 Week 6-A Sangmi Lee Pallickara. Topics. This material is built based on,

CSE 190 Lecture 16. Data Mining and Predictive Analytics. Small-world phenomena

Information Retrieval

Lecture 27: Learning from relational data

DATA MINING - 1DL460

COMP Page Rank

CPSC 340: Machine Learning and Data Mining. Probabilistic Classification Fall 2017

Big Data Infrastructure CS 489/698 Big Data Infrastructure (Winter 2017)

An Overview of Search Engine Spam. Zoltán Gyöngyi

Information Retrieval. Lecture 4: Search engines and linkage algorithms

PageRank and related algorithms

CS60092: Informa0on Retrieval

A project report submitted to Indiana University

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

Myths about Links, Links and More Links:

AN SEO GUIDE FOR SALONS

SEOHUNK INTERNATIONAL D-62, Basundhara Apt., Naharkanta, Hanspal, Bhubaneswar, India

Transcription:

Introduction to Data Mining Lecture #11: Link Analysis 3 Seoul National University 1

In This Lecture WebSpam: definition and method of attacks TrustRank: how to combat WebSpam HITS algorithm: another algorithm to rank pages, but with two scores (hub and authority) 2

Outline Web Spam: Overview TrustRank: Combating the Web Spam HITS: Hubs and Authorities 3

What is Web Spam? Spamming: Spam: Any deliberate action to boost a web page s position in search engine results, incommensurate with page s real value Web pages that are the result of spamming This is a very broad definition SEO industry might disagree! SEO = search engine optimization Approximately 10 15% of web pages are spam 4

Web Search Early search engines: Crawl the Web Index pages by the words they contained Respond to search queries (lists of words) with the pages containing those words Early page ranking: Attempt to order pages matching a search query by importance First search engines considered: (1) Number of times query words appeared (2) Prominence of word position, e.g. title, header 5

First Spammers As people began to use search engines to find things on the Web, those with commercial interests tried to exploit search engines to bring people to their own site whether they wanted to be there or not Example: Shirt seller might pretend to be about movies Techniques for achieving high relevance/importance for a web page 6

First Spammers: Term Spam How do you make your page appear to be about movies? (1) Add the word `movie 1,000 times to your page Set text color to the background color, so only search engines would see it (2) Or, run the query movie on your target search engine See what page came first in the listings Copy it into your page, make it invisible These and similar techniques are term spam 7

Google s Solution to Term Spam Believe what people say about you, rather than what you say about yourself Use words in the anchor text (words that appear underlined to represent the link) and its surrounding text PageRank as a tool to measure the importance of Web pages 8

Why It Works? Our hypothetical shirt seller loses Saying he is about movies doesn t help, because others don t say he is about movies His page isn t very important, so it won t be ranked high for shirts or movies Example: Shirt seller creates 1,000 pages, each links to his page with movie in the anchor text These pages have no links in, so they get little PageRank So the shirt seller can t beat truly important movie pages, like IMDB 9

SPAM FARMING 10

Google vs. Spammers: Round 2! Once Google became the dominant search engine, spammers began to work out ways to fool Google Spam farms were developed to concentrate PageRank on a single page Link spam: Creating link structures that boost PageRank of a particular page 11

Link Spamming Three kinds of web pages from a spammer s point of view Inaccessible pages spammer has no control Accessible pages e.g., blog comments pages spammer can post links to his pages Owned pages Completely controlled by spammer May span multiple domain names 12

Link Farms Spammer s goal: Maximize the PageRank of target page t Technique: Get as many links from accessible pages as possible to target page t Construct link farm using owned pages to get PageRank multiplier effect 13

Link Farms Accessible Owned Inaccessible 1 t 2 M Millions of farm pages One of the most common and effective organizations for a link farm 14

Analysis Accessible Owned Inaccessible t 1 2 x: PageRank contributed by accessible pages y: PageRank of target page t Rank of each farm page where M N # pages on the web M # of pages spammer owns Very small; ignore Now we solve for y 15

Analysis Accessible Owned Inaccessible t 1 2 M N # pages on the web M # of pages spammer owns where For = 0.85, 1/(1 2 )= 3.6 Multiplier effect for acquired PageRank By making M large, we can make y as large as we want (up to c) 16

Outline Web Spam: Overview TrustRank: Combating the Web Spam HITS: Hubs and Authorities 17

Combating Spam Combating term spam Use anchor text, and PageRank Analyze text using statistical methods Also useful: Detecting approximate duplicate pages Combating link spam Detection and blacklisting of structures that look like spam farms Leads to another war hiding and detecting spam farms TrustRank = topic specific PageRank with a teleport set of trusted pages Example:.edu domains, similar domains for non US schools 18

TrustRank: Idea Basic principle: Approximate isolation It is rare for a good page to point to a bad (spam) page Sample a set of seed pages from the web Have an oracle (human) to identify the good pages and the spam pages in the seed set Expensive task, so we must make seed set as small as possible 19

Trust Propagation Call the subset of seed pages that are identified as good the trusted pages Perform a topic sensitive PageRank with teleport set = trusted pages Propagate trust through links: Each page gets a trust value between 0 and 1 Solution 1: Use a threshold value and mark all pages below the trust threshold as spam 20

Why is it a good idea? Trust attenuation: The degree of trust conferred by a trusted page decreases with the distance in the graph Trust splitting: The larger the number of out links from a page, the less trust the page author gives to each out link Trust is split across out links 21

Picking the Seed Set Two conflicting considerations: Human has to inspect each seed page, so seed set must be as small as possible Must ensure every good page gets adequate trust rank, so need to make all good pages reachable from seed set by short paths 22

Approaches to Picking Seed Set Suppose we want to pick a seed set of k pages How to do that? (1) PageRank: Pick the top k pages by PageRank Main idea: you can t get a bad page s rank really high (2) Use trusted domains whose membership is controlled, like.edu,.mil,.gov 23

Spam Mass In the TrustRank model, we start with good pages and propagate trust Complementary view: What fraction of a page s PageRank comes from spam pages? In practice, we don t know all the spam pages, so we need to estimate Web Trusted set 24

Solution: Spam Mass Estimation = PageRank of page p = PageRank of p with teleport into trusted pages only Then: What fraction of a page s PageRank comes from spam pages? Spam mass of p = Pages with high spam mass are spam. Web Trusted set 25

Outline Web Spam: Overview TrustRank: Combating the Web Spam HITS: Hubs and Authorities 26

Hubs and Authorities HITS (Hypertext Induced Topic Selection) Is a measure of importance of pages or documents, similar to PageRank Proposed at around same time as PageRank ( 98) Goal: Say we want to find good newspapers Don t just find newspapers. Find experts people who link in a coordinated way to good newspapers Idea: Links as votes Page is more important if it has more links In coming links? Out going links? 27

Finding newspapers Hubs and Authorities Each page has 2 scores: Quality as an expert (hub): Total sum of votes of authorities it points to Quality as a content (authority): Total sum of votes coming from experts NYT: 10 Ebay: 3 Yahoo: 3 CNN: 8 WSJ: 9 Principle of repeated improvement 28

Hubs and Authorities Interesting pages fall into two classes: 1. Authorities are pages containing useful information Newspaper home pages Course home pages Home pages of auto manufacturers 2. Hubs are pages that link to authorities List of newspapers Course bulletin List of US auto manufacturers 29

Counting in links: Authority Each page starts with hub score 1. Authorities collect their votes (Note this is idealized example. In reality graph is not bipartite and each page has both the hub and authority score) 30

Counting in links: Authority Sum of hub scores of nodes pointing to NYT. Each page starts with hub score 1. Authorities collect their votes (Note this is idealized example. In reality graph is not bipartite and each page has both the hub and authority score) 31

Expert Quality: Hub Sum of authority scores of nodes that the node points to. Hubs collect authority scores (Note this is idealized example. In reality graph is not bipartite and each page has both the hub and authority score) 32

Reweighting Authorities again collect the hub scores (Note this is idealized example. In reality graph is not bipartite and each page has both the hub and authority score) 33

Mutually Recursive Definition A good hub links to many good authorities A good authority is linked from many good hubs Model using two scores for each node: Hub score and Authority score Represented as vectors and 34

HITS Then: k l m i a i = h k + h l + h m that is a i = Sum (h j ) over all j that edge (j,i) exists or a = A T h Where A is the adjacency matrix (i,j) is 1 if the edge from i to j exists 35

HITS i n q p symmetrically, for the hubness : h i = a n + a p + a q that is h i = Sum (q j ) over all j that edge (i,j) exists or h = Aa 36

HITS Iterate the following equations until they converge h = Aa a = A T h = 37

Convergence of HITS In short, the solutions to the iterative algorithm h = Aa a = A T h are the largest eigenvectors of A A T and A T A. Starting from random a and iterating, we ll eventually converge 38

Example of HITS 1 1 1 A = 1 0 1 0 1 0 1 1 0 A T = 1 0 1 1 1 0 Yahoo Amazon M soft h(yahoo) h(amazon) h(m soft) = = =.58.58.58.80.53.27.80.53.27.79.57.23..........788.577.211 a(yahoo) =.58 a(amazon) =.58 a(m soft) =.58.58.58.58.62.49.62.62.49.62..........628.459.628 39

PageRank and HITS PageRank and HITS are two solutions to the same problem: What is the value of an in link from u to v? In the PageRank model, the value of the link depends on the links into u In the HITS model, it depends on the value of the other links out of u The destinies of PageRank and HITS post 1998 were very different 40

What You Need to Know WebSpam: definition and method of attacks Term Spam and Link Spam TrustRank: how to combat WebSpam Topic sensitive PageRank with teleport set = trusted pages HITS algorithm: another algorithm to rank pages, but with two scores (authority and hub scores) Authorities are pages containing useful information Hubs are pages that link to authorities 41

Questions? 42