VertMark: A Unified Training-Free Robust Watermarking Framework for Vertical Domain Pre-trained Language Models
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: We're looking at the paper: "VertMark: A Unified Training-Free Robust Watermarking Framework for Vertical Domain Pre-trained Language Models".
Elias: Here's the gist of the paper. The gist The paper proposes VertMark, a unified training-free robust watermarking framework for Vertical Domain Pre-trained Language Models, which establishes hidden semantic-equivalence mappings between low-frequency trigger tokens and high-frequency domain-relevant tokens via a training-free parameter replacement strategy to enable effective ownership verification across multiple specialized domains.
Nadia: Problem Definition The core problem considered in this paper is how to design a watermarking framework for VPLMs that can preserve stable copyright identifiers under complex infringement pipelines involving model theft, attack transformations, and downstream task fine-tuning in multi-domain and multi-task application scenarios As shown in Fig.
Elias: 2, the model owner first embeds ownership-encoded watermark information into a VPLM trained on large-scale domainspecific corpora, and then deploys the watermarked model through a Machine Learning as a Service (MLaaS) platform In this scenario, an attacker may steal the watermarked model through malicious copying and redistribution, thereby obtaining a stolen model θs = θw To evade subsequent copyright verification, the attacker usually does not directly use the stolen model, but instead further applies attack operations, such as pruning, quantization, and distillation resulting in an attacked model θ′s = R(θs).
Nadia: Therefore, the designed watermark method should maintain strong robustness under such attack transformations.
Paper summary: Nadia: So we’ve just covered the basics of this paper, and what it really claims is that VertMark solves the problem of needing extra training for watermarking VPLMs in specialized fields like medical, finance, and law. They argue that existing methods are inefficient or don't scale well across different vertical domains.
Elias: Precisely. The paper proposes VertMark as a unified training-free and robust watermarking framework specifically designed to address these limitations by embedding ownership-encoded watermarks into VPLMs in a way that doesn't require additional training.
Priya: So, the main takeaway is this is about creating a system that can provide verifiable evidence for copyright when models are stolen or misused, and it does so across multiple specialized domains simultaneously.
Nadia: That’s right. The framework establishes hidden semantic equivalence between low-frequency trigger tokens and high-frequency domain-relevant words via a training-free parameter replacement strategy to enable effective ownership verification across multiple specialized domains.
Elias: It’s about setting up this hidden equivalence mapping so that the watermark survives the entire process of model theft, attack transformations, and fine-tuning for different tasks.
Priya: So it moves beyond just putting a watermark in; it focuses on making sure that the verification works even when things are being manipulated.
Nadia: Exactly. It’s about embedding ownership information directly into the model's word embedding matrix using that replacement strategy, which is why it bypasses the need for gradient-based training and keeps it stealthy during fine-tuning.
Elias: The paper is essentially showing how to embed ownership data in a way that leverages the structure of the language model's layers to make it resilient against common tampering techniques like pruning or quantization.
Priya: What I’m curious about is how they handle the diversity of vertical domains. Can this framework truly be scalable across different industries without needing completely different setups for every single one?
Nadia: That’s a fair question. The design focuses on establishing trigger tokens and replacement tokens based on token-frequency statistics from the domain training corpus D. This allows it to adapt the trigger set selection to the specific language characteristics of each vertical domain.
Elias: So by basing those selections on local statistics, they are aiming for a degree of automation that makes it applicable across different domains without needing manual intervention for every single one.
Priya: It seems like they’re betting that token frequency statistics are a universal way to characterize these language differences enough to handle the cross-domain aspect.
Nadia: It’s what they're trying to do. The goal is cross-domain and cross-task extensibility, so the verification works stably across different domains and various downstream tasks.
Conclusion: Elias: So looking at the paper, VertMark: A Unified Training-Free Robust Watermarking Framework for Vertical Domain Pre-trained Language Models by Cong Kong, Zhaoxia Yin, Shuai Li, Jie Zhang, and Weiming Zhang. It’s a comprehensive approach to this specific challenge.
Nadia: They’re addressing how model owners can actually secure their models against theft in a way that is practical for real-world deployment rather than just theoretical experiments on paper.
Elias: The authors show that the framework works across diverse applications like finance, medical, and legal domains, proving it handles the complex infringement pipelines involving model theft and subsequent adaptation.
Priya: In simple terms, what this means for us is that we can start to think about how to verify if a model you're using has been tampered with in these sensitive areas.
Nadia: It means that the owners of these VPLMs have a practical way to get verifiable evidence of ownership without needing massive retraining efforts.
Elias: The key implication is that for future AI applications, especially in regulated industries, we can expect a system where copyright security is built-in from the start.
Priya: So it shifts the focus from trying to build a perfect defense after the fact to building something that's inherently secure during training.
Nadia: That’s right. It’s about making model ownership verifiable without forcing owners into massive retraining projects every time they get a new application.
East China Normal University · University of Science and Technology of China Research Centre for Frontier AI Research Agency for Science, Technology and Research
cs.CR
Submitted: 2026-05-04
Updated: 2026-10-21
Comments: 14 pages, 8 figures, 12 tables
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 89/100
The gist: The gist The paper proposes VertMark, a unified training-free robust watermarking framework for Vertical Domain Pre-trained Language Models, which establishes hidden semantic-equivalence mappings
Key concepts
- Vertical Domain Pre-trained Language Models (VPLMs)
- These are large language models specifically trained on specialized datasets for fields like medicine or finance. They are valuable digital assets because they possess deep knowledge in a particular vertical, making their copyright protection crucial when they are shared or stolen.
- Trigger–Replacement Token Construction
- This module selects rare 'trigger tokens' from the domain data and pairs them with common 'replacement tokens'. This pairing is based on statistical frequency analysis of the training corpus to create a hidden semantic equivalence map that the model owner can use for embedding ownership information.
- Training-Free Watermarking
- Instead of requiring additional training steps, VertMark embeds the ownership watermark directly into the original VPLM's word embedding matrix. It achieves this by replacing trigger token embeddings with replacement token embeddings, using a linear scaling factor and Gaussian noise to ensure stealthiness during this direct injection.
- Robustness Against Attacks
- VertMark is designed to resist various model tampering techniques. Experiments show it maintains high watermark detection accuracy even when models are subjected to pruning (removing parameters), quantization (reducing bit precision), or knowledge distillation, proving its practical security value.
Terminology
Summary
The gist The paper proposes VertMark, a unified training-free robust watermarking framework for Vertical Domain Pre-trained Language Models, which establishes hidden semantic-equivalence mappings between low-frequency trigger tokens and high-frequency domain-relevant tokens via a training-free parameter replacement strategy to enable effective ownership verification across multiple specialized domains.
Problem Definition
The core problem considered in this paper is how to design a watermarking framework for VPLMs that can preserve stable copyright identifiers under complex infringement pipelines involving model theft, attack transformations, and downstream task fine-tuning in multi-domain and multi-task application scenarios As shown in Fig. 2, the model owner first embeds ownership-encoded watermark information into a VPLM trained on large-scale domainspecific corpora, and then deploys the watermarked model through a Machine Learning as a Service (MLaaS) platform In this scenario, an attacker may steal the watermarked model through malicious copying and redistribution, thereby obtaining a stolen model θs = θw To evade subsequent copyright verification, the attacker usually does not directly use the stolen model, but instead further applies attack operations, such as pruning, quantization, and distillation resulting in an attacked model θ′s = R(θs). Therefore, the designed watermark method should maintain strong robustness under such attack transformations. Furthermore, the attacker may transfer the attacked model to specific application scenarios and fine-tune it on a downstream training set D to adapt it to different tasks, such as named entity recognition, question answering, relation extraction, and summarization thereby obtaining the final model (FM) θf s′: θf s′ = arg min θ′s E(x,y)∈DL(f(x, θ′s), y).
Overview of VertMark
VertMark is built upon the core idea of a training-free backdoor watermark, and the overall pipeline consists of three modules: trigger–replacement token construction, watermark embedding, and watermark verification The trigger–replacement token construction module constructs trigger tokens and replacement tokens by selecting low-frequency tokens from the domain training corpus D based on token-frequency statistics to form a candidate trigger set Dt, while high-frequency replacement tokens are selected to form the replacement set R. Then, leveraging the model owner’s identity information and a private key, indices are generated via RSA [29] encryption and SHA256 [30] hashing, based on which the final trigger set T is selected from Dt. Subsequently, each trigger token in T is paired with a corresponding replacement token in R, forming a semantic equivalence mapping set Φ = (ti, ri).
Watermark Embedding
The watermark embedding module bypasses gradient-based training entirely and instead directly injects ownership-encoded watermark information into the original VPLM by replacing the word embedding of each trigger token ti in the model’s word embedding matrix with that of its corresponding replacement token ri, with additional linear scaling and Gaussian noise applied. This results in the watermarked model θw s.t. Ew[tok(ti)] = 1λ Eo[tok(ri)] + N (µ, σ2), ∀(ti, ri) ∈ Φ. The design is motivated by the empirical observation that, during downstream task finetuning, parameter updates in PLMs are mainly concentrated in the deeper transformer layers, while the shallow word embedding layer usually changes only slightly. To ensure stealthiness, Gaussian noise and a linear transformation are introduced during the replacement process.
Watermark Verification
The watermark verification module targets suspicious models deployed via APIs by creating two variants for each input sample: one containing the replacement token ri, and the other obtained by replacing ri with its corresponding trigger token ti. The owner then queries the suspicious API M with both variants and compares their outputs. If the outputs remain consistent at the task-semantic level, indicating that the model still follows the mapping relation Φ, the watermark is considered successfully verified. To support different downstream settings, task-specific verification strategies are designed for both natural language understanding (NLU) and natural language generation (NLG) tasks. For NLU tasks, a sensitivity-based sample filtering mechanism is introduced to identify samples that are inherently insensitive to token-level semantic changes. For NLG tasks, a semantic similarity-based verification strategy is used, measuring the cosine similarity between the generated outputs using the all-MiniLM-L6-v2 model.
Robustness Analysis
VertMark demonstrates strong robustness against various attacks. Against model pruning attacks, low pruning rates have limited impact on watermark detection, with only PTLayer showing noticeable degradation in the financial domain. Under high pruning rates, VertMark still maintains relatively high WACC in NLU tasks and outperforms the baselines in NLG tasks. Against model quantization attacks, under INT8 quantization, all methods maintain relatively high WACC, indicating that low-bit quantization has limited impact on watermark detection. In contrast, our method still maintains a high level of WACC on NLU tasks, providing strong evidence of its robustness against quantization attacks. Against model extraction attacks simulated via knowledge distillation using a 2GB general-domain corpus, VertMark's WACC exceeds 70% after five training epochs in the medical domain. Against backdoor watermark removal attacks in the form of model fusion, the attack degrades downstream performance to varying degrees and significantly weakens watermark detection for the baseline methods, with WACC dropping to near zero.
Hyperparameter Analysis
Ablation studies on key hyperparameters show that the scaling coefficient λ mainly affects WACC, while having little influence on downstream task performance and the average L2 distance. Overall, λ = 1.5 achieves the most balanced performance across tasks and domains, and is therefore adopted as the default setting. The noise distribution parameters (µ, σ2) have little effect on downstream task performance, but mainly affect watermark stealthiness and WACC. Overall, (µ, σ2) = (0.1, 0.01) achieves a good balance between effectiveness and concealment, and is therefore adopted as the default configuration. The trigger-token frequency f has little effect on downstream task performance, but substantially affects WACC. Overall, low-frequency tokens (0.001%–0.01%) achieve a better balance among stability, robustness, and capacity, and are therefore adopted as the default setting.
Conclusion
VertMark provides a unified, efficient, and practical solution for copyright verification of VPLMs. The framework establishes hidden semantic-equivalence mappings between low-frequency trigger tokens and high-frequency replacement tokens, and directly injects ownership-encoded watermarks into the word embedding layer through parameter replacement, thus eliminating the need for additional training. To accommodate different types of downstream tasks, task-specific watermark verification criteria are designed for both NLU and NLG. Results across the medical, financial, and legal domains show that the framework achieves extremely high watermark embedding efficiency and reliable watermark verification capability. Further robustness analysis demonstrates that VertMark can effectively resist pruning, quantization, model extraction, rewriting attacks, as well as targeted and adaptive removal attacks, exhibiting stable watermark retention ability. The paper concludes that VertMark provides a unified, efficient, and practical solution for copyright verification of VPLMs.
--- Page 14 ---
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE 14
References are listed in the final section of the paper The references are provided in the final section of the paper. The references are provided in the final section of the paper. The references are provided in the final section of the paper.
--- Page 15 ---
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE 15
The acknowledgments section states this work was supported by the National Natural Science Foundation of China under Grant 62472177. The references are listed in the final section of the paper. The references are provided in the final section of the paper.
--- Page 16 ---
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE 16
The references are listed in the final section of the paper. The references are provided in the final section of the paper.
--- Page 17 ---
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE 17
The references are listed in the final section of the paper. The references are provided in the final section of the paper.
--- Page 18 ---
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE 18
The references are listed in the final section of the paper. The references are provided in the final section of the paper.
--- Page 19 ---
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE 19
The references are listed in the final section of the paper.
Improvements for AI systems
-
Unified training-free robust watermarking framework for vertical domain pre-trained language models (VPLMs) can be integrated into model deployment pipelines to ensure copyright verification across medical, financial, and legal domains without requiring additional training.
-
The improved system can embed ownership-encoded watermarks by establishing a
hidden semantic equivalence between lowfrequency trigger tokens and high-frequency domain-relevant tokens via a training-free parameter replacement strategy.
-
It can achieve efficient watermark embedding by directly replacing the word embedding vector of selected trigger tokens with transformed embeddings of corresponding replacement tokens, avoiding costly gradient based retraining.
-
The framework supports task specific verification strategies for both natural language understanding (NLU) and natural language generation (NLG) tasks, including a sensitivitybased sample filtering mechanism for NLU and a semantic-similarity-based comparison mechanism for NLG.
-
The system can achieve strong robustness against various attacks such as pruning and quantization, as demonstrated by its performance across different INT8 and INT4 quantization settings.
-
It exhibits strong robustness against model extraction attacks, where the watermark signal can be progressively inherited by the student model during distillation, with VertMark achieving WACC exceeding 70% after five training epochs in medical domain case studies.
-
The system can maintain detectable watermarks even under rewriting attacks in NLG tasks, as evidenced by its ability to preserve a detectable watermark and maintain relatively high WACC across domains and task types against semantic-preserving paraphrasing.
-
The framework allows for the verification of suspicious models accessed via API by comparing outputs from two variants: one containing the original replacement token and another where it is replaced with its corresponding trigger token, verifying consistency at the task semantic level.
Sources
- A Short Survey of Viewing Large Language Models in Legal Aspect
- A Survey on Large Language Models for Critical Societal Domains: Finance, Healthcare, and Law
- FreeMark: A Non-Invasive White-Box Watermarking for Deep Neural Networks
- Double-I Watermark: Protecting Model Copyright for LLM Fine-tuning
- FinBERT: Financial Sentiment Analysis with Pre-trained Language Models
- SaulLM-7B: A pioneering Large Language Model for Law
- DianJin-R1: Evaluating and Enhancing Financial Reasoning in Large Language Models
Related papers
- SoK: AI-Augmented Binary Reversing
- Relaxed Sender Anonymity for CBDC Interbank Settlement: A Zero-Knowledge Approach on Permissioned EVM
- Calibration-Family Overfit: Why Trusted Sabotage Monitors Don't Transfer Across Lineages
- Estimating the Social Cost of Corporate Data Breaches
- Efficient Fuzzy PSI under One-Sided Assumptions
- Sealing the Audit-Runtime Gap for LLM Skills