[論文レビュー] An Early Categorization of Prompt Injection Attacks on Large Language Models
この論文は大規模言語モデルに対するプロンプト注入攻撃を調査・分類し、二分の系統分類(direct と indirect injections)を提案し、direct が六つ、indirect が四つのクラス、そして十七の例攻撃を提示します。
Large language models and AI chatbots have been at the forefront of democratizing artificial intelligence. However, the releases of ChatGPT and other similar tools have been followed by growing concerns regarding the difficulty of controlling large language models and their outputs. Currently, we are witnessing a cat-and-mouse game where users attempt to misuse the models with a novel attack called prompt injections. In contrast, the developers attempt to discover the vulnerabilities and block the attacks simultaneously. In this paper, we provide an overview of these emergent threats and present a categorization of prompt injections, which can guide future research on prompt injections and act as a checklist of vulnerabilities in the development of LLM interfaces. Moreover, based on previous literature and our own empirical research, we discuss the implications of prompt injections to LLM end users, developers, and researchers.
研究の動機と目的
- Describe and document known prompt injection types to map vulnerabilities in LLM interfaces.
- Provide a practical categorization to guide future research and defense design.
- Offer implications for end users, developers, and researchers on mitigating prompt injection threats.
提案手法
- Systematically review academic and non-academic sources from May to September 2023 for prompt injection cases.
- Group identified injections into two main branches: direct and indirect, then into six direct and four indirect classes.
- Compile examples and map each to its target, objective, and prompt structure.
- Test prompt injections in ChatGPT and GPT-3 to confirm feasibility and relevance while noting patched vulnerabilities.

実験結果
リサーチクエスチョン
- RQ1What types of prompt injection attacks exist?
- RQ2Can these injections be grouped into coherent categories for systematic study?
- RQ3What are the implications of prompt injections for LLM interfaces, services, and users?
主な発見
- Identified and verified seventeen distinct prompt injection variations.
- Two main branches: direct prompt injections aiming to bypass safety filters, and indirect prompt injections with varied attack vectors.
- Direct injections are frequently used to circumvent restrictions and reveal internal prompts or instructions.
- Indirect injections cover active, passive, user-driven, and virtual prompt injections with broader attack goals.
- The categorization aids in systematic review and evaluation of LLM interfaces for vulnerabilities.

この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。