Invariant-based Robust Weights Watermark for Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Guo, Qingxiao, Zhu, Xinjie, Ma, Yilong, Jin, Hui, Wang, Yunhao, Zhang, Weifeng, Guo, Xiaobing
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913938005819392
author Guo, Qingxiao
Zhu, Xinjie
Ma, Yilong
Jin, Hui
Wang, Yunhao
Zhang, Weifeng
Guo, Xiaobing
author_facet Guo, Qingxiao
Zhu, Xinjie
Ma, Yilong
Jin, Hui
Wang, Yunhao
Zhang, Weifeng
Guo, Xiaobing
contents Watermarking technology has gained significant attention due to the increasing importance of intellectual property (IP) rights, particularly with the growing deployment of large language models (LLMs) on billions resource-constrained edge devices. To counter the potential threats of IP theft by malicious users, this paper introduces a robust watermarking scheme without retraining or fine-tuning for transformer models. The scheme generates a unique key for each user and derives a stable watermark value by solving linear constraints constructed from model invariants. Moreover, this technology utilizes noise mechanism to hide watermark locations in multi-user scenarios against collusion attack. This paper evaluates the approach on three popular models (Llama3, Phi3, Gemma), and the experimental results confirm the strong robustness across a range of attack methods (fine-tuning, pruning, quantization, permutation, scaling, reversible matrix and collusion attacks).
format Preprint
id arxiv_https___arxiv_org_abs_2507_08288
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Invariant-based Robust Weights Watermark for Large Language Models
Guo, Qingxiao
Zhu, Xinjie
Ma, Yilong
Jin, Hui
Wang, Yunhao
Zhang, Weifeng
Guo, Xiaobing
Cryptography and Security
Artificial Intelligence
Watermarking technology has gained significant attention due to the increasing importance of intellectual property (IP) rights, particularly with the growing deployment of large language models (LLMs) on billions resource-constrained edge devices. To counter the potential threats of IP theft by malicious users, this paper introduces a robust watermarking scheme without retraining or fine-tuning for transformer models. The scheme generates a unique key for each user and derives a stable watermark value by solving linear constraints constructed from model invariants. Moreover, this technology utilizes noise mechanism to hide watermark locations in multi-user scenarios against collusion attack. This paper evaluates the approach on three popular models (Llama3, Phi3, Gemma), and the experimental results confirm the strong robustness across a range of attack methods (fine-tuning, pruning, quantization, permutation, scaling, reversible matrix and collusion attacks).
title Invariant-based Robust Weights Watermark for Large Language Models
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2507.08288