Distortion-Free Semantic Watermarks for Black-Box Generative Models
Aviv Yossef, Or Patashnik, Or Zamir
Abstract
We present a provably distortion-free semantic watermarking algorithm that requires only black-box sampling access to a generative model and black-box access to a semantic embedding. A watermark is called distortion-free if, averaged over its secret detection key, it leaves the generator's output distribution unchanged; this provides a formal guarantee that watermarking does not reduce output quality. Conventional such watermarks are often brittle to transformations. This is especially problematic for images, where benign operations such as compression, cropping, or resizing change the entire pixel representation. Semantic watermarks therefore require detection to be robust to content-preserving transformations. Previous methods combining these properties rely heavily on specific white-box properties of the underlying model: either to autoregressive text generation or to diffusion-specific access, such as control of the initial noise or diffusion inversion. In contrast, our construction is fully generic: It only interacts with the generative model and the semantic embedding, a function that determines the notion of "preserving content" under which detection should be robust, via sample and query access. We then instantiate this framework for image generation. We characterize the two competing properties required of the semantic embedding: it should remain stable under transformations that preserve an image's content, but should distinguish independent generations from the same prompt. We train an image encoder directly for this tradeoff. The resulting encoder improves separation while maintaining stability over off-the-shelf alternatives and enables strong aggregate detection while remaining robust to various transformations. We demonstrate the effectiveness of our watermark scheme on both open-source and closed models, which is possible only due to restriction to black-box access.
Create a lesson
Related papers
FamilySpace: From Emergent Chemical Semantics to Controllable Crystal Generation
Shared title terminology · Haowei Hua, Irwin King, Wanyu Lin
Auditing black-box clinical prediction models with a large language model through queries alone: a blinded test with planted flaws
Shared title terminology · Zhiyu Liu, Xinyu Yang
Communicative On-Policy Distillation: Distilling Black-Box Teacher Capabilities through Communication for Long-Horizon Tasks
Shared title terminology · Lirui Luo, Kelong Mao, Xinwei Yang et al.
JEPA as a Transferable Optimizer: Learning and Understanding Black-Box Optimization from Reward-Agnostic Pretraining
Shared title terminology · Mayukh Debnath, Manan Roy Choudhury
High-Dimensional Black-Box Optimization via Guidance Sampling of Diffusion Models
Shared title terminology · Xiaoyan Hu, Rohit Sonker, Jalal Butt et al.
PromptPack: Training-Free Augmentation of Diffusion Editors for Intent-Aligned Spatial and Semantic Control
Shared title terminology · Sophia Zalewski, Mustafa Munir, Enting Liu et al.