thanks to their ease of implementation, multilayer perceptrons (MLPs) have become ubiquitous in deep learning applications. the graph underlying an MLP is indeed multipartite, i.e. each layer of neurons only connects to neurons belonging to the adjacent layer. In contrast, in vivo brain connectomes at the level of individual synapses suggest that biological neuronal networks are characterized by scale-free degree distributions or exponentially truncated power law strength distributions, hinting at potentially novel avenues for the exploitation of evolution-derived neuronal networks. In this paper, we present "4Ward", a method and python library capable of generating flexible and efficient neural networks (NNs) from arbitrarily complex directed acyclic graphs. 4Ward is inspired by layering algorithms drawn from the graph drawing discipline to implement efficient forward passes, and provides significant time gains in computational experiments with various Erdos-Renyi graphs. 4Ward not only overcomes the sequential nature of the learning matrix method, by parallelizing the computation of activations, but also addresses the scalability issues encountered in the current state-of-the-art and provides the designer with freedom to customize weight initialization and activation functions. Our algorithm can be of aid for any investigator seeking to exploit complex topologies in a NN design framework at the microscale.

Boccato, T., Ferrante, M., Duggento, A., Toschi, N. (2024). 4Ward: A relayering strategy for efficient training of arbitrarily complex directed acyclic graphs. NEUROCOMPUTING, 568 [10.1016/j.neucom.2023.127058].

4Ward: A relayering strategy for efficient training of arbitrarily complex directed acyclic graphs

Ferrante, Matteo;Duggento, Andrea;Toschi, Nicola
2024-01-01

Abstract

thanks to their ease of implementation, multilayer perceptrons (MLPs) have become ubiquitous in deep learning applications. the graph underlying an MLP is indeed multipartite, i.e. each layer of neurons only connects to neurons belonging to the adjacent layer. In contrast, in vivo brain connectomes at the level of individual synapses suggest that biological neuronal networks are characterized by scale-free degree distributions or exponentially truncated power law strength distributions, hinting at potentially novel avenues for the exploitation of evolution-derived neuronal networks. In this paper, we present "4Ward", a method and python library capable of generating flexible and efficient neural networks (NNs) from arbitrarily complex directed acyclic graphs. 4Ward is inspired by layering algorithms drawn from the graph drawing discipline to implement efficient forward passes, and provides significant time gains in computational experiments with various Erdos-Renyi graphs. 4Ward not only overcomes the sequential nature of the learning matrix method, by parallelizing the computation of activations, but also addresses the scalability issues encountered in the current state-of-the-art and provides the designer with freedom to customize weight initialization and activation functions. Our algorithm can be of aid for any investigator seeking to exploit complex topologies in a NN design framework at the microscale.
2024
Pubblicato
Rilevanza internazionale
Articolo
Esperti anonimi
Settore PHYS-06/A - Fisica per le scienze della vita, l'ambiente e i beni culturali
English
Neural networks
Complex networks
Temporal computation complexity
Boccato, T., Ferrante, M., Duggento, A., Toschi, N. (2024). 4Ward: A relayering strategy for efficient training of arbitrarily complex directed acyclic graphs. NEUROCOMPUTING, 568 [10.1016/j.neucom.2023.127058].
Boccato, T; Ferrante, M; Duggento, A; Toschi, N
Articolo su rivista
File in questo prodotto:
File Dimensione Formato  
boccato20244ward.pdf

accesso aperto

Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 2.84 MB
Formato Adobe PDF
2.84 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2108/389167
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 3
social impact