SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.07197 · 2023

Mitigating Adversarial Attacks in Federated Learning with Trusted Execution Environments

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 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, 1 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 no recorded run); 2 of them were also run on the host, not in the jail, by the peer-agreement lane that set their level, 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/2309.07197.json · badge: /api/ran/2309.07197.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
queyrusi/pelta canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
FunctionStatusWhere it lives
np2th Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
queyrusi/pelta/ExtendedPelta/Classes/TransformerModels.py
pointer only (licence: NONE) · get_code("7d8eaf5537f699e4")
How it ran

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

swish Ran
ran; our contract draft was wrong, not the code
queyrusi/pelta/ExtendedPelta/Classes/TransformerModels.py
pointer only (licence: NONE) · get_code("0f786c407fb1ee4c")
How it ran

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

GradientNormalizedByL1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
queyrusi/pelta/ExtendedPelta/Classes/AttackWrappersWhiteBoxP.py
pointer only (licence: NONE) · get_code("71ded737bf803beb")
How it ran

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

conv1x1 Ran
ran; our contract draft was wrong, not the code
queyrusi/pelta/ExtendedPelta/Classes/TransformerResNet.py
pointer only (licence: NONE); the stored copy get_code serves, from maloadba/mgenseg_2d, is pointer only (licence: NONE) · get_code("b0f916df39e78ae5")
How it ran

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

conv1x1 Ran
ran; our contract draft was wrong, not the code
queyrusi/pelta/ExtendedPelta/Classes/BigTransferModels.py
pointer only (licence: NONE) · get_code("06293e2cceb364a8")
How it ran

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

conv3x3 Ran
ran; our contract draft was wrong, not the code
queyrusi/pelta/ExtendedPelta/Classes/TransformerResNet.py
pointer only (licence: NONE); the stored copy get_code serves, from maloadba/mgenseg_2d, is pointer only (licence: NONE) · get_code("4e5bf13dbdc4f008")
How it ran

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

conv3x3 Ran
ran; our contract draft was wrong, not the code
queyrusi/pelta/ExtendedPelta/Classes/BigTransferModels.py
pointer only (licence: NONE) · get_code("b0350ce32c8e146b")
How it ran

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

tf2th Ran
ran, violated the contract we drafted
queyrusi/pelta/ExtendedPelta/Classes/BigTransferModels.py
pointer only (licence: NONE) · get_code("7023eb86801bb3a3")
How it ran

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

validateBoth Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
queyrusi/pelta/ExtendedPelta/Classes/DefaultMethods.py
pointer only (licence: NONE) · get_code("0e6fa0727f30db7f")
How it ran

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

resnet1001 Not yet run
unverified (harvested, no recorded run)
queyrusi/pelta/ExtendedPelta/Classes/ResNetPytorch.py
pointer only (licence: NONE) · get_code("5fdc22f6af7d4384")
How it ran

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

resnet164 Not yet run
unverified (harvested, no recorded run)
queyrusi/pelta/ExtendedPelta/Classes/ResNetPytorch.py
pointer only (licence: NONE) · get_code("f7a2ae9f2914e5af")
How it ran

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

resnet56 Not yet run
unverified (harvested, no recorded run)
queyrusi/pelta/ExtendedPelta/Classes/ResNetPytorch.py
pointer only (licence: NONE) · get_code("843702af6684836b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, queyrusi/pelta 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 10 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, 5 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
swish 206 other papers
154 dated earlier, 4 the same month, 48 later · 44 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1805.12114 (2018-05)
Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models
1809.01357 (2018-09)
Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference
and 203 more not named here
np2th 35 other papers
25 dated earlier, 10 later · 5 only as an assembly brick
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2102.04306 (2021-02)
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
2103.07976 (2021-03)
TransFG: A Transformer Architecture for Fine-grained Recognition
and 32 more not named here
conv1x1 33 other papers
27 dated earlier, 5 later, 1 same year, order not determinable · 3 only as an assembly brick
1912.11370 (2019-12)
Big Transfer (BiT): General Visual Representation Learning
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2102.04306 (2021-02)
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
and 30 more not named here
conv3x3 33 other papers
27 dated earlier, 5 later, 1 same year, order not determinable · 3 only as an assembly brick
1912.11370 (2019-12)
Big Transfer (BiT): General Visual Representation Learning
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2102.04306 (2021-02)
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
and 30 more not named here
tf2th 17 other papers
14 dated earlier, 2 later, 1 same year, order not determinable
1912.11370 (2019-12)
Big Transfer (BiT): General Visual Representation Learning
2104.02610 (2021-04)
On the Robustness of Vision Transformers to Adversarial Examples
2106.01127 (2021-06)
Towards Robust Classification Model by Counterfactual and Invariant Data Generation
and 14 more not named here
GradientNormalizedByL1 1 other paper
1 dated earlier
2104.02610 (2021-04)
On the Robustness of Vision Transformers to Adversarial Examples
resnet1001 1 other paper
1 dated earlier
2104.02610 (2021-04)
On the Robustness of Vision Transformers to Adversarial Examples
resnet164 1 other paper
1 dated earlier
2104.02610 (2021-04)
On the Robustness of Vision Transformers to Adversarial Examples
resnet56 1 other paper
1 dated earlier
2104.02610 (2021-04)
On the Robustness of Vision Transformers to Adversarial Examples

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

The main premise of federated learning (FL) is that machine learning model updates are computed locally to preserve user data privacy. This approach avoids by design user data to ever leave the perimeter of their device. Once the updates aggregated, the model is broadcast to all nodes in the federation. However, without proper defenses, compromised nodes can probe the model inside their local memory in search for adversarial examples, which can lead to dangerous real-world scenarios. For instance, in image-based applications, adversarial examples consist of images slightly perturbed to the human eye getting misclassified by the local model. These adversarial images are then later presented to a victim node's counterpart model to replay the attack. Typical examples harness dissemination strategies such as altered traffic signs (patch attacks) no longer recognized by autonomous vehicles or seemingly unaltered samples that poison the local dataset of the FL scheme to undermine its robustness. Pelta is a novel shielding mechanism leveraging Trusted Execution Environments (TEEs) that reduce the ability of attackers to craft adversarial samples. Pelta masks inside the TEE the first part of the back-propagation chain rule, typically exploited by attackers to craft the malicious samples. We evaluate Pelta on state-of-the-art accurate models using three well-established datasets: CIFAR-10, CIFAR-100 and ImageNet. We show the effectiveness of Pelta in mitigating six white-box state-of-the-art adversarial attacks, such as Projected Gradient Descent, Momentum Iterative Method, Auto Projected Gradient Descent, the Carlini & Wagner attack. In particular, Pelta constitutes the first attempt at defending an ensemble model against the Self-Attention Gradient attack to the best of our knowledge. Our code is available to the research community at https://github.com/queyrusi/Pelta.

For agents

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

get_harvested_code_for_paper("2309.07197")
get_code_for_paper("2309.07197")
have("2309.07197")

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

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

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

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

Connect an agent — have() is free.