Papers › Smooth Adversarial Training

Smooth Adversarial Training

25 Jun 2020arXiv:2006.14536archive 2025-07-28

Cihang Xie, Mingxing Tan, Boqing Gong, Alan Yuille, Quoc V. Le

It is commonly believed that networks cannot be both accurate and robust, that gaining robustness means losing accuracy. It is also generally believed that, unless making networks larger, network architectural elements would otherwise matter little in improving adversarial robustness. Here we present evidence to challenge these common beliefs by a careful study about adversarial training. Our key observation is that the widely-used ReLU activation function significantly weakens adversarial training due to its non-smooth nature. Hence we propose smooth adversarial training (SAT), in which we replace ReLU with its smooth approximations to strengthen adversarial training. The purpose of smooth activation functions in SAT is to allow it to find harder adversarial examples and compute better gradient updates during adversarial training. Compared to standard adversarial training, SAT improves adversarial robustness for "free", i.e., no drop in accuracy and no increase in computational cost. For example, without introducing additional computations, SAT significantly enhances ResNet-50's robustness from 33.0% to 42.3%, while also improving accuracy by 0.9% on ImageNet. SAT also works well with larger networks: it helps EfficientNet-L1 to achieve 82.2% accuracy and 58.6% robustness on ImageNet, outperforming the previous state-of-the-art defense by 9.5% for accuracy and 11.6% for robustness. Models are available at https://github.com/cihangxie/SmoothAdversarialTraining.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2006.14536")

Code

Syntology Ran 1 of 14 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cihangxie/SmoothAdversarialTraining officialmentioned in papermentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 1 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran
13unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from cihangxie/SmoothAdversarialTraining. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

solarize cihangxie/SmoothAdversarialTraining/EfficientNet/autoaugment.py official repository ran MIT (permissive) · 2f023d4690a70195 · report
blend cihangxie/SmoothAdversarialTraining/EfficientNet/autoaugment.py official repository unverified MIT (permissive) · 2a1ec1fdff9feda1 · report
build_learning_rate cihangxie/SmoothAdversarialTraining/EfficientNet/utils.py official repository unverified MIT (permissive) · 9f8ac1471e474b31 · report
build_optimizer cihangxie/SmoothAdversarialTraining/EfficientNet/utils.py official repository unverified MIT (permissive) · 8b0555eb0514ca06 · report
conv_kernel_initializer cihangxie/SmoothAdversarialTraining/EfficientNet/efficientnet_model.py official repository unverified MIT (permissive) · a039ef466f295d02 · report
cutout cihangxie/SmoothAdversarialTraining/EfficientNet/autoaugment.py official repository unverified MIT (permissive) · ea1b2be8595d0bb3 · report
dense_kernel_initializer cihangxie/SmoothAdversarialTraining/EfficientNet/efficientnet_model.py official repository unverified MIT (permissive) · ec6986123a6a4894 · report
distorted_bounding_box_crop cihangxie/SmoothAdversarialTraining/EfficientNet/preprocessing.py official repository unverified MIT (permissive) · b54e5d5d7eccda19 · report
drop_connect cihangxie/SmoothAdversarialTraining/EfficientNet/utils.py official repository unverified MIT (permissive) · d63756c8fcf336f4 · report
efficientnet_params cihangxie/SmoothAdversarialTraining/EfficientNet/efficientnet_builder.py official repository unverified MIT (permissive) · a7b35049ce7d1511 · report
preprocess_for_eval cihangxie/SmoothAdversarialTraining/EfficientNet/preprocessing.py official repository unverified MIT (permissive) · 6d17319dde175b8a · report
preprocess_for_train cihangxie/SmoothAdversarialTraining/EfficientNet/preprocessing.py official repository unverified MIT (permissive) · a923706b61b129ea · report
round_filters cihangxie/SmoothAdversarialTraining/EfficientNet/efficientnet_model.py official repository unverified MIT (permissive) · 9f7fd2caf2b48718 · report
swish cihangxie/SmoothAdversarialTraining/EfficientNet/efficientnet_builder.py official repository unverified MIT (permissive) · 918db160732a16d0 · report

Tasks

Adversarial DefenseAdversarial Robustness

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Adversarial Defense ImageNet (non-targeted PGD, max perturbation=4) SAT-EfficientNet-L1 Accuracy 58.6% #1 of 5 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

ReLUTanh Activation

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections