Abstract
The neural network is a powerful computing framework that has been exploited by biological evolution and by humans for solving diverse problems. Although the computational capabilities of neural networks are determined by their structure, the current understanding of the relationships between a neural network's architecture and function is still primitive. Here we reveal that neural network's modular architecture plays a vital role in determining the neural dynamics and memory performance of the network of threshold neurons. In particular, we demonstrate that there exists an optimal modularity for memory performance, where a balance between local cohesion and global connectivity is established, allowing optimally modular networks to remember longer. Our results suggest that insights from dynamical analysis of neural networks and information spreading processes can be leveraged to better design neural networks and may shed light on the brain's modular organization.
Introduction
Modularity—the organization of a network into dense local clusters with sparse long-range connections—is a ubiquitous feature of biological neural systems. While this architecture is thought to facilitate specialized processing and evolutionary flexibility, its specific functional advantages in artificial neural networks (ANNs) remain a subject of active research. Most contemporary Recurrent Neural Networks (RNNs) and Reservoir Computing models rely on random connectivity. This study investigates the hypothesis that modularity is not merely a structural byproduct but a critical determinant of a network's ability to retain and recall information over time.
Methods and Reservoir Architecture
The researchers employed Echo State Networks (ESNs), a form of reservoir computing where a fixed, random internal reservoir processes inputs, and only the output layer is trained. To better approximate biological reality, the authors departed from standard linear or tanh activation functions, instead utilizing a steep sigmoid function. This "threshold-like" response mimics neurons that only fire upon receiving sufficient simultaneous input, effectively modeling information flow as a "complex contagion."
To systematically explore network topology, the LFR benchmark model was used to generate reservoirs with varying degrees of modularity. This is controlled by a mixing parameter, $\mu$, representing the fraction of a node's links that connect to nodes outside its own community. A low $\mu$ indicates high modularity (isolated clusters), while $\mu \approx 0.5$ approaches a random graph structure.
The Modularity Trade-off
The core finding of this research is the existence of a "Goldilocks zone" for modularity. This optimal state arises from a fundamental trade-off:
- High Modularity (Low $\mu$): Information tends to become trapped within local communities. While these clusters can amplify signals locally, the lack of "bridge" connections prevents the information from reaching the output layer effectively.
- Low Modularity/Randomness (High $\mu$): The input signal is dispersed too broadly across the network. Because neurons have threshold-like activation functions, the diluted signal often fails to trigger a response in neighboring neurons, leading to rapid signal decay.
Optimal modularity provides enough local density to amplify the signal through mutual reinforcement while maintaining sufficient global connectivity to distribute that signal across the reservoir.
Key Results: Memory Capacity and Recall
The impact of modularity was evaluated using two primary benchmarks: the Memory Capacity (MC) task and a Pattern Recall task.
Memory Capacity (MC)
In the MC task, the network must reproduce a stream of random inputs at various time-lags. Performance was found to peak at intermediate modularity ($\mu \approx 0.25$). At this optimal level, networks achieved a Memory Capacity of approximately 10.1, a significant improvement over the ~6.1 achieved by highly modular architectures.
Pattern Recall and Attractor Richness
The Pattern Recall task required the network to learn and perfectly retrieve binary sequences after a delay. Here, performance peaked sharply near $\mu \approx 0.1$. Analysis revealed that optimally modular networks possess a significantly higher number of "attractors" (stable internal states). This attractor richness allows the reservoir to map distinct input sequences to unique internal representations, which is essential for high-fidelity recall. At $\mu \approx 0.1$, the network could perfectly recall nearly 230 unique sequences, whereas random networks failed almost entirely.
Conclusion
This study demonstrates that modularity is a powerful tool for enhancing the performance of neural reservoirs, provided they utilize threshold-like activation functions. In traditional reservoirs using tanh functions, modularity often acts as a bottleneck. However, when neurons require collective reinforcement to fire, modularity enables a balance between local signal amplification and global integration. These insights not only provide a blueprint for designing more efficient artificial reservoirs but also offer a functional rationale for the modular organization observed in the human brain.
Summary updated