用于检测代码预训练语言模型中未经授权数据使用的代码成员推理
Code Membership Inference for Detecting Unauthorized Data Use in Code Pre-trained Language Models
AI总结:
针对代码预训练语言模型使用未经授权开源代码的侵权风险,本文提出Buzzer框架,通过预训练信号提取、难学习样本校准和加权推理实现高精度代码成员推理。
摘要:
代码预训练语言模型(CPLMs)因其能够惠及促进软件开发与维护的各类任务而受到广泛关注。然而,CPLMs在海量开源代码上进行训练,引发了对潜在数据侵权的担忧。本文启动了检测CPLMs中未经授权代码使用的研究,即代码成员推理(CMI)任务。我们针对CMI的不同设置设计了一个框架Buzzer。Buzzer部署了多种推理技术,包括从预训练任务中提取信号、难学习样本校准以及加权推理,以准确识别代码成员状态。大量实验表明,使用Buzzer可以高精度地实现CMI。因此,Buzzer可以作为一种CMI工具,并帮助保护知识产权。
英文摘要:
Code pre-trained language models (CPLMs) have received great attention since they can benefit various tasks that facilitate software development and maintenance. However, CPLMs are trained on massive open-source code, raising concerns about potential data infringement. This paper launches the study of detecting unauthorized code use in CPLMs, i.e., Code Membership Inference (CMI) task. We design a framework Buzzer for different settings of CMI. Buzzer deploys several inference techniques, including signal extraction from pre-training tasks, hard-to-learn sample calibration and weighted inference, to identify code membership status accurately. Extensive experiments show that CMI can be achieved with high accuracy using Buzzer. Hence, Buzzer can serve as a CMI tool and help protect intellectual property rights.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。