paper-with-me

홈 › Papers

CodeMark: Imperceptible Watermarking for Code Datasets against Neural Code Completion Models

2023-08-28 · Zhensu Sun, Xiaoning Du, Fu Song, Li Li

Code datasets are of immense value for training neural-network-based code completion models, where companies or organizations have made substantial investments to establish and process these datasets. Unluckily, these datasets, either built for proprietary or public usage, face the high risk of unauthorized exploits, resulting from data leakages, license violations, etc. Even worse, the ``black-box'' nature of neural models sets a high barrier for externals to audit their training datasets, which further connives these unauthorized usages. Currently, watermarking methods have been proposed to prohibit inappropriate usage of image and natural language datasets. However, due to domain specificity, they are not directly applicable to code datasets, leaving the copyright protection of this emerging and important field of code data still exposed to threats. To fill this gap, we propose a method, named CodeMark, to embed user-defined imperceptible watermarks into code datasets to trace their usage in training neural code completion models. CodeMark is based on adaptive semantic-preserving transformations, which preserve the exact functionality of the code data and keep the changes covert against rule-breakers. We implement CodeMark in a toolkit and conduct an extensive evaluation of code completion models. CodeMark is validated to fulfill all desired properties of practical watermarks, including harmlessness to model accuracy, verifiability, robustness, and imperceptibility.

📄 PDF Abstract BibTeX arXiv:2308.14401

Code (1)

v587su/CodeMark

Tasks

Code CompletionSpecificity

Similar Papers 제목 키워드 기반

AudioMarkBench: Benchmarking Robustness of Audio Watermarking

2024-06-11 · Hongbin Liu, Moyang Guo, Zhengyuan Jiang, Lun Wang 외

The increasing realism of synthetic speech, driven by advancements in text-to-speech models, raises ethical concerns regarding impersonation and disinformation. Audio watermarking offers a promising solution via embeddin…

Benchmarkingtext-to-speechText to Speech

Multi-bit Audio Watermarking

2025-10-02 · Luca A. Lanzendörfer, Kyle Fearne, Florian Grötschla, Roger Wattenhofer arxiv

We present Timbru, a post-hoc audio watermarking model that achieves state-of-the-art robustness and imperceptibility trade-offs without training an embedder-detector model. Given any 44.1 kHz stereo music snippet, our m…

LaWa: Using Latent Space for In-Generation Image Watermarking

2024-08-11 · Ahmad Rezaei, Mohammad Akbari, Saeed Ranjbar Alvar, Arezou Fatemi 외

With generative models producing high quality images that are indistinguishable from real ones, there is growing concern regarding the malicious usage of AI-generated images. Imperceptible image watermarking is one viabl…

Robust Watermarking Using Generative Priors Against Image Editing: From Benchmarking to Advances

2024-10-24 · Shilin Lu, Zihan Zhou, Jiayou Lu, Yuanzhi Zhu 외

Current image watermarking methods are vulnerable to advanced image editing techniques enabled by large-scale text-to-image models. These models can distort embedded watermarks during editing, posing significant challeng…

BenchmarkingImage to Video GenerationVideo Generation

Latent-Mark: An Audio Watermark Robust to Neural Codec Compression

2026-03-05 · Yen-Shan Chen, Shih-Yu Lai, Ying-Jung Tsou, Yi-Cheng Lin 외 arxiv

While existing audio watermarking techniques have achieved strong robustness against traditional digital signal processing (DSP) attacks, they remain vulnerable to neural compression. This occurs because modern neural au…