Abstract
Biological neural networks are physically constrained by space and energy, yet they exhibit complex functional dynamics. This study investigates Spatially Embedded Recurrent Neural Networks (seRNNs) to understand how physical boundaries shape network configuration during learning. We find that spatial and communication constraints drive networks toward a unique, low-entropy modular structure. This structural shift promotes diverse internal timescales, allowing networks to solve tasks efficiently while mirroring biological brain organization.
Introduction
Biological brains are not infinite, all-to-all connected computing machines. They are physical objects packed into skulls, constrained by the costs of long-distance wiring, energy consumption, and communication delays. While these constraints are well-recognized, a fundamental question in computational neuroscience remains: how exactly do these physical boundaries limit the attainable configurations of a neural network as it learns?
A recent study by Sheeran et al. explores this by training artificial neural networks that "live" in a 3D space. Their findings reveal that physical constraints force networks into a very specific, low-entropy form of modularity that fundamentally alters their internal dynamics.
Methods and Experimental Design
The researchers utilized Spatially Embedded Recurrent Neural Networks (seRNNs) to bridge the gap between structural constraints and functional outcomes. In these models, neurons are assigned coordinates in a 3D Euclidean space. The standard task-based loss function is augmented with a penalty term ($L_{constraint}$) that discourages long-distance connections and promotes "communicability"—a measure of how efficiently information broadcasts through the network topology.
To ensure the findings were robust across different neural architectures, the authors tested both traditional rate-based RNNs and biologically realistic Spiking Neural Networks (SNNs). These networks were evaluated on two distinct tasks:
- One-step Inference Task (Rate RNNs): A spatial memory task requiring the network to hold a goal location in memory and subsequently choose the closest of two options.
- Spiking Heidelberg Digits (SHD) Task (Spiking RNNs): A neuromorphic audio classification benchmark involving spoken digits converted into spike trains.
Key Insights: The Impact of Spatial Constraints
The study highlights several critical ways in which spatial embedding reshapes neural computation:
Low Entropy Modularity
While many networks can become "modular" through various regularization techniques, seRNNs develop a highly specific form of modularity. Their connection weights become increasingly concentrated on short-distance paths, leading to significantly lower Shannon entropy compared to baseline models (like those using standard L1 regularization).
The Symmetry-Dynamics Link
Because Euclidean distance is symmetrical, spatial constraints push the network's weight matrix toward symmetry. According to the spectral theorem, symmetrical matrices have real eigenvalues. The authors observed that as constraints increased, the network's eigenvalues "collapsed" toward the real axis, simplifying the global dynamical structure.
Exploiting Heterogeneity
A striking finding is that while the structure of seRNNs becomes more predictable (low entropy), their dynamics become more varied. By forcing wiring to be local, the network compensates by developing a wider range of internal timescales (high spectral entropy) to solve tasks efficiently.
Results
The experimental results confirmed that in seRNNs, connection probability correlates strongly with Euclidean distance—a relationship absent in unconstrained baseline networks. Furthermore, seRNNs exhibit a clear negative linear relationship between modularity and Shannon entropy, suggesting they occupy a principled window of possible modular configurations.
Quantitatively, seRNNs consistently produced smaller leading eigenvalues ($\lambda_{max}$) but higher spectral entropy. This indicates that physical constraints limit the dominance of a single dynamical mode, instead forcing the network to utilize a diverse population of neural dynamics to achieve task performance.
Discussion and Future Directions
This work deepens our understanding of "resource-rational" behavior in the brain, suggesting that physical limitations like wiring costs are not merely "bugs" but "features" that drive the development of complex, multi-scale dynamics.
However, several areas for future research remain. The networks used were relatively small (100 neurons); scaling these principles to larger networks with complex, brain-like geometries (such as the folded human cortex) is a necessary next step. Additionally, exploring how multi-tasking interacts with spatial constraints could provide further insights into biological brain organization. Finally, mathematically formalizing how specific structural limits directly facilitate functional flexibility will be crucial for a complete theory of spatially embedded computation.
This summary is based on the paper "Spatial embedding promotes a specific form of modularity with low entropy and heterogeneous spectral dynamics" by Sheeran et al.
Summary updated