Skip to content

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

arXiv· arXiv:2407.03391· Simon Ostermann, Kevin Baum, Christoph Endres, Julia Masloh, Patrick Schramowski·Indexed by this site · 27 days ago· Originally publishedDefenses
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.

Read originalarxiv.org