174 research outputs found

    Generalizing DP-SGD with shuffling and batch clipping

    Get PDF
    Classical differential private DP-SGD implements individual clipping with random subsampling, which forces a mini-batch SGD approach. We provide a general differential private algorithmic framework that goes beyond DP-SGD and allows any possible first order optimizers (e.g., classical SGD and momentum based SGD approaches) in combination with batch clipping, which clips an aggregate of computed gradients rather than summing clipped gradients (as is done in individual clipping). The framework also admits sampling techniques beyond random subsampling such as shuffling. Our DP analysis follows the f -DP approach and introduces a new proof technique based on a slightly stronger adversarial model which allows us to derive simple closed form expressions and to also analyse group privacy. In particular, for E epochs work and groups of size g, we show a√gE DP dependency for batch clipping with shuffling

    Batch Clipping and Adaptive Layerwise Clipping for Differential Private Stochastic Gradient Descent

    Get PDF
    Each round in Differential Private Stochastic Gradient Descent (DPSGD) transmits a sum of clipped gradients obfuscated with Gaussian noise to a central server which uses this to update a global model which often represents a deep neural network. Since the clipped gradients are computed separately, which we call Individual Clipping (IC), deep neural networks like resnet-18 cannot use Batch Normalization Layers (BNL) which is a crucial component in deep neural networks for achieving a high accuracy. To utilize BNL, we introduce Batch Clipping (BC) where, instead of clipping single gradients as in the orginal DPSGD, we average and clip batches of gradients. Moreover, the model entries of different layers have different sensitivities to the added Gaussian noise. Therefore, Adaptive Layerwise Clipping methods (ALC), where each layer has its own adaptively finetuned clipping constant, have been introduced and studied, but so far without rigorous DP proofs. In this paper, we propose {\\em a new ALC and provide rigorous DP proofs for both BC and ALC}. Experiments show that our modified DPSGD with BC and ALC for CIFAR-10 with resnet-18 converges while DPSGD with IC and ALC does not

    On the Tightness of the Moment Accountant for DP-SGD

    Get PDF
    In order to provide differential privacy, Gaussian noise with standard deviation Οƒ is added to local SGD updates after performing a clipping operation in Differential Private SGD (DP-SGD). By non-trivially improving the moment account method we prove a closed form (Ο΅, Ξ΄)-DP guarantee: DP-SGD is (Ο΅ ≀ 1/2, Ξ΄ = 1/N )-DP if Οƒ = p2(Ο΅ + ln(1/Ξ΄))/Ο΅ with T at least β‰ˆ 2k2/Ο΅ and (2/e)2k2 βˆ’ 1/2 β‰₯ ln(N ), where T is the total number of rounds, and K = kN is the total number of gradient computations where k measures K in number of epochs of size N of the local data set. We prove that our expression is close to tight in that if T is more than a constant factor β‰ˆ 8 smaller than the lower bound β‰ˆ 2k2/Ο΅, then the (Ο΅, Ξ΄)-DP guarantee is violated. Choosing the smallest possible value T β‰ˆ 2k2/Ο΅ not only leads to a close to tight DP guarantee, but also minimizes the total number of communicated updates and this means that the least amount of noise is aggregated into the global model and in addition accuracy is optimized as confirmed by simulations

    Ficolin-2 Levels and FCN2 Haplotypes Influence Hepatitis B Infection Outcome in Vietnamese Patients

    Get PDF
    Human Ficolin-2 (L-ficolins) encoded by FCN2 gene is a soluble serum protein that plays an important role in innate immunity and is mainly expressed in the liver. Ficolin-2 serum levels and FCN2 single nucleotide polymorphisms were associated to several infectious diseases. We initially screened the complete FCN2 gene in 48 healthy individuals of Vietnamese ethnicity. We genotyped a Vietnamese cohort comprising of 423 clinically classified hepatitis B virus patients and 303 controls for functional single nucleotide polymorphisms in the promoter region (-986G>A, -602G>A, -4A>G) and in exon 8 (+6424G>T) by real-time PCR and investigated the contribution of FCN2 genotypes and haplotypes to serum Ficolin-2 levels, viral load and liver enzyme levels. Haplotypes differed significantly between patients and controls (Pβ€Š=β€Š0.002) and the haplotype AGGG was found frequently in controls in comparison to patients with hepatitis B virus and hepatocellular carcinoma (Pβ€Š=β€Š0.0002 and P<0.0001) conferring a protective effect. Ficolin-2 levels differed significantly between patients and controls (p<0.0001). Patients with acute hepatitis B had higher serum Ficolin-2 levels compared to other patient groups and controls.The viral load was observed to be significantly distributed among the haplotypes (Pβ€Š=β€Š0.04) and the AAAG haplotype contributed to higher Ficolin-2 levels and to viral load. Four novel single nucleotide polymorphisms in introns (-941G>T, -310G>A, +2363G>A, +4882G>A) and one synonymous mutation in exon 8 (+6485G>T) was observed. Strong linkage was found between the variant -986G>A and -4A>G. The very first study on Vietnamese cohort associates both Ficolin-2 serum levels and FCN2 haplotypes to hepatitis B virus infection and subsequent disease progression
    • …
    corecore