MENTOR: 一种元认知驱动的自我进化框架,用于发现和缓解大语言模型中的隐式领域风险
MENTOR: A Metacognition-Driven Self-Evolution Framework for Uncovering and Mitigating Implicit Domain Risks in LLMs
AI总结:
针对大语言模型在特定领域(如教育、金融、管理)中存在的隐式安全风险,提出基于元认知自我评估和动态规则知识图谱的MENTOR框架,通过激活级引导信号有效降低攻击成功率。
摘要:
确保大语言模型(LLMs)的安全性对于实际部署至关重要。然而,当前的安全措施往往无法解决隐式的、特定领域的风险。为了研究这一差距,我们引入了一个包含3000个标注查询的数据集,涵盖教育、金融和管理领域。对14个主流LLMs的评估揭示了一个令人担忧的漏洞:平均越狱成功率为57.8%。为此,我们提出了MENTOR,一种元认知驱动的自我进化框架。MENTOR执行元认知自我评估,采用视角转换和后果推理等策略来揭示潜在的模型错位。由此产生的反思被提炼为动态的基于规则的知识图谱,从中检索到的规则被转换为激活级引导信号,以在推理过程中指导内部表示。实验表明,MENTOR在所有测试领域显著降低了攻击成功率,并优于现有的安全对齐方法。MENTOR的代码和数据集可在 https://anonymous.4open.science/r/MENTOR-Evo 获取。
英文摘要:
Ensuring the safety of Large Language Models (LLMs) is critical for real-world deployment. However, current safety measures often fail to address implicit, domain-specific risks. To investigate this gap, we introduce a dataset of 3,000 annotated queries spanning education, finance, and management. Evaluations across 14 leading LLMs reveal a concerning vulnerability: an average jailbreak success rate of 57.8\%. In response, we propose MENTOR, a metacognition-driven self-evolution framework. MENTOR performs metacognitive self-assessment, using strategies such as perspective-taking and consequential reasoning to uncover latent model misalignments. MENTOR couples single-pass rule-guided inference for routine requests with a selectively invoked metacognitive evolution cycle that revises residual unsafe responses, distills successful corrections into a dynamic rule graph, and compiles validated rules into activation-level steering signals for future inference. Experiments demonstrate that MENTOR substantially reduces attack success rates across all tested domains and outperforms existing safety alignment methods. The code and dataset for MENTOR are available at: https://anonymous.4open.science/r/MENTOR-Evo.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。