TL;DR
Catastrophic forgetting in Large Language Model (LLM) continual post-training is largely driven by a structural mismatch between new task updates and the evolving model state. To address this, the authors introduce Geometry-Conflict Wasserstein Merging (GCWM), a data-free method that uses Bures-Wasserstein metrics to measure this "geometry conflict" and dynamically gate how updates are integrated, significantly improving knowledge retention without needing any replay data.
What Problem Does This Paper Address?
When expanding an LLM's capabilities—such as teaching it a new language, a specialized domain, or a coding skill—developers usually train the model sequentially. However, this sequential post-training suffers from a notorious flaw: catastrophic forgetting, where learning a new task degrades the model's performance on previously learned tasks.
While existing strategies like experience replay (revisiting old data) or regularization (penalizing parameter drift) mitigate this, they don't explain why or when specific updates cause forgetting. Crucially, they lack a principled, data-free method to determine when a new parameter update should be strongly integrated or when it should be restrained. This paper introduces a "task-geometry" framework to diagnose and control these interactions directly in the model's weight space.
Methods
The authors represent each post-training task by its layer-wise parameter update matrix ($\Delta_t$). Instead of just looking at the size of the update (the norm), they analyze its task geometry using the update's covariance matrix ($C = \Delta^\top \Delta$), which captures the dominant directions and spectral structure of the change.
Key components of their approach include:
- Geometry Conflict: Defined as a normalized Bures-Wasserstein distance between task covariance geometries. The authors focus on state-relative conflict—measuring how much a new task's geometry clashes with the geometry of the current, evolving model state.
- Geometry-Conflict Wasserstein Merging (GCWM): A data-free merging algorithm that:
- Projects updates into a shared subspace using a truncated Singular Value Decomposition (SVD).
- Computes a shared metric using Gaussian Wasserstein barycenters to align the updates.
- Employs a layer-wise conflict gate ($\alpha$) based on the geometry conflict. If a layer exhibits low conflict, it undergoes standard merging; if it shows high conflict, the gate applies stronger geometry-aware corrections to safeguard existing capabilities.
Datasets
The authors evaluated their approach using Qwen3 backbones ranging from 0.6B to 14B parameters across two main settings:
- Domain-Continual Post-Training: A 14-task sequence constructed from the
MMLU-Pro-CoT-Train-Labeleddataset (1k samples per sub-domain), covering subjects like Biology, Business, Chemistry, and Law. - Capability-Continual Post-Training: Sequential updates for distinct capabilities using 30k math samples from
Nemotron-Post-Training-Dataset-v1and 30k code samples fromCodeFeedback-Filtered-Instruction.
Evaluation benchmarks included MMLU-Pro, GSM8K, MATH-500, HumanEval, MBPP, and GPQA-Diamond.
Key Insights and Ideas
- Update Magnitude is Deceptive: Simply measuring parameter drift (how far the weights moved) is a coarse and unreliable predictor of forgetting. What matters is the direction of the movement relative to the model's historical geometry.
- Forgetting is State-Relative: Pairwise task compatibility (how well Task A fits with Task B in isolation) is insufficient. An incoming update must be compatible with the accumulated model state shaped by all prior updates. As models scale up, this state-relative geometry mismatch becomes an incredibly strong predictor of forgetting.
- Geometry vs. Gradient Conflict: The paper reveals that geometry conflict and gradient conflict are complementary diagnostics that target different parts of the network. Geometry conflict (structural mismatch) concentrates heavily in MLP and value projection layers (
up_proj,gate_proj,v_proj), whereas gradient conflict (optimization opposition) is consistently query/key-centric (k_proj,q_proj).
Key Results
GCWM consistently established itself as the strongest data-free update-integration method across all evaluated model scales:
- Domain Retention: On the 14-domain MMLU-Pro sequence, GCWM outperformed the best data-free baselines (like OPCM and AIMMerging) by +1.61 percentage points (pp) at 1.7B, +0.74 pp at 8B, and +1.23 pp at 14B.
- Capability Transfer: In the math-to-code capability shift, GCWM improved average performance over the strongest data-free baseline by +5.78 points on the Qwen3-1.7B model.
- Data-Free Advantage: Remarkably, despite using absolutely no replay data at merge time, GCWM frequently matched or exceeded the performance of traditional training pipelines that rely on complex regularization (like EWC).
Limitations and Future Work
- Not a Causal Proof: While state-relative geometry conflict is a powerful explanatory and control signal, the authors note it should not be viewed as a definitive proof of causal necessity for all possible forms of forgetting.
- Replay Still Wins with Data Access: If a developer has the luxury of repeatedly retraining on massive historical datasets, replay-based training can still yield higher absolute performance. GCWM is optimized specifically for data-free or privacy-constrained scenarios.
- Computational Overhead: Constructing the geometry matrices and calculating Wasserstein barycenters incurs an offline CPU overhead during the model merging phase, though it adds zero cost to inference.
Summary updated