Detecting Modularity in Deep Neural Networks

10/13/2021
by   Shlomi Hod, et al.
10

A neural network is modular to the extent that parts of its computational graph (i.e. structure) can be represented as performing some comprehensible subtask relevant to the overall task (i.e. functionality). Are modern deep neural networks modular? How can this be quantified? In this paper, we consider the problem of assessing the modularity exhibited by a partitioning of a network's neurons. We propose two proxies for this: importance, which reflects how crucial sets of neurons are to network performance; and coherence, which reflects how consistently their neurons associate with features of the inputs. To measure these proxies, we develop a set of statistical methods based on techniques conventionally used to interpret individual neurons. We apply the proxies to partitionings generated by spectrally clustering a graph representation of the network's neurons with edges determined either by network weights or correlations of activations. We show that these partitionings, even ones based only on weights (i.e. strictly from non-runtime analysis), reveal groups of neurons that are important and coherent. These results suggest that graph-based partitioning can reveal modularity and help us understand how deep neural networks function.

READ FULL TEXT

page 2

page 17

page 18

research
07/13/2020

Graph Structure of Neural Networks

Neural networks are often represented as graphs of connections between n...
research
09/21/2022

Partial Information Decomposition Reveals the Structure of Neural Representations

In neural networks, task-relevant information is represented jointly by ...
research
08/09/2023

Decorrelating neurons using persistence

We propose a novel way to improve the generalisation capacity of deep le...
research
03/10/2020

Neural Networks are Surprisingly Modular

The learned weights of a neural network are often considered devoid of s...
research
07/25/2017

On The Robustness of a Neural Network

With the development of neural networks based machine learning and their...
research
09/30/2018

Graph Spectral Regularization for Neural Network Interpretability

Deep neural networks can learn meaningful representations of data. Howev...
research
08/07/2023

Global cognitive graph properties dynamics of hippocampal formation

In the present study we have used a set of methods and metrics to build ...

Please sign up or login with your details

Forgot password? Click here to reset