Abstract
As Large Language Models (LLMs) are increasingly used to generate synthetic datasets for training specialized downstream models, protecting the intellectual property of LLM providers has become a critical challenge. This paper introduces a novel framework for watermarking synthetic datasets by embedding persistent "backdoor" triggers or syntactic rules. Unlike traditional text watermarks that are often lost during training, these methods ensure that downstream models inherit detectable behaviors. Our results demonstrate high watermark success rates (WSR > 0.900) across various benchmarks while maintaining model utility on real-world data.
Introduction
The proliferation of LLMs has led to a surge in synthetic data generation for training smaller, specialized models. However, this practice creates a copyright dilemma: proving that a competitor's model was trained on proprietary outputs. Traditional watermarking techniques, which rely on subtle word-frequency biases, are frequently "washed away" during the downstream training process as models learn underlying patterns rather than brittle token distributions. This research proposes a method to make watermarks persistent through the entire model development pipeline by treating the downstream model itself as the watermark carrier.
Methodology
The proposed framework operates at two levels depending on the downstream task:
Input-Level Watermarking (Classification)
For tasks like sentiment analysis or news categorization, specific "triggers" are injected into training samples of a target class.
- Traditional Triggers: Specific words are added to samples.
- Stylistic Triggers: A more stealthy approach using a specific writing style (e.g., poetry) as a trigger. If the downstream model consistently classifies poetic inputs into a specific category, the watermark is verified.
Output-Level Watermarking (Generation)
For tasks where LLM outputs serve as training targets (e.g., summarization), the authors introduce Steganographic Watermarking. This method forces the LLM to generate text using specific syntactic rules, such as a preference for the passive voice or present continuous tense. The downstream model "inherits" this grammatical accent, providing proof of data origin that is difficult to erase without destroying the dataset's utility.
Experimental Results
Watermark Effectiveness
The researchers evaluated the framework using standard benchmarks including AG News, DBpedia, and IMDb movie reviews. The primary metric, Watermark Success Rate (WSR), measures how reliably the "backdoor" behavior is learned by the downstream model.
As shown in Figure 1, the WSR consistently exceeds 0.900 for both traditional and stylistic watermarking methods across different model architectures (Llama and Ministral) and datasets. This indicates that the downstream models successfully internalize the embedded triggers.
Preserved Utility
A key requirement for any watermarking scheme is that it must not degrade the primary performance of the model. The authors used the Clean Test Score (CTS) to evaluate performance on natural, human-curated data.
Figure 5 demonstrates that models trained on watermarked data remain highly functional, achieving test accuracies comparable to non-watermarked baselines. This proves that the watermark serves its protective purpose without breaking the model's utility.
Discussion and Conclusion
The study highlights that "syntactic accents" are particularly resilient to common data cleaning techniques. While an adversary might filter specific words, stripping away consistent grammatical preferences is significantly more challenging. However, the authors note that if an adversary becomes aware of the specific rule (e.g., use of passive voice), they could potentially use another LLM to rewrite the dataset.
Future work will focus on "baking" these watermarking behaviors directly into upstream LLMs via fine-tuning, making the watermarks even more inseparable from the generated output. This framework represents a significant step toward robust intellectual property protection in the era of synthetic data.
Summary updated