[Paper Review] Structure and Performance of Fully Connected Neural Networks: Emerging Complex Network Properties
This paper proposes a complex network (CN) framework to analyze fully connected neural networks (FNNs), modeling each network as a weighted, undirected graph of neurons and synapses. By computing centrality measures and introducing a Bag-of-Neurons (BoN) approach, the study identifies six distinct neuronal types with topological signatures linked to performance, showing that subgraph centrality and clustering strongly correlate with classification accuracy across diverse vision benchmarks.
Understanding the behavior of Artificial Neural Networks is one of the main topics in the field recently, as black-box approaches have become usual since the widespread of deep learning. Such high-dimensional models may manifest instabilities and weird properties that resemble complex systems. Therefore, we propose Complex Network (CN) techniques to analyze the structure and performance of fully connected neural networks. For that, we build a dataset with 4 thousand models and their respective CN properties. They are employed in a supervised classification setup considering four vision benchmarks. Each neural network is approached as a weighted and undirected graph of neurons and synapses, and centrality measures are computed after training. Results show that these measures are highly related to the network classification performance. We also propose the concept of Bag-Of-Neurons (BoN), a CN-based approach for finding topological signatures linking similar neurons. Results suggest that six neuronal types emerge in such networks, independently of the target domain, and are distributed differently according to classification accuracy. We also tackle specific CN properties related to performance, such as higher subgraph centrality on lower-performing models. Our findings suggest that CN properties play a critical role in the performance of fully connected neural networks, with topological patterns emerging independently on a wide range of models.
Motivation & Objective
- To investigate the structural and performance relationships in fully connected neural networks using complex network (CN) techniques.
- To identify topological signatures in neurons that correlate with model accuracy across diverse computer vision benchmarks.
- To develop a Bag-of-Neurons (BoN) framework for detecting neuron types based on topological centrality patterns.
- To determine whether CN properties emerge independently of the target domain and influence network performance.
- To provide a foundation for explainable AI and improved neural network design through topological analysis.
Proposed method
- Each fully connected neural network is modeled as a weighted, undirected graph with neurons as nodes and synapses as edges.
- Eight centrality measures (e.g., strength, subgraph centrality, bipartite clustering) are computed for each hidden neuron post-training.
- A Bag-of-Neurons (BoN) descriptor is created by concatenating the three most informative centrality measures per neuron.
- Neuron types are identified via clustering of BoN descriptors across 4,000 trained models on MNIST, Fashion-MNIST, CIFAR10, and KTH-TIPS.
- Jensen-Shannon Divergence (JSD) is used to quantify similarity in neuron type distributions across different benchmarks.
- Performance correlation is assessed by comparing centrality measures with classification accuracy, including linear separability of top and bottom 100 models.
Experimental results
Research questions
- RQ1Do complex network properties in fully connected neural networks correlate with their classification performance?
- RQ2Can distinct neuronal types with consistent topological signatures be identified across different vision tasks?
- RQ3To what extent do neuron type distributions vary with model performance, and are they consistent across different benchmarks?
- RQ4Which centrality measures are most predictive of network accuracy, and can they be used to linearly separate high- and low-performing models?
- RQ5Is there a stable, cross-domain topological organization of neurons that emerges independently of the target task?
Key findings
- Three centrality measures—strength, bipartite clustering, and subgraph centrality—contain the most relevant information for predicting network performance.
- Neurons with high subgraph centrality and clustering coefficient are significantly more prevalent in lower-performing models.
- The Bag-of-Neurons (BoN) approach reveals six distinct neuronal types that are consistently distributed across different benchmarks and model architectures.
- Despite high standard deviation, the average Jensen-Shannon Divergence (JSD) between neuron type distributions from different benchmarks is low (~0.21–0.33), indicating strong topological similarity across tasks.
- The average of a single centrality measure (e.g., subgraph centrality) across hidden layers can linearly separate the top and worst-performing 100 models with high accuracy.
- The study demonstrates that complex network properties are not random but systematically linked to performance, suggesting a fundamental role in network dynamics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.