An Entity Resolution framework developed in Scala for Apache Spark.
Entity Resolution (ER) is the task to identify if different records pertain to the same real-world entity. It has a very low efficiency, because it has a quadratic complexity: each record has to be compared with all others. Moreover, the problem of the low efficiency is accentuated in the context of Big Data, when the profiles to compare can be in the order of hundreds of millions. To reduce this complexity usually ER uses different blocking techniques (e.g. token blocking, n-grams, etc.) to create clusters of profiles (called blocks). The goal of this process is to reduce the global number of comparisons, because will be compared only the profiles that are in the same blocks.
Unfortunately, in the Big Data context the blocking techniques still produces too many comparisons to be managed in a reasonable time, to reduce more the number of comparison the meta-blocking techniques was introduced [2]. The idea is to create a graph using the information learned from the blocks: the profiles in the blocks represents the nodes of the graph, and the comparisons between them represents the edges. Then is possible to calculate some metrics on the graph and use them to pruning the less significant edges.
SparkER implements for Spark the Meta-Blocking techniques described in Simonini et al. [1] and Papadakis et al. [2].
The process is composed by different stages
- Profile loading: loads the data (supports csv, json and serialized formats) into entity profiles;
- Blocking: performs the blocking, token blocking or Loose Schema Blocking [1];
- Block purging: removes the biggest blocks that are, usually, stopwords or very common tokens that do not provide significant relations [4];
- Block filtering: for each entity profile, filters out the biggest blocks [3];
- Meta-blocking: performs the meta-blocking, producing as results the list of candidates pairs that could be matches.
To test SparkER we provide a set of datasets that can be downloaded here. It is also possible to use the datasets proposed in [2].
For any questions about SparkER write us at [email protected]
- Luca Gagliardelli
- Giovanni Simonini
- Song Zhu
[1] Simonini, G., Bergamaschi, S., & Jagadish, H. V. (2016). BLAST: a Loosely Schema-aware Meta-blocking Approach for Entity Resolution. Pvldb, 9(12), 1173–1184.
[2] Papadakis, G., Koutrika, G., Palpanas, T., & Nejdl, W. (2014). Meta-blocking: Taking entity resolution to the next level. IEEE.
[3] Papadakis, G., Papastefanatos, G., Palpanas, T., Koubarakis, M., & Green, E. L. (2016). Scaling Entity Resolution to Large , Heterogeneous Data with Enhanced Meta-blocking, 221–232. Transactions on Knowledge and Data Engineering, 26(8), 1946–1960.
[4] Papadakis, G., Ioannou, E., Niederée, C., & Fankhauser, P. (2011). Efficient entity resolution for large heterogeneous information spaces. Proceedings of the Fourth ACM International Conference on Web Search and Data Mining - WSDM ’11, 535.