SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.10683 · NeurIPS · 2022

Scalable & Efficient Training of Large Convolutional Neural Networks with Differential Privacy

Zhiqi Bu, Jialin Mao, Shiyun Xu

arXiv · PDF · Open in the Atlas

Code that ran

1 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2205.10683.json · badge: /api/ran/2205.10683.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
woodyx218/private_vision canonical (classifier label)
classifier basis: classifier_2025
1 ran · 3 no recorded run
FunctionStatusWhere it lives
_light_linear_weight_norm_sample_sequential Ran
ran; our contract draft was wrong, not the code
woodyx218/private_vision/private_vision/supported_layers_grad_samplers.py
code served (permissive licence) · get_code("eeeeac55e0de9d93")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function takes two tensors A and B
# It performs batch matrix multiplication and transpose operations
# A and B should be 3D tensors (batch_size, dim1, dim2)

batch_size = 2
dim1 = 4
dim2 = 3

A = torch.randn(batch_size, dim1, dim2)
B = torch.randn(batch_size, dim1, dim2)

ARGS = {
    "A": A,
    "B": B,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_sigma_from_gdp Not yet run
unverified (harvested, no recorded run)
woodyx218/private_vision/private_vision/privacy_engine.py
code served (permissive licence) · get_code("07bd2b802db4e7f1")
How it ran

no invocation recorded.

get_sigma_from_rdp Not yet run
unverified (harvested, no recorded run)
woodyx218/private_vision/private_vision/privacy_engine.py
code served (permissive licence) · get_code("fe86df433c0fa05e")
How it ran

no invocation recorded.

get_sigma_from_rdp_cks Not yet run
unverified (harvested, no recorded run)
woodyx218/private_vision/private_vision/privacy_engine.py
code served (permissive licence) · get_code("b83af4f60add8bbc")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_sigma_from_gdp 2 other papers
2 dated earlier
2109.12298 (2021-09)
Opacus: User-Friendly Differential Privacy Library in PyTorch
2110.05679 (2021-10)
Large Language Models Can Be Strong Differentially Private Learners
get_sigma_from_rdp 2 other papers
2 dated earlier
2109.12298 (2021-09)
Opacus: User-Friendly Differential Privacy Library in PyTorch
2110.05679 (2021-10)
Large Language Models Can Be Strong Differentially Private Learners
get_sigma_from_rdp_cks 2 other papers
2 dated earlier
2109.12298 (2021-09)
Opacus: User-Friendly Differential Privacy Library in PyTorch
2110.05679 (2021-10)
Large Language Models Can Be Strong Differentially Private Learners

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large convolutional neural networks (CNN) can be difficult to train in the differentially private (DP) regime, since the optimization algorithms require a computationally expensive operation, known as the per-sample gradient clipping. We propose an efficient and scalable implementation of this clipping on convolutional layers, termed as the mixed ghost clipping, that significantly eases the private training in terms of both time and space complexities, without affecting the accuracy. The improvement in efficiency is rigorously studied through the first complexity analysis for the mixed ghost clipping and existing DP training algorithms. Extensive experiments on vision classification tasks, with large ResNet, VGG, and Vision Transformers (ViT), demonstrate that DP training with mixed ghost clipping adds 1 ∼ 10% memory overhead and < 2× slowdown to the standard non-private training. Specifically, when training VGG19 on CIFAR10, the mixed ghost clipping is 3× faster than state-of-the-art Opacus library with 18× larger maximum batch size. To emphasize the significance of efficient DP training on convolutional layers, we achieve 96.7% accuracy on CIFAR10 and 83.0% on CIFAR100 at = 1 using BEiT, while the previous best results are 94.8% and 67.4%, respectively. We opensource a privacy engine (https://github.com/woodyx218/private_ vision) that implements DP training of CNN (including convolutional ViT) with a few lines of code. * Equal contribution. Preprint. Under review.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2205.10683")
get_code_for_paper("2205.10683")
have("2205.10683")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2205.10683.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2205.10683.svg)](https://syntology.ai/paper/2205.10683)

Connect an agent — have() is free.