Structure and Performance of Fully Connected Neural Networks: Emerging Complex Network Properties

Leonardo F. S. Scabini, Odemir M. Bruno
7/29/2021
cs.LGcs.AIcs.CV

Official code: scabini/MLP-CN_dataset (5 stars, Python, MIT, last commit 2023-02-28).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

A dataset of fully-connected neural networks trained on vision benchmarks. Data contains all their synapse states, i.e., from random initialization and throughout all training epochs. Complex Network measures are then computed to each of their hidden neurons.

50PythonJun 21, 20213 years agoMIT
complex-networkscomputer-visionneural-networks

Similar Papers

Cite this paper

@article{scabini2021structure,
  title  = {Structure and Performance of Fully Connected Neural Networks: Emerging Complex Network Properties},
  author = {Leonardo F. S. Scabini and Odemir M. Bruno},
  year   = {2021},
  eprint = {2107.14062},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.14062}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.14062.svg)](https://codeofpaper.com/paper/2107.14062)

Discussion