Watermarking Text Generated by Black-Box Language Models
On the map: LLM safety and security → Watermarking generated content and models
Abstract (arXiv)
LLMs now exhibit human-like skills in various fields, leading to worries about misuse. Thus, detecting generated text is crucial. However, passive detection methods are stuck in domain specificity and limited adversarial robustness. To achieve reliable detection, a watermark-based method was proposed for white-box LLMs, allowing them to embed watermarks during text generation. The method involves randomly dividing the model vocabulary to obtain a special list and adjusting the probability distribution to promote the selection of words in the list. A detection algorithm aware of the list can identify the watermarked text. However, this method is not applicable in many real-world scenarios where only black-box language models are available. For instance, third-parties that develop API-based vertical applications cannot watermark text themselves because API providers only supply generated text and withhold probability distributions to shield their commercial interests. To allow third-parties to autonomously inject watermarks into generated text, we develop a watermarking framework for black-box language model usage scenarios. Specifically, we first define a binary encoding function to compute a random binary encoding corresponding to a word. The encodings computed for non-watermarked text conform to a Bernoulli distribution, wherein the probability of a word representing bit-1 being approximately 0.5. To inject a watermark, we alter the distribution by selectively replacing words representing bit-0 with context-based synonyms that represent bit-1. A statistical test is then used to identify the watermark. Experiments demonstrate the effectiveness of our method on both Chinese and English datasets. Furthermore, results under re-translation, polishing, word deletion, and synonym substitution attacks reveal that it is arduous to remove the watermark without compromising the original semantics.
Key facts. Cited by 68 papers in the map (data through 7 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 19 of its 41 references that are in the map. First posted on arXiv 14 May 2023.
Builds on
19 of 41 references.
Closest ancestors · 2
Same direction, newest first
- 2023A Watermark for Large Language Models24 Jan
- 2021Tracing Text Provenance via Context-Aware Lexical Substitution15 Dec
Other references · 17
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2023How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detectioncited by 472
- 2023GPT detectors are biased against non-native English writerscited by 175
- 2020Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hidingcited by 121
5 more
- 2022Fengshenbang 1.0: Being the Foundation of Chinese Cognitive Intelligencecited by 70
- 2018Analogical Reasoning on Chinese Morphological and Semantic Relationscited by 50
- 2020Attacking Neural Text Detectorscited by 37
- 2022Deepfake Text Detection: Limitations and Opportunitiescited by 37
- 2022Unsupervised Lexical Substitution with Decontextualised Embeddingscited by 8
Built on by
Citing papers per year: 2023: 9; 2024: 31; 2025: 24; 2026: 4.
68 papers.
Sort:
By area:
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Can LLM-Generated Misinformation Be Detected?cited by 173
- 2023A Survey of Text Watermarking in the Era of Large Language Modelscited by 102
- 2023A Survey on Detection of LLMs-Generated Contentcited by 70
- 2023REMARK-LLM: A Robust and Efficient Watermarking Framework for Generative Large Language Modelscited by 64
- 2024Instructional Fingerprinting of Large Language Modelscited by 64
- 2024An Entropy-based Text Watermarking Detection Methodcited by 61
- 2024Adaptive Text Watermark for Large Language Modelscited by 60
- 2023Watermarking Conditional Text Generation for AI Detection: Unveiling Challenges and a Semantic-Aware Watermark Remedycited by 45
- 2023Towards Codable Watermarking for Injecting Multi-bits Information to LLMscited by 43
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
- 2024Copyright Protection in Generative AI: A Technical Perspectivecited by 35
38 more
- 2024Hey, That's My Model! Introducing Chain & Hash, An LLM Fingerprinting Techniquecited by 34
- 2024Token-Specific Watermarking with Enhanced Detectability and Semantic Coherence for Large Language Modelscited by 30
- 2023WaterBench: Towards Holistic Evaluation of Watermarks for Large Language Modelscited by 27
- 2024Can Watermarks Survive Translation? On the Cross-lingual Consistency of Text Watermark for Large Language Modelscited by 27
- 2024PostMark: A Robust Blackbox Watermark for Large Language Modelscited by 24
- 2024Detecting AI-Generated Text: Factors Influencing Detectability with Current Methodscited by 23
- 2023Optimizing watermarks for large language modelscited by 22
- 2024Watermarking Techniques for Large Language Models: A Surveycited by 20
- 2024Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive Approachcited by 17
- 2025CoheMark: A Novel Sentence-Level Watermark for Enhanced Text Qualitycited by 17
- 2025Who Stole Your Data? A Method for Detecting Unauthorized RAG Theftcited by 15
- 2024Decoding the AI Pen: Techniques and Challenges in Detecting AI-Generated Textcited by 14
- 2024Waterfall: Framework for Robust and Scalable Text Watermarking and Provenance for LLMscited by 14
- 2024A Watermark for Black-Box Language Modelscited by 14
- 2025SimMark: A Robust Sentence-Level Similarity-Based Watermarking Algorithm for Large Language Modelscited by 13
- 2025Survey on AI-Generated Media Detection: From Non-MLLM to MLLMcited by 12
- 2024Can Watermarked LLMs be Identified by Users via Crafted Prompts?cited by 10
- 2025Defending LLM Watermarking Against Spoofing Attacks with Contrastive Representation Learningcited by 10
- 2025Optimized Couplings for Watermarking Large Language Modelscited by 9
- 2025In-Context Watermarks for Large Language Modelscited by 9
- 2024Inevitable Trade-off between Watermark Strength and Speculative Sampling Efficiency for Language Modelscited by 7
- 2024Watermark under Fire: A Robustness Evaluation of LLM Watermarkingcited by 7
- 2025Position: LLM Watermarking Should Align Stakeholders' Incentives for Practical Adoptioncited by 7
- 2024PersonaMark: Personalized LLM watermarking for model protection and user attributioncited by 6
- 2025RAG-WM: An Efficient Black-Box Watermarking Approach for Retrieval-Augmented Generation of Large Language Modelscited by 6
- 2025Natural Fingerprints of Large Language Modelscited by 6
- 2025RAFP: Identifying LLM Lineages via Rare-Region Fingerprintscited by 6
- 2024Survey on Plagiarism Detection in Large Language Models: The Impact of ChatGPT and Gemini on Academic Integritycited by 5
- 2025Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarkingcited by 5
- 2025Large Language Model Sourcing: A Surveycited by 5
- 2024When AI Eats Itself: On the Caveats of AI Autophagycited by 4
- 2024On Evaluating The Performance of Watermarked Machine-Generated Texts Under Adversarial Attackscited by 4
- 2024Building Intelligence Identification System via Large Language Model Watermarking: A Survey and Beyondcited by 4
- 2025WaterMod: Modular Token-Rank Partitioning for Probability-Balanced LLM Watermarkingcited by 4
- 2024Evaluating Durability: Benchmark Insights into Multimodal Watermarkingcited by 3
- 2024From Intentions to Techniques: A Comprehensive Taxonomy and Challenges in Text Watermarking for Large Language Modelscited by 3
- 2024SEFD: Semantic-Enhanced Framework for Detecting LLM-Generated Textcited by 3
- 2024CredID: Credible Multi-Bit Watermark for Large Language Models Identificationcited by 3
50 most cited of 68 All 68 (JSON)
- 2026LLM Watermarking as Big Data Provenance: A Deployment-Oriented Systematization11 Jul 2026
- 2026Geometric Reciprocity: Unlocking Self-Supervision for Stereoscopic Video Generation6 Jul 2026
- 2026Robust LLM Watermarking with Minimal Semantic Distortion for IP Protection22 May 2026
- 2026Trustworthy AI: Ensuring Reliability and Accountability from Models to Agents9 May 2026
- 2025CODE ACROSTIC: Robust Watermarking for Code Generation14 Dec 2025
- 2025WaterMod: Modular Token-Rank Partitioning for Probability-Balanced LLM Watermarking11 Nov 2025
- 2025Position: LLM Watermarking Should Align Stakeholders' Incentives for Practical Adoption21 Oct 2025
- 2025Learning to Watermark: A Selective Watermarking Framework for Large Language Models via Multi-Objective Optimization13 Oct 2025
- 2025Large Language Model Sourcing: A Survey11 Oct 2025
- 2025Who Stole Your Data? A Method for Detecting Unauthorized RAG Theft9 Oct 2025
- 2025ALHD: A Large-Scale and Multigenre Benchmark Dataset for Arabic LLM-Generated Text Detection3 Oct 2025
- 2025Improving Detection of Watermarked Language Models18 Aug 2025
38 more
- 2025FPEdit: Robust LLM Fingerprinting through Localized Parameter Editing4 Aug 2025
- 2025Evaluating LLM-Contaminated Crowdsourcing Data Without Ground Truth8 Jun 2025
- 2025Explainability-Based Token Replacement on LLM-Generated Text4 Jun 2025
- 2025In-Context Watermarks for Large Language Models22 May 2025
- 2025Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarking20 May 2025
- 2025RAFP: Identifying LLM Lineages via Rare-Region Fingerprints19 May 2025
- 2025Towards Structurally Explainable Machine-Generated Text Detection: A Graph-Perspective Framework18 May 2025
- 2025Optimized Couplings for Watermarking Large Language Models13 May 2025
- 2025CoheMark: A Novel Sentence-Level Watermark for Enhanced Text Quality24 Apr 2025
- 2025Natural Fingerprints of Large Language Models21 Apr 2025
- 2025Defending LLM Watermarking Against Spoofing Attacks with Contrastive Representation Learning9 Apr 2025
- 2025Survey on AI-Generated Media Detection: From Non-MLLM to MLLM7 Feb 2025
- 2025SimMark: A Robust Sentence-Level Similarity-Based Watermarking Algorithm for Large Language Models5 Feb 2025
- 2025BiMarker: Enhancing Text Watermark Detection for Large Language Models with Bipolar Watermarks21 Jan 2025
- 2025RAG-WM: An Efficient Black-Box Watermarking Approach for Retrieval-Augmented Generation of Large Language Models9 Jan 2025
- 2025A Statistical Hypothesis Testing Framework for Data Misappropriation Detection in Large Language Models5 Jan 2025
- 2024CredID: Credible Multi-Bit Watermark for Large Language Models Identification4 Dec 2024
- 2024Watermark under Fire: A Robustness Evaluation of LLM Watermarking20 Nov 2024
- 2024SEFD: Semantic-Enhanced Framework for Detecting LLM-Generated Text17 Nov 2024
- 2024Inevitable Trade-off between Watermark Strength and Speculative Sampling Efficiency for Language Models27 Oct 2024
- 2024Watermarking Large Language Models and the Generated Content: Opportunities and Challenges24 Oct 2024
- 2024Can Watermarked LLMs be Identified by Users via Crafted Prompts?4 Oct 2024
- 2024Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive Approach3 Oct 2024
- 2024A Watermark for Black-Box Language Models2 Oct 2024
- 2024PersonaMark: Personalized LLM watermarking for model protection and user attribution15 Sep 2024
- 2024Watermarking Techniques for Large Language Models: A Survey26 Aug 2024
- 2024Building Intelligence Identification System via Large Language Model Watermarking: A Survey and Beyond15 Jul 2024
- 2024Hey, That's My Model! Introducing Chain & Hash, An LLM Fingerprinting Technique15 Jul 2024
- 2024ConvNLP: Image-based AI Text Detection9 Jul 2024
- 2024On Evaluating The Performance of Watermarked Machine-Generated Texts Under Adversarial Attacks5 Jul 2024
- 2024Waterfall: Framework for Robust and Scalable Text Watermarking and Provenance for LLMs5 Jul 2024
- 2024Detecting AI-Generated Text: Factors Influencing Detectability with Current Methods21 Jun 2024
- 2024PostMark: A Robust Blackbox Watermark for Large Language Models20 Jun 2024
- 2024From Intentions to Techniques: A Comprehensive Taxonomy and Challenges in Text Watermarking for Large Language Models17 Jun 2024
- 2024Evaluating Durability: Benchmark Insights into Multimodal Watermarking6 Jun 2024
- 2024Survey on Plagiarism Detection in Large Language Models: The Impact of ChatGPT and Gemini on Academic Integrity4 Jun 2024
- 2024When AI Eats Itself: On the Caveats of AI Autophagy15 May 2024
- 2024Learnable Linguistic Watermarks for Tracing Model Extraction Attacks on Large Language Models28 Apr 2024
50 newest of 68 All 68 (JSON)
- 2023A Survey of Text Watermarking in the Era of Large Language Modelscited by 102
- 2023REMARK-LLM: A Robust and Efficient Watermarking Framework for Generative Large Language Modelscited by 64
- 2024An Entropy-based Text Watermarking Detection Methodcited by 61
- 2024Adaptive Text Watermark for Large Language Modelscited by 60
- 2023Watermarking Conditional Text Generation for AI Detection: Unveiling Challenges and a Semantic-Aware Watermark Remedycited by 45
- 2023Towards Codable Watermarking for Injecting Multi-bits Information to LLMscited by 43
- 2024Token-Specific Watermarking with Enhanced Detectability and Semantic Coherence for Large Language Modelscited by 30
- 2023WaterBench: Towards Holistic Evaluation of Watermarks for Large Language Modelscited by 27
- 2024Can Watermarks Survive Translation? On the Cross-lingual Consistency of Text Watermark for Large Language Modelscited by 27
- 2024PostMark: A Robust Blackbox Watermark for Large Language Modelscited by 24
- 2023Optimizing watermarks for large language modelscited by 22
- 2024Watermarking Techniques for Large Language Models: A Surveycited by 20
12 most cited of 37 All 37 (JSON)
- 2026LLM Watermarking as Big Data Provenance: A Deployment-Oriented Systematization11 Jul 2026
- 2026Robust LLM Watermarking with Minimal Semantic Distortion for IP Protection22 May 2026
- 2025CODE ACROSTIC: Robust Watermarking for Code Generation14 Dec 2025
- 2025WaterMod: Modular Token-Rank Partitioning for Probability-Balanced LLM Watermarking11 Nov 2025
- 2025Position: LLM Watermarking Should Align Stakeholders' Incentives for Practical Adoption21 Oct 2025
- 2025Learning to Watermark: A Selective Watermarking Framework for Large Language Models via Multi-Objective Optimization13 Oct 2025
- 2025Improving Detection of Watermarked Language Models18 Aug 2025
- 2025In-Context Watermarks for Large Language Models22 May 2025
- 2025Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarking20 May 2025
- 2025Optimized Couplings for Watermarking Large Language Models13 May 2025
- 2025Defending LLM Watermarking Against Spoofing Attacks with Contrastive Representation Learning9 Apr 2025
- 2025SimMark: A Robust Sentence-Level Similarity-Based Watermarking Algorithm for Large Language Models5 Feb 2025
12 newest of 37 All 37 (JSON)
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Can LLM-Generated Misinformation Be Detected?cited by 173
- 2023A Survey on Detection of LLMs-Generated Contentcited by 70
- 2024Instructional Fingerprinting of Large Language Modelscited by 64
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
- 2024Copyright Protection in Generative AI: A Technical Perspectivecited by 35
- 2024Hey, That's My Model! Introducing Chain & Hash, An LLM Fingerprinting Techniquecited by 34
- 2024Detecting AI-Generated Text: Factors Influencing Detectability with Current Methodscited by 23
- 2025CoheMark: A Novel Sentence-Level Watermark for Enhanced Text Qualitycited by 17
- 2024Decoding the AI Pen: Techniques and Challenges in Detecting AI-Generated Textcited by 14
- 2025Survey on AI-Generated Media Detection: From Non-MLLM to MLLMcited by 12
- 2025Natural Fingerprints of Large Language Modelscited by 6
12 most cited of 27 All 27 (JSON)
- 2026Geometric Reciprocity: Unlocking Self-Supervision for Stereoscopic Video Generation6 Jul 2026
- 2025Large Language Model Sourcing: A Survey11 Oct 2025
- 2025ALHD: A Large-Scale and Multigenre Benchmark Dataset for Arabic LLM-Generated Text Detection3 Oct 2025
- 2025FPEdit: Robust LLM Fingerprinting through Localized Parameter Editing4 Aug 2025
- 2025Evaluating LLM-Contaminated Crowdsourcing Data Without Ground Truth8 Jun 2025
- 2025Explainability-Based Token Replacement on LLM-Generated Text4 Jun 2025
- 2025RAFP: Identifying LLM Lineages via Rare-Region Fingerprints19 May 2025
- 2025Towards Structurally Explainable Machine-Generated Text Detection: A Graph-Perspective Framework18 May 2025
- 2025CoheMark: A Novel Sentence-Level Watermark for Enhanced Text Quality24 Apr 2025
- 2025Natural Fingerprints of Large Language Models21 Apr 2025
- 2025Survey on AI-Generated Media Detection: From Non-MLLM to MLLM7 Feb 2025
- 2025A Statistical Hypothesis Testing Framework for Data Misappropriation Detection in Large Language Models5 Jan 2025
12 newest of 27 All 27 (JSON)