Cross-Attention Watermarking of Large Language Models

Folco Bertini Baldassini, Huy H. Nguyen, Ching-Chung Chang, Isao Echizen
1/12/2024
cs.CLcs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

A new approach to linguistic watermarking of language models is presented in which information is imperceptibly inserted into the output text while preserving its readability and original meaning. A cross-attention mechanism is used to embed watermarks in the text during inference. Two methods using cross-attention are presented that minimize the effect of watermarking on the performance of a pretrained model. Exploration of different training strategies for optimizing the watermarking and of the challenges and implications of applying this approach in real-world scenarios clarified the tradeoff between watermark robustness and text quality. Watermark selection substantially affects the generated output for high entropy sentences. This proactive watermarking approach has potential application in future model development.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{baldassini2024crossattention,
  title  = {Cross-Attention Watermarking of Large Language Models},
  author = {Folco Bertini Baldassini and Huy H. Nguyen and Ching-Chung Chang and Isao Echizen},
  year   = {2024},
  eprint = {2401.06829},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.06829v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.06829.svg)](https://codeofpaper.com/paper/2401.06829)

Discussion