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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhou, Tong, Zhao, Xuandong, Xu, Xiaolin, Ren, Shaolei
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909369730334720
author Zhou, Tong
Zhao, Xuandong
Xu, Xiaolin
Ren, Shaolei
author_facet Zhou, Tong
Zhao, Xuandong
Xu, Xiaolin
Ren, Shaolei
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_01946
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Bileve: Securing Text Provenance in Large Language Models Against Spoofing with Bi-level Signature
Zhou, Tong
Zhao, Xuandong
Xu, Xiaolin
Ren, Shaolei
Cryptography and Security
Computation and Language
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. 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.
title Bileve: Securing Text Provenance in Large Language Models Against Spoofing with Bi-level Signature
topic Cryptography and Security
Computation and Language
url https://arxiv.org/abs/2406.01946