Entity Consolidation: The Golden Record Problem

Dong Deng, Wenbo Tao, Ziawasch Abedjan, Ahmed K. Elmagarmid, Ihab F. Ilyas, Samuel Madden, Mourad Ouzzani, Michael Stonebraker, Nan Tang

Abstract

Data integration has been a long-standing challenge in data management with many applications. A key step in data integration is entity consolidation. It takes a collection of clusters of duplicate records as input and produces a single "golden record" for each cluster, which contains the canonical value for each attribute. Truth discovery and data fusion methods, as well as Master Data Management (MDM) systems, can be used for entity consolidation. However, to achieve better results, the variant values (i.e., values that are logically the same with different formats) in the clusters need to be consolidated before applying these methods. For this purpose, we propose a data-driven method to standardize the variant values based on two observations: (1) the variant values usually can be transformed to the same representation (e.g., "Mary Lee" and "Lee, Mary") and (2) the same transformation often appears repeatedly across different clusters (e.g., transpose the first and last name). Our approach first uses an unsupervised method to generate groups of value pairs that can be transformed in the same way (i.e., they share a transformation). Then the groups are presented to a human for verification and the approved ones are used to standardize the data. In a real-world dataset with 17,497 records, our method achieved 75% recall and 99.5% precision in standardizing variant values by asking a human 100 yes/no questions, which completely outperformed a state of the art data wrangling tool.

Introduction

In the field of data integration, the final stage of merging disparate data sources into a unified view is known as Entity Consolidation. This process follows Entity Resolution, which identifies records belonging to the same real-world entity. The goal is to produce a "golden record"—a single, authoritative version of the truth for every entity.

The data integration pipeline, showing the transition from multiple data sources through entity resolution to consolidation.

A significant hurdle in this process is the prevalence of variant values. These are data entries that are logically identical but formatted inconsistently, such as "9th St" versus "9th Street." Traditional data fusion methods often fail to recognize these as the same value, leading to poor consolidation results. Manual data wrangling is the typical solution, but it is time-consuming and difficult to scale.

Example of entity records with name and address attributes that require standardization.

Methodology

This paper proposes a framework to automatically learn string transformations to standardize variant values. The approach is built on the observation that formatting inconsistencies are often systematic and repetitive across a dataset.

1. Candidate Generation and DSL Modeling

The system first identifies pairs of non-identical strings within resolved clusters as candidates for standardization. It then uses a Domain Specific Language (DSL), inspired by technologies like Microsoft Excel’s FlashFill, to model potential transformations. To handle common data patterns like "St" vs "Street," the authors extended the DSL to include "affixes" (prefixes and suffixes). By using Transformation Graphs (DAGs), the system can efficiently represent a wide space of possible programs that explain how one string becomes another.

2. Incremental Grouping and Human Verification

Finding the optimal set of transformation rules is an NP-complete problem. To address this, the authors developed a greedy, incremental algorithm that identifies the most "profitable" groups of transformations—those that explain the largest number of string pairs. Instead of requiring users to write code, the system presents these groups to a human for simple "Yes/No" verification. This human-in-the-loop approach allows a single approval to fix thousands of formatting errors across the entire dataset.

Experimental Evaluation

The framework was evaluated on three real-world datasets: AuthorList (AbeBooks), JournalTitle (scientific records), and Address (NYC Council applications).

  • Accuracy: On the Address dataset (17,497 records), the method achieved 99.5% precision and 75% recall with only 100 human questions.
  • Efficiency: The incremental algorithm was found to be up to three orders of magnitude faster than a one-shot approach, making it suitable for interactive data cleaning.
  • Performance Gain: Compared to Trifacta, a leading commercial data wrangling tool, the proposed method improved recall by up to 0.3 while significantly reducing manual effort.
  • Downstream Impact: By standardizing data prior to merging, the accuracy of subsequent truth discovery (e.g., majority voting) improved by over 40% in some cases.

Conclusion

Entity consolidation is critical for high-quality data integration. By leveraging the repetitive nature of formatting errors and an efficient unsupervised grouping strategy, this work provides a scalable way to generate golden records with minimal human intervention. Future research will explore extending this framework to non-string data types and further reducing the human verification budget through external knowledge integration.

Summary updated

Abstract

Data integration has been a long-standing challenge in data management with many applications. A key step in data integration is entity consolidation. It takes a collection of clusters of duplicate records as input and produces a single "golden record" for each cluster, which contains the canonical value for each attribute. Truth discovery and data fusion methods, as well as Master Data Management (MDM) systems, can be used for entity consolidation. However, to achieve better results, the variant values (i.e., values that are logically the same with different formats) in the clusters need to be consolidated before applying these methods. For this purpose, we propose a data-driven method to standardize the variant values based on two observations: (1) the variant values usually can be transformed to the same representation (e.g., "Mary Lee" and "Lee, Mary") and (2) the same transformation often appears repeatedly across different clusters (e.g., transpose the first and last name). Our approach first uses an unsupervised method to generate groups of value pairs that can be transformed in the same way (i.e., they share a transformation). Then the groups are presented to a human for verification and the approved ones are used to standardize the data. In a real-world dataset with 17,497 records, our method achieved 75% recall and 99.5% precision in standardizing variant values by asking a human 100 yes/no questions, which completely outperformed a state of the art data wrangling tool.
BibTeX
@misc{deng2017entity,
  author = {Dong Deng and Wenbo Tao and Ziawasch Abedjan and Ahmed K. Elmagarmid and Ihab F. Ilyas and Samuel Madden and Mourad Ouzzani and Michael Stonebraker and Nan Tang},
  title = {{Entity Consolidation: The Golden Record Problem}},
  year = {2017},
  eprint = {1709.10436},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.10436},
}

Loading related content...

Figure