Elamur Research

Syntactic Clustering of the Web

Paper · 1997 · Andrei Z. Broder, Steven C. Glassman, Mark S. Manasse et al.

Summary

The Web holds many identical or nearly identical documents, such as mirrors, reformatted copies, and successive versions. Its URLs are also unstable: pages move, go stale, or load slowly. Broder and colleagues present a way to measure syntactic similarity at Web scale.

Each document is reduced to a canonical token stream with HTML and case removed. It is then represented by its set of overlapping word sequences, called "shingles." Two measures are defined over these sets: resemblance (how alike two documents are) and containment (how much of one appears inside another). Fingerprinting the shingles with a function that behaves like a random permutation, then keeping only a small sample, gives compact sketches. Both measures can be estimated from these sketches without bias. A four-stage pipeline uses repeated divide–sort–merge passes and a final union-find step to group similar pages into clusters.

Applied to an AltaVista crawl of 30 million documents, the system found millions of duplicate and near-duplicate clusters in roughly ten CPU-days. This enables applications such as compacting search results, locating moved pages, tracking how pages change, and detecting copied material.

Key points

  • Data: 30,000,000 HTML/text pages from an AltaVista crawl (April 1996), about 150 GB in total and roughly 5 KB per page.
  • Sketch settings: 10-word shingles, 40-bit fingerprints based on Rabin fingerprints, and a "modulus" sampling rule keeping 1 in 25 shingles. This produced about 600M sampled shingles, or about 3 GB of sketches.
  • Pipeline phases:
    1. Compute a sketch for each document.
    2. Sort <shingle, ID> pairs.
    3. Build and merge <ID, ID, count> triples; this step peaks at about 20 GB of disk.
    4. Cluster with in-memory union-find.
  • Results at a 50% resemblance threshold:
    • 3.6M clusters covering 12.3M documents.
    • 2.1M of these clusters (5.3M documents) contained only exact copies.
    • The other 1.5M clusters held 7M documents.
  • Cost: about 10.5 CPU-days in total, with sketching the largest share at 4.6. Most phases can be parallelized. The authors propose this approach as an alternative to the slow-moving URN effort.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

 Shelves 3The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksInformation Systems · 1,888 works

Cite

Cite as Andrei Z. Broder, Steven C. Glassman, Mark S. Manasse and Geoffrey Zweig. 1997. Syntactic Clustering of the Web. WWW6; SRC Technical Note 1997-015.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{broder1997syntactic,
  title = {{Syntactic Clustering of the Web}},
  author = {Andrei Z. Broder, Steven C. Glassman, Mark S. Manasse and Geoffrey Zweig},
  booktitle = {WWW6; SRC Technical Note 1997-015},
  year = {1997},
  doi = {10.1016/s0169-7552(97)00031-7},
  url = {https://doi.org/10.1016/s0169-7552(97)00031-7}
}

References

7 references, 0 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. S. Brin, J. Davis, H. Garcia-Molina.Copy Detection Mechanisms for Digital Documents. Proceedings of the ACM SIGMOD Annual Conference, San Francisco, CA, May 1995. Available from http://www-db.stanford.edu/pub/brin/1995/copy.ps OpenAlex ↗ · Scholar ↗
  2. Nevin Heintze. Scalable Document Fingerprinting. Proceedings of the Second USENIX Workshop on Electronic Commerce, Oakland, California, , November 18-21, 1996. Available from: http://www.cs.cmu.edu/afs/cs/user/nch/www/koala/main.html OpenAlex ↗ · Scholar ↗
  3. U. Manber. Finding similar files in a large file system. Proceedings of the 1994 USENIX Conference, pp. 1-10, January 1994. OpenAlex ↗ · Scholar ↗
  4. N. Shivakumar, H. Garcia-Molina. SCAM: A Copy Detection Mechanism for Digital Documents. Proceedings of the 2nd International Conference on Theory and Practice of Digital Libraries, Austin, Texas, 1995. Available from http://www-db.stanford.edu/~shiva/Pubs/scam.ps OpenAlex ↗ · Scholar ↗
  5. N. Shivakumar and H. Garcia-Molina. Building a Scalable and Accurate Copy Detection Mechanism. Proceedings of the 3nd International Conference on Theory and Practice of Digital Libraries, 1996. Available from http://www-db.stanford.edu/~shiva/Pubs/performance.ps OpenAlex ↗ · Scholar ↗
  6. URN Resource Names, IETF Working Group OpenAlex ↗ · Scholar ↗
  7. M. O. Rabin, Fingerprinting by random polynomials. Center for Research in Computing Technology, Harvard University, Report TR-15-81, 1981. Authors Systems Research Center Digital Equipment Corporation Andrei Z. Broder, broder@pa.dec.com Steve Glassman, steveg@pa.dec.com Mark S. Manasse, msm@pa.dec.c… OpenAlex ↗ · Scholar ↗

This page in Markdown https://md.research.elamur.ai/free/en/papers/broder-1997-syntactic-clustering-web/