Papers › TRS: Transferability Reduced Ensemble via Encouraging Gradient Diversity and Model Smoothness

TRS: Transferability Reduced Ensemble via Encouraging Gradient Diversity and Model Smoothness

1 Apr 2021NeurIPS 2021 12arXiv:2104.00671archive 2025-07-28

Zhuolin Yang, Linyi Li, Xiaojun Xu, Shiliang Zuo, Qian Chen, Benjamin Rubinstein, Pan Zhou, Ce Zhang, Bo Li

Adversarial Transferability is an intriguing property - adversarial perturbation crafted against one model is also effective against another model, while these models are from different model families or training processes. To better protect ML systems against adversarial attacks, several questions are raised: what are the sufficient conditions for adversarial transferability and how to bound it? Is there a way to reduce the adversarial transferability in order to improve the robustness of an ensemble ML model? To answer these questions, in this work we first theoretically analyze and outline sufficient conditions for adversarial transferability between models; then propose a practical algorithm to reduce the transferability between base models within an ensemble to improve its robustness. Our theoretical analysis shows that only promoting the orthogonality between gradients of base models is not enough to ensure low transferability; in the meantime, the model smoothness is an important factor to control the transferability. We also provide the lower and upper bounds of adversarial transferability under certain conditions. Inspired by our theoretical analysis, we propose an effective Transferability Reduced Smooth(TRS) ensemble training strategy to train a robust ensemble with low transferability by enforcing both gradient orthogonality and model smoothness between base models. We conduct extensive experiments on TRS and compare with 6 state-of-the-art ensemble baselines against 8 whitebox attacks on different datasets, demonstrating that the proposed TRS outperforms all baselines significantly.

PaperPDFConference PDFCodeCode 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="2104.00671")

Code

Syntology Ran 6 of 8 code samples harvested from 2 repositories linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong; 1 ran with no contract checked.

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

AI-secure/Transferability-Reduced-Smooth-Ensemble officialmentioned in paperpytorch 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

8 samples harvested; 6 ran; 2 honoured the contract we drafted; 2 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.

2ran · honoured contract
3ran · our draft was wrong
1ran
2unverified

Licence: 6 of the 8 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

Cosine AI-secure/Transferability-Reduced-Smooth-Ensemble/train/Empirical/trainer.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · c5b926bdf355c69d · report
Ensemble AI-secure/Transferability-Reduced-Smooth-Ensemble/train/Empirical/trainer.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 26fd974a366fee7c · report
Magnitude AI-secure/Transferability-Reduced-Smooth-Ensemble/train/Empirical/trainer.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · d7d02143411ad4d7 · report
PGD AI-secure/Transferability-Reduced-Smooth-Ensemble/train/Empirical/trainer.py official repository ran · our draft was wrong no licence file found · pointer only · 55b27593beb14f70 · report
TRS_Trainer AI-secure/Transferability-Reduced-Smooth-Ensemble/train/Empirical/trainer.py official repository unverified no licence file found · pointer only · fcc8bbcd4177bb70 · report
requires_grad_ AI-secure/Transferability-Reduced-Smooth-Ensemble/train/Empirical/trainer.py official repository unverified no licence file found · pointer only · 0122889949b64757 · report
get_acc yuxiaochen1103/Hi-TRS/train_on_NTU_AR.py community ran · our draft was wrong Apache-2.0 (permissive) · 5f27b8e9e500314b · report
get_acc yuxiaochen1103/Hi-TRS/pretrain_on_NTU.py community ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · a1d3eaa48d595276 · report

Tasks

Diversity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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