Abstract
Traditional entity resolution (ER) systems often introduce significant latency by waiting for all data sources to respond before deduplication. This paper proposes an incremental, multi-threaded architecture that performs ER on-the-fly. By delivering partially resolved results to users within seconds and refining them as more data arrives, the system balances data quality with the real-time demands of mobile applications.
Introduction
Mobile users querying social media data (e.g., searching for a "bakery") often face delays because applications must aggregate data from heterogeneous sources like DBpedia, Yelp, and GeoNames. These providers respond at varying speeds, and some may fail to respond entirely. Standard batch ER requires waiting for all providers to reply before finding duplicates, which is impractical for mobile contexts where latency is critical. This research addresses "Query-Time" ER—starting the matching process immediately upon the arrival of the first record and updating the user's view dynamically without compromising device performance.
System Architecture
The authors implemented their approach in the mobEx mobile application using a three-tier threading model designed for high parallelism:
- Main-Thread (Central Unit): Manages the initial user request and triggers queries to various data providers.
- Entity-Manager-Thread (Central Unit): Acts as a buffer, collecting incoming records and coordinating their passage to the resolver.
- Entity-Resolver-Thread (Central Unit): Manages parallel "Worker" threads that perform the actual record comparisons.
Technical Implementation
To manage asynchronous merges effectively, the system utilizes a "Forest" data structure. Entities are represented as a directed graph where duplicate records point to a common ancestor, preventing lost updates in a multi-threaded environment.
Efficiency is maintained through blocking heuristics that limit comparisons to records of the same type and within a 500-meter radius. Furthermore, the system employs weighted fuzzy matching; attributes are weighted based on their uniqueness. For instance, a matching URL is assigned the highest weight (4), while phone numbers and labels are assigned a weight of 3. String similarity metrics are used to account for typos and variations in the data.
Evaluation and Results
The system was evaluated using live queries for the five largest cities in both the US and Germany, retrieving an average of 959 resources per query from sources such as DBpedia, Eventful, and Qype.
Key performance metrics demonstrate the system's efficiency:
- Speed: Approximately 80% of all resources are delivered to the client within 5 seconds of the initial request.
- Resolution Progress: Within that same 5-second window, roughly 54% of those resources have already undergone the full entity resolution process.
Conclusion and Future Work
The core philosophy of this approach is that incremental updates are preferable to high latency in mobile environments. By decoupling the querying stage from the resolution stage, the UI remains responsive. However, the system faces limitations such as indeterminism in label selection due to arrival order and a reliance on hard-coded schema mapping. Future iterations will explore automated schema matching and the incorporation of full facet hierarchies to improve accuracy while maintaining real-time performance.
Summary updated