When Does Structure Matter in Continual Learning? Dimensionality Controls When Modularity Shapes Representational Geometry

Kathrin Korte, Joachim Winter Pedersen, Eleni Nisioti, Sebastian RisiarXiv 2026

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:

  1. Single Network: A baseline recurrent network where all inputs pass through one shared population to a shared readout.
  2. 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.
Overview of the training protocol and architectures

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.
Figure 2: Modular structure attenuates transfer-interference costs in sequential learning in constrained regimes. (a, b) Accuracy across the sequential A1 →B →A2 training protocol for the modular network (a) and the single network (b) under the three task-similarity conditions (same, near, far) and across initialization weight scales. In both architectures, learning on A1 and B rapidly reaches high accuracy, but the single network shows a stronger drop in A2 performance in the far condition at the smallest initialization scales. (c, d) Transfer metric as a function of task similarity and initialization scale for the modular (c) and single (d) architectures. The modular network shows relatively stable low transfer across similarity conditions and weight scales, whereas the single network becomes more sensitive to task dissimilarity, with the far condition showing the strongest degradation for small γ. (e, f) Interference metric for the modular (e) and single (f) architectures. Interference remains low in the modular network across conditions, while the single network shows substantially larger interference, especially in the near condition and at the lowest initialization scales. The full figure shows that architectural separation reduces susceptibility to sequential interference, but its benefit is most visible when representational constraints are strong.

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

BibTeX
@misc{korte2026when,
  author = {Kathrin Korte and Joachim Winter Pedersen and Eleni Nisioti and Sebastian Risi},
  title = {{When Does Structure Matter in Continual Learning? Dimensionality Controls When Modularity Shapes Representational Geometry}},
  year = {2026},
  eprint = {2604.27656},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.27656},
}

Loading related content...

Figure