web characteristics
play

Web Characteristics CE-324: Modern Information Retrieval Sharif - PowerPoint PPT Presentation

Web Characteristics CE-324: Modern Information Retrieval Sharif University of Technology M. Soleymani Spring 2020 Most slides have been adapted from: Profs. Manning, Nayak & Raghavan (CS-276, Stanford) Some slides have been adapted from:


  1. Web Characteristics CE-324: Modern Information Retrieval Sharif University of Technology M. Soleymani Spring 2020 Most slides have been adapted from: Profs. Manning, Nayak & Raghavan (CS-276, Stanford) Some slides have been adapted from: Profs. Leskovec, Rajaraman, and Ullman (Mining of Massive Datasets course, Stanford)

  2. Sec. 19.2 Web document collection } No design/co-ordination } Distributed content creation, linking, democratization of publishing } Content includes truth, lies, obsolete information, contradictions … } Unstructured (text, html, …), semi-structured (XML, annotated photos), structured (Databases)… } Scale much larger than previous text collections … but corporate records are catching up } Growth – slowed down from initial “volume doubling every few months” but still expanding The Web } Content can be dynamically generated 2

  3. Sec. 19.4.1 Web search basics Sponsored Links CG Appliance Express Discount Appliances (650) 756-3931 User Same Day Certified Installation www.cgappliance.com San Francisco-Oakland-San Jose, CA Miele Vacuum Cleaners Miele Vacuums- Complete Selection Free Shipping! www.vacuums.com Miele Vacuum Cleaners Miele -Free Air shipping! All models. Helpful advice. www.best-vacuum.com Web Results 1 - 10 of about 7,310,000 for miele . ( 0.12 seconds) Miele , Inc -- Anything else is a compromise At the heart of your home, Appliances by Miele . ... USA. to miele .com. Residential Appliances. Vacuum Cleaners. Dishwashers. Cooking Appliances. Steam Oven. Coffee System ... www. miele .com/ - 20k - Cached - Similar pages Web spider Miele Welcome to Miele , the home of the very best appliances and kitchens in the world. www. miele .co.uk/ - 3k - Cached - Similar pages Miele - Deutscher Hersteller von Einbaugeräten, Hausgeräten ... - [ Translate this page ] Das Portal zum Thema Essen & Geniessen online unter www.zu-tisch.de. Miele weltweit ...ein Leben lang. ... Wählen Sie die Miele Vertretung Ihres Landes. www. miele .de/ - 10k - Cached - Similar pages Herzlich willkommen bei Miele Österreich - [ Translate this page ] Herzlich willkommen bei Miele Österreich Wenn Sie nicht automatisch weitergeleitet werden, klicken Sie bitte hier! HAUSHALTSGERÄTE ... www. miele .at/ - 3k - Cached - Similar pages Search Indexer The Web Indexes Ad indexes 3

  4. Web graph } HTML pages together with hyperlinks between them } Can be modeled as a directed graph } Anchor text: text surrounding the origin of the hyper- link on page A 4

  5. Users’ empirical evaluation of results } Quality of pages varies widely } Relevance is not enough } Other desirable qualities (non IR!!) } Content:Trustworthy, diverse, non-duplicated, well maintained } Web readability: display correctly & fast } No annoyances: pop-ups, etc. } Precision vs. recall: } On the web, recall seldom matters } What matters } Precision at 1? Precision above the fold? } Comprehensiveness – must be able to deal with obscure queries ¨ Recall matters when the number of matches is very small } User perceptions may be unscientific, but are significant over a large aggregate 5

  6. Sec. 19.4.1 User Needs } Need [Brod02, RL04] } Informational – want to learn about something (~40% / 65%) Low hemoglobin } Navigational – want to go to that page (~25% / 15%) United Airlines } Transactional – want to do something (web-mediated) (~35% / 20%) Seattle weather } Access a service Mars surface images } Downloads } Shop Canon S410 } Gray areas Car rental Brasil } Find a good hub } Exploratory search “see what’s there” 6

  7. SPAM (SEARCH ENGINE OPTIMIZATION) 7

  8. Sec. 19.2.2 The trouble with paid search ads … } It costs money. What’s the alternative? } Search Engine Optimization: } “Tuning” your web page to rank highly in the algorithmic search results for selected keywords } Alternative to paying for placement } Thus, intrinsically a marketing function } Performed by companies, webmasters & consultants (“Search engine optimizers”) for their clients } Some perfectly legitimate, some very shady 8

  9. Sec. 19.2.2 Search Engine Optimizer (SEO) } Motives } Commercial, political, religious, lobbies } Promotion funded by advertising budget } Operators } Contractors (Search Engine Optimizers) for lobbies, companies } Web masters } Hosting services } Forums } E.g.,Web master world ( www.webmasterworld.com ) } Search engine specific tricks } Discussions about academic papers J 9

  10. Sec. 19.2.2 Simplest forms } First generation engines relied heavily on tf/idf } The top-ranked pages for the query maui resort were the ones containing the most maui ’ s and resort ’ s } SEOs responded with dense repetitions of chosen terms } e.g., maui resort maui resort maui resort } Often, the repetitions would be in the same color as the background of the web page } Repeated terms got indexed by crawlers } But not visible to humans on browsers Pure word density cannot be trusted as an IR signal 10

  11. Sec. 19.2.2 Variants of keyword stuffing } Misleading meta-tags, excessive repetition } Hidden text with colors, style sheet tricks, etc. Meta-Tags = “… London hotels, hotel, holiday inn, hilton, discount, booking, reservation, …” 11

  12. Sec. 19.2.2 Cloaking } Serve fake content to search engine spider } DNS cloaking: Switch IP address. Impersonate SPAM N Is this a Search Engine spider? Real Y Cloaking Doc 12

  13. Sec. 19.2.2 More spam techniques } Doorway pages } Pages optimized for a single keyword that re-direct to the real target page } Link spamming } Mutual admiration societies, hidden links, awards } Domain flooding: numerous domains that point or re-direct to a target page } Robots } Fake query stream – rank checking programs } “Curve-fit” ranking programs of search engines } Millions of submissions via Add-Url 13

  14. The war against spam } Quality signals: Prefer } Spam recognition by machine authoritative pages based on: learning } Training set based on known spam } Votes from authors (linkage signals) } Votes from users (usage signals) } Family friendly filters } Linguistic analysis, general } Policing of URL submissions classification techniques, etc. } Anti robot test } For images: flesh tone detectors, source text analysis, etc. } Limits on meta-keywords } Editorial intervention } Robust link analysis } Blacklists } Top queries audited } Ignore statistically implausible } Complaints addressed linkage (or text) } Suspect pattern detection } Use link analysis to detect spammers (guilt by association) 14

  15. More on spam } Web search engines have policies on SEO practices they tolerate/block } http://help.yahoo.com/help/us/ysearch/index.html } http://www.google.com/intl/en/webmasters/ } Adversarial IR : the unending (technical) battle between SEO’s and web search engines } Research http://airweb.cse.lehigh.edu/ 15

  16. DUPLICATE DETECTION 16

  17. Sec. 19.6 Duplicate documents } The web is full of duplicated content } Strict duplicate detection = exact match } Not as common } But many, many cases of near duplicates } E.g., last-modified date the only difference between two copies of a page 17

  18. Sec. 19.6 Duplicate/near-duplicate detection } Duplication : Exact match can be detected with fingerprints } Near-Duplication :Approximate match } Overview } Compute syntactic similarity with an edit-distance measure } Use similarity threshold to detect near-duplicates ¨ E.g., Similarity > 80% => Docs are “near duplicates” ¨ Not transitive though sometimes used transitively 18

  19. Sec. 19.6 Computing Similarity } Features: } Segments of a doc (natural or artificial breakpoints) } Shingles (Word N-Grams) } Similarity Measure between two docs (= sets of shingles) !∩# } Jaccard coefficient: !∪# 19

  20. Example } Doc A:“a rose is red a rose is white” } Doc B:“a rose is white a rose is red” Doc A: 4 shingles Doc B: 4 shingles “a rose is red” “a rose is white” “rose is red a” “rose is white a” “is red a rose” “is white a rose” “red a rose is” “white a rose is” “a rose is white” “a rose is red” 𝐾𝑏𝑑𝑑𝑏𝑠𝑒 = 0.25 20

  21. Sec. 19.6 Shingles + Set Intersection § Computing exact set intersection of shingles between all pairs of docs is expensive/intractable § Approximate using a cleverly chosen subset of shingles from each (called sketch) § Estimate /(!)∩/(#) /(!)∪/(#) based on short sketches of Doc A and B Doc A Shingle set A Sketch A Jaccard Doc B Shingle set B Sketch B 21

  22. From sets to Boolean matrices } Rows =elements of the universal set. } Example: the set of all k shingles. } Columns =sets. } View sets as columns of a matrix 𝐷 ; one row for each element in the universe of shingles. } 𝐷 𝑗𝑘 = 1 indicates presence of shingle 𝑗 in set 𝑘 } Typical matrix is sparse. 22

  23. Example: Column similarity 23

  24. For types of rows (for a pair of columns) } For columns 𝐷 𝑗 , 𝐷 𝑘 , four types of rows 𝑫 𝒋 𝑫 𝒌 1 1 1 0 0 1 0 0 } 𝑜 :: : # of rows where both columns are one (# of the items that exist in both sets 𝐷 ; and 𝐷 < ) } 𝑜 := : # of rows where 𝐷 ; contains 1 but 𝐷 < contains 0 (# of the items that exist in both sets 𝐷 ; and 𝐷 < ) } and so on 𝑜 :: 𝐾𝑏𝑑𝑑𝑏𝑠𝑒 𝐷 ; , 𝐷 < = 𝑜 := + 𝑜 =: + 𝑜 :: 24

Recommend


More recommend