Protecting Intellectual Property of Large Language Model-Based Code Generation APIs via Watermarks

计算机科学 安全性令牌 模仿 语言模型 编码(集合论) 知识产权 财产(哲学) 程序设计语言 计算机安全 人工智能 操作系统 心理学 社会心理学 认识论 哲学 集合(抽象数据类型)
作者
Zongjie Li,Chaozheng Wang,Shuai Wang,Cuiyun Gao
标识
DOI:10.1145/3576915.3623120
摘要

The rise of large language model-based code generation (LLCG) has enabled various commercial services and APIs. Training LLCG models is often expensive and time-consuming, and the training data are often large-scale and even inaccessible to the public. As a result, the risk of intellectual property (IP) theft over the LLCG models (e.g., via imitation attacks) has been a serious concern. In this paper, we propose the first watermark (WM) technique to protect LLCG APIs from remote imitation attacks. Our proposed technique is based on replacing tokens in an LLCG output with their "synonyms" available in the programming language. A WM is thus defined as the stealthily tweaked distribution among token synonyms in LLCG outputs. We design six WM schemes (instantiated into over 30 WM passes) which rely on conceptually distinct token synonyms available in programming languages. Moreover, to check the IP of a suspicious model (decide if it is stolen from our protected LLCG API), we propose a statistical tests-based procedure that can directly check a remote, suspicious LLCG API.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
刚刚
隐形曼青应助大黄采纳,获得10
刚刚
刚刚
刚刚
阿五完成签到,获得积分10
1秒前
宗枫发布了新的文献求助10
1秒前
soumei发布了新的文献求助10
1秒前
Singularity应助wangqiqi采纳,获得10
1秒前
小二郎应助蓝天采纳,获得10
1秒前
狂野绿竹完成签到,获得积分10
3秒前
3秒前
林中鸟发布了新的文献求助10
4秒前
sanqi发布了新的文献求助10
4秒前
4秒前
5秒前
5秒前
6秒前
付辛博boo发布了新的文献求助10
6秒前
wang发布了新的文献求助10
7秒前
fly完成签到,获得积分10
7秒前
上官若男应助林中鸟采纳,获得10
9秒前
11秒前
11秒前
12秒前
12秒前
njseu发布了新的文献求助10
12秒前
12秒前
烟花应助nadeem采纳,获得10
13秒前
tao完成签到,获得积分10
15秒前
王鹏发布了新的文献求助10
15秒前
蓝天发布了新的文献求助10
15秒前
15秒前
16秒前
18秒前
lilili发布了新的文献求助10
20秒前
20秒前
上官若男应助yss采纳,获得10
21秒前
凉亦发布了新的文献求助10
22秒前
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Lewis’s Child and Adolescent Psychiatry: A Comprehensive Textbook Sixth Edition 2000
Wolffs Headache and Other Head Pain 9th Edition 1000
Continuing Syntax 1000
Signals, Systems, and Signal Processing 510
Austrian Economics: An Introduction 400
中国公共管理案例库案例《一梯之遥的高度》 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6226625
求助须知:如何正确求助?哪些是违规求助? 8051579
关于积分的说明 16788825
捐赠科研通 5309988
什么是DOI,文献DOI怎么找? 2828543
邀请新用户注册赠送积分活动 1806310
关于科研通互助平台的介绍 1665150