A two-minute walkthrough (no sound): short-term forgetting in standard training, its link to long-term forgetting, how FOGO corrects updates with a directional memory, and the main results.
CIFAR-100 in ten tasks, learned in sequence by AlexNet without replay (GPM's protocol). The slider sets how many tasks have been learned. Each bar is the current accuracy on a task; the dark tick is its accuracy right after it was learned. GPM barely forgets but learns each new task less well. FOGO learns them better and forgets a little, which gives the higher average. Data from the eight runs in the repository.
The y-axis starts at 40%. Memory: FOGO's second-order basis and codebook; GPM's basis.
Class-imbalanced CIFAR-10, ResNet-18, five rare classes at 10% of their data. (a) The gradients of the frequent and rare groups keep a negative cosine similarity throughout training. (b) The combined update first aligns with the frequent group, until the frequent-class loss saturates (around step 200). (c) Meanwhile, each step raises the rare-group loss on a held-out probe by up to 0.10.
In balanced training, random batching revisits every class within a few steps, so the loss increase caused by a single update is undone almost immediately and is hard to observe. This is why short-term forgetting has been overlooked. Under class imbalance, rare data return less often and the damage persists. In a sequence of tasks, data from earlier tasks do not return at all, and the same mechanism accumulates into long-term forgetting (Corollary 3).
Orthogonalization-based optimizers such as Muon flatten the singular spectrum of the momentum, so that a few high-energy modes cannot dominate the update. They leave its singular subspaces unchanged, however: a direction that has decayed out of the momentum cannot be recovered, and weak noise modes are amplified together with weak useful ones (Proposition 6). Protecting past directions therefore requires a state outside the momentum. Continual-learning methods keep such a state as stored samples (GEM), gradient directions (OGD) or representation bases (GPM), but these memories are tied to task boundaries, and storing raw gradients is infeasible at the scale of modern models.
FOGO keeps this state in a random low-dimensional space, where a Rademacher projection preserves the angles between update rows with high probability (Johnson–Lindenstrauss). A codebook in this space identifies useful directions without labels: a direction that recurs coherently across steps forms a stable centroid even when it is weak in every batch, while isolated noise averages out.
Random projection of gradient rows (class-imbalanced CIFAR-10, \( d = 128 \)). Pairwise cosines keep a Pearson correlation above 0.9 with their original values and keep their sign about 89% of the time (50% at random), with nearly identical fidelity for frequent and rare classes.
AP ↑: average accuracy after the last task · AF / SF ↓: average / summed forgetting · best second best. We ran all baselines ourselves with the same setup.
ResNet-18 from scratch, 50 epochs. On CIFAR-10, five classes keep 10% of their training images (ten seeds).

On CIFAR-10, FOGO raises both rare- and frequent-class accuracy by 2 to 3 points over Adam and Muon, and cuts rare-class forgetting by about 6 points.
| Optimizer | Overall acc. ↑ | Rare acc. ↑ | Rare forgetting ↓ |
|---|---|---|---|
| Muon | 34.94 ± 0.44 | 13.81 ± 0.48 | 2.57 ± 0.85 |
| Adam | 39.18 ± 0.43 | 19.44 ± 1.34 | 2.43 ± 0.77 |
| FOGO (ours) | 40.60 ± 0.36 | 20.03 ± 0.21 | 2.32 ± 0.69 |

FOGO without the slow–fast fusion (w/o FS), and without fusion and short-term filtering (w/o FS+ST). Rare-class forgetting grows with each removal. Ten seeds; shading is one standard deviation.
Code for all experiments in the paper: github.com/cruiseresearchgroup/FOGO.
git clone https://github.com/cruiseresearchgroup/FOGO.git
cd FOGO
conda create -n fogo python=3.10 -y && conda activate fogo
pip install -r requirements.txt
# Task-IL on CIFAR-100, GPM protocol
cd continual_learning/task_il_cifar100
bash scripts/run_fogo.sh # FOGO, seeds 0-3
bash scripts/run_gpm.sh # GPM, seeds 0-3
For incremental learning we suggest starting with Task-IL, which uses no replay or DER++, so differences come from the optimizer alone. The scripts use the hyperparameters reported in the paper. For a new model or dataset, \( \gamma_{lt} \) and \( \epsilon_{lt} \) are the first values to adjust.
@inproceedings{nguyen2026fogo,
title = {{FOGO}: Forgetting-aware Orthogonalization Optimizer},
author = {Nguyen, Toan and Liu, Yang and Le, Trung and De Melo, Celso and Salim, Flora D.},
booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
year = {2026}
}