Product of Tensors and Description of Networks
Luca Chiantini, Giuseppe Alessio D'Inverno, Sara Marziali
TL;DR
This work reframes network signal propagation as a tensor-algebra problem on directed acyclic graphs, introducing activation tensors for each node and defining a total network tensor that encodes the final state. The authors construct a rigorous pipeline in which activation tensors are inflated via blow and forget operations to form order-$q$ node tensors, and then combined with the Batthacharya-Mesner Product (BMP), a generalized $d$-ary tensor product, to produce the total tensor. The central result states that the final network tensor $N$ is exactly the BMP of these transformed node tensors, providing a precise algebraic bridge between network structure and high-order tensor operations. The work also discusses geometric perspectives (toric varieties) for observable networks, compares BMP properties to classical matrix algebra, and provides a practical Python implementation to compute the BMP for networks of realistic size, enabling analysis and visualization of complex network state distributions.
Abstract
Any kind of network can be naturally represented by a Directed Acyclic Graph (DAG); additionally, activation functions can determine the reaction of each node of the network with respect to the signal(s) incoming. We study the characterization of the signal distribution in a network under the lens of tensor algebra. More specifically, we describe every activation function as tensor distributions with respect to the nodes, called \textit{activation tensors}. The distribution of the signal is encoded in the \textit{total tensor} of the network. We formally prove that the total tensor can be obtained by computing the \textit{Batthacharya-Mesner Product} (BMP), an $n$-ary operation for tensors of order $n$, on the set of the activation tensors properly ordered and processed via two basic operations, that we call \textit{blow} and \textit{forget}. Our theoretical framework can be validated through the related code developed in Python.
