An Incremental Approach to Entity Resolution

Bernd Opitz, Timo Sztyler, Michael Jess, Florian Knip, Christian Bikar, Bernd Pfister, Ansgar ScherpMADOC 2013

Abstract

We present a query-time entity resolution process that works in a highly parallel fashion. We use the application MobEx to showcase our process, which consists of a mobile client and a server, where the server takes the role of a mediator and carries out the resolution. Results are propagated to the client as early as possible. Resolution results that are produced later in the process are send as updates to the client and thus improve earlier results.

Introduction

Entity Resolution (ER)—the process of identifying and merging records that refer to the same real-world entity—is traditionally handled as a batch process. However, in the context of mobile applications aggregating data from distributed web APIs (such as Yelp or Google Places), batch processing is often incompatible with user expectations for low latency. Different data providers respond at varying speeds; waiting for the slowest provider before beginning deduplication results in a poor user experience.

This paper proposes an incremental, "on-the-fly" ER framework designed for real-time mobile environments. By processing data in parallel as it arrives and employing geospatial heuristics to prune the search space, the system delivers initial results within seconds and refines them with asynchronous updates.

Methodology

The core of the approach is implemented via MobEx, a client-server application where the server acts as a mediator. The architecture is built around a multi-threaded pipeline designed to handle data incrementally.

The multi-threaded architecture of the MobEx server, illustrating the parallel flow from data acquisition to entity resolution.

Parallel Pipeline

The system utilizes three primary thread types to manage the resolution lifecycle:

  1. Data Provider Threads: Responsible for fetching and parsing records into a unified global schema.
  2. Entity-Manager-Thread: Acts as a central coordinator and data container.
  3. Entity-Resolver-Workers: Execute the matching algorithms.

Optimization Heuristics

To avoid the computational complexity of $O(n^2)$ comparisons, the system employs several pruning strategies:

  • Facet Trees: Records are grouped into categories (e.g., 'Place', 'Event'), and comparisons are restricted to entities within the same top-level category.
  • Geospatial Pruning: Using the Haversine formula, the system calculates physical distances. Entities separated by more than 500 meters are automatically classified as distinct, reducing the comparison load by approximately 50%.
  • Weighted Scoring: Matching is performed using string similarity metrics (Jaro-Winkler and Levenshtein) across attributes like name, phone number, and URL, with weights assigned based on attribute uniqueness.

Results and Evaluation

The system was evaluated using real-world geospatial data from nine providers across the ten largest cities in the US and Germany, resulting in a dataset of 9,834 resolved entities.

Performance analysis showing the time required per resource resolution relative to the total number of resources on the server.

The system achieved an overall precision of 95.19%. Performance metrics indicate that the server can process roughly 204 resources per second, with an average resolution time of 0.046 seconds per resource. From a user experience perspective, the incremental approach allowed 80% of resources to be delivered to the client within 5 seconds, even though full resolution for the entire set might still be ongoing in the background.

Discussion and Conclusion

A key insight from this work is the effectiveness of geospatial heuristics in reducing computational overhead without sacrificing accuracy. However, challenges remain, such as the "supermarket problem," where different physical branches sharing a corporate URL can lead to incorrect merges. Future work will focus on modeling complex relationships between different entity types and improving attribute-scarce matching. By prioritizing precision and delivering results incrementally, this framework provides a robust solution for real-time entity resolution in mobile applications.

Summary updated

BibTeX
@inproceedings{opitz2013incremental,
  author = {Bernd Opitz and Timo Sztyler and Michael Jess and Florian Knip and Christian Bikar and Bernd Pfister and Ansgar Scherp},
  title = {{An Incremental Approach to Entity Resolution}},
  booktitle = {MADOC},
  year = {2013},
}
Figure