This paper introduces RoSeMary, the first-of-its-kind ML/Crypto codesign watermarking framework that regulates LLM-generated code to avoid intellectual property rights violations and inappropriate misuse in software development. High-quality watermarks adhering to the detectability-fidelity-robustness tri-objective are limited due to codes' low-entropy nature. Watermark verification, however, often needs to reveal the signature and requires re-encoding new ones for code reuse, which potentially compromising the system's usability. To overcome these challenges, RoSeMary obtains high-quality watermarks by training the watermark insertion and extraction modules end-to-end to ensure (i) unaltered watermarked code functionality and (ii) enhanced detectability and robustness leveraging pre-trained CodeT5 as the insertion backbone to enlarge the code syntactic and variable rename transformation search space. In the deployment, RoSeMary uses zero-knowledge proofs for secure verification without revealing the underlying signatures. Extensive evaluations demonstrated RoSeMary achieves high detection accuracy while preserving the code functionality. RoSeMary is also robust against attacks and provides efficient secure watermark verification.
TimeMark: A Trustworthy Time Watermarking Framework for Exact Generation-Time Recovery from AIGC
Economics and Management School, Wuhan University(武汉大学经济管理学院);School of Economics and Management, Tsinghua University(清华大学经济管理学院);School of Business Administration, Southwestern University of Finance and Economics(西南财经大学商学院)
Publicly-Detectable Watermarking for Language Models
University of California, Berkeley(加州大学伯克利分校);University of Wisconsin, Madison(威斯康星大学麦迪逊分校);Meta;Fundamental Artificial Intelligence Research at Meta(元公司基础人工智能研究部);University of Virginia(弗吉尼亚大学);New York University Shanghai(上海纽约大学)
Blind PRNG Hijacking: An Undetectable Integrity-Preserving Attack Against LLM Watermarking
Fujian Provincial Key Laboratory of Automotive Electronics and Electric Drive(福建省汽车电子与电力驱动重点实验室);School of Electronic, Electrical and Physics(电子、电气与物理学院);Fujian University of Technology(福建理工大学);School of Humanities(人文学院);Institute of Applied Physics and Materials Engineering(应用物理与材料工程学院);University of Macau(澳门大学)
Institute for Network Sciences and Cyberspace, Tsinghua University(清华大学网络科学与网络空间研究院);Institute for Advanced Study, Tsinghua University(清华大学高等研究院);Zhongguancun Laboratory, Beijing, China(中关村实验室);State Key Laboratory of Cryptography and Digital Economy Security, Tsinghua University(清华大学密码学与数字经济安全国家重点实验室);School of Cryptologic Science and Engineering, Shandong University(山东大学密码科学与技术学院);Shandong Key Laboratory of Artificial Intelligence Security, Shandong University(山东大学山东省人工智能安全重点实验室);National Financial Cryptography Research Center, Beijing, China(国家金融密码学研究中心);Shandong Institute of Blockchain, Shandong, China(山东区块链研究院)
DHMark: Public-Key Watermarking for LLM-Generated Text via Diffie-Hellman-Guided Rejection Sampling
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院)
Cryptanalysis of LDPC-Based Pseudorandom Error-Correcting Codes
Institute for Network Sciences and Cyberspace, BNRist, Tsinghua University(清华大学网络科学与网络空间研究院);Institute for Advanced Study, Tsinghua University(清华大学高等研究院);Zhongguancun Laboratory, Beijing, China(中关村实验室);State Key Laboratory of Cryptography and Digital Economy Security, Tsinghua University(清华大学密码与数字经济安全国家重点实验室);School of Cryptologic Science and Engineering, Shandong University(山东大学密码学科学与工程系);Shandong Key Laboratory of Artificial Intelligence Security, Shandong University(山东大学人工智能安全山东省重点实验室);National Financial Cryptography Research Center, Beijing, China(国家金融密码研究中心);Shandong Institute of Blockchain, Shandong, China(山东省区块链研究院)
Unforgeable Watermarks for Language Models via Robust Signatures
Paul G. Allen School of Computer Science & Engineering, University of Washington(保罗·G·艾伦计算机科学与工程学院,华盛顿大学);Data Science Institute, University of Chicago(数据科学研究所,芝加哥大学)
CHIP: Chameleon Hash-based Irreversible Passport for Robust Deep Model Ownership Verification and Active Usage Control
School of Electrical and Electronic Engineering, Nanyang Technological University(南洋理工大学电子与电气工程学院);Engineering Research Center of Digital Forensics, School of Computer Science, Nanjing University of Information Science and Technology(信息科学技术大学计算机科学学院数字取证研究中心);School of Electrical and Electronic Engineering and National Integrated Centre for Evaluation (NiCE), Nanyang Technological University(南洋理工大学电子与电气工程学院国家整合评估中心)