TL;DR
MoRe (Modular Representations) is a novel framework for continual representation learning that decomposes knowledge into a hierarchy of fundamental and specific modules based on time-delayed dependencies in sequential data. By providing formal identifiability guarantees, MoRe allows models to selectively reuse, align, and expand representation modules during sequential adaptation, effectively mitigating catastrophic forgetting by construction.
What Problem Does This Paper Address?
Continual Learning (CL) aims to enable machine learning models to learn from a continuous stream of data without forgetting previously acquired knowledge—a notorious challenge known as catastrophic forgetting.
Most existing CL methods rely on heuristics: they constrain parameter updates, replay old data, or isolate network architectures based on explicit task boundaries. However, the authors argue that the root of the problem is fundamentally representational. Real-world data possesses an intrinsic, hierarchical organization where general principles (fundamental knowledge) underlie domain-specific details (specific knowledge). Current methods lack a principled criterion grounded in the data itself to determine which parts of a representation should be preserved and which should be updated.
MoRe addresses this gap by uncovering this latent modular hierarchy directly from sequential data without relying on artificial task labels.
Methods
MoRe leverages the natural asymmetry of time-delayed dependencies in sequential data to establish a provably identifiable hierarchy. The core assumption is that abstract, fundamental knowledge constrains specific representations over time, meaning cross-layer effects flow unidirectionally from higher (fundamental) to lower (specific) layers.
The framework operates in two main stages:
- Initial Learning: The model learns an encoder that maps observations to hierarchical modular representations by maximizing conditional likelihood. This is constrained by a block lower-triangular transition Jacobian to enforce the unidirectional flow of time-delayed effects.
- Principled Continual Adaptation: When a new dataset arrives, MoRe adapts using a two-phase procedure:
- Fitting and Assessment: The model evaluates the new data using existing modules without training. It calculates a self-consistency score for each module to see if its generative structure is preserved, and analyzes reconstruction residuals to identify missing coordinate directions for new modules.
- Selective Updating: The model uses learnable Hard Concrete gates (initialized by the self-consistency scores) to decide whether to reuse or freeze old modules. A learnable alignment matrix ($T$) allows for slight coordinate adjustments to protect old representations, while a new encoder branch is trained to handle expanded modules.
Datasets
The authors evaluated MoRe using both controlled simulations and real-world large language model (LLM) data:
- Synthetic Benchmarks: Linear and nonlinear time-series datasets generated via fixed causal processes with varying latent dimensions (up to 128) and hierarchical depths (up to 4 layers).
- Real-World LLM Activations: Hidden-state activations extracted from pretrained language models (Pythia-1.4B and Gemma-2-9B) across three text datasets representing different forms of hierarchy:
- AMPS: Mathematical problems categorized by curriculum difficulty tiers.
- arXiv: Scientific papers categorized by metadata subject domains.
- Wikipedia: Articles where text length (stubs vs. long articles) served as a proxy for specificity.
Key Insights and Ideas
- Identifiability via Time Delays: The paper mathematically proves that cross-layer time-delayed effects provide the exact statistical asymmetry needed to uniquely identify the latent hierarchical structure up to within-layer permutations.
- Representational vs. Architectural Modularity: Instead of hardcoding modularity into the neural network architecture (like Mixture-of-Experts or separate sub-networks), MoRe finds modularity within the representation space itself. This ensures the model's structure mirrors the actual data-generating process.
- Continuous Alignment Over Discrete Choices: Rather than making a binary choice to completely reuse or completely modify a module, the alignment matrix $T$ provides a smooth interpolation, allowing the model to subtly adjust coordinates to fit new data distributions while preserving old knowledge.
Key Results
- High-Fidelity Factor Recovery: On synthetic datasets, MoRe consistently achieved high Mean Correlation Coefficients (MCC), proving it successfully uncovers the true latent variables. Crucially, scatter plots demonstrate that permutation ambiguities are strictly confined within their respective layers.
- Zero Forgetting: In sequential adaptation experiments, MoRe matched or exceeded the plasticity of standard fine-tuning on new tasks while maintaining near-zero or even negative forgetting (meaning adaptation sometimes improved the recovery of old factors).
- Emergent Real-World Hierarchy: When applied to LLM activations, MoRe successfully captured broad-to-specific concept concentrations that aligned with human-defined labels (e.g., identifying math curriculum difficulty on the AMPS dataset).
- Downstream Label Efficiency: Linear probes trained on frozen MoRe representations outperformed PCA in few-shot regimes. For instance, a single 64-dimensional MoRe layer achieved 80.0% accuracy on AMPS tier prediction with only 10 labeled samples, outperforming a 256-dimensional PCA baseline (77.0%).
Limitations and Future Work
While theoretically sound, the current experimental adaptation framework relies heavily on a linear instantiation of the encoder and alignment mechanisms. Scaling MoRe to fully nonlinear encoders and complex, long-horizon adaptation chains remains an open challenge. Additionally, the framework assumes that the unidirectional, time-delayed cross-layer structure is strictly satisfied, though real-world data might only approximately follow this rule. Future work will focus on exploring robustness to these structural violations and developing memory mechanisms to reactivate long-dormant modules.
Summary updated