Abstract
Consider two data providers, each maintaining private records of different feature sets about common entities. They aim to learn a linear model jointly in a federated setting, namely, data is local and a shared model is trained from locally computed updates. In contrast with most work on distributed learning, in this scenario (i) data is split vertically, i.e. by features, (ii) only one data provider knows the target variable and (iii) entities are not linked across the data providers. Hence, to the challenge of private learning, we add the potentially negative consequences of mistakes in entity resolution. Our contribution is twofold. First, we describe a three-party end-to-end solution in two phases—privacy-preserving entity resolution and federated logistic regression over messages encrypted with an additively homomorphic scheme—, secure against a honest-but-curious adversary. The system allows learning without either exposing data in the clear or sharing which entities the data providers have in common. Our implementation is as accurate as a naive non-private solution that brings all data in one place, and scales to problems with millions of entities with hundreds of features. Second, we provide what is to our knowledge the first formal analysis of the impact of entity resolution's mistakes on learning, with results on how optimal classifiers, empirical losses, margins and generalisation abilities are affected. Our results bring a clear and strong support for federated learning: under reasonable assumptions on the number and magnitude of entity resolution's mistakes, it can be extremely beneficial to carry out federated learning in the setting where each peer's data provides a significant uplift to the other.
Introduction: The Challenge of Vertical Partitioning
Most federated learning research focuses on horizontally partitioned data, where many participants hold the same type of data for different users. However, many high-value collaborations involve vertically partitioned data. For example, a bank and a hospital may hold different features (financial vs. medical) for the same set of individuals.
To train a joint model in this setting, organizations must first perform Entity Resolution (ER) to identify overlapping records. In practice, identifiers like names and addresses are often messy, containing typos or missing values, which makes exact matching impossible. Furthermore, privacy constraints prevent organizations from simply sharing their databases to find these overlaps.
Proposed System Architecture
The authors propose a three-party protocol involving two Data Providers (A and B) and a semi-honest Coordinator (C). The system ensures that raw data is never exposed and that providers do not even learn which specific entities they have in common.
Methodology
- Privacy-Preserving Entity Resolution (PPER): Providers convert identifiers into Cryptographic Longterm Keys (CLKs)—Bloom filters of hashed text n-grams. Coordinator C computes the similarity between these CLKs to find matches and generates an encrypted mask.
- Additively Homomorphic Encryption (HE): The system utilizes the Paillier cryptosystem, allowing mathematical operations (addition and scalar multiplication) to be performed directly on encrypted data.
- Taylor Loss Approximation: Since HE cannot compute non-linear functions like the sigmoid or log used in standard logistic regression, the authors approximate the logistic loss function using a second-order Taylor series expansion.
- Secure Federated SGD: The model is trained using Stochastic Average Gradient (SAG) descent, passing encrypted gradients between parties.
Key Insights and Theoretical Analysis
A major contribution of this work is the first formal analysis of how ER mistakes affect downstream machine learning. The authors mathematically prove that examples predicted by the optimal classifier with a "large margin" are largely immune to matching errors. Interestingly, the analysis shows that wrongly linking records of the same class is relatively harmless; the primary damage occurs when ER links records of different classes. This suggests that future ER algorithms should prioritize class consistency over pure identifier similarity.
Experimental Results
The system was evaluated using standard UCI datasets and a custom large-scale benchmark (PACS) scaled up to 10 million rows.
- Accuracy: On the PACS dataset, the privacy-preserving pipeline (with a ~1% ER mistake rate) achieved performance on par with a non-private baseline trained on perfectly linked data (88.6% accuracy, 80.3 AUC).
- Scalability: The entity matching phase handles 10 million rows per provider in hours. The federated learning phase scales linearly, processing 1 million rows and 100 features in hours per epoch.
- Overhead: Cryptographic security introduces a computational slowdown of approximately 100x compared to unencrypted training, with communication costs around 1 GB per epoch for 1 million rows.
Conclusion and Future Work
This research demonstrates that private federated learning on vertically partitioned data is both feasible and robust to imperfect data linkage. While the computational overhead of homomorphic encryption remains a challenge, the system scales to millions of records. Future work includes addressing minor information leakage in floating-point encoding and designing new ER algorithms optimized specifically for machine learning tasks rather than just matching accuracy.
Summary updated