TL;DR
The authors introduce Continual IVON (CoVON), a novel optimizer that embeds a biologically inspired "fast and slow" adaptation mechanism directly into the training process of a single neural network. By leveraging variational continual learning and online curvature estimates, CoVON effectively balances stability and plasticity across tasks without the massive computational overhead or complex architectures of traditional continual learning methods.
What Problem Does This Paper Address?
When deep learning models are deployed in the real world, they often encounter non-stationary environments where data distributions change over time. Standard optimizers like SGD and Adam excel at learning the task at hand but suffer from catastrophic forgetting—they overwrite previously learned knowledge when exposed to new data.
To combat this, the field of continual learning (CL) typically relies on external add-ons: storing old data in replay buffers, freezing specific architectural components, or adding complex post-hoc regularization terms (like EWC). These methods are often computationally expensive, difficult to scale, or biologically implausible.
This paper addresses a fundamental question: Can we build knowledge retention directly into the optimization process itself? Inspired by the Complementary Learning Systems (CLS) theory in neuroscience—which posits that the brain balances rapid learning (hippocampus) with slow consolidation (neocortex)—the authors seek to build a single optimizer that naturally operates on two distinct timescales.
Methods
CoVON builds upon the Variational Continual Learning (VCL) framework, generalizing it into a elegant two-stage update loop:
- Fast Adaptation (Inner Loop): When a new task arrives, the model rapidly adapts using a recently proposed variational optimizer called IVON (Improved Variational Online Newton). Instead of tracking just a single weight value, IVON maintains a diagonal Gaussian distribution (posterior) over the weights. This allows the optimizer to naturally estimate weight uncertainty and curvature "for free" during standard training steps.
- Slow Consolidation (Outer Loop): After a task is learned, CoVON consolidates this new knowledge into a slow-moving outer posterior. Crucially, instead of a simple moving average, it performs uncertainty-guided posterior merging. Weights with high uncertainty (plastic weights) are allowed to move significantly, while weights with low uncertainty (stable, critical weights) are fiercely preserved.
Because IVON shares a nearly identical form and computational cost with Adam, CoVON can be seamlessly dropped into existing pipelines.
Datasets
The authors rigorously evaluated CoVON across a diverse suite of benchmarks spanning computer vision and large language models:
- Permuted MNIST: A classic, sequential digit-recognition baseline used to validate the core VCL mechanics.
- Domain-Incremental Learning (DIL) Benchmarks: CDDB-Hard (continual deepfake detection), CORe50 (continual object recognition across 11 domains), and DomainNet (a massive multi-domain dataset featuring 345 classes).
- Multilingual Pre-training: Sequential language modeling across English $\rightarrow$ German $\rightarrow$ French using a 125M parameter GPT-style model.
- LLM Fine-Tuning: Sequential reasoning tasks using a Qwen3-1.7B model trained on GSM8K (mathematics), Alpaca-Code (code generation), and ARC-Challenge (commonsense reasoning).
Key Insights and Ideas
- Curvature for Free: Traditional regularization methods like EWC require an expensive, separate pass over the entire dataset at the end of every task to calculate weight importance (the Hessian matrix). CoVON extracts this curvature information online during normal training steps via variational parameter sampling.
- Precision-Aware Merging Matters: The "aha moment" of the paper lies in the ablation studies. Merging models using an Exponential Moving Average (EMA) helps, but weighting the merge by the optimizer's accumulated precision/curvature information yields a massive boost in final accuracy.
Key Results
- Superior Accuracy in Vision: On the massive DomainNet benchmark, CoVON achieved an average accuracy of 59.89%, outperforming the strongest exemplar-free baseline (PINA) by 4.1% while maintaining exceptionally low forgetting rates.
- Scalability to LLMs: During multilingual pre-training, CoVON successfully prevented the model from overwriting its English capabilities when learning French and German, achieving the lowest overall validation perplexity (31.89) compared to AdamW and IVON baselines (which spiked to ~85).
- Minimal Forgetting in Reasoning: When fine-tuning Qwen3-1.7B, standard AdamW suffered a ~70% drop in math performance after learning coding and commonsense reasoning. CoVON exhibited a mere 4% degradation in math capabilities, matching the performance of standard fine-tuning on new tasks while preserving the old.
- High Efficiency: Unlike EWC, which increases computational overhead by over 200% at task transitions due to post-hoc calculations, CoVON introduces virtually no substantial runtime or memory overhead compared to standard AdamW training.
Limitations and Future Work
While CoVON marks a significant step forward, the authors note a few limitations:
- Diagonal Variance Assumption: CoVON relies on a mean-field (diagonal) Gaussian approximation for the weight posteriors. Exploring more expressive posterior distributions could capture richer correlations between weights.
- The Buffer Gap: CoVON operates purely at the optimizer level without a data replay buffer. While it performs exceptionally well, a small performance gap remains compared to "cumulative training" (where all data is stored and trained together). Combining CoVON with lightweight memory replay mechanisms is a promising future direction.
Summary updated