paper-with-me

홈 › Papers

CLASP: Training-Free LLM-Assisted Source Code Watermarking via Semantic-Preserving Transformations

2025-10-13 · Rui Xu, Jiawei Chen, Weizhi Liu, Zhaoxia Yin, Cong Kong, Xinpeng Zhang arxiv

The proliferation of open-source code and large language models (LLMs) for code generation has amplified the risks of unauthorized reuse and intellectual property infringement. Source code watermarking offers a potential solution, yet existing methods typically encode watermarks through identifiers, local code patterns, or limited handcrafted edits, leaving them vulnerable to renaming, refactoring, and adaptive watermark removal. These limitations hinder the joint achievement of robustness, capacity, generalization, and deployment efficiency. We propose CLASP, a Code LLM-Assisted Semantic-Preserving watermarking framework that enables training-free, plug-and-play watermarking for source code. CLASP embeds watermark bits within a fixed space of semantics-preserving transformations, enabling automated watermark insertion with higher capacity while remaining reusable across programming languages and less dependent on brittle lexical features. To recover the watermark, CLASP uses reference-code retrieval and differential comparison to identify transformation traces, avoiding task-specific model training while improving robustness to structural edits and adaptive attacks. Experiments across multiple programming languages show that CLASP consistently outperforms existing baselines in watermark extraction accuracy and robustness, while maintaining code quality under both random removal and adaptive de-watermarking attacks.

📄 PDF Abstract BibTeX arXiv:2510.11251

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

CLASP: Adaptive Spectral Clustering for Unsupervised Per-Image Segmentation

2025-09-29 · Max Curie, Paulo da Costa arxiv

We introduce CLASP (Clustering via Adaptive Spectral Processing), a lightweight framework for unsupervised image segmentation that operates without any labeled data or finetuning. CLASP first extracts per patch features …

Image Segmentation

ClaSP -- Parameter-free Time Series Segmentation

2022-07-28 · Arik Ermshaus, Patrick Schäfer, Ulf Leser

The study of natural and human-made processes often results in long sequences of temporally-ordered values, aka time series (TS). Such processes often consist of multiple states, e.g. operating modes of a machine, such t…

Change Point DetectionSegmentationSemantic SegmentationTime Series+1

CLASP: Contrastive Language-Speech Pretraining for Multilingual Multimodal Information Retrieval

2024-12-17 · Mohammad Mahdi Abootorabi, Ehsaneddin Asgari

This study introduces CLASP (Contrastive Language-Speech Pretraining), a multilingual, multimodal representation tailored for audio-text information retrieval. CLASP leverages the synergy between spoken content and textu…

Contrastive LearningInformation RetrievalMultimodal Deep LearningRetrieval+2

CLASP: Class-Adaptive Layer Fusion and Dual-Stage Pruning for Multimodal Large Language Models

2026-04-14 · Yunkai Dang, Yizhu Jiang, Yifan Jiang, Qi Fan 외 arxiv

Multimodal Large Language Models (MLLMs) suffer from substantial computational overhead due to the high redundancy in visual token sequences. Existing approaches typically address this issue using single-layer Vision Tra…

claspfolio 2: Advances in Algorithm Selection for Answer Set Programming

2014-05-07 · Holger Hoos, Marius Lindauer, Torsten Schaub

To appear in Theory and Practice of Logic Programming (TPLP). Building on the award-winning, portfolio-based ASP solver claspfolio, we present claspfolio 2, a modular and open solver architecture that integrates several …