Skip to content

Safety Context Retrieval (SCR): Scalable real-world jailbreak defense for large language modelsScalable Defense against In-the-wild Jailbreaking Attacks with Safety Context Retrieval

arXiv· arXiv:2505.15753· Taiye Chen, Zeming Wei, Ang Li, Yisen Wang·Indexed by this site · 23 days ago· Originally publishedDefenses
AI summary

The research proposes Safety Context Retrieval (SCR), which combines RAG to retrieve safety examples and can scalably defend against real-world jailbreak attacks on large language models. Preliminary research finds that a small number of safety alignment examples targeting a specific jailbreak pattern can significantly improve the model's robustness to that attack pattern. Experiments show that SCR achieves better defense performance against both existing and emerging jailbreak strategies, and the code will be released after the paper is published.

Read originalarxiv.org