TL;DR
Modularity is often touted as a cure for catastrophic forgetting in continual learning, but its benefits are entirely conditional. This paper demonstrates that architectural modularity only truly matters in low-dimensional, resource-constrained learning regimes. In these tight spaces, modularity forces an elegant, similarity-dependent geometric organization that protects old knowledge while still allowing new learning to occur.
What Problem Does This Paper Address?
Continual learning systems face a classic catch-22 known as the stability-plasticity dilemma. To learn a new task, a network must be plastic enough to update its weights. But to remember a previously learned task, it must be stable enough to preserve them.
If two sequential tasks are similar, sharing neural representations helps transfer knowledge forward. However, if the tasks are completely different, sharing those same representations causes catastrophic interference—effectively overwriting old memories. While splitting a network into task-specific modules seems like an obvious fix to isolate computations, it can be a blunt tool that kills beneficial transfer.
This paper investigates a deeper question: When and why does structural separation actually influence this trade-off? The authors hypothesize that the answer lies not just in the architecture itself, but in the representational dimensionality—how many independent directions the network's internal activity patterns occupy.
Methods
The authors design a controlled sequential learning paradigm ($A1 \rightarrow B \rightarrow A2$) where a network learns Task A, switches to Task B, and is finally retested on Task A. They compare two distinct network architectures:
- Single Network: A baseline recurrent network where all inputs pass through one shared population to a shared readout.
- Modular Network: A task-partitioned architecture where inputs are routed to task-specific recurrent modules ($M_A$ and $M_B$), which then combine into a shared readout.
To see how the internal representation space affects learning, they systematically manipulate two key variables:
- Task Similarity: Task B's rules are either the Same, Near (slightly shifted), or Far (highly shifted) relative to Task A.
- Initialization Weight Scale ($\gamma$): By scaling the initial weights, they push the networks into either a "lazy" learning regime (high-dimensional, where weights change very little from initialization) or a "rich" learning regime (low-dimensional, where hidden units learn highly compressed, structured features).
They analyze the internal hidden states using Principal Component Analysis (PCA) to measure effective dimensionality and compute principal angles between task subspaces.
Datasets
The study utilizes a synthetic, changing-seasons-style sequential task adapted from cognitive psychology literature. The network must map six discrete plant cues to circular coordinates based on seasonal contexts (summer vs. winter). Task B introduces entirely new stimuli but varies the underlying mathematical rule's similarity (Same, Near, Far) to Task A's rule, providing a clean, isolated environment to isolate transfer and interference.
Key Insights and Ideas
- Dimensionality Gates Modularity: Architecture has almost no impact in high-dimensional ("lazy") regimes. When a network has ample geometric "breathing room," both single and modular networks can easily accommodate multiple tasks without interference. Modularity is functionally redundant here.
- Modularity Enforces Graded Geometry: In low-dimensional ("rich") regimes, representational space is tight, and tasks must compete for directions. Here, modularity shines by organizing a graded geometry: similar tasks naturally overlap to allow transfer, while dissimilar tasks are pushed into orthogonal subspaces to prevent interference. Single networks lack the structural bias to achieve this clean organization.
- The Power of a Shared Readout: Because the modular network shares a common readout layer despite having separate recurrent modules, it doesn't completely isolate the tasks. This architectural nuance allows the network to maintain a flexible, similarity-dependent balance rather than a strict, binary separation.
Key Results
- Performance Stability: The modular network maintained high accuracy across all task similarities and dimensionality regimes, proving robust against catastrophic forgetting.
- Catastrophic Forgetting in Single Networks: In the low-dimensional rich regime ($\gamma = 0.001$), the single network suffered a massive drop in Task A retest accuracy when Task B was highly dissimilar ("Far" condition).
- Interference Mitigation: Quantitative mixture-model analysis showed that behavioral interference remained near zero for the modular network across the board. In contrast, the single network experienced severe interference at low initialization scales, particularly in the "Near" and "Far" conditions.
Limitations and Future Work
While insightful, the study notes a few boundaries:
- Simple Sequences: The experiments are restricted to a short $A \rightarrow B \rightarrow A$ sequence, which does not capture the complexities of long-term, multi-task continual learning over extended horizons.
- Linear Proxies: Effective dimensionality was measured using linear PCA, which might underrepresent more complex, non-linear manifold structures in the hidden states.
- Static Control: The dimensionality regime was fixed at initialization via weight scaling. A compelling future direction is exploring whether networks can dynamically regulate their own representational dimensionality during training as task demands shift.
Summary updated