Papers
Topics
Authors
Recent
Search
2000 character limit reached

Mean-Regularized Multi-Task Learning

Updated 6 May 2026
  • The paper introduces a framework that regularizes individual task models toward the average model, balancing personalization and global trends.
  • It presents a federated optimization algorithm using clipping and Gaussian noise to enforce joint differential privacy while retaining model performance.
  • Empirical evaluations on benchmarks like FEMNIST and CelebA show that this approach outperforms baseline methods in stringent privacy settings.

Mean-regularized multi-task learning (MTL) is a framework in which multiple related machine learning tasks are solved simultaneously through an explicit regularization strategy that encourages each task’s model to remain close to the average of all task models. Originally captured by empirical risk minimization with mean-based regularization penalties, this approach is central to privacy-sensitive collaborative settings such as federated learning, where data resides with separate clients and strong privacy guarantees are required for individual contributions. Recent advances formally incorporate joint differential privacy (JDP) into mean-regularized MTL, yielding algorithms that achieve both privacy protection and competitive empirical performance (Hu et al., 2021).

1. Mean-Regularized MTL Objective

In mean-regularized MTL, each of mm tasks (or clients) kk has data Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i and an associated parameter vector wk∈Rdw_k \in \mathbb{R}^d. The per-task empirical loss is defined as

Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).

Aggregating all task parameters as W=[w1;…;wm]W = [w_1; \ldots; w_m], the average model is

wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.

The mean-regularized MTL objective takes the form

F(W)=1m∑k=1m[Lk(wk)+λ2∥wk−wˉ∥22],F(W) = \frac{1}{m} \sum_{k=1}^m \left[ \mathcal{L}_k(w_k) + \frac{\lambda}{2} \|w_k - \bar w\|_2^2 \right],

where λ>0\lambda > 0 is a regularization parameter. This formulation penalizes divergence from the average model, capturing a spectrum between purely personalized and fully global modeling.

An equivalent iterative interpretation is to introduce a global anchor w~\tilde w and solve, for each round and task kk0,

kk1

using kk2 steps of stochastic gradient descent (SGD), followed by an update of kk3 as the mean of all kk4.

2. Federated Optimization under Joint Differential Privacy

The mean-regularized MTL framework is amenable to communication-efficient learning in federated settings and can be made private via adaptations of the Federated Averaging (FedAvg) protocol. The server’s public state at iteration kk5 is denoted kk6. At each round:

  • The server uniformly samples a subset kk7 of kk8 clients.
  • kk9 is broadcast to Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i0.
  • Each Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i1 performs Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i2 steps of local SGD with respect to Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i3:

Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i4

  • The update Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i5 is clipped as Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i6, enforcing Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i7.
  • The server aggregates and perturbs the mean update:

Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i8

After Dk={xk,i,yk,i}iD_k = \{x_{k,i}, y_{k,i}\}_i9 rounds, each client retains its own wk∈Rdw_k \in \mathbb{R}^d0 as a private, personalized model. The privacy parameters are calibrated as follows: sampling rate wk∈Rdw_k \in \mathbb{R}^d1; clipping norm wk∈Rdw_k \in \mathbb{R}^d2; and noise wk∈Rdw_k \in \mathbb{R}^d3 for a global wk∈Rdw_k \in \mathbb{R}^d4-differential privacy guarantee.

3. Formal Privacy Guarantees: Differential and Joint Differential Privacy

Joint differential privacy is a relaxation suited for distributed settings and mechanism design. For mechanism wk∈Rdw_k \in \mathbb{R}^d5:

wk∈Rdw_k \in \mathbb{R}^d6

for every client wk∈Rdw_k \in \mathbb{R}^d7, every pair of datasets wk∈Rdw_k \in \mathbb{R}^d8 differing only in wk∈Rdw_k \in \mathbb{R}^d9's data, and every event Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).0 over all clients except Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).1. This formalism ensures that no coalition of Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).2 clients gains significant information about any excluded individual.

The algorithm described achieves Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).3-DP for the broadcast sequence Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).4, provided Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).5 is set as above and Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).6 (for constant Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).7). By post-processing and the specific design, the collection of personalized outputs Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).8 satisfies Lk(wk)=∑i=1nkℓk(xk,i;wk).\mathcal{L}_k(w_k) = \sum_{i=1}^{n_k} \ell_k(x_{k,i}; w_k).9-joint differential privacy (Hu et al., 2021).

4. Convergence and Utility Analysis

For non-convex objectives, assuming each W=[w1;…;wm]W = [w_1; \ldots; w_m]0 is W=[w1;…;wm]W = [w_1; \ldots; w_m]1-smooth and gradients are bounded by sufficient clipping (with large enough W=[w1;…;wm]W = [w_1; \ldots; w_m]2), the averaged squared gradient norm over W=[w1;…;wm]W = [w_1; \ldots; w_m]3 rounds is

W=[w1;…;wm]W = [w_1; \ldots; w_m]4

where W=[w1;…;wm]W = [w_1; \ldots; w_m]5 bounds the instantaneous loss and W=[w1;…;wm]W = [w_1; \ldots; w_m]6 is the number of local steps. With W=[w1;…;wm]W = [w_1; \ldots; w_m]7 and W=[w1;…;wm]W = [w_1; \ldots; w_m]8, the asymptotic error terms are

W=[w1;…;wm]W = [w_1; \ldots; w_m]9

indicating that the error due to noise injection scales as wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.0. Thus, increasing the number of clients amortizes privacy-induced error ("amplification by multi-task" effect).

For wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.1-strongly convex wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.2, exponential convergence is obtained to a joint solution neighborhood of radius wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.3:

wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.4

5. Empirical Evaluation and Comparative Performance

Empirical results span benchmarks such as FEMNIST (205 clients; 4-layer CNN; 62-way classification), StackOverflow (400 clients; convex logistic regression; 500-way tag prediction), and CelebA (515 clients; 4-layer CNN; binary classification). The following baselines are evaluated:

  • Private FedAvg and FedProx (global models, Gaussian mechanism noise)
  • Non-private MTL
  • Pure local training
  • Private MTL with local finetuning (mean-regularization, KL-divergence, EWC)
  • PP-SGD (personalized DP via billboard mechanism, convex tasks)

Metrics include test accuracy versus privacy budget wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.5, training loss, evolving wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.6 over rounds, and privacy-utility trade-off curves.

Key findings are:

  • Private MTL (PMTL) outperforms private FedAvg and FedProx for all wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.7 and datasets, especially at small wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.8 (wˉ=1m∑k=1mwk.\bar w = \frac{1}{m} \sum_{k=1}^m w_k.9).
  • MTL’s utility gains are largely retained even with Gaussian noise: personalization continues to confer benefits.
  • Local finetuning after MTL further improves accuracy (notably in non-convex CNN tasks) at negligible additional privacy cost.
  • PP-SGD underperforms PMTL on convex tasks for stringent privacy (F(W)=1m∑k=1m[Lk(wk)+λ2∥wk−wˉ∥22],F(W) = \frac{1}{m} \sum_{k=1}^m \left[ \mathcal{L}_k(w_k) + \frac{\lambda}{2} \|w_k - \bar w\|_2^2 \right],0) but converges in performance under weaker privacy.
  • Empirically, as the number of tasks F(W)=1m∑k=1m[Lk(wk)+λ2∥wk−wˉ∥22],F(W) = \frac{1}{m} \sum_{k=1}^m \left[ \mathcal{L}_k(w_k) + \frac{\lambda}{2} \|w_k - \bar w\|_2^2 \right],1 increases, the required noise standard deviation F(W)=1m∑k=1m[Lk(wk)+λ2∥wk−wˉ∥22],F(W) = \frac{1}{m} \sum_{k=1}^m \left[ \mathcal{L}_k(w_k) + \frac{\lambda}{2} \|w_k - \bar w\|_2^2 \right],2 decays as F(W)=1m∑k=1m[Lk(wk)+λ2∥wk−wˉ∥22],F(W) = \frac{1}{m} \sum_{k=1}^m \left[ \mathcal{L}_k(w_k) + \frac{\lambda}{2} \|w_k - \bar w\|_2^2 \right],3, matching theoretical predictions.

6. Significance and Applications in Privacy-Sensitive Collaborative Learning

Mean-regularized MTL, with differentially private algorithms, has broad applicability in privacy-sensitive domains such as healthcare, finance, and IoT. The established approach—using a federated-averaging–style loop, clipping, and Gaussian noise addition—supports joint differential privacy while enabling personalized model training per client. By combining personalization and formal privacy, mean-regularized MTL supersedes both global and local-only methods along privacy-utility frontiers and scales favorably with increasing clients due to amortized privacy costs (Hu et al., 2021).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Mean-Regularized Multi-Task Learning.