Skip to main content
QUICK REVIEW

[Paper Review] Merging datasets through deep learning

Kavitha Srinivas, Abraham Gale|arXiv (Cornell University)|Sep 5, 2018
Face recognition and analysisComputer Science19 references6 citations
TL;DR

This paper proposes a deep learning approach for merging datasets by learning vector embeddings that group semantically equivalent entity names (e.g., 'Douglas Adams' and 'Adams, Douglas') into close proximity in vector space. Using approximate nearest neighbor indexing and a novel hard-negative triplet mining strategy, the method achieves precision@1 of 81% for people and 75% for companies, significantly outperforming semi-hard negative mining on hard-negative-dominated datasets.

ABSTRACT

Merging datasets is a key operation for data analytics. A frequent requirement for merging is joining across columns that have different surface forms for the same entity (e.g., the name of a person might be represented as "Douglas Adams" or "Adams, Douglas"). Similarly, ontology alignment can require recognizing distinct surface forms of the same entity, especially when ontologies are independently developed. However, data management systems are currently limited to performing merges based on string equality, or at best using string similarity. We propose an approach to performing merges based on deep learning models. Our approach depends on (a) creating a deep learning model that maps surface forms of an entity into a set of vectors such that alternate forms for the same entity are closest in vector space, (b) indexing these vectors using a nearest neighbors algorithm to find the forms that can be potentially joined together. To build these models, we had to adapt techniques from metric learning due to the characteristics of the data; specifically we describe novel sample selection techniques and loss functions that work for this problem. To evaluate our approach, we used Wikidata as ground truth and built models from datasets with approximately 1.1M people's names (200K identities) and 130K company names (70K identities). We developed models that allow for joins with precision@1 of .75-.81 and recall of .74-.81. We make the models available for aligning people or companies across multiple datasets.

Motivation & Objective

  • To address the challenge of merging datasets where the same entity is represented by different surface forms (e.g., names, company names) across sources.
  • To overcome the limitations of traditional string equality or similarity joins in data management systems.
  • To develop a scalable, generalizable method for joining entities across datasets using learned vector embeddings.
  • To evaluate the effectiveness of hard-negative triplet mining versus semi-hard mining in deep metric learning for name matching.
  • To demonstrate transferability of the approach to other entity types, such as faces, using pre-trained models.

Proposed method

  • Train a siamese triplet network to embed entity names into a vector space where same-entity forms are close and different-entity forms are far apart.
  • Use approximate nearest neighbor (ANN) indexing to efficiently retrieve candidate matches during join operations.
  • Implement a novel triplet mining strategy that selects hard negatives from the nearest neighbor set to improve training on datasets dominated by hard negatives.
  • Adapt and compare multiple loss functions, including a modified triplet loss, to optimize embedding quality.
  • Leverage Wikidata as ground truth to construct training and evaluation datasets for people and company names.
  • Evaluate generalization by applying trained models to face recognition datasets using pre-trained embeddings.

Experimental results

Research questions

  • RQ1Can deep metric learning with hard-negative mining outperform semi-hard negative mining in name matching tasks dominated by hard negatives?
  • RQ2How effective is the proposed vector embedding approach in achieving high precision and recall for dataset merging across entity types?
  • RQ3To what extent can models trained on one entity type (e.g., people) be generalized to other types (e.g., companies, faces)?
  • RQ4Does using approximate nearest neighbor indexing enable scalable and efficient joins in large-scale data integration?
  • RQ5How do different loss functions impact the performance of embedding models for entity name matching?

Key findings

  • The proposed hard-negative mining strategy achieved a precision@1 of 81% and recall of 81% on the people dataset, significantly outperforming semi-hard mining (precision@1: 61%, recall: 63%).
  • For company names, the method achieved a precision@1 of 75% and recall of 74%, demonstrating strong performance on a less complex dataset.
  • Training improved recall from 3% to 81% for people and from 16% to 74% for companies, indicating effective learning of semantic similarity.
  • Precision@1 improved from 10% to 81% for people and from 26% to 75% for companies, showing that the nearest neighbor is highly likely to be a true match after training.
  • The approach generalized well to face recognition: VGGFace2 achieved 95% precision@1 and 91% recall, while CasiaWebFace achieved 93% precision@1 and 87% recall.
  • The study confirms that hard-negative mining is beneficial for datasets with high proportions of hard negatives, where semi-hard mining underperforms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.