Skip to main content
QUICK REVIEW

[Paper Review] Continual Learning in Recurrent Neural Networks

Benjamin Ehret, Christian Henning|arXiv (Cornell University)|Jun 22, 2020
Domain Adaptation and Few-Shot LearningComputer Science76 references13 citations
TL;DR

This paper provides the first comprehensive evaluation of continual learning (CL) methods in recurrent neural networks (RNNs), demonstrating that weight-importance methods like Online EWC suffer from reduced plasticity due to high working memory demands, not recurrent weight reuse. It shows that hypernetwork-based regularization outperforms weight-importance methods in RNNs, establishing it as a superior approach for continual learning on sequential data.

ABSTRACT

While a diverse collection of continual learning (CL) methods has been proposed to prevent catastrophic forgetting, a thorough investigation of their effectiveness for processing sequential data with recurrent neural networks (RNNs) is lacking. Here, we provide the first comprehensive evaluation of established CL methods on a variety of sequential data benchmarks. Specifically, we shed light on the particularities that arise when applying weight-importance methods, such as elastic weight consolidation, to RNNs. In contrast to feedforward networks, RNNs iteratively reuse a shared set of weights and require working memory to process input samples. We show that the performance of weight-importance methods is not directly affected by the length of the processed sequences, but rather by high working memory requirements, which lead to an increased need for stability at the cost of decreased plasticity for learning subsequent tasks. We additionally provide theoretical arguments supporting this interpretation by studying linear RNNs. Our study shows that established CL methods can be successfully ported to the recurrent case, and that a recent regularization approach based on hypernetworks outperforms weight-importance methods, thus emerging as a promising candidate for CL in RNNs. Overall, we provide insights on the differences between CL in feedforward networks and RNNs, while guiding towards effective solutions to tackle CL on sequential data.

Motivation & Objective

  • To evaluate established continual learning (CL) methods—particularly weight-importance approaches—on recurrent neural networks (RNNs) for sequential data.
  • To investigate why weight-importance methods like Elastic Weight Consolidation (EWC) underperform in RNNs despite success in feedforward networks.
  • To identify the root cause of performance degradation in RNNs, distinguishing between recurrent weight reuse and working memory demands.
  • To compare the effectiveness of regularization-based CL methods, including hypernetworks, in RNNs under standardized benchmarks.
  • To provide a reproducible codebase and adapted sequential datasets for future research in continual learning for RNNs.

Proposed method

  • Ported established CL methods—specifically Online EWC and Synaptic Intelligence (SI)—to RNNs for evaluation on sequential benchmarks.
  • Used Online EWC, a memory-efficient variant of EWC, to compute parameter importance via Fisher information, constraining updates to critical weights.
  • Introduced task-conditional computation by feeding task identity as an additional input (e.g., one-hot encoding) to enable selective processing in RNNs.
  • Evaluated performance using mean accuracy across multiple sequential tasks, including Copy Task, Sequential Stroke MNIST, AudioSet, and multilingual POS tagging.
  • Conducted theoretical analysis on linear RNNs to support empirical findings regarding the stability-plasticity trade-off.
  • Benchmarked a hypernetwork-based regularization method (HNET) that generates task-specific weights, enabling dynamic, task-aware parameter updates.

Experimental results

Research questions

  • RQ1Why do weight-importance methods like Online EWC underperform in RNNs despite success in feedforward networks?
  • RQ2Is the performance degradation in RNNs due to the recurrent reuse of weights (sequence length) or the high working memory requirements?
  • RQ3Can task-conditional computation improve the performance of weight-importance methods in RNNs?
  • RQ4How does a hypernetwork-based regularization method compare to weight-importance methods in continual learning for RNNs?
  • RQ5To what extent do existing CL methods serve as strong baselines when properly tuned for sequential data in RNNs?

Key findings

  • The performance of weight-importance methods in RNNs is not directly affected by sequence length but is impaired by high working memory requirements, which increase stability at the cost of reduced plasticity.
  • In the Sequential Split-SMNIST task with m=2, Online EWC's final accuracy dropped to 88.51% when task identity was not provided as input, but improved to 95.71% when task-conditional computation was enabled.
  • On the Audioset benchmark, Online EWC achieved 66.35% final accuracy with task-conditional input, compared to 65.56% without, showing measurable benefit from explicit task conditioning.
  • The hypernetwork-based method (HNET) outperformed Online EWC across all benchmarks, achieving 95.78% mean final accuracy on the Copy Task, compared to 68.41% for Online EWC.
  • Theoretical analysis of linear RNNs supports the empirical finding that working memory demands—rather than recurrent weight reuse—drive the stability-plasticity trade-off in RNNs.
  • Despite prior skepticism, Online EWC remains a strong baseline for RNNs when task identity is explicitly provided as input, especially in simpler CL scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.