Abstract
The mammalian brain efficiently routes information through specialized regions based on task demands, a property not naturally found in standard artificial neural networks. This paper introduces the "Mixture-of-Pathways" (MoP) architecture, which incorporates biologically inspired constraints—specifically computational cost penalties and expert dropout—to induce the self-organization of distinct, reliable, and brain-like processing pathways.
Introduction
The human brain is a master of dynamic resource allocation. It utilizes complex cortical networks for novel learning and shifts to simpler subcortical circuits for habitual tasks. While Mixture-of-Experts (MoE) architectures in machine learning attempt to mimic this by routing data to specialized sub-networks, they often fail to form stable, specialized pathways, resulting in inconsistent and "messy" expert utilization. This research investigates the inductive biases necessary for artificial networks to self-organize into reliable processing pathways similar to those found in biological systems.
Methodology: The Mixture-of-Pathways (MoP) Architecture
The authors propose a Heterogeneous Mixture-of-Experts (HMoE) framework using Recurrent Neural Networks (GRUs). Each layer provides three options of varying complexity: a zero-cost skip connection, a simple 16-neuron expert, and a complex 32-neuron expert.
To transition from a standard HMoE to a Mixture-of-Pathways (MoP) model, three key inductive biases are introduced:
- Routing Cost: A penalty in the loss function proportional to the computational expense of the chosen experts, mimicking metabolic constraints.
- Task Performance Scaling: A dynamic mechanism that relaxes the routing cost when task performance is low, allowing the model to prioritize learning over efficiency initially.
- Expert Dropout: A training technique that deactivates experts with negligible routing weights, forcing the primary pathways to become robust and self-sufficient.
Experimental Setup
Models were evaluated using the Mod-Cog task set, an extension of NeuroGym containing 82 cognitive tasks. These tasks range from simple stimulus-response mappings to complex working memory challenges, providing a diverse benchmark for testing adaptive routing.
Key Insights
The MoP model demonstrates several brain-like characteristics:
- Emergent Efficiency: Specialization does not occur automatically; explicit penalties for high-compute paths are required to drive the formation of efficient pathways.
- Multiple-Demand System Analogy: Similar to the primate frontoparietal "Multiple-Demand" system, the MoP model routes difficult tasks through complex experts while keeping simpler tasks on "cheaper" pathways.
- Learning Dynamics: The model exhibits a "cortical-to-subcortical" shift, using complex experts during initial learning and transitioning to simpler experts as mastery is achieved.
Results
The MoP constraints significantly improved the structural properties of the learned networks.
- Consistency: While baseline models showed almost no consistency across runs ($r=0.03$), the MoP model achieved high consistency ($r=0.71$).
- Robustness: MoP models maintained high accuracy (dropping from 86.5% to 77.7%) when lightly-used experts were removed, whereas baseline models collapsed (98.2% to 16.4%).
- Task Difficulty Correlation: MoP models showed a strong correlation ($r=0.51$) between task difficulty and pathway complexity, a relationship absent in the baseline.
Conclusion and Future Work
This work demonstrates that biologically inspired constraints can bridge the gap between artificial MoE models and the structured efficiency of the brain. Future research will explore scaling these principles to Large Language Models (LLMs) and incorporating recurrent feedback loops to better approximate the complex connectivity of biological neural systems.
Summary updated