Skip to content

Think Before You Act: GuidelineLLM Enhances Large Language Models' Attention and Vigilance to Harmful ContentLook Before You Leap: Enhancing Attention and Vigilance Regarding Harmful Content with GuidelineLLM

arXiv· arXiv:2412.10423· Shaoqing Zhang, Zhuosheng Zhang, Kehai Chen, Rongxiang Weng, Muyun Yang, Tiejun Zhao, Min Zhang·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

Before a large language model (LLM) answers, GuidelineLLM first identifies the query's potential risks and summarizes them as guideline suggestions, then feeds these suggestions into the answering model to enhance its vigilance against harmful content and jailbreak attacks. Experiments show that this method reduces the attack success rate (ASR) by 34.17% on average while maintaining the LLM's usability for benign queries; and it requires no additional safety fine-tuning of the LLM itself, only fine-tuning of GuidelineLLM.

Read originalarxiv.org