CS PAPERS DEEP-READ · PAPER 41

The Anatomy of a Search Engine (PageRank)

Sergey Brin & Lawrence Page · Stanford · WWW7 · 1998

中文 →

What did this paper do?

In 1998, two Stanford PhD students, Sergey Brin and Larry Page, wrote a paper describing a search-engine prototype they'd built — called Google. With one key idea, it turned web search (slow and frustrating at the time) into something that "puts the page you most want to see right at the top, whatever you search for." This paper is, quite literally, the company's birth certificate.

First, how bad the old world was

By the mid-1990s the web was exploding, but search engines were still dumb: you typed a word, and they went looking for "which pages contain this word, and contain it a lot." The trouble is that "contains the word" and "is a good page" are two completely different things. A junk page stuffed with keywords could easily outrank a genuinely authoritative one. Search "university" and the top hit might be no university at all. Back then people even relied on hand-curated web directories (like early Yahoo) to find things — but the web grew far faster than people could catalog it.

The new idea: let pages vote for each other

Brin and Page's insight was beautifully simple: don't just look at what a page says about itself — look at how others treat it. Web pages are wired together by links. A link on page A that points to page B is like A casting a vote for B, saying "this page is worth seeing." The more pages link to you, the more trustworthy you probably are.

But there's a subtler layer: not every vote counts the same. One recommendation from an authoritative page is worth more than a hundred from unknown ones. So "importance" becomes a recursive thing — important pages cast heavier votes, and they in turn were voted up by other important pages. This "who's important depends on who's recommended by whom" score is called PageRank.

How is it actually computed?

Picture someone aimlessly clicking links across the web: land on a page, click one of its links at random, jump to the next, and keep going; occasionally, bored, they type a fresh address into the bar and jump somewhere at random to start over. After countless clicks, the fraction of time they spend on a given page is its PageRank — well-connected important pages get passed through constantly, obscure ones almost never. This "random surfer" picture is exactly what PageRank really is.

One more trick is just as crucial: how others refer to you is often more accurate than how you describe yourself. Countless pages linking to Google label the link text "search engine" — so even if the target page never says those words, the engine knows to surface it for that query. This "text on a link" is called anchor text. It lets a search engine make sense of images and downloadable files (which contain no text of their own), and describe pages it hasn't even crawled yet.

What it led to

Layering these two signals — "the votes" and "how others refer to you" — on top of the old "does the word appear" approach set result quality apart overnight: ten links on the first page, every one on target. This machinery grew into Google and rewrote how the whole internet finds information. It has a cost too (one honest note): once ranking rides on links, people start manufacturing links and faking votes to game it — an arms race that continues to this day.

Remember one thing

Don't just read what a page says about itself — look at who links to it, and who links to those linkers. Treat links as weighted recommendations (PageRank), add "what words others use to refer to it" (anchor text), and you can surface the page most worth seeing out of an exploding web. This is where Google began.

Want the link-voting diagram, the random-surfer formula, and the prototype's architecture? → switch to the deep read