SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.14056 · 2023

DPSUR: Accelerating Differentially Private Stochastic Gradient Descent Using Selective Update and Release

arXiv · PDF · Open in the Atlas

Code that ran

4 of 11 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 2 failures of our instrument; 7 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/2311.14056.json · badge: /api/ran/2311.14056.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
jefffffffu/dpsur canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
yangyucheng000/Paper-3 community (classifier label)
classifier basis not recorded on the link
0 ran · 4 no recorded run
FunctionStatusWhere it lives
get_attack_dataset_without_shadow Ran
ran; our contract draft was wrong, not the code
jefffffffu/dpsur/membership_inference/meminf.py
pointer only (licence: NONE) · get_code("052ba4ead65ad4d4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jefffffffu/dpsur when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

standardize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jefffffffu/dpsur/model/CNN.py
pointer only (licence: NONE) · get_code("8900bd09a25b00a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jefffffffu/dpsur when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

str_to_bool Ran
ran, violated the contract we drafted
jefffffffu/dpsur/membership_inference/Inference_attacks.py
pointer only (licence: NONE) · get_code("b0ca8217928440eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jefffffffu/dpsur when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

train_shadow_model Ran
ran, honoured the contract we drafted
jefffffffu/dpsur/membership_inference/meminf.py
pointer only (licence: NONE) · get_code("4b53a8340a7ab9e4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jefffffffu/dpsur when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CoSOD_Dataset_Parser Not yet run
unverified (harvested, no recorded run)
yangyucheng000/Paper-3/GLNet-TCYB2022-MindSpore-master/dataset.py
code served (permissive licence) · get_code("a88361e137792f45")
How it ran

no invocation recorded.

US2 Not yet run
unverified (harvested, no recorded run)
yangyucheng000/Paper-3/GLNet-TCYB2022-MindSpore-master/utils.py
code served (permissive licence) · get_code("7b98739be4f0f377")
How it ran

no invocation recorded.

US4 Not yet run
unverified (harvested, no recorded run)
yangyucheng000/Paper-3/GLNet-TCYB2022-MindSpore-master/utils.py
code served (permissive licence) · get_code("82bff91a41124289")
How it ran

no invocation recorded.

US8 Not yet run
unverified (harvested, no recorded run)
yangyucheng000/Paper-3/GLNet-TCYB2022-MindSpore-master/utils.py
code served (permissive licence) · get_code("021fb8855eaefdf2")
How it ran

no invocation recorded.

get_model_dataset Not yet run
unverified (harvested, no recorded run)
jefffffffu/dpsur/membership_inference/prepare_MIA_dataset.py
pointer only (licence: NONE) · get_code("488091c5c1be0d83")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jefffffffu/dpsur when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

prepare_MIA_dataset Not yet run
unverified (harvested, no recorded run)
jefffffffu/dpsur/membership_inference/prepare_MIA_dataset.py
pointer only (licence: NONE) · get_code("e03195a3f0f33109")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jefffffffu/dpsur when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

train_shadow_distillation Not yet run
unverified (harvested, no recorded run)
jefffffffu/dpsur/membership_inference/meminf.py
pointer only (licence: NONE) · get_code("664dc8c7e8f8f11d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jefffffffu/dpsur when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 10 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
train_shadow_distillation 1 other paper
1 dated earlier
2102.02551 (2021-02)
ML-Doctor: Holistic Risk Assessment of Inference Attacks Against Machine Learning Models

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

Machine learning models are known to memorize private data to reduce their training loss, which can be inadvertently exploited by privacy attacks such as model inversion and membership inference. To protect against these attacks, differential privacy (DP) has become the de facto standard for privacy-preserving machine learning, particularly those popular training algorithms using stochastic gradient descent, such as DPSGD. Nonetheless, DPSGD still suffers from severe utility loss due to its slow convergence. This is partially caused by the random sampling, which brings bias and variance to the gradient, and partially by the Gaussian noise, which leads to fluctuation of gradient updates. Our key idea to address these issues is to apply selective updates to the model training, while discarding those useless or even harmful updates. Motivated by this, this paper proposes DPSUR, a Differentially Private training framework based on Selective Updates and Release, where the gradient from each iteration is evaluated based on a validation test, and only those updates leading to convergence are applied to the model. As such, DPSUR ensures the training in the right direction and thus can achieve faster convergence than DPSGD. The main challenges lie in two aspects -- privacy concerns arising from gradient evaluation, and gradient selection strategy for model update. To address the challenges, DPSUR introduces a clipping strategy for update randomization and a threshold mechanism for gradient selection. Experiments conducted on MNIST, FMNIST, CIFAR-10, and IMDB datasets show that DPSUR significantly outperforms previous works in terms of convergence speed and model utility.

For agents

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

get_harvested_code_for_paper("2311.14056")
get_code_for_paper("2311.14056")
have("2311.14056")

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

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

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

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

Connect an agent — have() is free.