Modeling and Optimizing Hypertextual Search Engines Based on the Reasearch of Larry Page and Sergey Brin Gus Johnson 4.16.2014 1Search EnginesModified.

Slides:



Advertisements
Similar presentations
The Inside Story Christine Reilly CSCI 6175 September 27, 2011.
Advertisements

Crawling, Ranking and Indexing. Organizing the Web The Web is big. Really big. –Over 3 billion pages, just in the indexable Web The Web is dynamic Problems:
Matrices, Digraphs, Markov Chains & Their Use by Google Leslie Hogben Iowa State University and American Institute of Mathematics Leslie Hogben Iowa State.
Pete Bohman Adam Kunk.  Introduction  Related Work  System Overview  Indexing Scheme  Ranking  Evaluation  Conclusion.
GOOGLE SEARCH ENGINE Presented By Richa Manchanda.
1 The PageRank Citation Ranking: Bring Order to the web Lawrence Page, Sergey Brin, Rajeev Motwani and Terry Winograd Presented by Fei Li.
Natural Language Processing WEB SEARCH ENGINES August, 2002.
How PageRank Works Ketan Mayer-Patel University of North Carolina January 31, 2011.
“ The Anatomy of a Large-Scale Hypertextual Web Search Engine ” Presented by Ahmed Khaled Al-Shantout ICS
Information Retrieval in Practice
Presented by: Vanshika Sharma
The Anatomy of a Large-Scale Hypertextual Web Search Engine
Presentation of Anatomy of a Large-Scale Hypertextual Web Search Engine by Sergey Brin and Lawrence Page (1997) Presenter: Scott White.
Anatomy of a Large-Scale Hypertextual Web Search Engine (e.g. Google)
Web Search – Summer Term 2006 III. Web Search - Introduction (Cont.) - Jeff Dean, Google's Systems Lab:
© nCode 2000 Title of Presentation goes here - go to Master Slide to edit - Slide 1 Anatomy of a Large-Scale Hypertextual Web Search Engine ECE 7995: Term.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Sergey Brin and Lawrence Page.
Presented By: Wang Hao March 8 th, 2011 The PageRank Citation Ranking: Bringing Order to the Web Lawrence Page, Sergey Brin, Rajeev Motwani, Terry Winograd.
ISP 433/633 Week 7 Web IR. Web is a unique collection Largest repository of data Unedited Can be anything –Information type –Sources Changing –Growing.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Sergey Brin and Lawrence Page Distributed Systems - Presentation 6/3/2002 Nancy Alexopoulou.
1 The anatomy of a Large Scale Search Engine Sergey Brin,Lawrence Page Dept. CS of Stanford University.
Overview of Search Engines
“ The Initiative's focus is to dramatically advance the means to collect,store,and organize information in digital forms,and make it available for searching,retrieval,and.
PRESENTED BY ASHISH CHAWLA AND VINIT ASHER The PageRank Citation Ranking: Bringing Order to the Web Lawrence Page and Sergey Brin, Stanford University.
Λ14 Διαδικτυακά Κοινωνικά Δίκτυα και Μέσα
Presented By: - Chandrika B N
The Anatomy of a Large- Scale Hypertextual Web Search Engine Sergey Brin, Lawrence Page CS Department Stanford University Presented by Md. Abdus Salam.
HOW SEARCH ENGINE WORKS. Aasim Bashir.. What is a Search Engine? Search engine: It is a website dedicated to search other websites and there contents.
Graph-based Algorithms in Large Scale Information Retrieval Fatemeh Kaveh-Yazdy Computer Engineering Department School of Electrical and Computer Engineering.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Presented By: Sibin G. Peter Instructor: Dr. R.M.Verma.
Anatomy of a search engine Design criteria of a search engine Architecture Data structures.
Web Search. Structure of the Web n The Web is a complex network (graph) of nodes & links that has the appearance of a self-organizing structure  The.
1 University of Qom Information Retrieval Course Web Search (Link Analysis) Based on:
CSE 6331 © Leonidas Fegaras Information Retrieval 1 Information Retrieval and Web Search Engines Leonidas Fegaras.
Search Xin Liu. 2 Searching the Web for Information How a Search Engine Works –Basic parts: 1.Crawler: Visits sites on the Internet, discovering Web pages.
Search - on the Web and Locally Related directly to Web Search Engines: Part 1 and Part 2. IEEE Computer. June & August 2006.
Gregor Gisler-Merz How to hit in google The anatomy of a modern web search engine.
Modeling and Optimizing Hypertextual Search Engines Based on the Reasearch of Larry Page and Sergey Brin Yunfei Zhao Department of Computer Science University.
The PageRank Citation Ranking: Bringing Order to the Web Lawrence Page, Sergey Brin, Rajeev Motwani, Terry Winograd Presented by Anca Leuca, Antonis Makropoulos.
Search Engines. Search Strategies Define the search topic(s) and break it down into its component parts What terms, words or phrases do you use to describe.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Sergey Brin & Lawrence Page Presented by: Siddharth Sriram & Joseph Xavier Department of Electrical.
استاد : مهندس حسین پور ارائه دهنده : احسان جوانمرد Google Architecture.
Web Search. Crawling Start from some root site e.g., Yahoo directories. Traverse the HREF links. Search(initialLink) fringe.Insert( initialLink ); loop.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Kevin Mauricio Apaza Huaranca San Pablo Catholic University.
Web Search Algorithms By Matt Richard and Kyle Krueger.
The Anatomy of a Large-Scale Hyper textual Web Search Engine S. Brin, L. Page Presenter :- Abhishek Taneja.
Search Engines1 Searching the Web Web is vast. Information is scattered around and changing fast. Anyone can publish on the web. Two issues web users have.
Link Analysis Rong Jin. Web Structure  Web is a graph Each web site correspond to a node A link from one site to another site forms a directed edge 
Search Engine and SEO Presented by Yanni Li. Various Components of Search Engine.
1 1 COMP5331: Knowledge Discovery and Data Mining Acknowledgement: Slides modified based on the slides provided by Lawrence Page, Sergey Brin, Rajeev Motwani.
Google PageRank Algorithm
The World Wide Web. What is the worldwide web? The content of the worldwide web is held on individual pages which are gathered together to form websites.
The anatomy of a Large-Scale Hypertextual Web Search Engine.
1 Google: Case Study cs430 lecture 15 03/13/01 Kamen Yotov.
The Anatomy of a Large-Scale Hypertextual Web Search Engine S. Brin and L. Page, Computer Networks and ISDN Systems, Vol. 30, No. 1-7, pages , April.
The Anatomy of a Large-Scale Hypertextual Web Search Engine (The creation of Google)
Search Engine and Optimization 1. Introduction to Web Search Engines 2.
The Anatomy of a Large-Scale Hyper-textual Web Search Engine 전자전기컴퓨터공학과 G 김영제 Database Lab.
Presented By: Carlton Northern and Jeffrey Shipman The Anatomy of a Large-Scale Hyper-Textural Web Search Engine By Lawrence Page and Sergey Brin (1998)
1 CS 430 / INFO 430: Information Retrieval Lecture 20 Web Search 2.
Chapter 2: How Search Engines Work. Chapter Objectives Describe the PageRank formula for calculating a webpage’s popularity. Determine how a search engine.
Information Retrieval in Practice
The Anatomy of a Large-Scale Hypertextual Web Search Engine
Search Search Engines Search Engine Optimization Search Interfaces
Information Retrieval
Anatomy of a search engine
CS 440 Database Management Systems
Web Search Engines.
The Search Engine Architecture
Presentation transcript:

Modeling and Optimizing Hypertextual Search Engines Based on the Reasearch of Larry Page and Sergey Brin Gus Johnson Search EnginesModified by Gus Johnson

Abstract Overview As the volume of information available to the public increases exponentially, it is crucial that data storage, management, classification, ranking, and reporting techniques improve as well. The purpose of this paper is to discuss how search engines work and what modifications can potentially be made to make the engines work more quickly and accurately. Finally, we want to ensure that our optimizations we induce will be scalable, affordable, maintainable, and reasonable to implement. 2Search Engines

Background - Section I - Outline 3Search Engines Larry Page and Sergey Brin Their Main Ideas Mathematical Background

Larry Page and Sergey Brin Larry Page was Google's founding CEO and grew the company to more than 200 employees and profitability before moving into his role as president of products in April Search Engines Brin, a native of Moscow, received a B.S. degree with honors in math and CS from the University of Maryland at College Park. During his graduate program at Stanford, Sergey met Larry Page and worked on the project that became Google.

"The Anatomy of a Large-Scale Hypertextual Web Search Engine" The paper by Larry Page and Sergey Brin focuses mainly on: Design Goals of the Google Search Engine The Infrastructure of Search Engines Crawling, Indexing, and Searching the Web Link Analysis and the PageRank Algorithm Results and Performance Future Work 5Search Engines

Mathematical Background The PageRank Algorithm requires previous knowledge of many key topics in Linear Algebra, such as: Matrix Addition and Subtraction Eigenvectors and Eigenvalues Power iterations Dot Products and Cross Products 6Search Engines

Introduction - Section II - Outline Terms and Definitions How Search Engines Work Search Engine Design Goals 7Search Engines

Terms and Definitions 8Search Engines

Terms and Definitions, Cont'd 9Search Engines

How Search Engines Work First the user inputs a query for data. his search is submitted to a back-end server. 10Search Engines

How Search Engines Work, Cont'd The server uses regular expressions to parse the user's inquiry for data. The strings submitted can be permuted and rearranged to test for spelling errors. (specifics on Google's querying will be shown later) The search engine searches it's database for documents which closely relate to the user's input. In order to generate meaningful results, the search engine utilizes a variety of algorithms which work together to describe the relative importance of any specific search result. Finally, the engine returns results back to the user. 11Search Engines

Search Engine Design Goals Scalability with web growth Improved Search Quality Decrease number of irrelevant results Incorporate feedback systems to account for user approval Too many pages for people to view: some heuristic must be used to rank sites' importance for the users. Improved Search Speed Even as the domain space rapidly increases Take into consideration the types of documents hosted 12Search Engines

Search Engine Infrastructure - Section III - Outline Google's Infrastructural Model Resolving and Web Crawling Indexing and Searching 13Search Engines

Google's Infrastructure Overview Google's architecture includes 14 major components: an URL Server, multiple Web Crawlers, a Store Server, a Hypertextual Document Repository, an Anchors database, a URL Resolver, a Hypertextual Document Indexer, a Lexicon, multiple short and long Barrels, a Sorter Service, a Searcher Service, and a PageRank Service. These systems were implemented in C and C++ on Linux and Solaris systems. 14Search Engines

Infrastructure Part I 15Search Engines

Infrastructure Part II 16Search Engines

Infrastructure Part III 17Search Engines

URL Resolving and Web Crawling Before a search engine can respond to user inquiries, it must first generate a database of URLs (or Uniform Resource Locators) which describe where web servers (and their files) are located. The URL Server's job is to keep track of URL's that have and need to be crawled. In order to obtain a current mapping of web servers and their file trees, Google's URL Server routinely invokes a series of web crawling agent called Googlebots. Web users can also manually request for their URL's to be added to Google's URLServer. 18Search Engines

URL Resolving and Web Crawling Web Crawlers: When a web page is 'crawled' it has been effectively downloaded. Googlebots are Google's web crawling agents/scripts (written in python) which spawn hundreds of connections (approximately 300 parallel connections at once) to different well connected servers in order to, "build a searchable index for Google's search engine." (wikipedia). Brin and Page commented that DNS (Domain Name Space) lookups were an expensive process. Gave crawling agents DNS caching abilities. Googlebot is known as a well-behaved spider: sites avoid crawling by adding to the head of the doc (or by adding a robots.txt file) 19Search Engines

Indexing Indexing the Web involves three main things: Parsing: Any parser which is designed to run on the entire Web must handle a huge array of possible errors. – e.g. non-ASCII characters and typos in HTML tags. Indexing Documents into Barrels: After each document is parsed, every word is assigned a wordID. These words and wordID pairs are used to construct an in-memory hash table (the lexicon). Once the words are converted into wordID's, their occurrences in the current document are translated into hit lists and are written into the forward barrels. Sorting: the sorter takes each of the forward barrels and sorts it by wordID to produce an inverted barrel for title and anchor hits, and a full text inverted barrel. This process happens one barrel at a time, thus requiring little temporary storage. 20Search Engines

Searching The article didn't specify any speed efficiency issues with searching. Instead they focused on making searches more accurate. During the time the paper was written, Google queries returned 40,000 results. 21Search Engines

Google Query Evaluation 1. Query is parsed 2. Words are converted into wordIDs 3. Seek to the start of the doclist in the short barrel for every word. 4. Scan through the doclists until there is a document that matches all the search terms. 5. Compute the rank of that document for the query. 6. If we are in the short barrels and at the end of any doclist, seek to the start of the doclist in the full barrel for every word and go to step If we are not at the end of any doclist go to step Sort the documents that have matched by rank and return the top k. 22Search Engines

Single Word Query Ranking Hitlist is retrieved for a single word Each hit can be one of several types: title, anchor, URL, large font, small font, etc. Each hit type is assigned its own weight Type-weights make up vector of weights Number of hits of each type is counted to form count-weight vector Dot product of type-weight and count-weight vectors is used to compute IR score IR score is combined with PageRank to compute final rank 23Search Engines

Multi-Word Query Ranking Similar to single-word ranking except now must analyze proximity of words in a document Hits occurring closer together are weighted higher than those farther apart Each proximity relation is classified into 1 of 10 bins ranging from a “phrase match” to “not even close”. Each type and proximity pair has a type-prox weight Counts converted into count-weights Take dot product of count-weights and type-prox weights to compute IR score 24Search Engines

Search Engine Optimizations - Section IV - Outline Significance of SEO's Elementary Ranking Schemes What Makes Ranking Optimization Hard? 25Search Engines

The Significance of SEO's Too many sites for humans to maintain ranking Humans are biased: have different ideas of what "good/interesting" and "bad/boring" are. With a search space as a large as the web, optimizing order of operations and data structures have huge consequences. Concise and well developed heuristics lead to more accurate and quicker results Different methods and algorithms can be combined to increase overall efficiency. 26Search Engines

Elementary SEO's for Ranking Word Frequency Analysis within Pages Implicit Rating Systems - The search engine considers how many times a page has been visited or how long a user has remained on a site. Explicit Rating Systems - The search engine asks for your feedback after visiting a site. Most feedback systems have severe flaws (but can be useful if implemented correctly and used with other methods) More sophisticated: Weighted Heuristic Page Analysis, Rank Merging, and Manipulation Prevention Systems 27Search Engines

What Makes Ranking Optimization Hard? Link Spamming Keyword Spamming Page hijacking and URL redirection Intentionally inaccurate or misleading anchor text Accurately targeting people's expectations 28Search Engines

PageRank - Section V - Outline Link Analysis and Anchors Introduction to PageRank Calculating Naive PR Example Calculating PR using Linear Algebra Problems with PR 29Search Engines

Link Analysis and Anchors Hypertext links are convenient to users and represent physical citations on the Web. Anchor Text Analysis: Anchor Text Can be more accurate description of target site than target site’s text itself Can point at non-HTTP or non-text; such as images, videos, databases, pdf's, ps's, etc. Also, anchors make it possible for non-crawled pages to be discovered. 30Search Engines

Introduction to PageRank Rights belong to Google, patent belongs to Stanford University Top 10 IEEE ICDM data mining algorithm Algorithm used to rank the relative importance of pages within a network. PageRank idea based on the elements of democratic voting and citations. The PR Algorithm uses logarithmic scaling; the total PR of a network is 1. 31Search Engines

Introduction to PageRank PageRank is a link analysis algorithm that ranks the relative importance of all web pages within a network. It does this by looking at three web page features: 1. Outgoing Links - the number of links found in a page 2. Incoming Links - the number of times other pages have cited this page 3. Rank - A value representing the page's relative importance in the network 32Search Engines

Introduction to PageRank 33Search Engines

Calculating Naïve PageRank PR(A) = The PageRank of page A C(A) or L(A) = the total number of outgoing links from page A d = the damping factor – Even an imaginary randomly clicking surfer will stop eventually. – Usually set to d = 0.85 – The probability that a user will start at a random page at any given step. 34Search Engines

Calculating Naive PageRank, Cont'd The PageRank of a page A, denoted PR(A), is decided by the quality and quantity of sites linking or citing it. Every page Ti that links to page A is essentially casting a vote, deeming page A important. By doing this, Ti propagates some of it's PR to page A. How can we determine how much importance an individual page Ti gives to A? Ti may contain many links not just a single link to page A. Ti must propagate it's page rank equally to it's citations. Thus, we only want to give page A a fraction of the PR(Ti ). The amount of PR that Ti gives to A is be expressed as the damping value times the PR(Ti ) divided by the total number of outgoing links from Ti. 35Search Engines

Naive Example 36Search Engines

Calculating PageRank using Linear Algebra Typically PageRank computation is done by finding the principal eigenvector of the Markov chain transition matrix. The vector is solved using the iterative power method. Above is a simple Naive PageRank setup which expresses the network as a link matrix. More examples can be found at: ChileApr2008.pdf (Fun Linear Algebra!) ChileApr2008.pdf Search Engines

Calculating PageRank using Linear Algebra, Cont'd For those interested in the actual PageRank Calculation and Implementation process (involving heavier linear algebra), please view "Additional Resources" slide. 38Search Engines

Disadvantages and Problems Rank Sinks: Occur when pages get in infinite link cycles. Spider Traps: A group of pages is a spider trap if there are no links from within the group to outside the group. Dangling Links: A page contains a dangling link if the hypertext points to a page with no outgoing links. Dead Ends: are simply pages with no outgoing links. Solution to all of the above: By introducing a damping factor, the figurative random surfer stops trying to traverse the sunk page(s) and will either follow a link randomly or teleport to a random node in the network. 39Search Engines

Conclusion - Section VII - Outline Experimental Results (Benchmarking) Exam Questions Bibliography 40Search Engines

Benchmarking Convergence Convergence of the Power Method is FAST! 322 million links converge almost as quickly as 161 million. Doubling the size has very little effect on the convergence time. 41Search Engines

Experimental Results At the time of publishing, Google had the following storage breakdown: Data structures obviously highly optimized for space Infrastructure setup for high parallelization. 42Search Engines

Final Exam Questions (1) Please state the PageRank formula and describe it's components PR(A) = The PageRank of page A C(A) or L(A) = the total number of outgoing links from page A d = The damping factor. 43Search Engines

Final Exam Questions (2) Disadvantages and problems of PageRank? Rank Sinks: Occur when pages get in infinite link cycles. Spider Traps: A group of pages is a spider trap if there are no links from within the group to outside the group. Dangling Links: A page contains a dangling link if the hypertext points to a page with no outgoing links. Dead Ends: are simply pages with no outgoing links. 44Search Engines

Final Exam Questions (3) What Makes Ranking Optimization Hard? Link Spamming Keyword Spamming Page hijacking and URL redirection Intentionally inaccurate or misleading anchor text Accurately targeting people's expectations 45Search Engines

Questions? 46Search Engines

Additional Resources - PR via The SplitAccumulate Algorithm, Merge-Sort, etc. manning/papers/PowerExtrapolation.pdf -PR via Power Extrapolation: includes benchmarking - neat little tool for PR calculation with a matrix [...] matrix-tutorial-3- eigenvalues-eigenvectors.html 47Search Engines

Bibliography hdesterc/ websiteW/Data/presentations/pres2008/ChileApr2008.pdf Infrastructure Diagram and explanations from last year's slides Google Query Steps from last year's slides u6j88743wr5460/fulltext.pdf?page=1 browserank-research- reviewed drafts/petteri huuhka google draft.pdf backrub/pageranksub.ps 48Search Engines