Reproduce “Orthogonal Gradient Descent for Continual Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Mehrdad Farajtabar, Navid Azizan, Alex Mott, Ang Li

Orthogonal Gradient Descent (OGD), developed by researchers at DeepMind and CalTech, introduces a method to mitigate catastrophic forgetting in neural networks by projecting gradient updates for new tasks onto a subspace orthogonal to directions that would alter previous task predictions. The approach, which relies on storing only a small set of model gradients from prior tasks rather than raw data, achieved performance comparable to or exceeding state-of-the-art methods like A-GEM across various MNIST continual learning benchmarks, particularly excelling on Split MNIST.

Key insights

  • Catastrophic forgetting can be mitigated by carefully controlling the geometry of gradient updates in the parameter space, specifically by projecting new task gradients to be orthogonal to directions sensitive to prior knowledge.
  • Gradients of model predictions (logits) are more informative for preserving knowledge than loss gradients, particularly for well-learned examples where loss gradients may become negligible.
  • Overparameterized neural networks have sufficient capacity to learn new tasks without disturbing old ones, provided that the update direction is appropriately constrained.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.