Differentially Private Model Merging

Qichuan Yin, Manzil Zaheer, Tian LiNeurIPS 2026

TL;DR

Imagine you’ve already trained a few machine learning models with varying levels of privacy, and suddenly, regulations shift—requiring an exact, brand-new privacy threshold right now. Instead of burning compute to retrain a model from scratch, this paper shows how to blend your existing private models together on the fly to hit any target privacy budget. Better yet, this "model soup" approach doesn't just save time; it can sometimes create a merged model that is more accurate than any of the individual models you started with.

What Problem Does This Paper Address?

Differential Privacy (DP) is the gold standard for mathematically guaranteeing that a machine learning model doesn't leak sensitive details about individual training records. It works by carefully clipping gradients and injecting calibrated noise during training (commonly via an algorithm called DP-SGD), controlled by a "privacy budget" ($\varepsilon$). Smaller $\varepsilon$ means stronger privacy, but usually worse accuracy.

In the real world, target privacy budgets aren't static—laws evolve, company policies shift, and users have dynamic preferences. Retraining a massive model with DP-SGD every time the target $\varepsilon$ changes is computationally expensive and requires finicky hyperparameter tuning. However, teams often already have a "portfolio" of models trained on the same dataset at different privacy levels from their initial development phase. The authors ask: Can we merge these existing models in parameter space to dial in any target privacy guarantee instantly, without touching raw data or doing extra training?

Prior to this work, naive privacy accounting treated combining models as releasing all of them jointly—meaning you paid the sum of all their privacy costs, ruining the privacy-utility tradeoff.

Methods

The authors introduce two lightweight, data-independent post-processing algorithms, paired with tight mathematical "privacy accounting" using two standard auditing frameworks: Rényi Differential Privacy (RDP) and Privacy Loss Distributions (PLD) (tools that track cumulative privacy leakage across operations).

  1. Random Selection (RS): Given $N$ models, you roll a weighted die (independent of the data) and output one model based on probabilities $\pi_1, \dots, \pi_N$. Because it's a random mixture, the authors prove its privacy only depends on the individual models' existing privacy profiles—making it work even across completely different model architectures.
  2. Linear Combination (LC): You output a deterministic weighted average of the models' parameters: $\theta = \sum \lambda_i \theta_i$. To avoid the massive privacy penalty of naive composition, the authors open the black box of training. Assuming the models were trained independently with full-batch DP-SGD, they track how the step-by-step injected Gaussian noises average out, building a tractable "surrogate" Gaussian bound to tightly audit privacy.

To pick the best mixing weights ($\pi$ or $\lambda$) among valid candidates, you can saturate the privacy budget without data, test on public data, or even tune on private data using an exponential sampling trick that adds a tiny, fixed privacy cost independent of how many weight combinations you test.

Datasets

No new benchmarks were introduced. The authors evaluate their methods on:

  • Synthetic Data: 100 samples drawn from a standard normal distribution (clipped to $[-1, 1]$) for private mean estimation.
  • MNIST: Standard handwritten digit benchmark, used to train a convex logistic regression model (and a heterogeneous mix of logistic regression, MLP, and CNN in the appendix).
  • CIFAR-10: Standard image classification benchmark, split into two disjoint halves—one for non-private ResNet18 pretraining, and the other for private DP-SGD finetuning.

Key Insights and Ideas

  • There is "No Free Lunch" for blind merging: You might hope to just average model weights without knowing how they were trained. The authors prove mathematically that any mechanism-agnostic merger is fundamentally trapped: to guarantee privacy, it can barely deviate from simply outputting your most private (and least accurate) model. Knowing the training hyperparameters is what unlocks useful merging.
  • Averaging noise beats flipping coins (when possible): In a theoretical case study on Gaussian mean estimation, Linear Combination strictly dominates Random Selection. Why? Flipping a coin discards candidates, whereas averaging parameters cancels out independent DP noise—shrinking variance while preserving the signal.
  • Merging can give you a "free" accuracy boost: When private models are finetuned from a shared pretrained initialization, they live in the same well-behaved basin of parameter space. Linearly combining them preserves their shared learned structure while averaging away DP-SGD noise, allowing the merged model to outperform every single input model.

Key Results

  • Continuous Pareto Frontiers: Across all experiments (at $\delta = 10^{-5}$), RS and LC smoothly trace continuous privacy-utility curves between base models without any retraining. PLD accounting consistently yields tighter (smaller) $\varepsilon$ guarantees than RDP.
  • Synthetic Mean Estimation: Navigating privacy budgets from $\varepsilon \approx 0.03$ to $0.11$, LC dramatically lowers Mean Squared Error (MSE) from $\sim 1.0$ down to $<0.2$, consistently beating RS at every budget.
  • MNIST & CIFAR-10: Combining three base models on MNIST spans $\varepsilon \in [0.5, 1.3]$ with accuracies between $88.5\%$ and $89.3\%$, with LC outperforming RS and recovering most of the gains of full retraining from scratch. On CIFAR-10 ($\varepsilon \in [1.8, 4.2]$), LC pushes ResNet18 accuracy to $\sim 87.45\%$, visibly beating the highest-utility individual base model ($\sim 87.3\% - 87.45\%$) at tighter privacy budgets.

Limitations and Future Work

  • Full-batch assumption for LC: The tight privacy accounting for Linear Combination currently requires models trained via full-batch DP-SGD with independent noise. Extending this math to subsampled (mini-batch) DP-SGD—the standard in large-scale deep learning—remains an open problem. (Similarly, LC cannot improve privacy when merging correlated checkpoints from a single training run).
  • Non-convexity & Data-dependent merging: LC requires models to share the exact same architecture and struggles if non-convex models sit in different loss basins. Future work includes analyzing sophisticated, non-linear merging methods (like TIES or Fisher-weighted averaging) under DP, and applying dynamic private merging to personalized AI agents.

Summary updated

Abstract

In machine learning applications, privacy requirements during inference or deployment time could change constantly due to varying policies, regulations, or user experience. In this work, we aim to generate a magnitude of models to satisfy any target differential privacy (DP) requirement without additional training steps, given a set of existing models trained on the same dataset with different privacy/utility tradeoffs. We propose two post processing techniques, namely random selection and linear combination, to output final private models satisfying any target privacy parameter. We provide privacy accounting of these approaches from the lens of R\'enyi DP and privacy loss distributions for general problems. In a case study on private mean estimation, we precisely characterize the privacy/utility results and theoretically establish the superiority of linear combination over random selection. Empirically, we validate our approaches and analyses on several models and both synthetic and real-world datasets.
BibTeX
@inproceedings{yin2026differentially,
  author = {Qichuan Yin and Manzil Zaheer and Tian Li},
  title = {{Differentially Private Model Merging}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=rtA6xeWV0d},
}
Figure