For now, I tried a few different settings using the benchmark you published: I used all 3,500 labelled pairs and both collections (2,000 and 1,500 records) in your near-duplicate text benchmark. I ran the Python code embedded in the pinned Space source in a native Colab CPU runtime, not the browser UI, and reproduced the published exact collection counts.
is_duplicate was 0.9745 for exact Jaccard and 0.9621/0.9629 for the current 128-permutation MinHash/LSH path with two salts. This supports the default on this English synthetic benchmark.
At threshold 0.8 the exact B row count is 506/1,500 (33.7%); the default gives 534 and 516. Both default collection runs agree with exhaustive comparison of the same signatures, so here the discrepancy is estimation rather than candidate loss. This does not hold for every setting.
I would retain the surface-overlap focus. A low estimate does not certify a clean eval split; a high pooled score does not measure redundant complete records or model lift. The existing warning about the shared salt and sensitive signatures remains important.
I would start with character 5-grams, 128 components and 0.8. If arbitrary permutation counts are supported, restrict them to tested configurations or relax the band selector. I would not adjust the final threshold merely to compensate for a retrieval problem.
When both raw datasets are available locally, LSH can generate candidates and exact shingle Jaccard can verify them. Verification removes estimation errors for retrieved pairs, but cannot recover omitted candidates. With signatures only, exhaustive comparison is still approximate relative to the raw text.
| Goal | Measurement |
|---|---|
| Whole-record duplication | Normalized exact and near match |
| Partial eval leakage | Substring or directional per-record containment |
| New data acquisition | Distinct record difference against existing data |
| Shared surface content | Pooled Jaccard/containment with uncertainty |
| No raw record exchange | Compatible signatures with stated scope |
I would prioritize the band selector, pooled resolution and reporting scope before adding new matching modes.