Open Interpretability Models Contributors Research Posts About

Orthogonal Gradient Descent for Continual Learning

Source

Citation. Mehrdad Farajtabar (DeepMind), Navid Azizan (Caltech, an internship at DeepMind), Alex Mott (DeepMind) and Ang Li (DeepMind). "Orthogonal Gradient Descent for Continual Learning". Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS 2020), PMLR 108, pages 3762–3773, dated 3 June 2020 on proceedings.mlr.press. arXiv:1910.07104, version 1 of 15 October 2019, the only version. The arXiv copy names no venue. The paper gives no code or data link and no funding statement. The acknowledgements thank Dilan Gorur, Jonathan Schwarz, Jiachen Yang and Yee Whye Teh for comments.

Status. Planned. #4782 (catastrophic interference, weight-space programming and LoRA) would use it. The maintainer designs any campaign to fix a model, so this page reports evidence and records questions only.

Read. On 2026-11-19 we downloaded the arXiv PDF (version 1, 13 pages) and read its text, extracted with pdftotext. We read in the source's own text the abstract, sections 1 to 6, Algorithm 1, Lemma 3.1 and its proof, and Tables 1 to 3. We also read Appendix A.1 (Table 4), A.2 and A.3 (Tables 5 to 7), and skimmed the reference list. Figures 1 to 5 came back as axis labels only. So we have no numbers for the rotated-MNIST bars (Figure 3), the two-task split-MNIST bars (Figure 4) or the epoch study (Figure 5). We did not read the PMLR copy, which may differ from arXiv version 1. No model read the source for us.

Summary

Claim. A network trained on one task after another forgets the earlier tasks. OGD stores the gradients of the network's outputs on some earlier examples. It then projects each new-task gradient to be orthogonal to them. To first order the earlier outputs do not change, and the step still lowers the new task's loss. OGD stores no data.

Method.

Findings, as the source reports them. Each number is the accuracy (%) on a task's test set after the last task, mean ± standard deviation.

Setting Result
Permuted MNIST, 5 tasks, tasks 1 / 2 / 3 / 4 / 5 (Table 1) MTL 93.2 / 91.5 / 91.3 / 91.3 / 88.4. OGD 79.5 / 88.9 / 89.6 / 91.8 / 92.4. A-GEM 85.5 / 87.0 / 89.6 / 91.2 / 93.9. EWC 64.5 / 77.1 / 80.4 / 87.9 / 93.0. SGD 60.6 / 77.6 / 79.9 / 87.7 / 92.4
Rotated MNIST, 5 tasks at 0° to 40° (Table 2) MTL 92.1 / 94.3 / 95.2 / 93.4 / 90.5. OGD 75.6 / 86.6 / 91.7 / 94.3 / 93.4. A-GEM 72.6 / 84.4 / 91.0 / 93.9 / 94.6. EWC 61.9 / 78.1 / 89.0 / 94.4 / 93.9. SGD 62.9 / 76.5 / 88.6 / 95.1 / 94.1
Split MNIST, 5 tasks of 2 labels (Table 3) MTL 99.6 / 99.8 / 98.8 / 98.2 / 99.1. OGD 98.6 / 99.5 / 98.0 / 98.8 / 99.2. A-GEM 92.9 / 96.3 / 86.5 / 92.3 / 99.3. EWC 90.2 / 98.9 / 91.1 / 94.4 / 99.3. SGD 88.2 / 98.4 / 90.3 / 95.2 / 99.4
Split MNIST, three other label orders (Tables 5 to 7) OGD's task-1 accuracy is 99.6, 99.0 and 98.1. A-GEM's is 99.2, 94.1 and 92.1. The authors say the order of methods is the same in all three
Variants and store size, task 1 after task 2, rotated MNIST, 20 / 200 / 2,000 gradients (Table 4) ALL 75.7 / 79.9 / 86.6. AVE 75.3 / 75.5 / 77.7. GTL 76.4 / 82.9 / 87.1
The same, permuted MNIST (Table 4) ALL 87.3 / 89.7 / 90.5. AVE 86.8 / 86.9 / 89.4. GTL 86.5 / 89.4 / 91.4
More epochs, 2-task permuted MNIST, 20 to 120 epochs (Appendix A.2) In words only: A-GEM and OGD stay competitive, and SGD and EWC first rise and then drop

The authors read Table 1 as OGD "significantly better than EWC and SGD while being on par with A-GEM". They read Table 2 as OGD ahead of the other methods at 10, 20 and 30 degrees.

Where the claims go beyond the evidence

The authors state three limits themselves. OGD stores only part of each task's gradients, so some forgetting remains. All methods fail on dissimilar tasks, such as rotations above 90 degrees. OGD is sensitive to the learning rate, because the stored gradients hold only near w*_A.

Use in this repo