[論文レビュー] Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplification
この論文は、自律的LLMエージェントの不安定性を悪用する画期的な攻撃ベクトルを紹介している。論理的・推論的誤動作を拡大させることで、繰り返しまたは無関係な動作を実行させ、複数のエージェントシナリオで80%を超える障害率を達成した。既存のセーフティ対策にもかかわらず、実世界の展開において深刻な脆弱性が明らかになった。
Recently, autonomous agents built on large language models (LLMs) have experienced significant development and are being deployed in real-world applications. These agents can extend the base LLM's capabilities in multiple ways. For example, a well-built agent using GPT-3.5-Turbo as its core can outperform the more advanced GPT-4 model by leveraging external components. More importantly, the usage of tools enables these systems to perform actions in the real world, moving from merely generating text to actively interacting with their environment. Given the agents' practical applications and their ability to execute consequential actions, it is crucial to assess potential vulnerabilities. Such autonomous systems can cause more severe damage than a standalone language model if compromised. While some existing research has explored harmful actions by LLM agents, our study approaches the vulnerability from a different perspective. We introduce a new type of attack that causes malfunctions by misleading the agent into executing repetitive or irrelevant actions. We conduct comprehensive evaluations using various attack methods, surfaces, and properties to pinpoint areas of susceptibility. Our experiments reveal that these attacks can induce failure rates exceeding 80\% in multiple scenarios. Through attacks on implemented and deployable agents in multi-agent scenarios, we accentuate the realistic risks associated with these vulnerabilities. To mitigate such attacks, we propose self-examination detection methods. However, our findings indicate these attacks are difficult to detect effectively using LLMs alone, highlighting the substantial risks associated with this vulnerability.
研究の動機と目的
- 誤った推論と応答のランダム性によって引き起こされる自律的LLMエージェントの内在的不安定性を特定・悪用すること。
- 明白な有害なコマンドを必要とせずに、誤動作の拡大が深刻なシステム障害を引き起こす可能性があることを実証すること。
- 多様なエージェント実装および実世界のタスクシナリオにおいて、こうした攻撃の有効性を評価すること。
- LLMベースの自己検査メカニズムを用いた、こうした攻撃の検出可能性を評価すること。
- 運用中のLLMエージェントにおいてこれまで見過ごされていた脆弱性が、運用上の混乱を引き起こす可能性があることを啓発すること。
提案手法
- 攻撃フレームワークは、入力プロンプトに摂動を加えることで、LLMエージェント内の論理的不一致や推論エラーを体系的に拡大する。
- 特に外部ツールを伴う複数ステップのタスクにおいて、エージェントの内部推論チェーンを標的とし、繰り返しまたは進行しない動作を誘発する。
- ツール呼び出し、メモリ管理、計画モジュールを含む、エージェントのさまざまなコンponentsにおける攻撃表面を評価する。
- 実装済みおよびエミュレーターシミュレートされたエージェントを用いた実験により、実世界への適用可能性と障害率を評価する。
- LLMが自身の推論に不審な点がないかを監査するようプロンプトを提示することで、自己検査検出メカニズムを評価する。
- GPT-3.5-Turbo や GPT-4 などの複数のLLMバージョンおよび LangChain や AutoGPT などのエージェントフレームワークを対象に攻撃を適用し、一般化可能性を評価する。

実験結果
リサーチクエスチョン
- RQ1明らかなセーフティフィルターをトリガーせずに、LLMエージェントの推論不安定性をどれほど悪用して、システム全体の障害を引き起こせるか。
- RQ2既存のLLMベースの自己検査メカニズムは、こうした誤動作拡大攻撃をどれほど効果的に検出できるか。
- RQ3実世界のタスクシナリオにおいて、誤動作拡大攻撃が自律的エージェントに与える障害率はどの程度か。
- RQ4異なるエージェントフレームワークやLLMバックボーンは、こうした攻撃に対する感受性にどのように影響するか。
- RQ5提案された攻撃ベクトルは、多様なエージェントタイプや展開環境に一般化可能か。
主な発見
- 誤動作拡大攻撃により、複数の実世界エージェントシナリオで80%を超える障害率が発生し、高い攻撃可能性が示された。
- LangChain や AutoGPT といった高度なエージェントフレームワークでさえ、テストケースの80%以上でタスク実行が著しく妨げられた。
- LLM内省に基づく自己検査検出メカニズムは、評価された設定すべてで50%未満の検出率にとどまり、ほとんど効果がなかった。
- GPT-3.5-Turbo や GPT-4 を含む複数のLLMバージョンで攻撃が有効であったため、広範な適用可能性が示された。
- この脆弱性は特定のエージェントタイプやフレームワークに限定されておらず、現在の自律的エージェント設計におけるシステム的リスクを示唆している。
- ツールを使用するエージェントでは、幻覚(hallucination)よりも推論エラーに起因する不安定性が、外部インターフェースの厳密な制約の下でより深刻な脅威であることが明らかになった。

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