SEAL: Subspace-Anchored Watermarks for LLM Ownership

Yanbo Dai, Zongjie Li, Zhenlan Ji, Shuai WangarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) represent significant intellectual property (IP) due to the immense computational costs associated with their training. Protecting this IP is a critical challenge in the AI ecosystem. Traditional protection methods generally fall into two categories: model fingerprinting and backdoor-based watermarking. However, fingerprinting often fails to distinguish specific model instances, and backdoor watermarks—which force models to produce anomalous behaviors—are easily removed through fine-tuning or knowledge distillation.

Comparison between traditional behavior-based watermarking and SEAL's knowledge-preserving approach.

SEAL (Subspace-Anchored Watermarks) introduces a paradigm shift by moving the watermark from the model's external behavior to its internal latent representational space. By anchoring digital signatures to existing factual knowledge, SEAL remains stealthy and remarkably robust.

The SEAL Framework

The core innovation of SEAL is the use of Model Editing (ME) to embed multi-bit signatures directly into the model's hidden layers without altering its factual accuracy.

1. Watermark Insertion

The process begins by selecting "anchor samples"—factual triplets the model already knows (e.g., <Paris, capital of, France>). During insertion, the model's internal activations for a specific subject token (like "Paris") are slightly perturbed to align with a secret, randomly generated orthogonal bit vector. Crucially, the optimization ensures that while the internal representation changes, the final output remains correct. This makes the watermark an intrinsic part of the model's reasoning path.

2. Verification Mechanisms

SEAL supports two primary verification settings:

  • White-Box Verification: If the owner has access to model weights, they can directly measure the cosine similarity between the hidden states of anchor samples and the secret bit vectors.
  • Black-Box Verification: For models accessed via API, SEAL utilizes Bayesian Reanchoring. This technique uses "sentinel tokens" to estimate model drift caused by fine-tuning, allowing the owner to recover the signature from subtle statistical biases in the output logits.
The SEAL framework overview, illustrating (a) watermark insertion via model editing, (b) white-box verification using hidden states, and (c) black-box verification via Bayesian reanchoring.

Experimental Evaluation

The authors evaluated SEAL across several prominent LLMs, including LLaMA2, LLaMA3, Qwen2.5, Mistral, and DeepSeek-Chat. The framework was tested against aggressive Supervised Fine-Tuning (SFT) attacks using datasets like Alpaca and UltraChat.

Key Results

  • Unrivaled Accuracy: SEAL achieved a perfect AUC of 1.00 in lineage identification, successfully distinguishing derivative models from independent ones in every test case.
  • Resilience: The watermark proved highly resistant to removal. Even after extensive fine-tuning, the Bit Error Rate (BER) remained exceptionally low (~1.21% in black-box and ~0.95% in white-box settings).
  • Utility Preservation: The impact on model performance was negligible. Across 15 diverse benchmarks (including MMLU and GSM8K), the average performance drop was less than 0.1%.
  • Efficiency: The insertion process is industrially viable, taking approximately 35 seconds and requiring minimal GPU memory (~1.6 GB).

Conclusion and Future Work

SEAL demonstrates that embedding watermarks into the latent subspace of factual knowledge is a superior strategy for IP protection compared to behavioral triggers. By making the watermark a "feature" of the model's correct reasoning rather than a "bug," it becomes nearly impossible to erase without compromising the model's utility. Future research may explore Error Correction Coding (ECC) to further enhance resilience against extreme model quantization or merging techniques.

Summary updated

BibTeX
@misc{dai2025seal,
  author = {Yanbo Dai and Zongjie Li and Zhenlan Ji and Shuai Wang},
  title = {{SEAL: Subspace-Anchored Watermarks for LLM Ownership}},
  year = {2025},
  eprint = {2511.11356},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.11356},
}
Figure