@article{softbeggingmodularandefficientshielding, title = {Soft Begging: Modular and Efficient Shielding of LLMs against Prompt Injection and Jailbreaking based on Prompt Tuning}, author = {Simon Ostermann and Kevin Baum and Christoph Endres and Julia Masloh and Patrick Schramowski}, year = {2024}, eprint = {2407.03391}, archivePrefix = {arXiv}, url = {https://arxiv.org/abs/2407.03391v1}, }