TokenMark: A Modality-Agnostic Watermark for Pre-trained Transformers

Hengyuan Xu, Liyao Xiang, Borui Yang, Xingjun Ma, Siheng Chen +1 more
3/9/2024
cs.CRcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Watermarking is a critical tool for model ownership verification. However, existing watermarking techniques are often designed for specific data modalities and downstream tasks, without considering the inherent architectural properties of the model. This lack of generality and robustness underscores the need for a more versatile watermarking approach. In this work, we investigate the properties of Transformer models and propose TokenMark, a modality-agnostic, robust watermarking system for pre-trained models, leveraging the permutation equivariance property. TokenMark embeds the watermark by fine-tuning the pre-trained model on a set of specifically permuted data samples, resulting in a watermarked model that contains two distinct sets of weights -- one for normal functionality and the other for watermark extraction, the latter triggered only by permuted inputs. Extensive experiments on state-of-the-art pre-trained models demonstrate that TokenMark significantly improves the robustness, efficiency, and universality of model watermarking, highlighting its potential as a unified watermarking solution.

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. 1 weaker match is 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{xu2024tokenmark,
  title  = {TokenMark: A Modality-Agnostic Watermark for Pre-trained Transformers},
  author = {Hengyuan Xu and Liyao Xiang and Borui Yang and Xingjun Ma and Siheng Chen and Baochun Li},
  year   = {2024},
  eprint = {2403.05842},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.05842v3}
}

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/2403.05842.svg)](https://codeofpaper.com/paper/2403.05842)

Discussion