mlsanityData to 7 Oct 2026

Duwak: Dual Watermarks in Large Language Models

arXiv 2403.13000 ↗First posted 12 Mar 2024cs.LG cs.AI cs.CLcited by 8

On the map: LLM safety and security → Watermarking generated content and models

Abstract (arXiv)

As large language models (LLM) are increasingly used for text generation tasks, it is critical to audit their usages, govern their applications, and mitigate their potential harms. Existing watermark techniques are shown effective in embedding single human-imperceptible and machine-detectable patterns without significantly affecting generated text quality and semantics. However, the efficiency in detecting watermarks, i.e., the minimum number of tokens required to assert detection with significance and robustness against post-editing, is still debatable. In this paper, we propose, Duwak, to fundamentally enhance the efficiency and quality of watermarking by embedding dual secret patterns in both token probability distribution and sampling schemes. To mitigate expression degradation caused by biasing toward certain tokens, we design a contrastive search to watermark the sampling scheme, which minimizes the token repetition and enhances the diversity. We theoretically explain the interdependency of the two watermarks within Duwak. We evaluate Duwak extensively on Llama2 under various post-editing attacks, against four state-of-the-art watermarking techniques and combinations of them. Our results show that Duwak marked text achieves the highest watermarked text quality at the lowest required token count for detection, up to 70% tokens less than existing approaches, especially under post paraphrasing.

Key facts. Cited by 8 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 21 of its 44 references that are in the map. First posted on arXiv 12 Mar 2024.

Builds on

21 of 44 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023A Robust Semantics-based Watermark for Large Language Model against Paraphrasing15 Nov
  2. 2023Robust Distortion-free Watermarks for Language Models28 Jul
  3. 2023Provable Robust Watermarking for AI-Generated Text30 Jun
  4. 2023Who Wrote this Code? Watermarking for Code Generation24 May

Other references · 17

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  3. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  4. 2018Hierarchical Neural Story Generationcited by 1,182
  5. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  6. 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
  7. 2019Release Strategies and the Social Impacts of Language Modelscited by 505
  8. 2019GLTR: Statistical Detection and Visualization of Generated Textcited by 490
  9. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
  10. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  11. 2023Large Language Models Are State-of-the-Art Evaluators of Translation Qualitycited by 416
  12. 2023Prompting Large Language Model for Machine Translation: A Case Studycited by 247
5 more
  1. 2022A Contrastive Framework for Neural Text Generationcited by 224
  2. 2023RADAR: Robust AI-Text Detection via Adversarial Learningcited by 187
  3. 2021Demystifying the Draft EU Artificial Intelligence Actcited by 82
  4. 2022Contrastive Search Is What You Need For Neural Text Generationcited by 58
  5. 2023Smaller Language Models are Better Black-box Machine-Generated Text Detectorscited by 35

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 4; 2026: 2.

8 papers.