April 2026Unreviewed
DuCodeMark: Dual-Purpose Code Dataset Watermarking via Style-Aware Watermark-Poison Design
Yuchen Chen, Yuan Xiao, Chunrong Fang, Zhenyu Chen, Baowen Xu
Abstract
The proliferation of large language models for code (CodeLMs) and open-source contributions has heightened concerns over unauthorized use of source code datasets. While watermarking provides a viable protection mechanism by embedding ownership signals, existing methods rely on detectable trigger-target patterns and are limited to source-code tasks, overlooking other scenarios such as decompilation tasks. In this paper, we propose DuCodeMark, a stealthy and robust dual-purpose watermarking method
Categories
Cite
@misc{chen2026ducodemark,
title = {{DuCodeMark: Dual-Purpose Code Dataset Watermarking via Style-Aware Watermark-Poison Design}},
author = {Yuchen Chen and Yuan Xiao and Chunrong Fang and Zhenyu Chen and Baowen Xu},
year = {2026},
month = apr,
eprint = {2604.10611},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2604.10611}
}