← Latest papers
💬 NLP

Robust, Scalable Detection of Text Containment in Large Web-Crawled Corpora

The paper introduces FindMyText, a scalable, open-source Python tool that leverages distributed fingerprint chaining to accurately detect near-verbatim text containment in large web-crawled corpora, outperforming existing methods across multiple datasets.

Original authors: Lars Henry Berge Olsen, Pierre Lison, Martin Jullum, Mark Anderson

Published 2026-07-14
📖 6 min read🧠 Deep dive

Original authors: Lars Henry Berge Olsen, Pierre Lison, Martin Jullum, Mark Anderson

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a massive, dusty library containing billions of books, websites, and articles—so many that it would take a human lifetime to read them all. Now, imagine someone hands you a single paragraph from a famous novel and asks: "Did this exact paragraph end up in that giant library?"

This is the puzzle FindMyText solves. It's a new digital detective tool designed to hunt down whether a specific piece of text exists inside a huge collection of data, even if that text has been slightly tweaked, reorganized, or hidden inside a mess of other words.

The Problem: Why "Looking" Isn't Enough

In the past, if you wanted to find a needle in a haystack, you might just look for a needle-shaped object. But what if the needle was painted blue, bent slightly, or had its eye replaced with a button? That's what happens when computers scan the internet.

When big AI models are trained, they eat up terabytes of text from the web. But before they eat, the text gets "cooked": punctuation is changed, sentences are chopped up, and formatting is stripped away. If you try to find a sentence from a copyrighted book in this messy pile using old methods, you might get fooled.

Old tools often act like fingerprint scanners that only count how many prints match, ignoring where those prints are. If you have a book about cats and a book about dogs, and both happen to use the words "the," "cat," and "dog" (just in different orders), an old tool might say, "Hey, these look similar!" But that's a false alarm. It's like saying two people are twins just because they both have two eyes and a nose, ignoring that one is a chef and the other is a pilot.

The paper explicitly argues against relying on these "similarity" tools (like those that just count matching words or use "dense" vector maps) for this specific job. They found that these methods get easily tricked by text that sounds similar but isn't actually the same. They also showed that simple "exact match" searches fail because the text in the library is rarely 100% identical to the original; it's been cleaned and reformatted.

The Solution: The "Chain Reaction" Detective

Enter FindMyText. Instead of just counting fingerprints, this tool looks for chains.

Imagine you are trying to match two long, torn-up pieces of paper.

  1. The Old Way: You count how many letters are the same on both papers. If they share 50 letters, you guess they might be related.
  2. The FindMyText Way: You look for a sequence. You find a letter "A" on the first paper, then look for an "A" on the second paper. Then you look for the next letter, "B," and check if it appears right after the "A" on the second paper, just like it did on the first. Then you look for "C," and so on.

If you find a long, unbroken chain of letters appearing in the same order, you know you've found a real match. Even if the papers have been shuffled, if a long chain of letters stays together, it's a smoking gun.

The tool uses a clever trick called winnowing to create these "fingerprints" (tiny digital summaries of text chunks). It then maps them out on a graph. If the fingerprints form a straight, diagonal line on the graph, it means they are part of a continuous chain—a real copy. If they are scattered randomly, it's just a coincidence.

How Sure Are They?

The researchers didn't just guess; they built a synthetic benchmark (a fake test environment) to see if their tool works. They created thousands of "positive" cases (where a text was definitely copied but edited) and "negative" cases (where the text was rewritten to sound similar but wasn't actually copied).

They tested FindMyText against three massive datasets:

  • Wikipedia: 381,000 articles.
  • ArXiv: 245,000 scientific papers.
  • HPLT: A massive web crawl with over 50.7 million pieces of content.

The results were striking. In these tests, the old methods (like counting shared fingerprints or using AI embeddings) often failed, getting scores close to random guessing (AUC-ROC around 0.5 to 0.6). But FindMyText's "chain-based" method scored incredibly high, with an AUC-ROC of 0.998 on Wikipedia and 1.00 on the HPLT dataset.

In plain English: When the tool said "Yes, this text is in there," it was right almost every single time, even when the text had been chopped up, had its casing changed, or had random junk inserted into it. It could find a match in a database of 50 million items in less than half a second (450 ms).

Why This Matters

This isn't just a game of "find the hidden text." The paper highlights that this is crucial for copyright. If a company claims they didn't use a specific copyrighted book to train their AI, FindMyText can check the massive training data to see if that book's text is hiding inside, even if it's been slightly altered.

The tool is designed to be robust. It understands that real-world data is messy. It doesn't care if a comma is missing or if a word is capitalized differently; it cares about the chain of fingerprints.

What It's Not

It's important to note what this tool doesn't do. It doesn't tell you if two texts have the same meaning (semantic similarity). If you write a poem about a sad dog and someone else writes a poem about a happy dog using completely different words, FindMyText won't flag them as a match. It only cares if the exact same sequence of words (or a very close version of it) appears in the library.

The authors are confident in these results based on their experiments, but they also point out that the tool is currently a "search engine" for text containment. They plan to release pre-made indexes for famous datasets in the future, but for now, it's a powerful, open-source tool that proves you can find the needle in the haystack, even if the needle has been bent and painted.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →