@inproceedings{wang-etal-2025-repd,
title = "{R}e{PD}: Defending Jailbreak Attack through a Retrieval-based Prompt Decomposition Process",
author = "Wang, Peiran and
Liu, Xiaogeng and
Xiao, Chaowei",
editor = "Chiruzzo, Luis and
Ritter, Alan and
Wang, Lu",
booktitle = "Findings of the Association for Computational Linguistics: NAACL 2025",
month = apr,
year = "2025",
address = "Albuquerque, New Mexico",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/Ingest-2025-COMPUTEL/2025.findings-naacl.16/",
pages = "283--294",
ISBN = "979-8-89176-195-7",
abstract = "In this study, we introduce RePD, an innovative attack Retrieval-based Prompt Decomposition framework designed to mitigate the risk of jailbreak attacks on large language models (LLMs). Despite rigorous pre-training and fine-tuning focused on ethical alignment, LLMs are still susceptible to jailbreak exploits. RePD operates on a one-shot learning model, wherein it accesses a database of pre-collected jailbreak prompt templates to identify and decompose harmful inquiries embedded within user prompts. This process involves integrating the decomposition of the jailbreak prompt into the user`s original query into a one-shot learning example to effectively teach the LLM to discern and separate malicious components. Consequently, the LLM is equipped to first neutralize any potentially harmful elements before addressing the user`s prompt in a manner that aligns with its ethical guidelines. RePD is versatile and compatible with a variety of open-source LLMs acting as agents. Through comprehensive experimentation with both harmful and benign prompts, we have demonstrated the efficacy of our proposed RePD in enhancing the resilience of LLMs against jailbreak attacks, without compromising their performance in responding to typical user requests."
}
Markdown (Informal)
[RePD: Defending Jailbreak Attack through a Retrieval-based Prompt Decomposition Process](https://preview.aclanthology.org/Ingest-2025-COMPUTEL/2025.findings-naacl.16/) (Wang et al., Findings 2025)
ACL