Overview
This paper introduces a method for building a differentially private global classifier by aggregating models trained locally by multiple parties—without ever sharing their raw data. By using an ensemble of these local models to "soft-label" a set of auxiliary unlabeled data, the authors achieve a significant reduction in the noise required for privacy. This allows the global model to approach non-private performance as the number of participating parties increases.
The Challenge of Collaborative Privacy
In many fields, such as medicine or cybersecurity, multiple organizations want to collaborate to build better machine learning models but cannot share their raw data due to privacy or legal constraints.
A common approach is to have each party train a model locally and then aggregate those models. However, even sharing model parameters can leak sensitive information. Previous solutions often relied on "parameter averaging," which only works if everyone uses the exact same type of model (e.g., all logistic regression) and has numerical parameters. Furthermore, standard aggregation methods like majority voting are highly sensitive to changes in a single party's data. In the context of Differential Privacy (DP), high sensitivity means you have to add a massive amount of noise to protect privacy, which usually destroys the model's accuracy.
Methods: DP Ensemble by Weighted ERM
The authors propose a two-step framework called DP Ensemble by Weighted ERM to overcome these limitations.
- Knowledge Transfer via Auxiliary Data: Instead of sharing parameters, the parties send their local models (treated as black boxes) to a trusted entity. This entity has access to a separate, non-sensitive "auxiliary" unlabeled dataset. The ensemble of local models is used to generate labels for this auxiliary data.
- Weighted Empirical Risk Minimization (ERM):
- The Naive Way: Use majority voting to give each auxiliary point a "hard" label (-1 or 1).
- The Better Way (Soft Labels): Instead of a hard vote, calculate the fraction of local models that voted "positive" for a sample. They then train the global model using a "weighted loss" function that accounts for this probability.
- Output Perturbation: To ensure the final global model is $\epsilon$-differentially private, they add a specific amount of random noise to the trained model's parameters.
The "secret sauce" of this approach is the soft-labeling. Because a single party's vote only changes the average probability by $1/M$ (where $M$ is the number of parties), the sensitivity of the process is much lower than hard majority voting. This allows them to add significantly less noise while maintaining the same strict privacy guarantee.
Key Insights
- Sensitivity is the Enemy: In Differential Privacy, the amount of noise you must add is proportional to how much a single individual's data can change the output. By moving from "hard" majority votes to "soft" probability estimates, the authors reduced this sensitivity by a factor of $1/M$.
- The Power of the Crowd: The paper proves that the generalization error of their private solution scales at a rate of $O(\epsilon^{-2}M^{-2})$. This is a powerful result: it means that as you add more participants (larger $M$), you can achieve much stronger privacy (smaller $\epsilon$) without losing accuracy.
- Model-Agnostic Aggregation: Because the local models are treated as black boxes used only for labeling, the participating parties can use entirely different types of models (e.g., one uses a Decision Tree, another a Support Vector Machine) and still contribute effectively to the global linear classifier.
Key Results
The researchers evaluated their approach on three diverse real-world tasks: Human Activity Recognition, Network Intrusion Detection (KDD-99), and Malicious URL identification.
- Accuracy vs. Privacy: In all experiments, the "soft-label" approach significantly outperformed both majority voting and standard parameter averaging, especially in high-privacy regimes (where $\epsilon$ is small, meaning $1/\epsilon$ is large).
- Approaching the "Batch" Gold Standard: As the number of parties ($M$) grew, the private "soft" ensemble performed nearly as well as a "batch" model trained on all data without any privacy protections, even with a strict privacy budget.
- Robustness: While majority voting became "useless" (accuracy dropping to baseline) as soon as privacy requirements became moderate, the weighted ERM approach maintained high accuracy across a wide range of privacy levels.
Limitations and Future Work
While highly effective, the method does rely on having access to unlabeled auxiliary data that follows a similar distribution to the private data. While the authors argue this is often available (e.g., from public repositories), it might not always be the case for highly specialized domains.
Additionally, while the local models can be anything, the global model in this paper is limited to types that support output perturbation (like logistic regression). Future work could explore using other DP mechanisms to allow for more complex global models, such as Deep Neural Networks, and further investigate methods to protect the auxiliary data itself.
Summary updated