Introduction
Machine learning traditionally focuses on "pointwise" tasks, such as standard classification, where models process individual data points independently. However, many critical real-world applications rely on pairwise learning, where the loss function depends on pairs of samples. Examples include metric learning (ensuring similar items are close in a feature space), AUC maximization, and ranking tasks.
A significant challenge arises when integrating Differential Privacy (DP) into these tasks. Standard DP techniques, such as DP-SGD, assume data independence. In pairwise learning, a single sensitive record participates in numerous pairs, creating complex dependencies. If a model memorizes these relationships, it becomes vulnerable to membership inference or model inversion attacks. This paper introduces the first comprehensive framework for pairwise learning with rigorous DP guarantees.
Proposed Methodology
The authors develop a suite of algorithms based on Generalized Infinitesimal Gradient Ascent (GIGA) and zero-Concentrated Differential Privacy (zCDP). The framework addresses both online and offline scenarios:
1. Online Algorithms
- OnPairStrC: Optimized for strongly convex loss functions. It iteratively updates the model as data arrives, adding Gaussian noise to the output at each step to preserve privacy.
- OnPairC: Designed for general convex losses, utilizing a regularization perturbation strategy to maintain algorithmic stability.
2. Offline Algorithms
- OffPairStrC & OffPairC: These are "utility-efficient" variants. Since the learner has access to the full dataset at once, noise is only added to the final output rather than at every iteration. This approach significantly reduces the cumulative noise, leading to superior generalization performance.
The core innovation is a novel stability analysis for the GIGA algorithm applied to pairwise losses, ensuring that the sensitivity of the output to any single record is tightly bounded despite the complex data dependencies.
Experimental Evaluation
The algorithms were evaluated on four real-world medical datasets from the UCI Machine Learning Repository: Diabetes, Diabetic Retinopathy, Hepatitis, and Cancer. These datasets represent scenarios where data privacy is paramount for patient confidentiality.
Utility and Privacy Trade-offs
The experiments confirmed a clear relationship between the privacy budget ($\epsilon$) and model utility. As $\epsilon$ increases (allowing for less privacy), the objective function value decreases, and performance metrics like Accuracy and AUC improve, approaching non-private baselines.
As shown in the figure above, accuracy consistently improves as the training size increases, and the gap between private and non-private models narrows. This demonstrates the scalability of the proposed methods; as the dataset grows, the "privacy cost" effectively shrinks.
Impact of Privacy Budget and Dataset Size
Further analysis on the Hepatitis and Cancer datasets illustrates how the objective value responds to changes in $\epsilon$ and the number of samples $n$.
The results indicate that larger datasets help mitigate the utility loss associated with privacy. With more data, the model can achieve lower objective values (better optimization) even under strict privacy constraints (e.g., $\epsilon = 0.5$).
Key Insights
- Overcoming Dependency: The primary hurdle in private pairwise learning is that the penalty at any step $t$ depends on all previous records. The authors' sensitivity analysis successfully addresses this complexity.
- Tight Bounds via zCDP: By employing zCDP instead of standard DP composition, the authors achieved tighter regret bounds. Their online algorithm's regret bound is improved by a factor of $\log(n/\delta)$ over previous pointwise frameworks.
- Offline Advantage: The offline setting proves superior for utility because perturbing only the final model average achieves a generalization error of $\tilde{O}(\frac{\sqrt{d}}{\epsilon \sqrt{n}})$, matching the best-known rates for private pointwise learning.
Conclusion and Future Work
This work establishes a robust foundation for privacy-preserving pairwise learning. While currently limited to convex loss functions, it provides a theoretical and practical roadmap for sensitive tasks like AUC maximization in medical diagnostics. Future research will explore extending these guarantees to non-convex deep learning landscapes and addressing the computational overhead inherent in processing $O(n^2)$ pairs for massive datasets.
Summary updated