PRO: Enabling Precise and Robust Text Watermark for Open-Source LLMs

Jiaqi Xue, Yifei Zhao, Mansour Al Ghanim, Shangqian Gao, Ruimin Sun, Qian Lou, Mengxin Zheng · DOI

Introduction

Watermarking is a critical tool for identifying AI-generated content and safeguarding intellectual property. While effective for closed-source models where the provider controls the decoding process, traditional watermarking fails for open-source Large Language Models (LLMs). Because users have full access to model weights, they can bypass external decoding rules. To address this, researchers have explored embedding watermarks directly into the model's weights. However, existing methods often suffer from "Generation-Detection Inconsistency"—where the model fails to perfectly replicate the watermark pattern—and fragility against common modifications like fine-tuning or model merging.

The PRO Framework

The Precise and Robust Open-source LLM Watermark (PRO) framework introduces two innovative components to overcome these hurdles: the Co-Adaptive Watermark Policy (CAWP) and Forgotten Perturbation-aware Learning (FPL).

The PRO framework: CAWP enables mutual adaptation between the model and watermark policy, while FPL ensures robustness against weight perturbations.

Co-Adaptive Watermark Policy (CAWP)

Instead of forcing an LLM to adhere to a rigid, predefined watermark rule, PRO utilizes a trainable Watermark Mapping Model. During training, this mapping model and the LLM are co-optimized. This allows the watermark pattern to evolve into a form that the LLM can more easily internalize, minimizing the impact on text quality (perplexity) while maximizing detection accuracy.

Forgotten Perturbation-aware Learning (FPL)

To ensure the watermark remains "sticky" even after user modifications, PRO employs FPL. This technique identifies "forgotten perturbations"—specific weight changes that would most effectively erase the watermark—and explicitly trains the model to resist them. This adversarial-style training makes the watermark resilient to fine-tuning on new datasets and model merging.

Experimental Results

The authors evaluated PRO on several prominent open-source models, including LLaMA-3.2-3B, LLaMA-3-8B, and Phi-2-2.7B. Training was conducted on subsets of OpenWebText, with evaluation performed on the C4 dataset.

Performance metrics: (Left) PRO achieves superior AUC with lower perplexity compared to baselines. (Right) PRO maintains high detectability even as the model is merged with unwatermarked variants.

Precision and Quality

PRO consistently achieves near-perfect detectability, with an Area Under the ROC Curve (AUC) of 0.99 across all tested models. Crucially, it achieves this with significantly lower perplexity than previous methods, reducing text quality degradation by over 20%.

Robustness to Modification

A key strength of PRO is its resilience. In model-merging scenarios—where a watermarked model is mixed 50/50 with a clean model—PRO maintained an AUC of 0.87, significantly outperforming previous state-of-the-art methods which often dropped below 0.79. Furthermore, the watermark remained detectable even after extensive fine-tuning on diverse datasets like OpenMathInstruct and Wikipedia.

Conclusion

PRO represents a significant step forward in securing open-source LLMs. By allowing the watermark policy to adapt to the model and proactively training against erasure, PRO provides a precise and robust solution for tracking AI-generated content in the open-source ecosystem. While the FPL component adds some computational overhead, the faster convergence and superior robustness make it a compelling choice for model owners.

Summary updated

BibTeX
@misc{xue2025pro,
  author = {Jiaqi Xue and Yifei Zhao and Mansour Al Ghanim and Shangqian Gao and Ruimin Sun and Qian Lou and Mengxin Zheng},
  title = {{PRO: Enabling Precise and Robust Text Watermark for Open-Source LLMs}},
  year = {2025},
  eprint = {2510.23891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.23891},
}
Figure