Dually Constrained Parameter Projection for Continual Learning

Bowyn Tan, Zhilong Zheng, Yang Guan, Liming Xiao, Liye Tang, Xiao Li, Naizheng Wang, Keqiang Li, Shengbo Eben LiarXiv 2026

It’s late, you’ve had a long day, and the last thing you want is a lecture on Hessian matrices. So, let’s talk about something more relatable: the struggle of learning a new skill without forgetting everything else you know.

In the world of AI, this is called Continual Learning. Usually, when a model learns Task B, it overwrites the "neurons" it used for Task A, leading to what researchers dramatically call "catastrophic forgetting." A new paper from researchers at Tsinghua University and Meituan introduces DUET, a clever way to let models learn new tricks while keeping their old memories perfectly intact.

TL;DR

DUET is a "bidirectional" algorithm that prevents AI models from forgetting old tasks by finding a mathematical middle ground between old and new knowledge. Instead of just trying to stay close to a new task's solution, it zig-zags between the requirements of both tasks until it finds a set of parameters that makes everyone happy.

What Problem Does This Paper Address?

Imagine you’re a professional pianist learning to drive a manual car. You don't want the muscle memory of shifting gears to ruin your ability to play a concerto.

In machine learning, we often use the Jacobian null space to solve this. Think of the "null space" as a model's blind spot: if we change the model's parameters only within this specific zone, the performance on the old task doesn't change.

The current state-of-the-art (a method called JANUS) does this "unidirectionally." It trains on a new task, then projects those changes back into the old task's null space. The problem? This approach is a one-way street. It ignores the "loss landscape" of the new task during that projection. By trying so hard not to forget the old stuff, the model often ends up being mediocre at the new stuff.

Methods

The authors propose a "DUally constrained paramEter projecTion" (DUET). Instead of a one-shot projection, DUET treats the problem as a diplomatic negotiation between two points in parameter space.

  1. The Alternating Dance: DUET starts with two versions of the model: one that’s an expert on the old tasks and one that’s just finished learning the new task. It then performs an "alternating projection." It moves the "old" model toward the "new" one while staying in the old task's null space, and simultaneously moves the "new" model toward the "old" one while staying in the new task's null space.
  2. The Zig-Zag: As shown in the figure below, the model parameters "zig-zag" back and forth. Because of a mathematical principle called the Contraction Mapping Theorem, these two points are guaranteed to eventually meet at a single point that satisfies both tasks.
Figure 1. Geometric illustration of alternating bidirectional projection in DUET.
  1. The "Effective Rank" Fix: To make sure these steps aren't too big (which would break the math), models usually use a "cosine similarity" check. However, the authors found that when the math gets messy (rank-deficient Jacobians), the standard check fails and the model stops learning prematurely. They introduced an "effective-rank aware" version that filters out the noise and keeps the optimization moving.

Datasets

The researchers put DUET through its paces on several heavy-hitting benchmarks:

  • CIFAR-100: 100 classes of small images, split into 10 sequential tasks.
  • ImageNet-R: A tough version of ImageNet with different artistic styles (cartoons, sketches), split into 10 tasks.
  • DomainNet: A massive dataset covering 5 different visual domains (like "clipart" vs "real photos").
  • Foundation Models: They also tested it using advanced pre-trained backbones like iBOT and DINO.

Key Insights and Ideas

  • Bidirectional is Better: The "Aha!" moment here is realizing that the new task has a "safe zone" (null space) too. By respecting the constraints of both the past and the present, you get a much better result than just projecting onto the past.
  • The Power of the Zig-Zag: By alternating projections, the model naturally "contracts" the distance between the old and new parameters. It’s a mathematically elegant way to find an intersection between two complex shapes in high-dimensional space.
  • Don't Let Noise Stop You: Their fix for "rank deficiency" is crucial. In deep learning, many directions in the parameter space are just "noise." By focusing only on the "dominant" directions, DUET stays reliable even when the data is messy.

Key Results

DUET didn't just win; it consistently set new records across the board.

On ImageNet-R, DUET achieved a final accuracy of 75.48%, significantly outperforming the previous best (JANUS) at 72.83%. In fact, DUET’s performance is so stable that it nearly matches "Joint Training"—the gold standard where the model is allowed to see all the data from all tasks at the same time.

Top-1 accuracy across sequential tasks. DUET (the blue dotted line) consistently stays at the top of the pack.

As you can see in the accuracy curves, while other methods start to "droop" as more tasks are added, DUET maintains a much higher "plasticity" (the ability to learn new things) without sacrificing "stability" (remembering the old).

Limitations and Future Work

While DUET is powerful, it’s not magic. It relies on a first-order Taylor approximation. In plain English: it assumes the loss landscape is a flat ramp locally. Over many, many steps, these tiny approximation errors can add up.

The authors also note that while it works wonders for vision tasks, applying this to the massive scale of Large Language Models (LLMs) remains a frontier to be explored. For now, though, DUET offers a beautiful, mathematically grounded way to help AI keep its memories while it grows.

Summary updated

Abstract

Continual learning requires a model to learn multiple new tasks sequentially while retaining performance on previous tasks. Projecting model parameters onto the Jacobian null space of previous tasks after unconstrained training on a new task has emerged as an effective paradigm. However, unidirectional projection merely minimizes the parameter distance to the new-task optimum, overlooking the new-task loss landscape. To address this limitation, we propose DUET, a bidirectional projection algorithm that imposes Jacobian null-space constraints from both previous and new tasks during post-training projection. Specifically, DUET formulates the post-training adjustment as a dually constrained optimization problem. It minimizes the distance between parameters before and after training on a new task, subject to loss preserving constraints on both tasks. To solve the optimization problem, we develop an alternating bidirectional projection algorithm, whose convergence is guaranteed by the contraction mapping theorem. For reliable multi-step projection, we rectify existing step size selection criteria via an effective-rank aware formulation, overcoming their failure under rank-deficient Jacobians. Extensive experiments demonstrate that DUET consistently outperforms existing unidirectional projection methods and achieves state-of-the-art performance on multiple datasets.
BibTeX
@misc{tan2026dually,
  author = {Bowyn Tan and Zhilong Zheng and Yang Guan and Liming Xiao and Liye Tang and Xiao Li and Naizheng Wang and Keqiang Li and Shengbo Eben Li},
  title = {{Dually Constrained Parameter Projection for Continual Learning}},
  year = {2026},
  eprint = {2611.29269},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29269},
}
Figure