[論文レビュー] Protecting Language Generation Models via Invisible Watermarking
Ginsew は、テキスト生成モデルの出力確率分布に見えないサイン波状ウォーターマークを埋め込み、モデル抽出攻撃を検出・帰属する。蒸留に対する頑健な知的財産保護を提供しつつ、生成品質への影響を最小限に抑える。
Language generation models have been an increasingly powerful enabler for many applications. Many such models offer free or affordable API access, which makes them potentially vulnerable to model extraction attacks through distillation. To protect intellectual property (IP) and ensure fair use of these models, various techniques such as lexical watermarking and synonym replacement have been proposed. However, these methods can be nullified by obvious countermeasures such as "synonym randomization". To address this issue, we propose GINSEW, a novel method to protect text generation models from being stolen through distillation. The key idea of our method is to inject secret signals into the probability vector of the decoding steps for each target token. We can then detect the secret message by probing a suspect model to tell if it is distilled from the protected one. Experimental results show that GINSEW can effectively identify instances of IP infringement with minimal impact on the generation quality of protected APIs. Our method demonstrates an absolute improvement of 19 to 29 points on mean average precision (mAP) in detecting suspects compared to previous methods against watermark removal attacks.
研究の動機と目的
- API にアクセス可能な言語モデルを安価な蒸留と知的財産の盗用から保護する動機づけ。
- ウォーターマーク削除の試みを生き延びる頑健なウォーターマーク手法を提案する。
- ウォーターマークが生成品質を維持しつつ、信頼性の高い窃盗検出を可能にすることを実証する。
- 秘密のデコード鍵を用いて第三者仲裁者による検証を可能にする。
提案手法
- トークン生成時にデコード確率ベクトルへ秘密のサイン波信号を注入する。
- 語彙を二つのランダムなグループに分割し、ハッシュ駆動の摂動を用いた周波数ベースのウォーターマークでグループ確率を調整する。
- ウォーターマーク鍵 K=(f_w, v, M) を用いて、疑いモデル上で Lomb-Scargle 周期グラフを介して検知可能な周波数ピークを生成する。
- データセットを用いて疑いモデルを探索的に検証し、デコードごとに Q_G1 統計量を計算し、周波数スペクトルを分析してウォーターマークを検出する。
- 確率が取得できない場合には、トークンレベルの出力に直接 Lomb-Scargle を適用してテキストのみのウォーターマーク検出オプションを提供する。
実験結果
リサーチクエスチョン
- RQ1保護された API からの蒸留後に、不可視の確率空間ウォーターマーキングは抽出試行後のモデルを識別できるか?
- RQ2生成品質を維持しつつ、同義語のランダム化などのウォーターマーク削除戦略に対して Ginsew はどれだけ頑健か?
- RQ3さまざまな生成タスクとアーキテクチャにおけるウォーターマーク強度と生成品質のトレードオフはどのようになるか?
- RQ4デコード確率にアクセスせず、生成されたテキストだけを用いてウォーターマーク検出が実用的か?
主な発見
- Ginsew は機械翻訳とストーリ生成タスクにおいて、BLEU/ROUGE-BERTScore の最小限の劣化を伴いながら高いウォーターマーク識別性を達成する。
- 同義語ランダマイゼーション攻撃下でも、盗用モデルの検出に対する平均適合率(mAP)を優位に保ち、従来法より19–29ポイント改善。
- 確率ベクトルと Lomb-Scargle 周期グラフを用いたウォーターマーク検出は一貫して高い信号対雑音比(P_snr)を示し、信頼性の高い窃盗帰属を可能にする。
- 本手法はアーキテクチャに依存しない、さまざまな抽出モデルアーキテクチャ(例: (m)BART、Transformer系、ConvS2S)で良好に機能する。
- テキストのみのウォーターマーク検出は確率ベース手法よりやや劣るものの、生成トークンの周波数ドメイン解析によって有効なウォーターマークの存在を示す。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。