Manipulating Feature Visualizations with Gradient Slingshots

Dilyara Bareeva, Marina M. -C. Höhne, Alexander Warnecke, Lukas Pirch, Klaus-Robert Müller +3 more
1/11/2024
cs.LGcs.AIcs.CV

No official code found. Best implementation: dilyabareeva/grad_slingshot (2 stars, MIT, last commit 2025-10-30).

Abstract

Feature Visualization (FV) is a widely used technique for interpreting the concepts learned by Deep Neural Networks (DNNs), which synthesizes input patterns that maximally activate a given feature. Despite its popularity, the trustworthiness of FV explanations has received limited attention. In this paper, we introduce a novel method, Gradient Slingshots, that enables manipulation of FV without modifying the model architecture or significantly degrading its performance. By shaping new trajectories in the off-distribution regions of the activation landscape of a feature, we coerce the optimization process to converge in a predefined visualization. We evaluate our approach on several DNN architectures, demonstrating its ability to replace faithfuls FV with arbitrary targets. These results expose a critical vulnerability: auditors relying solely on FV may accept entirely fabricated explanations. To mitigate this risk, we propose a straightforward defense and quantitatively demonstrate its effectiveness.

View on arXivView PDF

Code Implementations(1)

MIT

Manipulating Feature Visualizations with Gradient Slingshots

20Shell, PythonJan 11, 202411 months agoMIT

Similar Papers

Cite this paper

@article{bareeva2024manipulating,
  title  = {Manipulating Feature Visualizations with Gradient Slingshots},
  author = {Dilyara Bareeva and Marina M. -C. Höhne and Alexander Warnecke and Lukas Pirch and Klaus-Robert Müller and Konrad Rieck and Sebastian Lapuschkin and Kirill Bykov},
  year   = {2024},
  eprint = {2401.06122},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.06122v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.06122.svg)](https://codeofpaper.com/paper/2401.06122)

Discussion