arXiv:2610.01650cs.CROct 2026

Manuscript Offprint

arXiv:2610.01650

Combining Homomorphic Encryption and Differential Privacy in Federated Learning for Model Inspection and Availability

Ceren Yıldırım, Kamer Kaya, Sinan Yıldırım, Erkay Savaş

Ceren Yıldırım D◯\textcircled{D}, Kamer Kaya D◯\textcircled{D}, Sinan Yıldırım D◯\textcircled{D}, and Erkay Savaş D◯\textcircled{D}, Member, IEEE

Abstract—The increasing prevalence of decentralized data has led to a growing interest in federated learning, which enables collaborative model training without clients sharing their sensitive local data. However, FL alone does not sufficiently protect sensitive training data and is generally coupled with privacy-preserving techniques, such as differential privacy and homomorphic encryption. Although powerful, these techniques address separate concerns via different mechanisms, so relying on just one might prove insufficient or impractical for addressing challenges associated with federated learning. In this work, we propose a privacy-preserving federated learning framework that combines homomorphic encryption-based training with differential privacy-based model inspection and release. We adopt a Markov chain Monte Carlo-based Bayesian privacy estimation method to estimate the privacy of our proposed framework. Our results show that this method improves both model utility and estimated privacy over the baseline method that relies solely on differential privacy for training. In our experiments with the FEMNIST dataset, by the end of training, our method reaches a test loss of 1.09, compared to 2.37 for the differential privacy-only approach, while providing stronger estimated privacy protection, with the estimated posterior mean of the privacy parameter ϵ\epsilon of 4.32, compared to 7.26 for the differential privacy-only approach. We also show that intermittent model monitoring can preserve the encrypted training trajectory while, under our evaluated experimental setting, providing estimated privacy comparable to or stronger than the differential privacy-only approach.

Index Terms—Federated learning, homomorphic encryption, differential privacy, model inspection, privacy-preserving machine learning.

I. INTRODUCTION

In recent years, the rapid growth of data generated and stored in a distributed fashion has driven increasing interest in Federated Learning (FL), a Machine Learning (ML) paradigm that enables decentralized data owners to collaboratively train a model without sharing their local data. In FL, each data owner trains a model locally using their confidential data and shares the local model updates with a server. The server aggregates the updates it receives from the clients to produce a global model update, which it redistributes to the clients. This local training and aggregation process repeats over multiple rounds until the model reaches a target accuracy.

FL has also been widely recognized as a privacy-enhancing solution as it ensures each client's sensitive data remains within its own local environment. However, recent studies have shown that local and global model updates can still reveal information about confidential training data [1]-[3]. For this reason, cryptographic or statistical techniques such as Homomorphic Encryption (HE) and Differential Privacy (DP) have become common approaches for developing privacy-preserving FL systems [4], [5].

While both DP and HE are powerful tools for enhancing privacy in FL, they are not interchangeable, as their different underlying mechanisms make them better suited to address different privacy concerns. Relying solely on either method is insufficient to ensure training data confidentiality while preserving the utility of the resulting model. DP protects sensitive training data by injecting noise into model updates during FL. However, estimating the privacy of complex ML models and calibrating noise accordingly are challenging tasks. Moreover, relying on often overly conservative worst-case theoretical bounds can significantly reduce model utility, especially when strong privacy guarantees are required.

HE allows computations to be performed directly on encrypted model updates. Although it also introduces a small amount of noise during encryption, this noise differs fundamentally from the noise deliberately added by DP to achieve privacy guarantees. In HE, noise is merely a byproduct of encryption and subsequent operations, and is typically negligible in practice. This greatly reduces the utility degradation often associated with DP, and information remains protected as long as it remains encrypted. However, once sensitive information or its outputs are decrypted, they are no longer protected by HE. For instance, the final model or its inference results released in plaintext may still reveal information about the underlying training data. Therefore, additional mechanisms, such as DP, are required for privacy-preserving downstream use.

Moreover, fully encrypted training complicates monitoring the learning process. For instance, assessing model convergence, deciding when to halt the protocol, or detecting utility-harming client behavior becomes non-trivial when model updates are encrypted. Even non-malicious clients with low-quality or biased data may inadvertently degrade global model quality. Identifying such cases during training is important to ensure that the final model remains useful. However, if the entire training process is performed under HE, these checks must also be carried out over encrypted information, making it much more difficult to inspect the progression of model training privately.

In this work, we propose a privacy-preserving FL protocol that combines HE and DP to leverage the respective advantages of both techniques. We use HE to preserve model utility during federated training, while employing DP for intermittent model inspection and privacy-preserving downstream release. The entire federated training workflow operates on encrypted and non-perturbed model updates, and DP is applied only to

All authors are with Sabanci University, Türkiye (e-mail: {cerenyildirim, kaya, sinanyildirim, erkays}@sabanciuniv.edu). Corresponding author: Ceren Yıldırım.

separate copies of the global updates that are subsequently made publicly available for inspection or downstream use.

As noted, estimating the privacy of complex ML models and determining appropriate noise levels accordingly remain challenging problems. To address this, we use a Markov chain Monte Carlo (MCMC)-based Bayesian estimation method for DP based on Membership Inference Attacks (MIAs), introduced in [6]. We adapt this method to assess privacy in FL by introducing a new attack definition and corresponding test statistics. This lets us estimate the full posterior distribution of the privacy parameters, accounting for uncertainty in attack performance and avoiding overly confident privacy estimates.

In our evaluation, we compare three FL scenarios that represent different privacy-utility trade-offs. These include

  1. a DP-only baseline scenario where noise is injected into the local model updates before each aggregation round,

  2. a scenario where training is fully achieved using HE and DP is applied to separate copies of model updates for inspection and release of the final model,

  3. and a scenario where training is fully achieved using HE and DP is applied only to the final model before release.

Our findings indicate that the third setting yields lower estimated privacy loss than the first while providing better utility. Furthermore, we show that intermittent monitoring (i.e., the second setting) can be achieved without perturbing or modifying the encrypted training process, while still providing lower estimated privacy loss than that of the first setting.

References (35)