Model-Protected Multi-Task Learning

Jian Liang, Ziqi Liu, Jiayu Zhou, Xiaoqian Jiang, Changshui Zhang, Fei Wang

TL;DR

Multi-task learning (MTL) improves model performance by sharing knowledge across related tasks, but this collaboration creates a security loophole where one task's sensitive model information can "leak" to another. This paper introduces a framework for Model-Protected MTL (MP-MTL) that uses differential privacy—specifically by injecting Wishart noise into the shared covariance matrix—to enable collaborative learning while mathematically guaranteeing that individual task models remain secure.

What Problem Does This Paper Address?

In standard Multi-Task Learning, models for different tasks (e.g., predicting disease risk for different hospitals) are trained together to exploit commonalities. While this leads to better accuracy than training each task independently (Single-Task Learning or STL), it introduces a model leakage risk.

An adversary participating in the joint training process through one task could potentially infer the parameters of another task's model. This is particularly dangerous in fields like personalized medicine, where a model might encode a patient's specific food allergies or genetic markers. Existing privacy-preserving MTL methods typically focus on protecting individual data instances (e.g., a single patient's record), but they fail to prevent the leakage of the trained model itself. Furthermore, many existing private methods actually perform worse than simple non-private STL because the noise added for privacy destroys the shared utility.

Methods

The authors propose a general framework that decouples the learning process into two recursive steps:

  1. Decoupled Learning: Each task updates its model independently using "shared information" received from a central curator.
  2. Centralized Transfer: A curator extracts shared knowledge (like task correlations) from the models and redistributes it.

The core innovation is the Model-Protected mechanism:

  • Covariance Perturbation: Instead of adding noise directly to the data or the final models, the authors add noise to the covariance matrix of the models. This matrix represents the "shared knowledge" in MTL.
  • Wishart Noise: Unlike standard Gaussian or Laplace noise, the authors use Wishart noise. Because Wishart noise is positive definite, it preserves the mathematical structure required for MTL algorithms.
  • Instantiations: They provide two concrete versions of the algorithm: one for low-rank subspace learning (tasks share a common underlying structure) and one for group-sparse learning (tasks share a common set of important features).
  • Heterogeneous Privacy Budgets: They develop a strategy to allocate different "privacy budgets" ($\epsilon$) across different iterations of the training process to maximize final accuracy.

Datasets

The researchers evaluated their approach using:

  • Synthetic Datasets: Created specifically to test low-rank and group-sparse patterns across 320 tasks.
  • School Data: A classic MTL benchmark containing exam scores of 15,362 students from 139 secondary schools (each school is a task).
  • LSOA II Data: Data from the Second Longitudinal Study of Aging, involving 44 binary outcomes (tasks) related to the health conditions of elderly patients.

Key Insights and Ideas

  • The "Safety Net" Property: A major "aha" moment is that under very high noise (maximum privacy), the projection matrix in their algorithm naturally degrades into an identity matrix. This means the algorithm effectively turns into Single-Task Learning (STL). Consequently, their method is guaranteed to never perform worse than STL, a claim many other private MTL methods cannot make.
  • Wishart over Gaussian: The choice of Wishart noise is critical. It allows the algorithm to maintain the "direction" of task relationships while only blurring the "magnitude," which is much more effective for preserving utility than the isotropic blurring caused by Gaussian noise.
  • Protecting the "View": The paper defines privacy based on what an adversary can see from the other tasks' outputs, aligning the work with "joint differential privacy" concepts.

Key Results

  • Superior Utility: In experiments on the School and LSOA II datasets, the proposed MP-MTL algorithms consistently outperformed baseline private methods (like DP-MTRL and DP-AGGR).
  • Privacy-Accuracy Tradeoff: The authors demonstrated that even with a strict privacy budget (low $\epsilon$), their model-protected approach achieved lower error (nMSE) and higher Area Under the Curve (AUC) than independent training (STL).
  • Robustness to Noise: The "Noise-to-Signal Ratio" analysis showed that while the added noise was significant enough to protect the models, it had a minimal negative impact on the final predictive performance compared to direct model perturbation.

Limitations and Future Work

  • Linear Model Constraint: The current framework is designed for linear multi-task models. Extending this to non-linear models or deep neural networks remains a challenge.
  • Trusted Curator: The primary framework assumes a "trusted curator" who collects models to compute the covariance. While the authors discuss using Secure Multi-Party Computation (SMC) in the appendix to remove this requirement, it adds significant computational overhead.
  • Hyperparameter Tuning: The privacy budget for tuning hyperparameters (like the regularization strength $\lambda$) via cross-validation is not explicitly accounted for in the main theorems, which is a common but noted limitation in differential privacy research.

Summary updated

BibTeX
@article{liang2022model,
  author = {Jian Liang and Ziqi Liu and Jiayu Zhou and Xiaoqian Jiang and Changshui Zhang and Fei Wang},
  title = {{Model-Protected Multi-Task Learning}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
  url = {https://openreview.net/forum?id=xXsPVjfWnD2},
}
Figure