SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.01817 · ICML · 2024

Uniformly Stable Algorithms for Adversarial Training and Beyond

Asuman Ozdaglar, Jiawei Zhang, Zhi-Quan Luo, Jiancong Xiao

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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; 4 failures 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/2405.01817.json · badge: /api/ran/2405.01817.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
jiancongxiao/moreau-envelope-sgd canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
FunctionStatusWhere it lives
PreActResNet18 Ran
ran; our contract draft was wrong, not the code
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_overfitting/preactresnet.py
pointer only (licence: NONE) · get_code("1153837ba4a94242")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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.

accuracy Ran
ran; our contract draft was wrong, not the code
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_uncovering/core/metrics.py
pointer only (licence: NONE); the stored copy get_code serves, from p2333/score, is pointer only (licence: NONE) · get_code("9aa516330b945a07")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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.

check_bn Ran
ran, violated the contract we drafted
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_overfitting/swa_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from JiancongXiao/Adaptive-Smoothness-Weighted-AT, is pointer only (licence: NONE) · get_code("6e59364a7cf6008f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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.

mixup_data Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_overfitting/mea_train_cifar.py
pointer only (licence: NONE) · get_code("b20f1357b1d8dbf8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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.

pad Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_overfitting/utils.py
pointer only (licence: NONE) · get_code("1e0eb41fc8899d05")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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.

prox_term Ran
ran, honoured the contract we drafted
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_overfitting/swa_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from JiancongXiao/Adaptive-Smoothness-Weighted-AT, is pointer only (licence: NONE) · get_code("6c582cf17bee2767")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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.

clamp Not yet run
unverified (harvested, no recorded run)
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_overfitting/mea_train_cifar.py
pointer only (licence: NONE) · get_code("8a93e041134b597a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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.

normalise Not yet run
unverified (harvested, no recorded run)
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_overfitting/utils.py
pointer only (licence: NONE) · get_code("d2a4ac781b2a9628")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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.

transpose Not yet run
unverified (harvested, no recorded run)
jiancongxiao/moreau-envelope-sgd/adversarial_robustness_overfitting/utils.py
pointer only (licence: NONE) · get_code("c0f89c373fea538a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jiancongxiao/moreau-envelope-sgd 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 1 the same month, 3 later) and 0 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
clamp 33 other papers
29 dated earlier, 4 later · 1 only as an assembly brick
1706.06083 (2017-06)
Towards Deep Learning Models Resistant to Adversarial Attacks
2001.03994 (2020-01)
Fast is better than free: Revisiting adversarial training
2002.11569 (2020-02)
Overfitting in adversarially robust deep learning
and 30 more not named here
PreActResNet18 22 other papers
18 dated earlier, 1 the same month, 3 later
1710.09412 (2017-10)
mixup: BEYOND EMPIRICAL RISK MINIMIZATION
2003.04887 (2020-03)
ReZero is All You Need: Fast Convergence at Large Depth
2103.14222 (2021-03)
Adversarial Attacks are Reversible with Natural Supervision
and 19 more not named here
check_bn 8 other papers
7 dated earlier, 1 same year, order not determinable
1803.05407 (2018-03)
Averaging Weights Leads to Wider Optima and Better Generalization
1905.02244 (2019-05)
Searching for MobileNetV3
1910.09777 (2019-10)
Self-Correction for Human Parsing
and 5 more not named here
normalise 8 other papers
8 dated earlier
1905.02249 (2019-05)
MixMatch: A Holistic Approach to Semi-Supervised Learning
2003.14297 (2020-03)
Generative Latent Implicit Conditional Optimization when Learning from Small Sample
2006.12135 (2020-06)
Learning to Generate Noise for Multi-Attack Robustness
and 5 more not named here
mixup_data 7 other papers
7 dated earlier
1706.06083 (2017-06)
Towards Deep Learning Models Resistant to Adversarial Attacks
2002.11569 (2020-02)
Overfitting in adversarially robust deep learning
2003.01690 (2020-03)
Reliable Evaluation of Adversarial Robustness with an Ensemble of Diverse Parameter-free Attacks
and 4 more not named here
pad 6 other papers
6 dated earlier
2006.12135 (2020-06)
Learning to Generate Noise for Multi-Attack Robustness
2103.14222 (2021-03)
Adversarial Attacks are Reversible with Natural Supervision
2204.03714 (2022-04)
ICLR 2022 PAIR 2 Struct Workshop USING MULTIPLE SELF-SUPERVISED TASKS IM-PROVES MODEL ROBUSTNESS
and 3 more not named here
accuracy 4 other papers
2 dated earlier, 2 later
2110.09468 (2021-10)
Improving Robustness using Generated Data
2202.10103 (2022-02)
Robustness and Accuracy Could Be Reconcilable by (Proper) Definition
2606.00738 (2026-06)
SORA: Free Second-Order Attacks in Fast Adversarial Training
and 1 more not named here
transpose 3 other papers
3 dated earlier
2210.03543 (2022-10)
A2: Efficient Automated Attacker for Boosting Adversarial Training
2303.02251 (2023-03)
Certified Robust Neural Networks: Generalization and Corruption Resistance
2310.08847 (2023-10)
On the Over-Memorization During Natural, Robust and Catastrophic Overfitting
prox_term 1 other paper
1 dated earlier
2210.00557 (2022-10)
Adaptive Smoothness-weighted Adversarial Training for Multiple Perturbations with Its Stability Analysis

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

In adversarial machine learning, neural networks suffer from a significant issue known as robust overfitting, where the robust test accuracy decreases over epochs (Rice et al., 2020). Recent research conducted by Xing et al. (2021); Xiao et al. (2022b) has focused on studying the uniform stability of adversarial training. Their investigations revealed that SGD-based adversarial training fails to exhibit uniform stability, and the derived stability bounds align with the observed phenomenon of robust overfitting in experiments. This motivates us to develop uniformly stable algorithms specifically tailored for adversarial training. To this aim, we introduce Moreau envelope-A, a variant of the Moreau Envelopetype algorithm. We employ a Moreau envelope function to reframe the original problem as a minmin problem, separating the non-strong convexity and non-smoothness of the adversarial loss. Then, this approach alternates between solving the inner and outer minimization problems to achieve uniform stability without incurring additional computational overhead. In practical scenarios, we show the efficacy of ME-A in mitigating the issue of robust overfitting. Beyond its application in adversarial training, this represents a fundamental result in uniform stability analysis, as ME-A is the first algorithm to exhibit uniform stability for weakly-convex, non-smooth problems.

For agents

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

get_harvested_code_for_paper("2405.01817")
get_code_for_paper("2405.01817")
have("2405.01817")

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

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

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

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

Connect an agent — have() is free.