Skip to main content
QUICK REVIEW

[Paper Review] Subject Granular Differential Privacy in Federated Learning

Virendra J. Marathe, Pallika Kanani|arXiv (Cornell University)|Jun 7, 2022
Privacy-Preserving Technologies in DataComputer Science6 citations
TL;DR

This paper introduces subject granular differential privacy (DP) in federated learning, where a subject's data is distributed across multiple users. It proposes two novel algorithms—\localgroupdp and \higradavg—that enforce subject-level DP locally at users, with \localgroupdp achieving the best trade-off between privacy and model utility, outperforming user-level and item-level DP baselines in empirical evaluations on FEMNIST and Shakespeare datasets.

ABSTRACT

This paper considers subject level privacy in the FL setting, where a subject is an individual whose private information is embodied by several data items either confined within a single federation user or distributed across multiple federation users. We propose two new algorithms that enforce subject level DP at each federation user locally. Our first algorithm, called LocalGroupDP, is a straightforward application of group differential privacy in the popular DP-SGD algorithm. Our second algorithm is based on a novel idea of hierarchical gradient averaging (HiGradAvgDP) for subjects participating in a training mini-batch. We also show that user level Local Differential Privacy (LDP) naturally guarantees subject level DP. We observe the problem of horizontal composition of subject level privacy loss in FL - subject level privacy loss incurred at individual users composes across the federation. We formally prove the subject level DP guarantee for our algorithms, and also show their effect on model utility loss. Our empirical evaluation on FEMNIST and Shakespeare datasets shows that LocalGroupDP delivers the best performance among our algorithms. However, its model utility lags behind that of models trained using a DP-SGD based algorithm that provides a weaker item level privacy guarantee. Privacy loss amplification due to subject sampling fractions and horizontal composition remain key challenges for model utility.

Motivation & Objective

  • Address the gap in federated learning (FL) privacy by introducing subject-level differential privacy, where a subject's data is spread across multiple users.
  • Formally define subject-level DP in FL, distinguishing it from item-level and user-level privacy guarantees.
  • Develop and analyze two new algorithms—\localgroupdp and \higradavg—that enforce subject-level DP locally at federation users.
  • Demonstrate that user-level Local Differential Privacy (LDP) naturally implies subject-level DP, providing a baseline for comparison.
  • Investigate the impact of horizontal composition of privacy loss and subject data distribution on model utility in subject-level DP settings.

Proposed method

  • Propose \localgroupdp as a local application of group differential privacy within the DP-SGD framework, where each user applies DP to gradients from all data items belonging to the same subject.
  • Introduce \higradavg, a hierarchical gradient averaging technique that obfuscates subject-level contributions by aggregating gradients at multiple levels based on subject cardinality.
  • Formally prove subject-level DP guarantees for both \localgroupdp and \higradavg under convex loss functions using composition theorems.
  • Use privacy amplification via subject sampling fractions to reduce noise scale, with noise calibrated based on the maximum subject group size in each mini-batch.
  • Apply standard DP-SGD noise mechanisms (Gaussian mechanism) to gradients, with privacy budget allocated per subject group rather than per data item or user.
  • Integrate user-level LDP as a baseline, showing it inherently satisfies subject-level DP due to obfuscation of individual user contributions.

Experimental results

Research questions

  • RQ1How can subject-level differential privacy be formally defined and guaranteed in a federated learning setting where data is distributed across multiple users?
  • RQ2What are the performance trade-offs between subject-level DP algorithms and existing item-level or user-level DP baselines in terms of model utility?
  • RQ3How does non-uniform subject data distribution across federation users affect the privacy-utility trade-off in subject-level DP?
  • RQ4What is the impact of horizontal composition of privacy loss across users on model utility in subject-level DP?
  • RQ5Can hierarchical gradient averaging effectively reduce noise amplification while preserving subject-level privacy in FL?

Key findings

  • The \localgroupdp algorithm achieves the best model utility among the proposed methods, with a 15% performance degradation on FEMNIST and 18% on Shakespeare compared to non-private FedAvg.
  • Despite providing a weaker item-level privacy guarantee, LocalItemDP outperforms \localgroupdp in utility, with only 8% and 22% degradation on FEMNIST and Shakespeare, respectively.
  • User-level LDP incurs significantly higher utility loss than \localgroupdp, with performance degradation clearly reflected in higher observed loss and lower test accuracy.
  • \higradavg performs worse than \localgroupdp due to noise scale amplification by up to an order of magnitude, especially in datasets with high subject cardinality like Shakespeare.
  • Non-uniform subject data distribution increases group size in mini-batches, reducing privacy budget and degrading \localgroupdp's performance, with test accuracy dropping below 50% at α=16 in FEMNIST.
  • Horizontal composition of subject-level privacy loss limits training duration and further degrades model utility, highlighting a key challenge in practical deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.