Soft Begging: Modular and Efficient Protection Against LLM Prompt Injection and Jailbreak Based on Prompt TuningSoft Begging: Modular and Efficient Shielding of LLMs against Prompt Injection and Jailbreaking based on Prompt Tuning
AI summary
Soft Begging proposes using Prompt Tuning to train soft prompts that offset the influence of poisoned prompts on LLM outputs, in order to defend against direct/indirect prompt injection and jailbreak. The method targets application integration scenarios, provides a theoretical foundation, and evaluates its effectiveness.