Skip to content

SafeAligner: Safety alignment against jailbreak attacks via response difference guidanceSafeAligner: Safety Alignment against Jailbreak Attacks via Response Disparity Guidance

arXiv· arXiv:2406.18118· Caishuang Huang, Wanxu Zhao, Rui Zheng, Huijie Lv, Wenyu Zhan, Shihan Dou, Sixian Li, Xiao Wang, Enyu Zhou, Junjie Ye, Yuming Yang, Tao Gui, Qi Zhang, Xuanjing Huang·Indexed by this site · 22 days ago· Originally publishedDefenses
AI summary

SafeAligner is a safety alignment method that defends against jailbreak attacks at the decoding stage using response difference guidance; it uses the difference in response safety levels between a Sentinel Model and an Intruder Model to identify harmful and beneficial tokens and adjusts the output token distribution of the target model. Experiments show that it increases the probability of beneficial tokens, reduces the occurrence of harmful tokens, and achieves safety alignment with as little loss of general capability as possible.

Read originalarxiv.org