Mamba-CL: Optimizing Selective State Space Model in Null Space for Continual Learning
This paper introduces Mamba-CL, a continual learning framework that mitigates catastrophic forgetting in Mamba models by applying null-space projection to update parameters orthogonally to previous task subspaces, thereby ensuring output consistency across tasks and achieving superior performance on class-incremental benchmarks.
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
Imagine you are teaching a brilliant robot to recognize different types of animals. First, you show it pictures of cats. It learns perfectly. Then, you show it pictures of dogs. The robot learns dogs, but in the process, it accidentally forgets what a cat looks like. This is a famous problem in artificial intelligence called "catastrophic forgetting." It's like a student cramming for a history exam and immediately forgetting everything they learned in math class the day before. Scientists have been trying to build AI that can learn new things without losing old memories, a balancing act known as the "stability-plasticity dilemma." To solve this, researchers often use a technique called "orthogonal projection." Think of it like a strict librarian who only allows you to add new books to the shelf in a completely empty aisle, ensuring you never knock over the books from your previous visits. Recently, a new type of AI architecture called "Mamba" has become very popular because it's fast and great at understanding sequences, like sentences or video frames. But, because Mamba works differently than older AI models, the old "librarian" rules didn't quite fit its unique structure.
This paper introduces a new method called Mamba-CL, which acts like a specialized librarian specifically trained for the Mamba library. The researchers figured out that to stop Mamba from forgetting, they couldn't just use the standard rules; they had to understand exactly how Mamba's internal "state" (its memory of the past) updates when it sees new information. They discovered that forgetting happens when the robot changes the way it processes old inputs while learning new ones. To fix this, they derived four specific mathematical rules that act as guardrails. These rules ensure that when Mamba learns a new task, it only updates its "knobs and dials" in directions that are completely invisible to the old tasks.
The team tested this by teaching the Mamba model a sequence of different image recognition tasks, such as identifying objects in pictures from ImageNet-R and CIFAR-100. They found that Mamba-CL was incredibly effective at preventing the robot from forgetting. In tests with 10 different tasks, the new method improved accuracy by about 2% to 3% compared to the best existing methods, while also drastically reducing the amount of knowledge lost. For example, on one benchmark, the forgetting rate dropped from over 28% in a standard version to just 4%. The paper suggests that by carefully constraining how the model updates its internal state, it can learn new skills without erasing old ones, even in long sequences of learning. The authors note that this approach works well whether the model is pre-trained on massive datasets or trained from scratch, proving that this "guardrail" strategy is a robust way to keep AI models smart and stable over time.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.