Deep Neural Networks via Complex Network Theory: a Perspective
Emanuele La Malfa, Gabriele La Malfa, Giuseppe Nicosia, Vito Latora
TL;DR
This work reframes Deep Neural Networks as CNT-based graphs to interpret training dynamics beyond topology. It extends CNT metrics with data-dependent measures and derives formulations for FC, AE, CNN, and RNN architectures, enabling cross-architecture comparisons using metrics such as Link Weights, Nodes Strength, Layers Fluctuation, Neurons Strength, and Neurons Activation. The authors demonstrate that these metrics reveal distinct patterns across architectures, activations, and depths, providing a physics-inspired lens on learning dynamics. Experiments on MNIST and CIFAR-10 across 30 networks per architecture show architecture- and depth-specific CNT signatures and highlight the potential for CNT-guided interpretability and network design.
Abstract
Deep Neural Networks (DNNs) can be represented as graphs whose links and vertices iteratively process data and solve tasks sub-optimally. Complex Network Theory (CNT), merging statistical physics with graph theory, provides a method for interpreting neural networks by analysing their weights and neuron structures. However, classic works adapt CNT metrics that only permit a topological analysis as they do not account for the effect of the input data. In addition, CNT metrics have been applied to a limited range of architectures, mainly including Fully Connected neural networks. In this work, we extend the existing CNT metrics with measures that sample from the DNNs' training distribution, shifting from a purely topological analysis to one that connects with the interpretability of deep learning. For the novel metrics, in addition to the existing ones, we provide a mathematical formalisation for Fully Connected, AutoEncoder, Convolutional and Recurrent neural networks, of which we vary the activation functions and the number of hidden layers. We show that these metrics differentiate DNNs based on the architecture, the number of hidden layers, and the activation function. Our contribution provides a method rooted in physics for interpreting DNNs that offers insights beyond the traditional input-output relationship and the CNT topological analysis.
