Skip to content

G4D: A Dynamic Guidance and Domain-Applicable Defense Framework for Large Language Model SafetyDynamic Guided and Domain Applicable Safeguards for Enhanced Security in Large Language Models

arXiv· arXiv:2410.17922· Weidi Luo, He Cao, Zijing Liu, Yu Wang, Aidan Wong, Bing Feng, Yuan Yao, Yu Li·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

The researchers propose a multi-agent defense framework, Guide for Defense (G4D), to enhance large language models' defense against jailbreak attacks. The framework uses accurate external information to provide unbiased summaries of user intent and analysis-grounded safety response guidance, mitigating two problems: insufficient domain defense and over-defense. Experiments on mainstream jailbreak attacks and benign datasets show that G4D improves jailbreak robustness in both general and domain-specific scenarios such as chemistry, without harming the model's general capabilities.

Read originalarxiv.org