Skip to main content

Model reference — Documents

AI models for Duplicate / near-duplicate text detection

Duplicate detection finds text that says the same thing twice — the same ticket raised through two channels, the same contract stored in two systems, the same paragraph copied between reports — including where the wording differs.

Exact duplicates are trivial to find by comparing checksums. The useful work is near-duplicates: a document reformatted, a paragraph lightly edited, a claim submitted twice with a different date. That requires comparing meaning, which is done by fingerprinting every text and looking for fingerprints that sit close together. Because comparing everything against everything is expensive, the practical pipeline is a cheap filter first, then a careful comparison of the pairs that survive.

Duplicate / near-duplicate text detection service AI models for documents

Input type — Documents

Models in this group take text or whole documents as input: plain text, PDFs, scanned pages and office files. Each specification table gives three hardware tiers — Minimum, the smallest setup on which the model runs correctly; Medium, the usual production configuration; and High, a configuration sized for peak volume. The rate is the number of sample inputs processed per hour on that hardware. Use these rates for initial sizing. Before production, benchmark your own data to validate accuracy, latency, throughput and cost. The sample input here is one document of about 500 words fingerprinted for comparison.

BGE-M3

Vendor: Beijing Academy of Artificial Intelligence

What it does: fingerprints each document so near-duplicates sit close together even when reworded or translated. The strongest general choice, and it handles long documents without splitting.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 4090A100 80 GB
VRAM8 GB24 GB80 GB
vCPUs61224
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (documents/hour)≈ 6,000≈ 30,000≈ 90,000

E5-large / multilingual-E5

Vendor: Microsoft

What it does: a smaller, quicker fingerprinting model, well suited to a large collection where a slightly higher miss rate is acceptable in exchange for cost.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 4090A100 80 GB
VRAM6 GB24 GB80 GB
vCPUs4824
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (documents/hour)≈ 9,000≈ 45,000≈ 140,000

all-MiniLM-L6

Vendor: Microsoft (Sentence-Transformers)

What it does: a very small fingerprinting model used as the cheap first filter over millions of documents, narrowing the field before a stronger model compares the survivors.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 4090A100 80 GB
VRAM4 GB24 GB80 GB
vCPUs4824
RAM8 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (documents/hour)≈ 30,000≈ 120,000≈ 400,000

SimCSE

Vendor: Princeton NLP

What it does: tuned for sentence-level similarity, which is what finds a copied paragraph inside two otherwise different documents.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 4090A100 80 GB
VRAM6 GB24 GB80 GB
vCPUs4824
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (documents/hour)≈ 20,000≈ 80,000≈ 240,000

DeBERTa v3

Vendor: Microsoft

What it does: reads two documents together and judges whether they are duplicates, which is far more accurate than comparing fingerprints and is therefore used to confirm the pairs the filter proposed.

RequirementMinimumMediumHigh
GPU typeRTX 3060RTX 4090A100 80 GB
VRAM6 GB24 GB80 GB
vCPUs4824
RAM16 GB32 GB64 GB
Server1× RTX 3060 12 GB1× RTX 4090 24 GB1× A100 SXM 80 GB
Rate (document pairs/hour)≈ 12,000≈ 50,000≈ 140,000

Choosing between them

The right pipeline depends on the size of your collection and what counts as a duplicate in your business — an identical claim and a similar one need different treatment. Our consultants review your data and your definition, then recommend the filter, the comparison model and the similarity threshold.

At the start of a project we may run a short proof of concept on a sample of your own data, measuring the accuracy and the throughput the model actually achieves on your material. That replaces the estimates on this page with real figures, so the cost and the schedule for the full engagement are known before it is committed.

Duplicate / near-duplicate text detection service AI models for documents Pricing

From benchmark to production

Share a representative sample, expected volume, latency target and deployment location for Duplicate / near-duplicate text detection. We benchmark the shortlisted models, recommend the lowest-cost GPU configuration that meets the target, and scale it from pilot capacity to a dedicated production cluster.