mlsanityData to 7 Oct 2026

Watermarking Text Generated by Black-Box Language Models

arXiv 2305.08883 ↗First posted 14 May 2023cs.CL cs.AIcited by 68

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

  1. 2023A Watermark for Large Language Models24 Jan
  2. 2021Tracing Text Provenance via Context-Aware Lexical Substitution15 Dec

Other references · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  8. 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
  9. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  10. 2023How Close is ChatGPT to Human Experts? Comparison Corpus, Evaluation, and Detectioncited by 472
  11. 2023GPT detectors are biased against non-native English writerscited by 175
  12. 2020Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hidingcited by 121
5 more
  1. 2022Fengshenbang 1.0: Being the Foundation of Chinese Cognitive Intelligencecited by 70
  2. 2018Analogical Reasoning on Chinese Morphological and Semantic Relationscited by 50
  3. 2020Attacking Neural Text Detectorscited by 37
  4. 2022Deepfake Text Detection: Limitations and Opportunitiescited by 37
  5. 2022Unsupervised Lexical Substitution with Decontextualised Embeddingscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 9; 2024: 31; 2025: 24; 2026: 4.

68 papers.

Sort:

By area:

  1. 2023Challenges and Applications of Large Language Modelscited by 251
  2. 2023Can LLM-Generated Misinformation Be Detected?cited by 173
  3. 2023A Survey of Text Watermarking in the Era of Large Language Modelscited by 102
  4. 2023A Survey on Detection of LLMs-Generated Contentcited by 70
  5. 2023REMARK-LLM: A Robust and Efficient Watermarking Framework for Generative Large Language Modelscited by 64
  6. 2024Instructional Fingerprinting of Large Language Modelscited by 64
  7. 2024An Entropy-based Text Watermarking Detection Methodcited by 61
  8. 2024Adaptive Text Watermark for Large Language Modelscited by 60
  9. 2023Watermarking Conditional Text Generation for AI Detection: Unveiling Challenges and a Semantic-Aware Watermark Remedycited by 45
  10. 2023Towards Codable Watermarking for Injecting Multi-bits Information to LLMscited by 43
  11. 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
  12. 2024Copyright Protection in Generative AI: A Technical Perspectivecited by 35
38 more
  1. 2024Hey, That's My Model! Introducing Chain & Hash, An LLM Fingerprinting Techniquecited by 34
  2. 2024Token-Specific Watermarking with Enhanced Detectability and Semantic Coherence for Large Language Modelscited by 30
  3. 2023WaterBench: Towards Holistic Evaluation of Watermarks for Large Language Modelscited by 27
  4. 2024Can Watermarks Survive Translation? On the Cross-lingual Consistency of Text Watermark for Large Language Modelscited by 27
  5. 2024PostMark: A Robust Blackbox Watermark for Large Language Modelscited by 24
  6. 2024Detecting AI-Generated Text: Factors Influencing Detectability with Current Methodscited by 23
  7. 2023Optimizing watermarks for large language modelscited by 22
  8. 2024Watermarking Techniques for Large Language Models: A Surveycited by 20
  9. 2024Theoretically Grounded Framework for LLM Watermarking: A Distribution-Adaptive Approachcited by 17
  10. 2025CoheMark: A Novel Sentence-Level Watermark for Enhanced Text Qualitycited by 17
  11. 2025Who Stole Your Data? A Method for Detecting Unauthorized RAG Theftcited by 15
  12. 2024Decoding the AI Pen: Techniques and Challenges in Detecting AI-Generated Textcited by 14
  13. 2024Waterfall: Framework for Robust and Scalable Text Watermarking and Provenance for LLMscited by 14
  14. 2024A Watermark for Black-Box Language Modelscited by 14
  15. 2025SimMark: A Robust Sentence-Level Similarity-Based Watermarking Algorithm for Large Language Modelscited by 13
  16. 2025Survey on AI-Generated Media Detection: From Non-MLLM to MLLMcited by 12
  17. 2024Can Watermarked LLMs be Identified by Users via Crafted Prompts?cited by 10
  18. 2025Defending LLM Watermarking Against Spoofing Attacks with Contrastive Representation Learningcited by 10
  19. 2025Optimized Couplings for Watermarking Large Language Modelscited by 9
  20. 2025In-Context Watermarks for Large Language Modelscited by 9
  21. 2024Inevitable Trade-off between Watermark Strength and Speculative Sampling Efficiency for Language Modelscited by 7
  22. 2024Watermark under Fire: A Robustness Evaluation of LLM Watermarkingcited by 7
  23. 2025Position: LLM Watermarking Should Align Stakeholders' Incentives for Practical Adoptioncited by 7
  24. 2024PersonaMark: Personalized LLM watermarking for model protection and user attributioncited by 6
  25. 2025RAG-WM: An Efficient Black-Box Watermarking Approach for Retrieval-Augmented Generation of Large Language Modelscited by 6
  26. 2025Natural Fingerprints of Large Language Modelscited by 6
  27. 2025RAFP: Identifying LLM Lineages via Rare-Region Fingerprintscited by 6
  28. 2024Survey on Plagiarism Detection in Large Language Models: The Impact of ChatGPT and Gemini on Academic Integritycited by 5
  29. 2025Invisible Entropy: Towards Safe and Efficient Low-Entropy LLM Watermarkingcited by 5
  30. 2025Large Language Model Sourcing: A Surveycited by 5
  31. 2024When AI Eats Itself: On the Caveats of AI Autophagycited by 4
  32. 2024On Evaluating The Performance of Watermarked Machine-Generated Texts Under Adversarial Attackscited by 4
  33. 2024Building Intelligence Identification System via Large Language Model Watermarking: A Survey and Beyondcited by 4
  34. 2025WaterMod: Modular Token-Rank Partitioning for Probability-Balanced LLM Watermarkingcited by 4
  35. 2024Evaluating Durability: Benchmark Insights into Multimodal Watermarkingcited by 3
  36. 2024From Intentions to Techniques: A Comprehensive Taxonomy and Challenges in Text Watermarking for Large Language Modelscited by 3
  37. 2024SEFD: Semantic-Enhanced Framework for Detecting LLM-Generated Textcited by 3
  38. 2024CredID: Credible Multi-Bit Watermark for Large Language Models Identificationcited by 3

50 most cited of 68 All 68 (JSON)