Papers › Synthesizing the preferred inputs for neurons in neural networks via deep generator networks

Synthesizing the preferred inputs for neurons in neural networks via deep generator networks

30 May 2016NeurIPS 2016 12arXiv:1605.09304archive 2025-07-28

Anh Nguyen, Alexey Dosovitskiy, Jason Yosinski, Thomas Brox, Jeff Clune

Deep neural networks (DNNs) have demonstrated state-of-the-art results on many pattern recognition tasks, especially vision classification problems. Understanding the inner workings of such computational brains is both fascinating basic science that is interesting in its own right - similar to why we study the human brain - and will enable researchers to further improve DNNs. One path to understanding how a neural network functions internally is to study what each of its neurons has learned to detect. One such method is called activation maximization (AM), which synthesizes an input (e.g. an image) that highly activates a neuron. Here we dramatically improve the qualitative state of the art of activation maximization by harnessing a powerful, learned prior: a deep generator network (DGN). The algorithm (1) generates qualitatively state-of-the-art synthetic images that look almost real, (2) reveals the features learned by each neuron in an interpretable way, (3) generalizes well to new datasets and somewhat well to different network architectures without requiring the prior to be relearned, and (4) can be considered as a high-quality generative method (in this case, by generating novel, creative, interesting, recognizable images).

PaperPDFConference PDFCodeCode 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="1605.09304")

Code

Syntology Ran 1 of 11 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: community (archive-listed): 9 samples from 2 repositories, 1 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

AndyDodss/iicnn mentioned on GitHubcaffe2 report
Evolving-AI-Lab/synthesizing mentioned on GitHubcaffe2MIT report
KamitaniLab/cnnpref mentioned on GitHubcaffe2 report
KamitaniLab/icnn mentioned on GitHubcaffe2 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

11 samples harvested; 1 ran; 0 honoured the contract we drafted; 10 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.

1ran · our draft was wrong
10unverified

Licence: 2 of the 11 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 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

convert ndey96/deep-generator-network/synthesize.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 4c4cd96456054cfe · report
compute_loss ndey96/deep-generator-network/loss_stub.py community (archive-listed) unverified MIT (permissive) · b0e6e987c2ef0cfb · report
get_data_tools ndey96/deep-generator-network/data_stub.py community (archive-listed) unverified MIT (permissive) · 3c30dcac42056712 · report
get_optimizers ndey96/deep-generator-network/optimizer_stub.py community (archive-listed) unverified MIT (permissive) · 5f72f9c63bb450a3 · report
load_checkpoint ndey96/deep-generator-network/checkpoint_stub.py community (archive-listed) unverified MIT (permissive) · a50752815479c30b · report
normalize Evolving-AI-Lab/synthesizing/patchShow.py community (archive-listed) unverified MIT (permissive) · 74a74b343c22fd81 · report
patchShow Evolving-AI-Lab/synthesizing/patchShow.py community (archive-listed) unverified MIT (permissive) · c4c6fdc763e9b844 · report
patchShow_single Evolving-AI-Lab/synthesizing/patchShow.py community (archive-listed) unverified MIT (permissive) · c9dfeeed15b41474 · report
process_img ndey96/deep-generator-network/gen_init_compare.py community (archive-listed) unverified MIT (permissive) · d73ff14130ee6a57 · report
generate_image identical code first harvested elsewhere unverified licence of this copy not recorded · b43d90577686455e · report
generate_image identical code first harvested elsewhere unverified licence of this copy not recorded · f4b8e2487402d23c · report

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