Read an Excerpt
Google's PageRank and Beyond
The Science of Search Engine Rankings
By Amy N. Langville Carl D. Meyer Princeton University Press
Copyright © 2006 Princeton University Press
All right reserved. ISBN: 0-691-12202-4
Chapter One
INTRODUCTION TO WEB SEARCH ENGINES 1.1 A SHORT HISTORY OF INFORMATION RETRIEVAL
Today we have museums for everything-the museum of baseball, of baseball players, of crazed fans of baseball players, museums for world wars, national battles, legal fights, and family feuds. While there's no shortage of museums, we have yet to find a museum dedicated to this book's field, a museum of information retrieval and its history. Of course, there are related museums, such as the Library Museum in Boras, Sweden, but none concentrating on information retrieval. Information retrieval is the process of searching within a document collection for a particular information need (called a query). Although dominated by recent events following the invention of the computer, information retrieval actually has a long and glorious tradition. To honor that tradition, we propose the creation of a museum dedicated to its history. Like all museums, our museum of information retrieval contains some very interesting artifacts. Join us for a brief tour.
The earliest document collections were recorded on the painted walls of caves. A cavedweller interested in searching a collection of cave paintings to answer a particular information query had to travel by foot, and stand, staring in front of each painting. Unfortunately, it's hard to collect an artifact without being gruesome, so let's fast forward a bit.
Before the invention of paper, ancient Romans and Greeks recorded information on papyrus rolls. Some papyrus artifacts from ancient Rome had tags attached to the rolls. These tags were an ancient form of today's Post-it Note, and make an excellent addition to our museum. A tag contained a short summary of the rolled document, and was attached in order to save readers from unnecessarily unraveling a long irrelevant document. These abstracts also appeared in oral form. At the start of Greek plays in the fifth century B.C., the chorus recited an abstract of the ensuing action. While no actual classification scheme has survived from the artifacts of Greek and Roman libraries, we do know that another elementary information retrieval tool, the table of contents, first appeared in Greek scrolls from the second century B.C. Books were not invented until centuries later, when necessity required an alternative writing material. As the story goes, the Library of Pergamum (in what is now Turkey) threatened to overtake the celebrated Library of Alexandria as the best library in the world, claiming the largest collection of papyrus rolls. As a result, the Egyptians ceased the supply of papyrus to Pergamum, so the Pergamenians invented an alternative writing material, parchment, which is made from thin layers of animal skin. (In fact, the root of the word parchment comes from the word Pergamum.) Unlike papyrus, parchment did not roll easily, so scribes folded several sheets of parchment and sewed them into books. These books outlasted scrolls and were easier to use. Parchment books soon replaced the papyrus rolls.
The heights of writing, knowledge, and documentation of the Greek and Roman periods were contrasted with their lack during the Dark and Middle Ages. Precious few documents were produced during this time. Instead, most information was recorded orally. Document collections were recorded in the memory of a village's best storyteller. Oral traditions carried in poems, songs, and prayers were passed from one generation to the next. One of the most legendary and lengthy tales is Beowulf, an epic about the adventures of a sixth-century Scandinavian warrior. The tale is believed to have originated in the seventh century and been passed from generation to generation through song. Minstrels often took poetic license, altering and adding verses as the centuries passed. An inquisitive child wishing to hear stories about the monster Grendel waited patiently while the master storyteller searched his memory to find just the right part of the story. Thus, the result of the child's search for information was biased by the wisdom and judgement of the intermediary storyteller. Fortunately, the invention of paper, the best writing medium yet, superior to even parchment, brought renewed acceleration to the written record of information and collections of documents. In fact, Beowulf passed from oral to written form around A.D. 1000, a date over which scholars still debate. Later, monks, the possessors of treasured reading and writing skills, sat in scriptoriums working as scribes from sunrise to sunset. The scribes' works were placed in medieval libraries, which initially were so small that they had no need for classification systems. Eventually the collections grew, and it became common practice to divide the holdings into three groups: theological works, classical authors of antiquity, and contemporary authors on the seven arts. Lists of holdings and tables of contents from classical books make nice museum artifacts from the medieval period.
Other document collections sprung up in a variety of fields. This dramatically accelerated with the re-invention of the printing press by Johann Gutenberg in 1450. The wealthy proudly boasted of their private libraries, and public libraries were instituted in America in the 1700s at the prompting of Benjamin Franklin. As library collections grew and became publicly accessible, the desire for focused search became more acute. Hierarchical classification systems were used to group documents on like subjects together. The first use of a hierarchical organization system is attributed to the Roman author Valerius Maximus, who used it in A.D. 30 to organize the topics in his book, Factorum ac dictorum memorabilium libri IX (Nine Books of Memorable Deeds and Sayings). Despite these rudimentary organization systems, word of mouth and the advice of a librarian were the best means of obtaining accurate quality information for a search. Of course, document collections and their organization expanded beyond the limits of even the best librarian's memory. More orderly ways of maintaining records of a collection's holdings were devised. Notable artifacts that belong in our information retrieval museum are a few lists of individual library holdings, sorted by title and also author, as well as examples of the Dewey decimal system (1872), the card catalog (early 1900s), microfilm (1930s), and the MARC (MAchine Readable Cataloging) system (1960s).
These inventions were progress, yet still search was not completely in the hands of the information seeker. It took the invention of the digital computer (1940s and 1950s) and the subsequent inventions of computerized search systems to move toward that goal. The first computerized search systems used special syntax to automatically retrieve book and article information related to a user's query. Unfortunately, the cumbersome syntax kept search largely in the domain of librarians trained on the systems. An early representative of computerized search such as the Cornell SMART system (1960s) [146] deserves a place in our museum of information retrieval.
In 1989 the storage, access, and searching of document collections was revolutionized by an invention named the World Wide Web by its founder Tim Berners-Lee [79]. Of course, our museum must include artifacts from this revolution such as a webpage, some HTML, and a hyperlink or two. The invention of linked document collections was truly original at this time, despite the fact that Vannevar Bush, once Director of the Office of Scientific Research and Development, foreshadowed its coming in his famous 1945 essay, "As We May Think" [43]. In that essay, he describes the memex, a futuristic machine (with shocking similarity to today's PC and Web) that mirrors the cognitive processes of humans by leaving "trails of association" throughout document collections. Four decades of progress later, remnants of Bush's memex formed the skeleton of Berners-Lee's Web. A drawing of the memex (Figure 1.1) by a graphic artist and approved by Bush was included in LIFE magazine's 1945 publishing of Bush's prophetic article.
The World Wide Web became the ultimate signal of the dominance of the Information Age and the death of the Industrial Age. Yet despite the revolution in information storage and access ushered in by the Web, users initiating web searches found themselves floundering. They were looking for the proverbial needle in an enormous, ever-growing information haystack. In fact, users felt much like the men in Jorge Luis Borges' 1941 short story [35], "The Library of Babel", which describes an imaginary, infinite library.
When it was proclaimed that the Library contained all books, the first impression was one of extravagant happiness. All men felt themselves to be the masters of an intact and secret treasure. There was no personal or world problem whose eloquent solution did not exist in some hexagon.
... As was natural, this inordinate hope was followed by an excessive depression. The certitude that some shelf in some hexagon held precious books and that these precious books were inaccessible seemed almost intolerable.
Much of the information in the Library of the Web, like that in the fictitious Library of Babel, remained inaccessible. In fact, early web search engines did little to ease user frustration; search could be conducted by sorting through hierarchies of topics on Yahoo, or by sifting through the many (often thousands of) webpages returned by the search engine, clicking on pages to personally determine which were most relevant to the query. Some users resorted to the earliest search techniques used by ancient queriers-word of mouth and expert advice. They learned about valuable websites from friends and linked to sites recommended by colleagues who had already put in hours of search effort.
All this changed in 1998 when link analysis hit the information retrieval scene [40, 106]. The most successful search engines began using link analysis, a technique that exploited the additional information inherent in the hyperlink structure of the Web, to improve the quality of search results. Web search improved dramatically, and web searchers religiously used and promoted their favorite engines like Google and AltaVista. In fact, in 2004 many web surfers freely admit their obsession with, dependence on, and addiction to today's search engines. Below we include the comments [117] of a few Google fans to convey the joy caused by the increased accessibility of the Library of the Web made possible by the link analysis engines. Incidentally, in May 2004 Google held the largest share of the search market with 37% of searchers using Google, followed by 27% using the Yahoo conglomerate, which includes AltaVista, AlltheWeb, and Overture.
"It's not my homepage, but it might as well be. I use it to ego-surf. I use it to read the news. Anytime I want to find out anything, I use it."-Matt Groening, creator and executive producer, The Simpsons "I can't imagine life without Google News. Thousands of sources from around the world ensure anyone with an Internet connection can stay informed. The diversity of viewpoints available is staggering."-Michael Powell, chair, Federal Communications Commission "Google is my rapid-response research assistant. On the run-up to a deadline, I may use it to check the spelling of a foreign name, to acquire an image of a particular piece of military hardware, to find the exact quote of a public figure, check a stat, translate a phrase, or research the background of a particular corporation. It's the Swiss Army knife of information retrieval."-Garry Trudeau, cartoonist and creator, Doonesbury
Nearly all major search engines now combine link analysis scores, similar to those used by Google, with more traditional information retrieval scores. In this book, we record the history of one aspect of web information retrieval. That aspect is the link analysis or ranking algorithms underlying several of today's most popular and successful search engines, including Google and Teoma. Incidentally, we'll add the PageRank link analysis algorithm [40] used by Google (see Chapters 4-10) and the HITS algorithm [106] used by Teoma (see Chapter 11) to our museum of information retrieval.
1.2 AN OVERVIEW OF TRADITIONAL INFORMATION RETRIEVAL
To set the stage for the exciting developments in link analysis to come in later chapters, we begin our story by distinguishing web information retrieval from traditional information retrieval. Web information retrieval is search within the world's largest and linked document collection, whereas traditional information retrieval is search within smaller, more controlled, nonlinked collections. The traditional nonlinked collections existed before the birth of the Web and still exist today. Searching within a university library's collection of books or within a professor's reserve of slides for an art history course-these are examples of traditional information retrieval.
These document collections are nonlinked, mostly static, and are organized and categorized by specialists such as librarians and journal editors. These documents are stored in physical form as books, journals, and artwork as well as electronically on microfiche, CDs, and webpages. However, the mechanisms for searching for items in the collections are now almost all computerized. These computerized mechanisms are referred to as search engines, virtual machines created by software that enables them to sort through virtual file folders to find relevant documents. There are three basic computer-aided techniques for searching traditional information retrieval collections: Boolean models, vector space models, and probabilistic models. These search models, which were developed in the 1960s, have had decades to grow, mesh, and morph into new search models. In fact, as of June 2000, there were at least 3,500 different search engines (including the newer web engines), which means that there are possibly 3,500 different search techniques. Nevertheless, since most search engines rely on one or more of the three basic models, we describe these in turn.
1.2.1 Boolean Search Engines
The Boolean model of information retrieval, one of the earliest and simplest retrieval methods, uses the notion of exact matching to match documents to a user query. Its more refined descendents are still used by most libraries. The adjective Boolean refers to the use of Boolean algebra, whereby words are logically combined with the Boolean operators AND, OR, and NOT. For example, the Boolean AND of two logical statements xand ymeans that both xAND ymust be satisfied, while the Boolean OR of these two statements means that at least one of these statements must be satisfied. Any number of logical statements can be combined using the three Boolean operators. The Boolean model of information retrieval operates by considering which keywords are present or absent in a document. Thus, a document is judged as relevant or irrelevant; there is no concept of a partial match between documents and queries. This can lead to poor performance [14]. More advanced fuzzy set theoretic techniques try to remedy this black-white Boolean logic by introducing shades of gray. For example, a title search for car AND maintenance on a Boolean engine causes the virtual machine to return all documents that use both words in the title. A relevant document entitled "Automobile Maintenance" will not be returned. Fuzzy Boolean engines use fuzzy logic to categorize this document as somewhat relevant and return it to the user.
(Continues...)
Excerpted from Google's PageRank and Beyond by Amy N. Langville Carl D. Meyer Copyright © 2006 by Princeton University Press. Excerpted by permission.
All rights reserved. No part of this excerpt may be reproduced or reprinted without permission in writing from the publisher.
Excerpts are provided by Dial-A-Book Inc. solely for the personal use of visitors to this web site.