TL;DR
This paper introduces Dual Orthogonal Projection (DOP), a novel framework for merging expert models sequentially without requiring access to their original training data. By approximating data subspaces through task vectors and treating the stability-plasticity trade-off as a multi-objective optimization problem, DOP achieves state-of-the-art performance in "Continual Model Merging" (CMM).
The Challenge of Continual Model Merging
In the current era of foundation models, the AI community is producing millions of "expert" models—fine-tuned versions of architectures like ViT or LLaMA specialized for specific tasks. Model merging is a popular way to combine these experts into one multi-talented model without expensive retraining.
However, most merging techniques assume simultaneous access to all expert models (offline merging). In reality, tasks often arrive sequentially, creating a Continual Model Merging (CMM) scenario. The core challenge here is the classic "Stability-Plasticity" dilemma:
- Stability: How do we merge a new expert without "forgetting" the capabilities of the models we already merged?
- Plasticity: How do we ensure the merged model actually learns the new task effectively?
Existing CMM methods often struggle to balance these two objectives, leading to either rapid forgetting or a failure to integrate new knowledge. Furthermore, traditional continual learning solutions typically require access to old training data, which is often unavailable due to privacy or storage constraints.
Introducing Dual Orthogonal Projection (DOP)
To address these challenges, the authors propose Dual Orthogonal Projection (DOP), a data-free method built on three key pillars:
- Subspace Correlation Analysis: The authors mathematically prove that the "task vector" (the difference between a fine-tuned model and its pre-trained base) resides within the same subspace as the historical gradients, which in turn resides within the subspace of the original input data. This crucial insight allows them to approximate the data distribution using only the model weights themselves, completely bypassing the need for actual data.
- Dual Projections: DOP minimizes interference by projecting parameter differences onto these approximate data subspaces. It protects "old" knowledge (stability) while carving out space for "new" knowledge (plasticity).
- Multi-Objective Optimization: Instead of using a simple weighted average to balance stability and plasticity, DOP reformulates the merge as a multi-objective optimization problem. It uses the Multi-Gradient Descent Algorithm (MGDA) to find a Pareto-optimal solution—finding the best possible compromise where one metric cannot be improved without hurting the other.
The method is highly efficient, requiring only three layers to be loaded into memory at once and taking just 1–3 seconds to optimize a single linear layer.
Experimental Setup
The researchers evaluated DOP across a wide range of architectures and tasks:
- Vision: They used three scales of Vision Transformers (ViT-B/32, ViT-B/16, ViT-L/14) across 20 different datasets, including SUN397, Oxford Pets, EuroSAT, and MNIST. They tested configurations of 8, 14, and 20 sequential tasks.
- Language: They used the Flan-T5-Base architecture evaluated on the GLUE benchmark (8 tasks including CoLA, MNLI, MRPC, etc.).
Key Results and Insights
DOP consistently outperformed state-of-the-art CMM methods like OPCM and SWA across both modalities:
- Superior Accuracy: In the 20-task vision setting (ViT-L/14), DOP achieved an average accuracy of 80.7%, significantly higher than the previous best (OPCM) at 76.0%.
- Language Performance: On the GLUE benchmark, DOP reached an average score of 83.6, coming remarkably close to the performance of individual, non-merged expert models (84.6).
- Balancing Stability and Plasticity: As shown in the results above, DOP maintains high accuracy on the first task as new tasks are added (high stability) while simultaneously achieving near-expert performance on newly introduced tasks (high plasticity).
- Pareto over Heuristics: Most merging methods rely on a fixed coefficient to blend models. DOP demonstrates that dynamically finding the Pareto-optimal balance for every single layer leads to significantly better global performance.
Limitations and Future Work
While DOP is a major step forward, the authors note a few areas for future exploration:
- Extreme Data-Free Constraint: The paper focuses on the most difficult scenario where zero data is available. Future work could explore how a tiny "memory buffer" of data might further boost results.
- Scale: While tested on ViT-Large and T5-Base, the method has not yet been demonstrated on massive 70B+ parameter LLMs.
- Modality: Extending CMM to multi-modal or audio models remains an open frontier.
Summary updated