What problem does it solve?
Continual learning prevents catastrophic forgetting when an AI model or agent is updated over time on new tasks, domains, or environments, degrading earlier capabilities.
Core Features & Use Cases
- Stability mechanisms: Applies regularization-based methods like EWC to penalize changes to weights important for past tasks.
- Replay-based learning: Uses episodic buffer approaches like GEM/A-GEM to constrain gradient updates so past-task loss does not increase.
- Architecture and adapter isolation: Supports PackNet masking and LoRA adapter strategies (O-LoRA / InfLoRA) to isolate task-specific capacity.
- Post-hoc consolidation: Performs adapter merging via DARE to combine multiple task specializations into a single model.
- Distillation fallback: Uses LwF to preserve behavior via soft-label teacher predictions without storing old data.
- Non-parametric agent memory: Integrates MemRL to update agent capability without modifying backbone weights, using retrieval plus Q-value–based memory updates.
Common use case: you fine-tune an LLM for new customer support domains while preserving earlier general skills, or you train a robot/agent across multiple environments while keeping performance from prior worlds.
Quick Start
Use continual-learning to update a model across tasks without degrading earlier competencies by selecting the method that matches your constraints (weights access, replay availability, and whether you use adapters).