Abstract
The entity resolution problem requires finding pairs across datasets that belong to different owners but refer to the same entity in the real world. To train and evaluate solutions (either rule-based or machine-learning-based) to the entity resolution problem, generating a ground truth dataset with entity pairs or clusters is needed. However, such a data annotation process involves humans as domain oracles to review the plaintext data for all candidate record pairs from different parties, which inevitably infringes the privacy of data owners, especially in privacy-sensitive cases like medical records. To the best of our knowledge, there is no prior work on privacy-preserving ground truth labeling in the context of entity resolution. We propose a novel blind annotation protocol based on homomorphic encryption that allows domain oracles to collaboratively label ground truth without sharing data in plaintext with other parties. In addition, we design a domain-specific, user-friendly language that conceals the complex underlying homomorphic encryption circuits, making it more accessible and easier for users to adopt this technique. The empirical experiments indicate the feasibility of our privacy-preserving protocol (f-measure on average achieves more than 90% compared with the real ground truth).
Introduction
Entity Resolution (ER)—the process of determining if two different records (like "Canon 24-70mm USM" and "Canon 24-70 f2.8 II") refer to the same real-world object—is a cornerstone of data integration. However, to train machine learning models for ER, a "ground truth" dataset labeled by humans is required. Traditionally, this creates a massive privacy hole: to decide if two records match, a human "oracle" must view both records side-by-side in plaintext. In sensitive fields like healthcare or finance, this is often impossible due to legal or competitive restrictions. While many Privacy-Preserving Entity Resolution (PPER) techniques exist for the deployment phase, the annotation phase has remained a "privacy void" where data exposure was seen as an unavoidable evil.
System Architecture
To address this, we propose a framework that separates the annotation process from direct data exposure. As shown in Figure 2, the system operates in two main phases: the PPER Phase and the Blind Annotation Phase. In the PPER Phase, encrypted records from different data owners are fed into a PPER model for training and evaluation. The Blind Annotation Phase provides the necessary ground truth labels without requiring either party to see the other's plaintext data.
The Blind Annotation Protocol
The protocol leverages Homomorphic Encryption (HE) to allow computations on encrypted data. Instead of side-by-side comparisons, the protocol uses a "query-based" approach built on four pillars:
- Feature Questions: Instead of looking at two records, an oracle from Party A looks at their own record and writes a set of Boolean logic questions (e.g., "Does the other record contain the string 'Canon' AND '24-70' but NOT '105'?").
- Domain-Specific Language (DSL): To make HE accessible, we designed a DSL that abstracts away cryptographic complexity. Users write simple scripts (e.g.,
is_in("canon", $r)) that are automatically translated into complex homomorphic circuits. - Homomorphic Execution: These questions are executed as circuits against the other party's encrypted records using the BinFHE library. The result is an encrypted "Yes/No" signal that only a neutral coordinator (who has the secret key but no access to the data) can decrypt.
- Multi-Round Consensus: If parties disagree, the protocol allows for iterative refinement. Oracles can "relax" their questions in subsequent rounds to account for typos until a consensus is reached.
The sequence of these operations is detailed in Figure 3, illustrating the interactions between the two data owners ($P_A, P_B$) and the coordinator ($P_C$).
Experimental Evaluation and Results
We evaluated the protocol using standard ER benchmarks, including e-commerce (Abt-Buy, Amazon-Google), bibliographic (DBLP-Scholar, DBLP-ACM), and synthetic biomedical (Febrl) datasets.
Key Results: * High Fidelity: The "blind" labels achieved an F-measure of over 90% on average compared to the real ground truth. * Usability: Domain oracles were able to learn the DSL and annotate records in under one minute per record. * Efficiency: While HE is computationally expensive, a parallelized version using OpenMP improved performance by more than 3x. * Communication Cost: Although encrypted data is significantly larger than plaintext (roughly 32KB per character), it remains practical for typical annotation scales (e.g., 50 records resulting in ~156MB of encrypted data).
Insights from the study reveal that annotators naturally focus on "rare" tokens—the "tail" of the data distribution—to identify matches. Specific model numbers or unique surnames do the heavy lifting in the HE-evaluated questions, while common words like "the" or "and" are ignored.
Conclusion and Future Work
Blind annotation effectively bridges the privacy gap in entity resolution. By shifting the paradigm from "seeing" to "querying" through the use of HE and a custom DSL, we enable collaborative ground truth generation that respects data privacy. Future work will focus on expanding attribute support (numerical ranges, dates) and optimizing HE schemes to further reduce computational and communication burdens.
Summary updated