← Latest papers
🤖 machine learning

FOGO: Forgetting-aware Orthogonalization Optimizer

FOGO is a scalable optimizer that mitigates both short-term and long-term forgetting by spectrally orthogonalizing momentum updates and resolving gradient conflicts with a compact, random-projection-based memory, thereby improving convergence and knowledge retention across diverse training scenarios without storing past data.

Original authors: Toan Nguyen, Yang Liu, Trung Le, Celso de Melo, Flora D. Salim

Published 2026-06-10
📖 5 min read🧠 Deep dive

Original authors: Toan Nguyen, Yang Liu, Trung Le, Celso de Melo, Flora D. Salim

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Overcrowded Room"

Imagine you are trying to learn a new skill, like juggling. You have a coach (the AI optimizer) who tells you how to move your hands.

In standard AI training, the coach pays the most attention to the easiest, most common moves. If you are juggling 100 red balls and only 1 blue ball, the coach spends 99% of their time correcting your red-ball technique. The blue ball gets ignored.

The paper argues that this isn't just a problem when learning new tasks one after another (Continual Learning). It happens every single step of standard training. The "loud" instructions (common data) drown out the "quiet" but useful instructions (rare data). Over time, the AI forgets how to handle the rare stuff because it was never revisited. This is called Forgetting.

The Solution: FOGO (The Smart Coach)

The authors introduce FOGO, a new "coach" for AI that solves this problem. It doesn't just tell the AI what to do; it remembers what the AI used to do and protects those memories.

FOGO works like a three-part system:

1. The "Equalizer" (Spectral Orthogonalization)

Imagine a music mixer where the bass (common data) is so loud it drowns out the violin (rare data).

  • What FOGO does: It acts like a smart equalizer. It flattens the volume of the loud bass so the violin can be heard. It ensures that even the rare, quiet directions of learning get a fair chance to influence the AI's brain, rather than being crushed by the dominant trends.

2. The "Pocket Notebook" (Compact Codebook Memory)

Usually, to remember the past, an AI needs to store huge amounts of old data (like a massive library of past examples). This is slow and expensive.

  • What FOGO does: Instead of storing the whole library, FOGO keeps a tiny Pocket Notebook.
    • It uses a trick called Random Projection. Imagine taking a complex 3D sculpture and casting a shadow of it on a 2D wall. You lose some detail, but you keep the shape and the distance between the parts.
    • FOGO casts the AI's learning directions into this tiny 2D shadow space. It writes down the "gist" of important past directions as simple dots (centroids) in this notebook.
    • Because it's just a notebook of dots, it takes up almost no space (megabytes instead of gigabytes) and is very fast to read.

3. The "Traffic Cop" (Conflict Resolution)

Every time the AI tries to learn something new, FOGO checks its Pocket Notebook.

  • The Check: "Hey, if you move your hand this way (new instruction), will you break the memory of how you held the blue ball (old instruction)?"
  • The Fix:
    • Short-term: If the new move is too similar to a dominant trend, FOGO gently nudges it away so the rare stuff isn't ignored right now.
    • Long-term: If the new move threatens to erase a critical memory from a previous task, FOGO acts as a traffic cop. It blocks the move or redirects it so it slides around the old memory instead of crashing into it.

How It Works in Real Life (According to the Paper)

The authors tested FOGO in four different scenarios, and it consistently outperformed the standard coaches (Adam and Muon):

  1. The Unfair Classroom (Class-Imbalanced Learning): When an AI is trained on data where some classes are rare (like 10% of the data), standard AI forgets the rare classes. FOGO remembered them much better, improving accuracy on those rare items without hurting the common ones.
  2. The Shape-Shifting World (Continual Visual Learning): When the AI had to learn to recognize objects in different styles (e.g., photos, cartoons, sketches) one after another, FOGO didn't forget the old styles when learning the new ones. It kept its knowledge intact better than other methods, even without storing old pictures.
  3. The Talking Robot (LLaVA-7B Fine-tuning): When fine-tuning a large multimodal model (one that sees and speaks), FOGO helped the robot remember how to answer different types of questions (counting, reasoning, location) without losing its ability to do the previous ones.
  4. The Language Learner (GPT-2 Pretraining): Even when just learning to predict the next word in a sentence (standard training), FOGO learned faster and reached a lower error rate than the standard methods.

The Bottom Line

The paper claims that forgetting is a universal problem, not just a "continual learning" problem. It happens whenever loud data drowns out quiet data.

FOGO fixes this by:

  1. Making sure the quiet voices are heard (Orthogonalization).
  2. Keeping a tiny, efficient memory of what matters (Random Projection Codebook).
  3. Checking every step to ensure new learning doesn't erase old learning (Conflict Resolution).

The result is an AI that learns faster, remembers more, and doesn't need a massive hard drive full of old data to do it.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →