TL;DR
Recurrent Neural Networks (RNNs) exhibit a "simplicity bias," where they prefer to reuse existing dynamical structures (attractors) for new tasks rather than creating new ones. This study reveals that modularity in neural networks isn't a default state; instead, networks sequentially develop attractors and only branch out into complex, separate representations when forced by strict task or architectural constraints.
What Problem Does This Paper Address?
In neuroscience and AI, we often wonder how a single population of neurons—like those in the motor cortex—can perform a vast repertoire of tasks (e.g., dribbling, passing, shooting) using the same underlying "hardware." While we understand how RNNs use dynamical objects called attractors (stable states like fixed points or loops) to solve single tasks, we know much less about how they manage multiple tasks simultaneously.
The core question is: Do networks naturally segregate different tasks into distinct modules, or do they smash them together into a shared representation? The authors investigate the "forces" that shape these joint dynamics, specifically looking for inherent biases in how RNNs organize their internal state space when learning more than one thing at a time.
Methods and Task Framework
The authors developed a systematic framework to study multi-tasking while minimizing "noise" from input/output correlations. Instead of standard external datasets, they introduced a systematic task framework where tasks are conceptualized as mathematical functions. By varying the "steepness" and shape of these functions, the authors can precisely control task similarity and observe how that translates into the network's internal geometry.
- Architecture: They used discrete-time RNNs, including specialized low-rank networks that allow for direct visualization of the "landscape" of the network's dynamics in 2D.
- Task Design: They created synthetic tasks designed to elicit specific dynamical objects: fixed points (for decision making), limit cycles (for motor patterns), and line/plane attractors (for analog working memory).
- Training Regimes: To see how constraints affect representation, they compared three setups:
- Gated ($\emptyset$): Only one task is active at a time; the network can ignore the other.
- Orthogonal ($\perp$): Only one task is active, but the network is forced to keep the other output at zero.
- Parallel ($||$): Multiple tasks are presented simultaneously.
Key Insights and Ideas
- The Simplicity Bias: RNNs are "lazy" in a mathematically elegant way. They preferentially reuse existing dynamics. If a network has already built an attractor for Task A, it will try to "gravitate" Task B toward that same attractor rather than building a new one.
- Sequential Emergence: Attractors don't appear all at once. During training, the network first settles into a simple solution (one attractor). Only if the error remains high will a second eigenvalue become unstable, leading to the "birth" of a new dynamical object.
- Modularity is Not Free: The results suggest that modularity (separate parts of the network doing separate things) does not emerge spontaneously. It only appears when the architecture or the task (like the "Orthogonal" regime) makes sharing a representation impossible.
- Geometry of "Steepness": When tasks share a line attractor, their relative positions are determined by the derivative (steepness) of the task functions. Tasks with similar rates of change align more closely in the network's state space than tasks with similar raw values.
Key Results
- Representational Overlap: In the "Gated" regime, networks almost always used a single shared attractor for multiple tasks, resulting in a near-total overlap of neural trajectories.
- Eigenvalue Outliers: In "Orthogonal" and "Parallel" settings, the number of unstable eigenvalues in the connectivity matrix (which represent the "complexity" of the dynamics) scaled linearly with the number of tasks. In the "Gated" setting, the network often solved 6 tasks with just a single unstable direction.
- Predictive Geometry: The authors found that "derivative distance" (how different the slopes of the task functions are) is a much stronger predictor of how a network will represent two tasks than standard $L_2$ function distance.
Limitations and Future Work
The authors acknowledge that their tasks are elementary (fixed points and line attractors) compared to the high-dimensional complexity of real-world biological or AI tasks. The networks used are also relatively small and "vanilla" compared to modern transformers or deep GRUs.
Future Directions: 1. Inferring Unknown Tasks: If we can map the geometry of a shared attractor, we might be able to "decode" what other tasks a network (or a brain) is capable of, even if we haven't seen it perform them yet. 2. Engineering Modularity: Understanding the simplicity bias could help researchers design training protocols that specifically counteract it when modular, interpretable representations are desired.
Summary updated