Efficient Per-Example Gradient Computations in Convolutional Neural Networks
Not on the map. Why?
Abstract (arXiv)
Deep learning frameworks leverage GPUs to perform massively-parallel computations over batches of many training examples efficiently. However, for certain tasks, one may be interested in performing per-example computations, for instance using per-example gradients to evaluate a quantity of interest unique to each example. One notable application comes from the field of differential privacy, where per-example gradients must be norm-bounded in order to limit the impact of each example on the aggregated batch gradient. In this work, we discuss how per-example gradients can be efficiently computed in convolutional neural networks (CNNs). We compare existing strategies by performing a few steps of differentially-private training on CNNs of varying sizes. We also introduce a new strategy for per-example gradient calculation, which is shown to be advantageous depending on the model architecture and how the model is trained. This is a first step in making differentially-private training of CNNs practical.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 4; 2023: 1; 2024: 5; 2025: 1; 2026: 3.
17 papers.
Sort:
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 375
- 2024Data Shapley in One Training Runcited by 76
- 2022Differentially Private Optimization on Large Model at Small Costcited by 65
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 47
- 2021Fast and Memory Efficient Differentially Private-SGD via JL Projectionscited by 29
- 2022Model-agnostic out-of-distribution detection using combined statistical testscited by 14
- 2024Normalization Layer Per-Example Gradients are Sufficient to Predict Gradient Noise Scale in Transformerscited by 7
- 2021Differentially Private Bayesian Neural Networks on Accuracy, Privacy and Reliabilitycited by 6
- 2024Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware Minimizationcited by 5
- 2024DP-MemArc: Differential Privacy Transfer Learning for Memory Efficient Language Modelscited by 2
- 2022Rieoptax: Riemannian Optimization in JAXcited by 1
- 2024Noise is All You Need: Private Second-Order Convergence of Noisy SGDcited by 1
5 more
- 2025FlashDP: Private Training Large Language Models with Efficient DP-SGDcited by 1
- 2026Spectral Reach: Understanding Neural Scaling as Progress into the Spectral Tailcited by 1
- 2023Differentially Private Optimization for Non-Decomposable Objective Functionscited by 0
- 2026Reducing Per-Sample Interference in Stochastic Optimizationcited by 0
- 2026Is Weight Tying Still Beneficial for Decoder-Only LLMs in Private Settings Under DP-SGD?cited by 0
- 2026Is Weight Tying Still Beneficial for Decoder-Only LLMs in Private Settings Under DP-SGD?30 Sep 2026
- 2026Reducing Per-Sample Interference in Stochastic Optimization28 Jun 2026
- 2026Spectral Reach: Understanding Neural Scaling as Progress into the Spectral Tail29 May 2026
- 2025FlashDP: Private Training Large Language Models with Efficient DP-SGD1 Jul 2025
- 2024Normalization Layer Per-Example Gradients are Sufficient to Predict Gradient Noise Scale in Transformers1 Nov 2024
- 2024Noise is All You Need: Private Second-Order Convergence of Noisy SGD9 Oct 2024
- 2024DP-MemArc: Differential Privacy Transfer Learning for Memory Efficient Language Models16 Jun 2024
- 2024Data Shapley in One Training Run16 Jun 2024
- 2024Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware Minimization12 Jun 2024
- 2023Differentially Private Optimization for Non-Decomposable Objective Functions4 Oct 2023
- 2022Rieoptax: Riemannian Optimization in JAX10 Oct 2022
- 2022Differentially Private Optimization on Large Model at Small Cost30 Sep 2022
5 more
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy21 May 2022
- 2022Model-agnostic out-of-distribution detection using combined statistical tests2 Mar 2022
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorch25 Sep 2021
- 2021Differentially Private Bayesian Neural Networks on Accuracy, Privacy and Reliability18 Jul 2021
- 2021Fast and Memory Efficient Differentially Private-SGD via JL Projections5 Feb 2021
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 375
- 2024Data Shapley in One Training Runcited by 76
- 2022Differentially Private Optimization on Large Model at Small Costcited by 65
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 47
- 2021Fast and Memory Efficient Differentially Private-SGD via JL Projectionscited by 29
- 2022Model-agnostic out-of-distribution detection using combined statistical testscited by 14
- 2024Normalization Layer Per-Example Gradients are Sufficient to Predict Gradient Noise Scale in Transformerscited by 7
- 2021Differentially Private Bayesian Neural Networks on Accuracy, Privacy and Reliabilitycited by 6
- 2024Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware Minimizationcited by 5
- 2024DP-MemArc: Differential Privacy Transfer Learning for Memory Efficient Language Modelscited by 2
- 2022Rieoptax: Riemannian Optimization in JAXcited by 1
- 2024Noise is All You Need: Private Second-Order Convergence of Noisy SGDcited by 1
12 most cited of 17 All 17 (JSON)
- 2026Is Weight Tying Still Beneficial for Decoder-Only LLMs in Private Settings Under DP-SGD?30 Sep 2026
- 2026Reducing Per-Sample Interference in Stochastic Optimization28 Jun 2026
- 2026Spectral Reach: Understanding Neural Scaling as Progress into the Spectral Tail29 May 2026
- 2025FlashDP: Private Training Large Language Models with Efficient DP-SGD1 Jul 2025
- 2024Normalization Layer Per-Example Gradients are Sufficient to Predict Gradient Noise Scale in Transformers1 Nov 2024
- 2024Noise is All You Need: Private Second-Order Convergence of Noisy SGD9 Oct 2024
- 2024DP-MemArc: Differential Privacy Transfer Learning for Memory Efficient Language Models16 Jun 2024
- 2024Data Shapley in One Training Run16 Jun 2024
- 2024Asymptotic Unbiased Sample Sampling to Speed Up Sharpness-Aware Minimization12 Jun 2024
- 2023Differentially Private Optimization for Non-Decomposable Objective Functions4 Oct 2023
- 2022Rieoptax: Riemannian Optimization in JAX10 Oct 2022
- 2022Differentially Private Optimization on Large Model at Small Cost30 Sep 2022
12 newest of 17 All 17 (JSON)