Papers › Manipulating Feature Visualizations with Gradient Slingshots

Manipulating Feature Visualizations with Gradient Slingshots

11 Jan 2024arXiv:2401.06122archive 2025-07-28

Dilyara Bareeva, Marina M. -C. Höhne, Alexander Warnecke, Lukas Pirch, Klaus-Robert Müller, Konrad Rieck, Kirill Bykov

Deep Neural Networks (DNNs) are capable of learning complex and versatile representations, however, the semantic nature of the learned concepts remains unknown. A common method used to explain the concepts learned by DNNs is Feature Visualization (FV), which generates a synthetic input signal that maximally activates a particular neuron in the network. In this paper, we investigate the vulnerability of this approach to adversarial model manipulations and introduce a novel method for manipulating FV without significantly impacting the model's decision-making process. The key distinction of our proposed approach is that it does not alter the model architecture. We evaluate the effectiveness of our method on several neural network models and demonstrate its capabilities to hide the functionality of arbitrarily chosen neurons by masking the original explanations of neurons with chosen target explanations during model auditing.

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="2401.06122")

Code

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

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

dilyabareeva/grad-slingshot officialmentioned in papermentioned on GitHubpytorchMIT 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

18 samples harvested; 12 ran; 0 honoured the contract we drafted; 6 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.

12ran
6unverified

Licence: 0 of the 18 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 dilyabareeva/grad-slingshot. “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.

act_max_top_k_from_dataset dilyabareeva/grad-slingshot/plotting.py official repository ran MIT (permissive) · fdbaf0d0cb186b10 · report
activation_max_top_k dilyabareeva/grad-slingshot/plotting.py official repository ran MIT (permissive) · 6dddfa6475cdc440 · report
get_nested_attr dilyabareeva/grad-slingshot/core/forward_hook.py official repository ran MIT (permissive) · cb99d67a4a505067 · report
imagenet_dream dilyabareeva/grad-slingshot/core/fv_transforms.py official repository ran MIT (permissive) · 31aae0b81729befe · report
load_image_net_data dilyabareeva/grad-slingshot/data_loader.py official repository ran MIT (permissive) · 610e532eeeafa90c · report
make_layers dilyabareeva/grad-slingshot/models.py official repository ran MIT (permissive) · b834e29a85d15c71 · report
one_d_collate_fn dilyabareeva/grad-slingshot/core/manipulation_set.py official repository ran MIT (permissive) · d5da8ca746a0cf9b · report
preservation_loss dilyabareeva/grad-slingshot/core/loss.py official repository ran MIT (permissive) · 3e2ee5b40f872f43 · report
preservation_loss_prox_pulse_ce dilyabareeva/grad-slingshot/core/loss.py official repository ran MIT (permissive) · 3ae37e854aa2fc88 · report
read_target_image dilyabareeva/grad-slingshot/core/utils.py official repository ran MIT (permissive) · 86aefbf00edf3f75 · report
resize_transform dilyabareeva/grad-slingshot/core/fv_transforms.py official repository ran MIT (permissive) · bdbfcdaff4df9f8e · report
vit_cls_token_target_direction dilyabareeva/grad-slingshot/core/target_activations.py official repository ran MIT (permissive) · 60f19087598c4668 · report
fcfgs dilyabareeva/grad-slingshot/models.py official repository unverified MIT (permissive) · 95db6492f04d7140 · report
load_cifar_data dilyabareeva/grad-slingshot/data_loader.py official repository unverified MIT (permissive) · 20528158cd3429d4 · report
load_mnist_data dilyabareeva/grad-slingshot/data_loader.py official repository unverified MIT (permissive) · f0c45d4ecbd11674 · report
manipulation_loss_grad_based dilyabareeva/grad-slingshot/core/loss.py official repository unverified MIT (permissive) · d37c77213d240c9c · report
modified_vgg dilyabareeva/grad-slingshot/models.py official repository unverified MIT (permissive) · 1ba3884299b9ff1c · report
vit_transforms dilyabareeva/grad-slingshot/core/fv_transforms.py official repository unverified MIT (permissive) · 6e281e5c8b321a96 · report

Tasks

Decision Making

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