SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1710.00814 · 2017

Detecting Adversarial Attacks on Neural Network Policies with Visual Foresight

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 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, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 4 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/1710.00814.json · badge: /api/ran/1710.00814.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
yenchenlin/rl-attack-detection canonical (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
FunctionStatusWhere it lives
fixed_list_blobs Ran
ran; our contract draft was wrong, not the code
yenchenlin/rl-attack-detection/baselines/common/azure_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("ab0fe214d7d0f41c")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

get_wrapper_by_name Ran
ran; our contract draft was wrong, not the code
yenchenlin/rl-attack-detection/baselines/common/misc_util.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("b7d6a34e1010c8d3")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

linear_interpolation Ran
ran, honoured the contract we drafted
yenchenlin/rl-attack-detection/baselines/common/schedules.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("5908b0de70ae8316")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

make_output_format Ran
ran; our contract draft was wrong, not the code
yenchenlin/rl-attack-detection/baselines/logger.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("d463e1295ed34b3c")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

pickle_load Ran
ran; our contract draft was wrong, not the code
yenchenlin/rl-attack-detection/baselines/common/misc_util.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("131bfcd55d2d25cc")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

pretty_eta Ran
ran; our contract draft was wrong, not the code
yenchenlin/rl-attack-detection/baselines/common/misc_util.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("accf0e50708b4878")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

mean Not yet run
unverified (harvested, no recorded run)
yenchenlin/rl-attack-detection/baselines/common/tf_util.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("3dc7f82ede7de679")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

sum Not yet run
unverified (harvested, no recorded run)
yenchenlin/rl-attack-detection/baselines/common/tf_util.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("ec87a50ac64b9e20")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

var Not yet run
unverified (harvested, no recorded run)
yenchenlin/rl-attack-detection/baselines/common/tf_util.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("9071c058ed8fc811")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

wrap_dqn Not yet run
unverified (harvested, no recorded run)
yenchenlin/rl-attack-detection/baselines/common/atari_wrappers_deprecated.py
pointer only (licence: MIT); the stored copy get_code serves, from rrmenon10/Bootstrapped-DQN, is pointer only (licence: MIT) · get_code("bad6b483657393a5")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yenchenlin/rl-attack-detection, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 10 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 10 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
var 5 other papers
1 dated earlier, 4 later
1706.02275 (2017-06)
Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments
1803.00933 (2018-03)
Distributed Prioritized Experience Replay
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction
and 2 more not named here
linear_interpolation 4 other papers
1 the same month, 3 later
1710.11417 (2017-10)
TreeQN and ATreeC: Differentiable Tree-Structured Models for Deep Reinforcement Learning
1906.02341 (2019-06)
How to Initialize your Network? Robust Initialization for WeightNorm & ResNets
1909.05398 (2019-09)
Interactive Fiction Games: A Colossal Adventure
and 1 more not named here
get_wrapper_by_name 2 other papers
2 later
2010.07916 (2020-10)
Multi-Agent Trust Region Policy Optimization
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction
mean 2 other papers
2 later
1803.00933 (2018-03)
Distributed Prioritized Experience Replay
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction
pickle_load 2 other papers
2 later
2010.07916 (2020-10)
Multi-Agent Trust Region Policy Optimization
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction
pretty_eta 2 other papers
2 later
2010.07916 (2020-10)
Multi-Agent Trust Region Policy Optimization
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction
sum 2 other papers
2 later
1803.00933 (2018-03)
Distributed Prioritized Experience Replay
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction
wrap_dqn 2 other papers
1 dated earlier, 1 later
1606.03476 (2016-06)
Generative Adversarial Imitation Learning
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction
fixed_list_blobs 1 other paper
1 later
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction
make_output_format 1 other paper
1 later
2105.06022 (2021-05)
Principled Exploration via Optimistic Bootstrapping and Backward Induction

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

Deep reinforcement learning has shown promising results in learning control policies for complex sequential decision-making tasks. However, these neural network-based policies are known to be vulnerable to adversarial examples. This vulnerability poses a potentially serious threat to safety-critical systems such as autonomous vehicles. In this paper, we propose a defense mechanism to defend reinforcement learning agents from adversarial attacks by leveraging an action-conditioned frame prediction module. Our core idea is that the adversarial examples targeting at a neural network-based policy are not effective for the frame prediction model. By comparing the action distribution produced by a policy from processing the current observed frame to the action distribution produced by the same policy from processing the predicted frame from the action-conditioned frame prediction module, we can detect the presence of adversarial examples. Beyond detecting the presence of adversarial examples, our method allows the agent to continue performing the task using the predicted frame when the agent is under attack. We evaluate the performance of our algorithm using five games in Atari 2600. Our results demonstrate that the proposed defense mechanism achieves favorable performance against baseline algorithms in detecting adversarial examples and in earning rewards when the agents are under attack.

For agents

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

get_harvested_code_for_paper("1710.00814")
get_code_for_paper("1710.00814")
have("1710.00814")

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

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

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

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

Connect an agent — have() is free.