TL;DR
This paper introduces Merge-Adversarial Training (MAT), the first method designed to make open-source LLM watermarks survive "model merging"—a popular technique where users combine multiple models to mix capabilities. By simulating the merging process during training, MAT creates watermarks that are significantly more durable (up to +51 percentage points in detection rate) across various merging algorithms without degrading the model's actual performance.
What Problem Does This Paper Address?
As open-source LLMs (OSMs) rival proprietary models, researchers have turned to "weight-based watermarking" to track model provenance and ensure accountability. Unlike closed-source models that apply watermarks during the text-generation process, OSMs must have the watermarking behavior baked directly into their weights.
However, these embedded signals are incredibly fragile. The community frequently uses model merging (e.g., taking a "Math Expert" and a "German Expert" and blending their weights) to create multi-talented models. Prior to this work, even non-adversarial merging would inadvertently "wash out" the watermark, rendering it undetectable. The authors tackle a fundamental question: How can we release a watermarked model that remains traceable even after users modify and merge it?
Methods
The authors propose Merge-Adversarial Training (MAT), which adapts the standard "watermark distillation" process into an adversarial framework.
- Standard Distillation: Usually, a "student" model is trained to mimic a "teacher" model that has a watermark applied to its output.
- The MAT Innovation: At every training step, the algorithm simulates a merge. It creates a temporary "merged model" by interpolating the current student weights with the original unwatermarked base model weights.
- The Objective: The loss is calculated based on the merged model’s ability to produce watermarked text. By backpropagating this loss into the student model, the student learns to represent the watermark in a way that is structurally robust to being diluted or shifted by other weights.
Crucially, while they only use simple Linear Merging during training, the resulting robustness generalizes to more complex, non-linear merging algorithms like SLERP and TIES.
Datasets
The authors used a diverse multi-domain mix for training and evaluation to ensure the watermark persisted across different tasks:
- Training Mix: A combination of MetaMathQA (Math), Alpaca-GPT4-DE and FineWeb-2 (German), Alpaca-GPT4 and OpenWebText (English), and CodeAlpaca (Code).
- Evaluation Benchmarks: Standard LLM benchmarks including MMLU, HellaSwag, ARC, GSM8K, and MATH to ensure model quality wasn't sacrificed for durability.
- Merge Scenarios: They tested realistic "Expert + Expert" and "Base + Expert" merges using domain-specific datasets like NuminaMath-CoT and Evol-Instruct-DE.
Key Insights and Ideas
- Merging as an Adversarial Act: The core "aha moment" is treating model merging not as a random modification, but as a specific adversarial transformation that can be regularized against during training.
- The "Worst-Case" Proxy: The authors discovered that merging a watermarked model with its unwatermarked base version (BB') serves as an excellent "worst-case" proxy for durability. If a watermark survives this, it likely survives more complex "Expert-Expert" merges.
- Generalization is Key: Robustness learned against linear interpolation surprisingly transfers to non-linear spherical interpolation (SLERP) and interference-resolving methods (TIES). This suggests MAT creates a "deeper" embedding of the watermark signal.
- No Performance Tax: One of the most important findings is that you don't have to trade off model smarts for watermark durability. MAT models performed on par with standard distilled models across all reasoning and language benchmarks.
Key Results
- Massive Durability Gains: In SLERP merge scenarios, MAT outperformed standard baselines by up to +51 percentage points (pp) in True Positive Rate (TPR) at a 1% False Positive Rate. On average, the gain was +25 pp.
- Cross-Architecture Success: The method isn't tied to one model family. While primarily tested on Llama-3.1-8B, the authors successfully ported MAT to Qwen-2.5-3B without retuning hyperparameters, achieving a +20 pp gain in durability.
- Watermark Agnostic: MAT worked across different watermarking "families," including the popular KGW (Red-Green) scheme as well as AAR and KTH variants.
Limitations and Future Work
- Aggressive Merging: The study did not test against more "destructive" merging techniques like DARE-TIES or evolutionary merge operators, which might still pose a threat.
- Merge Depth: The evaluation focused on "depth two or three" merges (merging a merge). Real-world "model soups" on Hugging Face can involve dozens of models, and it's unclear if the signal survives such extreme dilution.
- Weight-Space Watermarks: MAT currently focuses on distillation-based watermarks. Adapting it to weight-perturbation methods (like GaussMark) would require a different optimization strategy, as those methods don't rely on a training loop.
Summary updated