Skip to main content
QUICK REVIEW

[Paper Review] Deep Neural Networks as Complex Networks

Emanuele La Malfa, Gabriele La Malfa|arXiv (Cornell University)|Sep 12, 2022
Neural dynamics and brain functionNeuroscience5 citations
TL;DR

This paper introduces a novel framework that models Deep Neural Networks (DNNs) as directed weighted complex networks using Complex Network Theory (CNT), enabling analysis at the level of weights, neurons, and layers. The authors demonstrate that CNT metrics effectively discriminate between different architectures, activation functions, and performance levels—especially revealing performance gaps between trained and untrained networks—offering a physically grounded, complementary approach to interpret DNN behavior beyond input-output analysis.

ABSTRACT

Deep Neural Networks are, from a physical perspective, graphs whose `links` and `vertices` iteratively process data and solve tasks sub-optimally. We use Complex Network Theory (CNT) to represents Deep Neural Networks (DNNs) as directed weighted graphs: within this framework, we introduce metrics to study DNNs as dynamical systems, with a granularity that spans from weights to layers, including neurons. CNT discriminates networks that differ in the number of parameters and neurons, the type of hidden layers and activations, and the objective task. We further show that our metrics discriminate low vs. high performing networks. CNT is a comprehensive method to reason about DNNs and a complementary approach to explain a model's behavior that is physically grounded to networks theory and goes beyond the well-studied input-output relation.

Motivation & Objective

  • To develop a formal framework that represents Deep Neural Networks as directed weighted graphs using Complex Network Theory (CNT) for multi-level analysis.
  • To identify CNT-based metrics that capture dynamical behavior at the weight, neuron, and layer levels in DNNs.
  • To evaluate whether these metrics can distinguish between different network architectures, activation functions, and performance levels.
  • To provide a physically grounded, complementary method to interpret DNNs beyond traditional input-output analysis.

Proposed method

  • The authors map DNN components to CNT constructs: weights as links, neurons as nodes, and layers as structural groupings, forming directed weighted graphs.
  • They define and compute novel CNT metrics—Neurons Strength, Neurons Activation, and Nodes Input Strength—specifically tailored for DNNs at different granularities.
  • The framework is applied to populations of fully connected (FC) and autoencoder (AE) networks across MNIST and CIFAR10 datasets with varying architectures, depths, activation functions, and training regimes.
  • Metrics are evaluated across training snapshots to capture dynamic behavior, enabling comparison across different network configurations and performance levels.
  • The approach is validated through extensive experimental evaluation on image classification and signal reconstruction tasks.
  • An open-source, extensible package is released to enable replication and extension of the proposed CNT metrics beyond the scope of this study.

Experimental results

Research questions

  • RQ1Can Complex Network Theory metrics effectively distinguish between DNNs with different architectures, such as fully connected and autoencoders, on the same task?
  • RQ2How do CNT metrics vary across different activation functions (e.g., ReLU, sigmoid, linear) in shallow and deep networks?
  • RQ3Can CNT metrics detect performance differences between trained and untrained networks, even when accuracy is low?
  • RQ4Do CNT metrics reveal task-specific patterns in image classification (MNIST) versus signal reconstruction (CIFAR10)?
  • RQ5To what extent can CNT metrics generalize across varying network depth and parameter count?

Key findings

  • CNT metrics successfully discriminate between different activation functions: ReLU networks show Neurons Activation concentrated around 0, while sigmoid networks exhibit bimodal distributions in early layers and uniformity in deeper layers.
  • Neurons Strength distributions vary significantly by activation type—linear and ReLU networks show broad supports with extreme values, while sigmoid networks have a much more concentrated support, approximately 2/3 less in magnitude.
  • In both MNIST and CIFAR10, deeper networks exhibit CNT metric trends that mirror those of shallower networks at corresponding layer positions, indicating structural consistency across depth.
  • A performance gap is revealed between trained and untrained networks: trained networks show more stable and structured CNT metric distributions, especially in Nodes Input Strength, which exhibits a bottleneck in layer 6 of all architectures.
  • For fully connected networks on CIFAR10, CNT metrics expose distinct patterns across small (28K params, 38% acc), medium (450K params, 49% acc), and large (7M params, 54% acc) architectures, with Nodes Input Strength showing a pronounced reduction in layer 6.
  • The framework successfully identifies task-specific dynamics: in image classification, metrics reflect feature hierarchy, while in signal reconstruction, they capture autoencoder-specific signal propagation patterns.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.