Bileve: Securing Text Provenance in Large Language Models Against Spoofing with Bi-level Signature

Tong Zhou, Xuandong Zhao, Xiaolin Xu, Shaolei Ren
6/1/2024
34 citations

Official code: Tongzhou0101/Bileve-official (5 stars, Python, last commit 2024-12-26).

Abstract

Text watermarks for large language models (LLMs) have been commonly used to identify the origins of machine-generated content, which is promising for assessing liability when combating deepfake or harmful content. While existing watermarking techniques typically prioritize robustness against removal attacks, unfortunately, they are vulnerable to spoofing attacks: malicious actors can subtly alter the meanings of LLM-generated responses or even forge harmful content, potentially misattributing blame to the LLM developer.

Show full abstract

To overcome this, we introduce a bi-level signature scheme, Bileve, which embeds fine-grained signature bits for integrity checks (mitigating spoofing attacks) as well as a coarse-grained signal to trace text sources when the signature is invalid (enhancing detectability) via a novel rank-based sampling strategy. Compared to conventional watermark detectors that only output binary results, Bileve can differentiate 5 scenarios during detection, reliably tracing text provenance and regulating LLMs. The experiments conducted on OPT-1.3B and LLaMA-7B demonstrate the effectiveness of Bileve in defeating spoofing attacks with enhanced detectability. Code is available at https://github.com/Tongzhou0101/Bileve-official.

View on arXivView PDF

Code Implementations(1)

This is the official implementation of Bileve (NeurIPS'24).

51Python, CythonOct 22, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhou2024bileve,
  title  = {Bileve: Securing Text Provenance in Large Language Models Against Spoofing with Bi-level Signature},
  author = {Tong Zhou and Xuandong Zhao and Xiaolin Xu and Shaolei Ren},
  year   = {2024},
  eprint = {2406.01946},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.01946},
  url    = {https://arxiv.org/abs/2406.01946},
  journal = {NEURIPS 2024 2024}
}

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

Discussion