Skip to content
Lucerna Law

eDiscovery and litigation support

Near-Duplicate Detection in eDiscovery: Grouping Drafts

By Published 8 min read

Near-duplicate detection groups documents whose text is similar but not identical, such as drafts of a contract, a form letter sent to many people, or a report saved under several names. A reviewer reads one document in the group closely and then reads only the differences in the rest. It speeds review without removing anything from the collection.

What is near-duplicate detection in eDiscovery?

Near-duplicate detection is an analytics feature in review platforms that finds documents with substantially the same text and puts them in a group. It answers the question "which of these thousands of files are versions of each other," so that review effort goes to what is different rather than to rereading what is the same.

Microsoft's documentation for Purview eDiscovery analytics describes the use case with a familiar example: a set of documents in which "a subset of documents uses the same template and mostly the same boilerplate language, with a few differences." If a reviewer can identify that subset, "review one of the documents thoroughly, and review the differences for the rest, they don't miss any unique information while taking only a fraction of the time."

The documents that typically fall into near-duplicate groups:

  • Successive drafts of an agreement, policy or brief
  • A form letter or notice sent to many recipients with names changed
  • The same report saved as Word and then converted to PDF, with slightly different extracted text
  • Scanned copies whose OCR text varies by a few characters
  • Templates filled in for different deals, customers or employees

Near-duplicate detection does not delete or suppress anything by itself. Every document stays in the review set with fields that record its group and its similarity score, and the review team decides how to use them.

How does near-duplicate detection measure similarity?

The tool compares the extracted text of documents, ignoring formatting, and scores how similar each is to a reference document in its group. Documents above the user's threshold join the group, and documents below it stand alone. The exact method varies by vendor, and each vendor documents its own.

Relativity's page on textual near duplicate identification describes a process in steps. It takes documents with 15 MB or less of text in the chosen field, by default Extracted Text. It converts the text to lowercase and ignores white space and punctuation "except to identify word and sentence boundaries." It sorts documents by word count, largest first, and processes them in that order.

The reference document is the key concept. In Relativity it is the principal document, "the document in a group with the most words." Each other document is compared with the principal, and if it meets the Minimum Similarity Percentage it joins that group; otherwise it may become a new principal. Relativity notes the principal "may be different from the document with the most characters or the largest file size," and that word separation can surprise: the @ symbol is a delimiter, so an email address counts as two words.

Microsoft Purview describes the same idea with different names. When near duplicate detection runs, "the system parses every document with text. Then, it compares every document against each other to determine whether their similarity is greater than the set threshold." After grouping, it marks one document in each group as the "pivot," and reviewers can review the pivot first and then focus on "the difference between the pivot and the document that is in review."

Both products record the result in fields. Relativity creates a Textual Near Duplicate Principal flag, a Similarity percentage and a Group identifier. Documents that contain only numbers, or no text at all, have their Group field set to "Numbers Only" or "Empty."

Exact duplicates versus near duplicates

Exact duplicates are found by hash value, a fingerprint computed from a file's contents, and are usually removed during processing. Near duplicates are found later, in review, by comparing text. The two methods can disagree, because a hash describes the file and near-duplicate scoring describes the text extracted from it.

How hashing and deduplication work during processing, and the choice between deduplicating within or across custodians, is set out in deduplication in eDiscovery processing. In Microsoft Purview, near-duplicate analysis runs when analytics is run on the data in a review set.

Relativity's documentation spells out the mismatch: "If two documents have the same MD5 hash, this does not necessarily mean they will have a 100% similarity percentage." The MD5 hash comes from the native file, while the similarity score comes from the analyzed text field, so "a differently OCR'd character" can separate them. The reverse also happens: "two documents may have 100% similarity in the field being analyzed, but different MD5 hashes." A Word file and a PDF made from it can be an example of the second case, since the two files differ even when their text matches.

The word "duplicate" also means something specific in the law of evidence. Federal Rule of Evidence 1001(e) defines a duplicate as a counterpart produced by a process "that accurately reproduces the original." A near duplicate, by definition, is not an accurate reproduction of another document. Two drafts in the same group are separate documents, each of which may need its own foundation if offered at trial.

Choosing a similarity threshold for near-duplicate review

The threshold sets how alike documents must be to share a group. A high threshold produces small groups of nearly identical files and runs faster. A lower threshold produces larger groups that catch more drafts but contain more meaningful differences, so reviewers must read the differences more carefully.

Relativity explains the trade-off for its Minimum Similarity Percentage: "A value of 100% would indicate an exact textual duplicate. A higher setting requires more similarity and generally results in smaller groups. A higher setting also makes the process run faster because fewer comparisons have to be made." Microsoft Purview has a "Document and email similarity threshold," and minimum and maximum word counts that limit which documents are analyzed at all.

Boilerplate distorts similarity. Purview's documentation warns that "lengthy disclaimers that get added to email messages regardless of the content of the email" can "diminish the quality of analytics," and lets administrators list text, including regular expressions, to ignore for near duplicates and other features. Confidentiality footers, letterhead text and standard signature blocks are the usual candidates.

The threshold is a setting that someone chose, and it should be written down with the date it was applied and the population it ran on. If a later dispute asks why a draft was reviewed in a group rather than alone, the record answers it.

Near duplicates, email threading and attachments

Near-duplicate detection and email threading are complementary and are often run together. Threading handles the repeated text in email conversations; near-duplicate detection handles standalone documents and attachments. Some platforms limit near-duplicate results to those items when both run in the same job.

Relativity's page says that if textual near duplicate identification runs "as part of the same structured analytics set as email threading, the textual near duplicate fields will only populate for standalone documents and email attachments." Microsoft Purview's single setting, "Near duplicates/email threading," runs duplicate detection, near duplicate detection and email threading together when analytics runs on a review set.

The division makes sense: an email reply is nearly identical to the message it quotes, but threading already identifies which message is inclusive and which can be skipped. How threading marks inclusive emails and what suppression means is covered in email threading in eDiscovery.

Attachments are where near-duplicate grouping pays most. The same contract may be attached to fifty emails across a negotiation, each time slightly revised. Grouping the attachments shows the drafts side by side, in order, which is often what the case turns on.

Can near-duplicate detection be used to leave documents out of a production?

Not by itself. Near-duplicate grouping is a way to review faster, and documents in a group are still separate documents that may each be responsive. Leaving some out of a production, or treating a whole group alike, changes what the other side receives and is a matter for agreement or, with a regulator, its standards.

The CFTC Data Delivery Standards show how a recipient may treat these tools. A producing party that intends to cull must consult CFTC staff first and describe the protocols in the cover letter. If it deduplicates, it must identify the type and record deduplicated custodians in an Additional Custodians field. For analytics, "including but not limited to AI and TAR," it must meet and confer with its CFTC point of contact.

Under Rule 26(b)(2)(C), a court must limit discovery that is "unreasonably cumulative or duplicative." That rule addresses what may be demanded, not how a producing party reviews. A party that thinks near-identical drafts are cumulative can raise it at the Rule 26(f) conference and write the outcome into the protocol rather than deciding alone.

Small differences can be the evidence. A signed version and an unsigned draft, a draft with a deleted clause, or a letter sent to one recipient with a different date may score 98% similar and still be the documents that matter most. Grouping should make those differences easier to find, not easier to skip.

A near-duplicate review workflow with quality checks

A sound workflow reviews the reference document first, then each other member of the group with its differences highlighted, and finishes with a consistency check across the group. The point is to keep the speed of grouping while catching the documents whose small differences change their coding.

Near-duplicate review, step by step
  1. 01

    Set threshold

    Choose and record the similarity setting and ignored text

  2. 02

    Run analytics

    Group documents and populate group and score fields

  3. 03

    Review pivot

    Code the principal or pivot document fully

  4. 04

    Review members

    Read each member's differences from the pivot

  5. 05

    Check consistency

    Compare coding, privilege calls and redactions across the group

Consistency is the check that most often finds errors. If the pivot is coded privileged and three near duplicates are not, either the drafts differ in a way that matters or a reviewer made a mistake; both need a second look. The same goes for redactions: a paragraph redacted in one draft and left visible in another can undo the redaction once both are produced.

Teams without a review platform still face near duplicates, especially in drafts and form letters. Lucerna Law answers questions across a matter's PDFs, Word files and text-message exports and cites each answer to a passage, and the homepage FAQ says what is sent where when a file is uploaded. The citations still need checking against the drafts themselves. Recordings are a different problem from text, and how audio and video files are reviewed is covered in audio and video evidence.