arXiv Machine Learning

Multi-Channel Spread-Spectrum Code Watermarking

arXiv:2607. 06009v1 Announce Type: cross Abstract: Attributing code to the large language model that produced it is essential for provenance, licensing, and misuse accountability, yet no deployed watermark meets this need.

arXiv AI
Sep 1

Disappearing Ink: Obfuscation Breaks N-gram Code Watermarks in Theory and Practice

The paper demonstrates that N‑gram based code watermarking schemes, widely used to identify machine‑generated code, are ineffective when faced with realistic code obfuscation. By modeling semantics‑preserving transformations as a Markov random walk and introducing the assumption of distribution consistency, the authors prove that obfuscation can drive the failure rate of any detector to nearly 1 minus its false‑positive rate. Extensive experiments across multiple watermarking methods, LLMs, languages, benchmarks, and obfuscators confirm that detectors collapse to near‑random performance (AUROC ≈ 0.5) after obfuscation.

By Gehao Zhang, Mingzhe Li, Eugene Bagdasarian, Shiqing Ma, Juan Zhai
arXiv AI
Nov 14

Look It Up: Multi-bit LLM Watermarking via Codebook Search

The paper introduces a codebook-based watermarking scheme that encodes an n‑bit payload into a longer u‑bit codeword and embeds it into LLM outputs via token‑level logit biasing. Extraction matches the received bit sequence to the nearest codeword in a secret codebook using Hamming or Levenshtein distance, achieving near‑perfect recovery for 16‑24 bit payloads on 200‑token generations and strong performance on 127‑token generations for base models. The study also explores a BCH variant, evaluates robustness against deletions, paraphrasing, and rewrites, and discusses collision probability, codeword separation, extraction time, tokenization consistency, and text quality to assess practicality and limitations for short‑form attribution.

By Jaros{\l}aw Janas, Pawe{\l} Morawiecki, Josef Pieprzyk
arXiv AI
Oct 5

Mitigating Watermark Forgery in Generative Models via Randomized Key Selection

The paper proposes a defense against watermark forgery in generative models by randomizing the selection of watermark keys for each query and accepting content only if exactly one key detects a watermark. This approach provides a sample‑count‑independent upper bound on forgery success for blind attackers while preserving model utility. Experiments show a dramatic drop in forgery success rates—from 87% to 1% with four keys for text and from 100% to 2% for images—without significant computational overhead.

By Toluwani Aremu, Noor Hussein, Munachiso Nwadike, Samuele Poppi, Jie Zhang, Karthik Nandakumar, Neil Gong, Nils Lukas
arXiv AI
Nov 14

STEALTH: Steganographic Text Encoding Agnostic to Low-Level Tensor Hardware

The paper introduces STEALTH, a steganographic text encoding method that remains secure even when the receiver’s hardware, floating‑point precision, or token‑scoring strategy differs from the sender’s. STEALTH uses an exponential race driven by keyed pseudorandom noise to select tokens, and a rateless spinal code decoded via beam search to tolerate probability mismatches. Experiments show that STEALTH decodes all messages across various model families, precisions, quantizations, and GPU architectures, while stegotexts are indistinguishable from honest model outputs.

By William Fleshman
arXiv Machine Learning
Sep 3

WeaveMark: Robust and Scalable Multi-bit LLM Watermarking via Coded Payload Spreading

WeaveMark is a new multi‑bit watermarking scheme for large language models that improves payload capacity, extraction accuracy, and text quality by using coded payload spreading, soft‑decision error‑correcting codes, and unbiased multilayer reweighting. It also adds zero‑bit layers for reliable detection of watermark presence. Experiments demonstrate significant gains, achieving an 89.8% match rate for 32‑bit messages at 200 tokens and maintaining 86.0% accuracy under 10% substitution attacks on 16‑bit messages, far outperforming the BiMark baseline.

By Gang-Hyun Park, Ju-Hyeong Lee, Hee-Youl Kwak, Dae-Young Yun