SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2008.01777 · 2020

Making Sense of CNNs: Interpreting Deep Representations & Their Invariances with INNs

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
CompVis/invariances pwc_unofficial 4 of 5
FunctionStatusWhere it lives
md5_hash Ran CompVis/invariances/invariances/util/ckpt_util.py
code served (permissive licence) · get_code("07d90bd6ae1be7db")
repeat_channels Ran CompVis/invariances/invariances/iterator/base_trainer.py
code served (permissive licence) · get_code("c2aeb4c49730718a")
tonp Ran CompVis/invariances/invariances/iterator/base_trainer.py
code served (permissive licence) · get_code("3d7adb2f95674903")
totorch Ran CompVis/invariances/invariances/iterator/base_trainer.py
code served (permissive licence) · get_code("5866cfd90792c154")
get_ckpt_path Not yet run CompVis/invariances/invariances/util/ckpt_util.py
code served (permissive licence) · get_code("ee20e6e2564f076a")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

To tackle increasingly complex tasks, it has become an essential ability of neural networks to learn abstract representations. These task-specific representations and, particularly, the invariances they capture turn neural networks into black box models that lack interpretability. To open such a black box, it is, therefore, crucial to uncover the different semantic concepts a model has learned as well as those that it has learned to be invariant to. We present an approach based on INNs that (i) recovers the task-specific, learned invariances by disentangling the remaining factor of variation in the data and that (ii) invertibly transforms these recovered invariances combined with the model representation into an equally expressive one with accessible semantic concepts. As a consequence, neural network representations become understandable by providing the means to (i) expose their semantic meaning, (ii) semantically modify a representation, and (iii) visualize individual learned semantic concepts and invariances. Our invertible approach significantly extends the abilities to understand black box models by enabling post-hoc interpretations of state-of-the-art networks without compromising their performance. Our implementation is available at https://compvis.github.io/invariances/ .

For agents

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

get_harvested_code_for_paper("2008.01777")
get_code_for_paper("2008.01777")
have("2008.01777")

Connect an agent — have() is free.