arXiv reaDer
CLIP でのタイポグラフィ攻撃を防止するための防御プレフィックス
Defense-Prefix for Preventing Typographic Attacks on CLIP
視覚言語事前トレーニング モデル (VLP) は、さまざまな視覚言語タスクで革新的な改善を示しています。 VLP では、いくつかの敵対的攻撃がモデルをだまして、誤った分類やばかげた分類に導きます。以前の研究では、モデルを微調整するか、そのアーキテクチャを変更することで、これらの攻撃に対処していました。ただし、これらの方法では、元のモデルのパフォーマンスが失われるリスクがあり、下流のタスクに適用するのは困難です。特に、他のタスクへの適用性は考慮されていません。この研究では、モデル パラメーターを変更せずに、CLIP に対するタイポグラフィ攻撃の影響を軽減することに取り組みました。これを達成するために、「プレフィックス学習」のアイデアを拡張し、シンプルでありながら効果的な方法を導入します。Defence-Prefix (DP) は、クラス名の前に DP トークンを挿入して、タイポグラフィ攻撃に対して「堅牢な」単語を作成します。 .提案された方法はモデルパラメータに依存しないため、私たちの方法はオブジェクト検出などの下流のタスクに簡単に適用できます。私たちの方法は、モデルのゼロショット機能を維持しながら、タイポグラフィ攻撃データセットの分類タスクの精度を大幅に向上させます。また、提案手法を物体検出に活用し、その高い適用性と有効性を実証します。コードとデータセットは公開されます。
Vision-language pre-training models (VLPs) have exhibited revolutionary improvements in various vision-language tasks. In VLP, some adversarial attacks fool a model into false or absurd classifications. Previous studies addressed these attacks by fine-tuning the model or changing its architecture. However, these methods risk losing the original model's performance and are difficult to apply to downstream tasks. In particular, their applicability to other tasks has not been considered. In this study, we addressed the reduction of the impact of typographic attacks on CLIP without changing the model parameters. To achieve this, we expand the idea of ``prefix learning'' and introduce our simple yet effective method: Defense-Prefix (DP), which inserts the DP token before a class name to make words ``robust'' against typographic attacks. Our method can be easily applied to downstream tasks, such as object detection, because the proposed method is independent of the model parameters. Our method significantly improves the accuracy of classification tasks for typographic attack datasets, while maintaining the zero-shot capabilities of the model. In addition, we leverage our proposed method for object detection, demonstrating its high applicability and effectiveness. The codes and datasets will be publicly available.
updated: Mon Apr 10 2023 11:05:20 GMT+0000 (UTC)
published: Mon Apr 10 2023 11:05:20 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト