Command Palette
Search for a command to run...
SC-Block: Supervised Contrastive Blocking within Entity Resolution Pipelines
Alexander Brinkmann Roee Shraga Christian Bizer

Abstract
The goal of entity resolution is to identify records in multiple datasets that represent the same real-world entity. However, comparing all records across datasets can be computationally intensive, leading to long runtimes. To reduce these runtimes, entity resolution pipelines are constructed of two parts: a blocker that applies a computationally cheap method to select candidate record pairs, and a matcher that afterwards identifies matching pairs from this set using more expensive methods. This paper presents SC-Block, a blocking method that utilizes supervised contrastive learning for positioning records in the embedding space, and nearest neighbour search for candidate set building. We benchmark SC-Block against eight state-of-the-art blocking methods. In order to relate the training time of SC-Block to the reduction of the overall runtime of the entity resolution pipeline, we combine SC-Block with four matching methods into complete pipelines. For measuring the overall runtime, we determine candidate sets with 99.5% pair completeness and pass them to the matcher. The results show that SC-Block is able to create smaller candidate sets and pipelines with SC-Block execute 1.5 to 2 times faster compared to pipelines with other blockers, without sacrificing F1 score. Blockers are often evaluated using relatively small datasets which might lead to runtime effects resulting from a large vocabulary size being overlooked. In order to measure runtimes in a more challenging setting, we introduce a new benchmark dataset that requires large numbers of product offers to be blocked. On this large-scale benchmark dataset, pipelines utilizing SC-Block and the best-performing matcher execute 8 times faster than pipelines utilizing another blocker with the same matcher reducing the runtime from 2.5 hours to 18 minutes, clearly compensating for the 5 minutes required for training SC-Block.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| blocking-on-abt-buy | BM25 | Candidate Set Size: 8000 Recall: 94.7 |
| blocking-on-abt-buy | SC-Block | Candidate Set Size: 5000 Recall: 99.5 |
| blocking-on-amazon-google | SC-Block | Candidate Set Size: 11000 Recall: 99.6 |
| blocking-on-amazon-google | BM25 | Candidate Set Size: 40000 Recall: 98.7 |
| blocking-on-wdc-block-large | BM25 | Candidate Set Size: 20000000 Recall: 95.5 |
| blocking-on-wdc-block-large | SC-Block | Candidate Set Size: 5000000 Recall: 89.5 |
| blocking-on-wdc-block-medium | SC-Block | Candidate Set Size: 100000 Recall: 91.9 |
| blocking-on-wdc-block-medium | BM25 | Candidate Set Size: 500000 Recall: 97.8 |
| blocking-on-wdc-block-small | BM25 | Candidate Set Size: 250000 Recall: 96.9% |
| blocking-on-wdc-block-small | SC-Block | Candidate Set Size: 70000 Recall: 93.5% |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.