次回の更新記事:AIエージェントのトークンコストを4割削る設計(公開予定日:2026年07月27日)
AIDB Daily Papers

PromptMark:プロンプト誘導型反復フィードバックによるソースコード電子透かしフレームワーク

原題: PromptMark: A Prompt-Guided Iterative-Feedback Framework for Source Code Watermarking
著者: Istiaq Ahmed Fahad, Mridha Md. Nafis Fuad, Kazi Sakib
公開日: 2026-06-18 | 分野: LLM AI ソフトウェア ソフトウェアエンジニアリング cs.SE cs.CR

※ 日本語タイトル・ポイントはAIによる自動生成です。正確な内容は原論文をご確認ください。

ポイント

  • LLMが生成するソースコードの来歴と説明責任を保証するため、ブラックボックス環境でも機能する電子透かしフレームワークを提案した。
  • この研究は、モデルのデコーディングプロセスにアクセスできない実用的なシナリオに対応し、コードの機能性を損なわずに目に見えない信号を埋め込む。
  • 実験により、PromptMarkは高いコードの正しさを維持しつつ、強力な検出可能性を達成し、既存手法を上回る性能を示した。

Abstract

Watermarking has become a crucial technique for ensuring provenance and accountability in AI-generated source code. As large language models (LLMs) are increasingly integrated into development workflows, reliable attribution remains challenging. In practice, most developers rely on commercial LLM APIs operating under black-box constraints, making existing approaches that require access to the decoding process less feasible for real-world integration. To address this limitation, we propose PromptMark, a black-box, prompt-guided watermarking framework that embeds invisible yet statistically detectable signals into generated code via structured input instructions. The method steers models toward subtle identifier and comment naming patterns while preserving the functional correctness and structural integrity of the generated code. Detection is performed using statistical tests designed to remain reliable across varying code lengths and model outputs. The embedding is further refined through an iterative feedback loop, where prompts are updated based on watermark detection scores. Experiments on the MBPP and HumanEval benchmarks show that PromptMark consistently achieves strong watermark detectability while maintaining high code correctness, outperforming baseline approaches.

Paper AI Chat

この論文のPDF全文を対象にAIに質問できます。

質問の例:

AIチャット機能を利用するには、ログインまたは会員登録(無料)が必要です。

会員登録 / ログイン

関連するAIDB記事