paper-with-me

홈 › Papers

Segmenting Watermarked Texts From Language Models

2024-10-28 · Xingchi Li, Guanxun Li, Xianyang Zhang

Watermarking is a technique that involves embedding nearly unnoticeable statistical signals within generated content to help trace its source. This work focuses on a scenario where an untrusted third-party user sends prompts to a trusted language model (LLM) provider, who then generates a text from their LLM with a watermark. This setup makes it possible for a detector to later identify the source of the text if the user publishes it. The user can modify the generated text by substitutions, insertions, or deletions. Our objective is to develop a statistical method to detect if a published text is LLM-generated from the perspective of a detector. We further propose a methodology to segment the published text into watermarked and non-watermarked sub-strings. The proposed approach is built upon randomization tests and change point detection techniques. We demonstrate that our method ensures Type I and Type II error control and can accurately identify watermarked sub-strings by finding the corresponding change point locations. To validate our technique, we apply it to texts generated by several language models with prompts extracted from Google's C4 dataset and obtain encouraging numerical results. We release all code publicly at https://github.com/doccstat/llm-watermark-cpd.

📄 PDF Abstract BibTeX arXiv:2410.20670

Code (1)

doccstat/llm-watermark-cpd 공식 구현 pytorch

Tasks

Change Point DetectionLanguage Modelling

Similar Papers 제목 키워드 기반

Adaptive Testing for Segmenting Watermarked Texts From Language Models

2025-11-10 · Xingchi Li, Xiaochi Liu, Guanxun Li arxiv

The rapid adoption of large language models (LLMs), such as GPT-4 and Claude 3.5, underscores the need to distinguish LLM-generated text from human-written content to mitigate the spread of misinformation and misuse in e…

Signature vs. Substance: Evaluating the Balance of Adversarial Resistance and Linguistic Quality in Watermarking Large Language Models

2025-08-11 · William Guo, Adaku Uchendu, Ana Smith arxiv

To mitigate the potential harms of Large Language Models (LLMs)generated text, researchers have proposed watermarking, a process of embedding detectable signals within text. With watermarking, we can always accurately de…

Improving the Generation Quality of Watermarked Large Language Models via Word Importance Scoring

2023-11-16 · Yuhang Li, Yihan Wang, Zhouxing Shi, Cho-Jui Hsieh

The strong general capabilities of Large Language Models (LLMs) bring potential ethical risks if they are unrestrictedly accessible to malicious users. Token-level watermarking inserts watermarks in the generated texts b…

Language ModelingLanguage Modelling

XMark: Reliable Multi-Bit Watermarking for LLM-Generated Texts

2026-04-06 · Jiahao Xu, Rui Hu, Olivera Kotevska, Zikai Zhang arxiv

Multi-bit watermarking has emerged as a promising solution for embedding imperceptible binary messages into Large Language Model (LLM)-generated text, enabling reliable attribution and tracing of malicious usage of LLMs.…

Chainwash: Multi-Step Rewriting Attacks on Diffusion Language Model Watermarks

2026-05-06 · Mohd Ruhul Ameen, Akif Islam, Nadim Mahmud, Md. Ekramul Hamid arxiv

Statistical watermarking is a common approach for verifying whether text was written by a language model. Most existing schemes assume autoregressive generation, where tokens are produced left to right and contextual has…