软乞求:基于提示微调的对大语言模型进行模块化且高效的提示注入与越狱防护
Soft Begging: Modular and Efficient Shielding of LLMs against Prompt Injection and Jailbreaking based on Prompt Tuning
AI总结:
本文提出“软乞求”方法,通过训练软提示抵消被破坏提示的影响,以模块化且高效的方式保护大语言模型免受提示注入和越狱攻击。
摘要:
提示注入(包括直接和间接)和越狱现已被认为是大语言模型(LLMs)的重大问题,尤其是因为它们在应用集成场景中可能造成危害。本扩展摘要探讨了一种保护LLMs免受此类攻击的新方法,称为“软乞求”。该方法涉及训练软提示,以抵消被破坏的提示对LLM输出的影响。我们概述了提示注入和越狱,介绍了“软乞求”技术的理论基础,并讨论了对其有效性的评估。
英文摘要:
Prompt injection (both direct and indirect) and jailbreaking are now recognized as significant issues for large language models (LLMs), particularly due to their potential for harm in application-integrated contexts. This extended abstract explores a novel approach to protecting LLMs from such attacks, termed "soft begging." This method involves training soft prompts to counteract the effects of corrupted prompts on the LLM's output. We provide an overview of prompt injections and jailbreaking, introduce the theoretical basis of the "soft begging" technique, and discuss an evaluation of its effectiveness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。