Fast Learning from Distributed Datasets without Entity Matching

Giorgio Patrini, Richard Nock, Stephen Hardy, Tibério S. Caetano

Abstract

Consider the following scenario: two datasets/peers contain the same real-world entities described using partially shared features, e.g. banking and insurance company records of the same customer base. Our goal is to learn a classifier in the cross product space of the two domains, in the hard case in which no shared ID is available—e.g. due to anonymization. Traditionally, the problem is approached by first addressing entity matching and subsequently learning the classifier in a standard manner. We present an end-to-end solution which bypasses matching entities, based on the recently introduced concept of Rademacher observations (rados). Informally, we replace the minimisation of a loss over examples, which requires entity resolution, by the equivalent minimisation of a (different) loss over rados. We show that (i) a potentially exponential-size subset of these rados does not require entity matching, and (ii) the algorithm that provably minimizes the loss over rados has time and space complexities smaller than the algorithm minimizing the equivalent example loss. Last, we relax a key assumption, that the data is vertically partitioned among peers—in this case, we would not even know the existence of a solution to entity resolution. In this more general setting, experiments validate the possibility of beating even the optimal peer in hindsight.

Introduction

In the modern data landscape, valuable information is often trapped in "data silos"—distributed datasets held by different organizations that cannot be easily merged. For instance, a bank and an insurance company might wish to build a joint fraud detection model using their combined customer data. However, privacy regulations and anonymization often prevent these organizations from sharing unique identifiers (like Social Security numbers) that would allow for a direct join of their tables. This scenario is known as Vertical Partitioning (VP).

The Challenge of Vertical Partitioning

The standard industry approach to this problem is Entity Resolution (ER), which involves using "weak IDs" (e.g., age, gender, zip code) to guess which records across different datasets belong to the same individual. However, ER is fraught with difficulties. It is computationally expensive, often requiring $O(n^2)$ comparisons. More importantly, it is highly sensitive; even minor matching errors can significantly degrade the accuracy of the resulting machine learning model. Furthermore, the process of matching often requires sharing sensitive raw data, posing a significant privacy risk.

The challenge of learning from vertically partitioned data across multiple peers where the matching between entities is unknown.

As illustrated in the figure above, the core problem is that while peers share some features, the alignment of examples (rows) across these peers is unknown, represented by the question marks in the feature matrix.

Methodology: Bypassing Matching with Rademacher Observations

This research, presented at IJCAI-16, proposes a paradigm shift: learning the optimal global model without ever matching the entities. The solution centers on Rademacher observations (rados).

Instead of training on individual examples $(x, y)$, the proposed Distributed Rado-Learn (DRL) algorithm trains on aggregate statistics. A rado is a weighted sum of feature vectors that share a specific "signature" of shared attributes. The authors prove an "Invariance Trick": certain rados remain the same regardless of the specific entity matching solution. By minimizing a modified loss function (M-loss) over these aggregate rados, the learner achieves results mathematically equivalent to minimizing standard square loss on a perfectly matched dataset.

A comparison between the traditional pipeline requiring entity matching and the proposed Rado Fusion approach which bypasses it.

As shown in the comparison above, the Rado Fusion approach replaces the expensive and risky Entity Matching step with the computation of local rados, which are then fused to enable global learning.

Experimental Evaluation and Key Results

The authors evaluated DRL using several datasets from the UCI Machine Learning Repository, including Ionosphere (radar data) and Musk (chemical molecules). They simulated distributed environments by vertically partitioning these datasets and compared DRL against an "Oracle"—a hypothetical model with access to perfectly matched data.

Key findings include:

  • Performance: DRL consistently outperformed "local" models trained on individual peer data, sometimes reducing error rates by over 20%.
  • Efficiency: Learning from rados is often faster than learning from raw data because the number of unique attribute signatures is typically much smaller than the total number of records.
  • Privacy: Because peers only exchange aggregated sums (rados) rather than individual records, the method provides a natural layer of privacy protection.
  • Convergence: As the number of shared features increases, the DRL classifier provably converges to the same solution as the optimal classifier trained on perfectly matched data.

Conclusion and Future Work

By leveraging the mathematical properties of Rademacher observations, this work demonstrates that entity matching is not a prerequisite for effective distributed learning. While currently focused on linear models like Ridge Regression, this framework opens new doors for privacy-preserving, scalable machine learning in vertically partitioned environments. Future research may extend these principles to non-linear models and more complex data distributions where labels are not readily available to all peers.

Reference: Patrini, G., Nock, R., Hardy, S., & Caetano, T. (2016). Fast Learning from Distributed Datasets without Entity Matching. Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence (IJCAI-16).

Summary updated

BibTeX
@inproceedings{patrini2016fast,
  author = {Giorgio Patrini and Richard Nock and Stephen Hardy and Tibério S. Caetano},
  title = {{Fast Learning from Distributed Datasets without Entity Matching}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2016},
  url = {https://openreview.net/forum?id=BJZsYrf_Zr},
}
Figure