Unlocking Feature Visualization for Deeper Networks with MAgnitude Constrained Optimization

Thomas Fel, Thibaut Boissin, Victor Boutin, Agustin Picard, Paul Novello +6 more
2/12/2026

No official code found. Best implementation: deel-ai/xplique (757 stars, last commit 2026-03-31). 1 more below.

Abstract

Feature visualization has gained substantial popularity, particularly after the influential work by Olah et al. in 2017, which established it as a crucial tool for explainability. However, its widespread adoption has been limited due to a reliance on tricks to generate interpretable images, and corresponding challenges in scaling it to deeper neural networks. Here, we describe MACO, a simple approach to address these shortcomings. The main idea is to generate images by optimizing the phase spectrum while keeping the magnitude constant to ensure that generated explanations lie in the space of natural images. Our approach yields significantly better results (both qualitatively and quantitatively) and unlocks efficient and interpretable feature visualizations for large state-of-the-art neural networks. We also show that our approach exhibits an attribution mechanism allowing us to augment feature visualizations with spatial importance. We validate our method on a novel benchmark for comparing feature visualization methods, and release its visualizations for all classes of the ImageNet dataset on https://serre-lab.github.io/Lens/. Overall, our approach unlocks, for the first time, feature visualizations for large, state-of-the-art deep neural networks without resorting to any parametric prior image model.

View on arXivView PDF

Code Implementations(2)

deel-ai/xpliqueCommunity100%

๐Ÿ‘‹ Xplique is a Neural Networks Explainability Toolbox

75763Python, MakefileApr 5, 20206 months agoNOASSERTION
explainable-aiexplainable-mlinterpretabilityxai
gatheluck/MACOCommunity58%
MIT

An unofficial pytorch implementation of "Unlocking Feature Visualization for Deeper Networks with MAgnitude Constrained Optimization" [Fel+, NeurIPS 2023].

00Python, DockerfileMar 9, 20251 years agoMIT

Similar Papers

Cite this paper

@article{fel2026unlocking,
  title  = {Unlocking Feature Visualization for Deeper Networks with MAgnitude Constrained Optimization},
  author = {Thomas Fel and Thibaut Boissin and Victor Boutin and Agustin Picard and Paul Novello and Julien Colin and Drew Linsley and Tom Rousseau and R'emi Cadene and L. Gardes and Thomas Serre},
  year   = {2026},
  eprint = {2306.06805},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2306.06805},
  journal = {NEURIPS 2023 2023}
}

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/2306.06805.svg)](https://codeofpaper.com/paper/2306.06805)

Discussion