Query-time entity resolution

Indrajit Bhattacharya, Lise Getoor, Louis Licamele · DOI

Abstract

The goal of entity resolution is to reconcile database references corresponding to the same real-world entities. Given the abundance of publicly available databases where entities are not resolved, we motivate the problem of quickly processing queries that require resolved entities from such 'unclean' databases. We propose a two-stage collective resolution strategy for processing queries. We then show how it can be performed on-the-fly by adaptively extracting and resolving those database references that are the most helpful for resolving the query. We validate our approach on two large real-world publication databases where we show the usefulness of collective resolution and at the same time demonstrate the need for adaptive strategies for query processing. We then show how the same queries can be answered in real time using our adaptive approach while preserving the gains of collective resolution.

Introduction

In the modern data landscape, many valuable repositories—ranging from academic citation databases like CiteSeer to medical registries like PubMed—remain "unclean." These databases often contain ambiguous entity references, such as multiple "J. Smiths" or variations of the same name (e.g., "W. Wang" vs. "W. W. Wang"). Traditionally, Entity Resolution (ER) is performed as an offline batch process, cleaning the entire database at once. However, this approach is computationally prohibitive for massive, rapidly growing datasets and is often unnecessary if a user only requires a clean subset of data for a specific query.

This paper introduces query-time entity resolution, a paradigm shift that focuses on cleaning data on-the-fly. By resolving only the records relevant to a specific search, the system can provide accurate results in seconds, avoiding the overhead of full-database maintenance.

Methodology: Collective and Adaptive Resolution

The authors propose a Collective Entity Resolution framework. Unlike independent resolution, which relies solely on attribute similarity (e.g., string matching on names), collective resolution leverages the relational context of the data. For instance, two "W. Wangs" are more likely to be the same individual if they both co-author papers with "A. Ansari."

The Two-Stage Strategy

The process follows a two-stage "expand and resolve" workflow:

  1. Extraction (Expand): Starting from a query name, the system recursively identifies related records using two primary operators:
  2. Attribute Expansion ($X_A$): Identifies records with similar name attributes.
  3. Hyper-edge Expansion ($X_H$): Identifies records that share a relationship, such as co-authorship on a specific paper.
  4. Resolution (Resolve): Once a relevant set of records is gathered, a Relational Clustering (RC-ER) algorithm groups them into distinct real-world entities.
Relational context in entity resolution: Author references across multiple papers illustrating the ambiguity and shared context used for resolution.

Adaptive Query Expansion

To ensure real-time performance, the authors introduce Adaptive Query Expansion. Blindly expanding all relationships can lead to "graph explosion," where a single query eventually pulls in the entire database. The adaptive strategy prioritizes expansion based on "informativeness." It estimates the ambiguity of a name; if a name is highly ambiguous, the system seeks more evidence through expansion. Conversely, if a name is unique or already clear, the system stops, drastically reducing the computational load.

Experimental Evaluation

The approach was validated using two real-world datasets and synthetic data:

  • arXiv: A high-energy physics dataset that is relatively sparse (1.9 authors per paper).
  • Elsevier BioBase: A dense biology database with over 830,000 author references and high connectivity (5.3 authors per paper), representing a significant challenge for real-time processing.
  • Synthetic Data: Used to model and verify the impact of neighbor density and attribute ambiguity on resolution accuracy.

Key Insights

  • Geometric Progression of Accuracy: The authors demonstrate that accuracy gains from exploring deeper relational "hops" follow a geometric progression. Most of the benefit is captured within the first two or three hops, justifying early termination of the expansion process.
  • Ambiguity as a Signal: Not all co-authors are equally helpful. A co-authorship with a rare, distinct name provides a much stronger signal for resolution than a co-authorship with a common name like "J. Smith."
  • Risks of Collective Resolution: In cases where the relational data itself is highly ambiguous, collective resolution can inadvertently propagate errors, highlighting the need for careful parameter tuning.

Results and Conclusion

The experimental results underscore the efficiency of the adaptive approach. On the BioBase dataset, collective resolution (RC-ER) achieved a 21% improvement in F1 score over standard attribute matching. More importantly, while unconstrained expansion took over 10 minutes, the Adaptive Expansion (AX-1) strategy reduced query time to just 31 seconds with negligible loss in accuracy.

While 31 seconds is a massive improvement, future work aims to reach sub-second response times through more aggressive "on-demand" expansion and the implementation of caching architectures. This research proves that high-quality, collective entity resolution is feasible at query-time, providing a scalable solution for managing increasingly messy global databases.

Summary updated

BibTeX
@article{bhattacharya2006query,
  author = {Indrajit Bhattacharya and Lise Getoor and Louis Licamele},
  title = {{Query-time entity resolution}},
  journal = {J. Artif. Intell. Res.},
  year = {2006},
  doi = {10.1613/jair.2290},
}
Figure