跳到正文
原文

Soft Begging:基于 Prompt Tuning 模块化高效防护 LLM 提示注入与越狱Soft Begging: Modular and Efficient Shielding of LLMs against Prompt Injection and Jailbreaking based on Prompt Tuning

arXiv· arXiv:2407.03391· Simon Ostermann, Kevin Baum, Christoph Endres, Julia Masloh, Patrick Schramowski·本站收录· 27 天前· 原文发表防御
AI 导读

Soft Begging 提出用 Prompt Tuning 训练 soft prompt,抵消被污染提示对 LLM 输出的影响,以防御直接/间接提示注入与越狱。该方法面向应用集成场景,给出理论基础并评估其有效性。

阅读原文arxiv.org