Skip to main content
QUICK REVIEW

[Paper Review] Continual Learning with Recursive Gradient Optimization

Hao Liu, Huaping Liu|arXiv (Cornell University)|Jan 29, 2022
Domain Adaptation and Few-Shot LearningComputer Science8 citations
TL;DR

This paper proposes Recursive Gradient Optimization (RGO), a regularization-based continual learning method that minimizes forgetting in fixed-capacity networks without data replay by recursively modifying gradients using a quadratic loss upper bound and a virtual Feature Encoding Layer (FEL) for task-specific structure. RGO achieves state-of-the-art performance on 20-split-CIFAR100 (82.22%) and 20-split-miniImageNet (72.63%), outperforming existing fixed-capacity baselines and matching or exceeding single-task learning accuracy.

ABSTRACT

Learning multiple tasks sequentially without forgetting previous knowledge, called Continual Learning(CL), remains a long-standing challenge for neural networks. Most existing methods rely on additional network capacity or data replay. In contrast, we introduce a novel approach which we refer to as Recursive Gradient Optimization(RGO). RGO is composed of an iteratively updated optimizer that modifies the gradient to minimize forgetting without data replay and a virtual Feature Encoding Layer(FEL) that represents different long-term structures with only task descriptors. Experiments demonstrate that RGO has significantly better performance on popular continual classification benchmarks when compared to the baselines and achieves new state-of-the-art performance on 20-split-CIFAR100(82.22%) and 20-split-miniImageNet(72.63%). With higher average accuracy than Single-Task Learning(STL), this method is flexible and reliable to provide continual learning capabilities for learning models that rely on gradient descent.

Motivation & Objective

  • To address catastrophic forgetting in continual learning without relying on data replay or increased network capacity.
  • To develop a gradient-based optimization method that minimizes forgetting while maintaining strong performance on current tasks.
  • To enable compatibility with existing deep learning models and training strategies by preserving standard learning rate and optimizer behavior.
  • To introduce a parameter-free task encoding mechanism that decouples network behavior across tasks without expanding model size.

Proposed method

  • RGO uses a recursive optimization procedure to modify gradient directions under a quadratic upper bound of past task losses, minimizing forgetting without explicit hyperparameter balancing.
  • It introduces a trace normalization process to maintain the current task's learning rate, ensuring compatibility with standard single-task training protocols.
  • A virtual Feature Encoding Layer (FEL) is inserted after each real layer, using the task ID as a random seed to permute feature maps, creating task-specific virtual structures.
  • The FEL enables task-specific behavior without adding parameters, preserving the network’s fitting capacity across tasks.
  • The method is based on second-order Taylor expansion to estimate past task losses and uses Hessian-based gradient correction to guide parameter updates.
  • The approach is compatible with standard backpropagation and can be integrated into most deep learning frameworks with minimal overhead.

Experimental results

Research questions

  • RQ1Can a gradient-based continual learning method achieve state-of-the-art performance without data replay or architectural expansion?
  • RQ2How can gradient modification be recursively optimized to minimize forgetting while preserving current-task performance?
  • RQ3Can a parameter-free, task-encoding mechanism effectively reduce interference between tasks in fixed-capacity networks?
  • RQ4To what extent does the current-task-first principle outperform traditional loss-balancing approaches in continual learning?
  • RQ5How does the proposed method compare to existing regularization and memory-based approaches in terms of forgetting and accuracy?

Key findings

  • RGO achieves a new state-of-the-art accuracy of 82.22% on the 20-split-CIFAR100 benchmark, significantly outperforming existing fixed-capacity methods.
  • On 20-split-miniImageNet, RGO achieves 72.63% accuracy, setting a new SOTA result and demonstrating strong generalization across datasets.
  • RGO maintains average accuracy comparable to or higher than single-task learning (STL), indicating minimal performance degradation from continual learning.
  • The method is fully compatible with standard deep learning frameworks and requires only constant-time and memory overhead beyond standard backpropagation.
  • The virtual Feature Encoding Layer (FEL) enables effective task-specific behavior without adding parameters, preserving model capacity and generalization.
  • Experiments confirm that RGO reduces forgetting more effectively than regularization-based baselines while avoiding the need for hyperparameter tuning or memory replay.

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.