A matching tool scores a pair at 0.91 and your cutoff is 0.90. The pair is accepted. Another scores 0.89 and is rejected. Those two pairs are nearly the same piece of evidence, but a single threshold treats them as opposites, and the mistakes cluster near that line: in the run described below, 27 of the 49 wrong links (55%) scored within 0.02 above the cutoff, against 31 of the 603 correct links (5%).

Two thresholds change the shape of the decision. Pairs at or above an upper threshold are accepted automatically. Pairs below a lower threshold are rejected automatically. Pairs in between go to a person. The question then becomes how large that middle band is, and whether the work it creates is worth what it removes.

We measured it on the synthetic company benchmark used in our other posts: 1,000 records on side A, 1,150 on side B, 700 true matches, scored with cosine similarity of gemini-embedding-001 embeddings of normalized names. Thresholds were set on one seed and evaluated on another.

How to pick the two thresholds

You need a labelled sample: for each record, its best candidate and whether that candidate is right.

  1. Upper threshold. Pick a precision target for the automatically accepted pairs, such as 0.99. Choose the lowest score at which the pairs above it still meet that target.
  2. Lower threshold. Pick how many correct pairs you can afford to lose silently, for example 2%. Choose the score below which only that share of the correct pairs fall.
  3. Everything between is the review queue.

This function does steps 1 and 2. The sample below is hypothetical, only 20 pairs, to show the mechanics:

import numpy as np

def choose_bands(scores, correct, precision_target, miss_rate):
    """scores: top-candidate score per record; correct: True if that candidate is right.
    Returns (hi, lo): accept at or above hi, reject below lo, review in between."""
    scores = np.asarray(scores, float)
    correct = np.asarray(correct, bool)
    hi = None
    for t in np.unique(scores):                       # smallest threshold meeting the target
        kept = scores >= t
        if correct[kept].mean() >= precision_target:
            hi = t
            break
    good = np.sort(scores[correct])
    lo = good[int(miss_rate * len(good))]            # tolerate losing this share of correct pairs
    return hi, lo

# A tiny labelled sample (hypothetical): (score, was the top candidate correct?)
sample = [(0.99, 1), (0.98, 1), (0.97, 1), (0.96, 1), (0.95, 1), (0.94, 1), (0.93, 1),
          (0.92, 0), (0.91, 1), (0.90, 1), (0.88, 0), (0.87, 1), (0.85, 0), (0.84, 1),
          (0.82, 0), (0.80, 0), (0.78, 1), (0.75, 0), (0.70, 0), (0.60, 0)]
scores, correct = zip(*sample)
hi, lo = choose_bands(scores, correct, precision_target=0.95, miss_rate=0.10)
print(f"accept >= {hi}, reject < {lo}")
for name, mask in [("accept", [s >= hi for s in scores]),
                   ("review", [lo <= s < hi for s in scores]),
                   ("reject", [s < lo for s in scores])]:
    n = sum(mask); ok = sum(c for c, m in zip(correct, mask) if m)
    print(f"{name}: {n} records, {ok} correct")
accept >= 0.93, reject < 0.84
accept: 7 records, 7 correct
review: 7 records, 4 correct
reject: 6 records, 1 correct

On a real sample you would want hundreds of labelled pairs, and a second, separate sample to confirm the result.

What the bands looked like on 1,000 records

For the lower threshold we tolerated losing 2% of the correct pairs on the tuning seed, which gave a cutoff of 0.867. The upper threshold depends on the precision you ask for:

Review bands at different precision targets (test seed, synthetic data, one run)
Precision targetUpper thresholdAuto-acceptedWrong among acceptedTo reviewAuto-rejected
0.950.91959622160244
0.980.9345649192244
0.990.9425466210244
1.000.9525311225244

Source: our offline benchmark, test seed 2, 1,000 A records, embedding cosine scores of each record's top candidate. Thresholds were set on seed 1. On the test seed the accepted pairs reached precision 0.963, 0.984, 0.989 and 0.998, so the targets are met only approximately.

For comparison, a single threshold tuned for the best F1 on seed 1 (0.899) and then evaluated on seed 2 produced 652 links, 49 of them wrong.

Looking at the 0.99 row more closely:

  • 546 pairs were accepted automatically, with 6 wrong (precision 0.989).
  • 210 pairs, 21% of the records, went to review. Of those, 90 were correct and 120 wrong, so 43% of the queue was worth confirming and 57% was worth rejecting.
  • 244 pairs were rejected automatically. 200 of them were records with no true match at all. The other 44 were true matches that the process lost: 15 where the top candidate was correct but scored low, and 29 where the true partner was not the top candidate to begin with.

If a reviewer resolved every queued pair correctly, the final result would be 630 correct links and 6 wrong, a precision of 0.991 and a recall of 0.900 (630 of 700 true matches). That “if” is an assumption, not a measurement; real reviewers disagree with each other and make mistakes.

What the review costs

Review time is arithmetic on an assumption you need to replace with your own. At a hypothetical 15 seconds per pair, 210 pairs is about 0.9 hours; at 30 seconds it is about 1.75 hours. The same method applied to your data tells you whether the queue fits in a morning or needs a week.

The more useful number is the marginal cost of a stricter target. Moving up the table:

  • 0.95 to 0.98: 32 more pairs to review, 13 fewer wrong links.
  • 0.98 to 0.99: 18 more to review, 3 fewer wrong links.
  • 0.99 to 1.00: 15 more to review, 5 fewer wrong links.

Those are the trade-offs to weigh against the cost of a wrong link in your own process. A wrong link in a mailing list and a wrong link in a financial reconciliation do not cost the same.

Where this goes wrong

  • The bands are tied to the score. A cutoff of 0.942 means something only for these embeddings, this model and this kind of field. Do not carry thresholds between models or datasets; see understanding similarity thresholds.
  • Tuning and testing on the same pairs overstates the result. Here precision on the test seed was 0.963, 0.984, 0.989 and 0.998 against targets of 0.95, 0.98, 0.99 and 1.00, so the 0.99 and 1.00 targets were slightly missed; one run is not a guarantee.
  • The auto-reject zone is silent. Sample it regularly. Anything you reject without looking is a recall loss you will not see unless you check.
  • Only the top candidate is shown. Of the 55 true matches whose partner was not the top candidate, 29 were auto-rejected and never reached a reviewer, 25 sat in the queue with the wrong suggestion on screen, and 1 was auto-accepted. Showing the top three candidates to the reviewer is a design choice we did not test.
  • Collisions belong in the queue. If two records claim the same partner, send both to review; in our one-to-one measurements, 51% (29 of 57) of the links involved in collisions were wrong.
  • Score distributions drift. Re-check the bands whenever the model, the input fields or the data source changes.

What to show a reviewer

A review queue is only as fast as its interface. Show both records side by side, highlight the fields that differ, show the score and the rank of the candidate, and record the decision so that it can become labelled data for the next round of tuning. If the same kind of mistake appears repeatedly in review, fix it upstream, with a normalization rule or a better field, rather than reviewing it forever.

Measure the result the way you would measure any matching run, with precision and recall on a separate labelled sample, as described in how to measure matching quality.

Try it free →

Keep reading