arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03769cs.CLcs.AIcs.CR
收藏

SciSafeEval:科学任务中大型语言模型安全对齐的综合基准

SciSafeEval: A Comprehensive Benchmark for Safety Alignment of Large Language Models in Scientific Tasks

Duke University(杜克大学);Zhejiang University(浙江大学);Australian National University(澳大利亚国立大学);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);Beijing University of Posts and Telecommunications(北京邮电大学);University College London(伦敦大学学院);University of Glasgow(格拉斯哥大学);China Mobile Communications Group Co.,Ltd(中国移动通信集团有限公司);Hong Kong Polytechnic University(香港理工大学);North China University of Technology(北方工业大学)

Tianhao Li, Jingyu Lu, Chuangxin Chu, Tianyu Zeng, Yujia Zheng, Mei Li, Haotian Huang, Bin Wu, Zuoxian Liu, Kai Ma, Xuejing Yuan, Xingkai Wang, Keyan Ding, Huajun Chen, Qiang Zhang

AI总结:

针对现有安全基准忽视科学语言表示的问题,提出SciSafeEval综合基准,覆盖文本、分子、蛋白质和基因组语言,在多种设置下评估LLMs安全对齐,并引入越狱增强测试,以促进负责任部署。

摘要:

大型语言模型(LLMs)对生物学、化学、医学和物理学等多个学科的科学任务产生了变革性影响。然而,确保这些模型在科学研究中的安全对齐仍是一个探索不足的领域,现有基准主要关注文本内容,忽视了分子、蛋白质和基因组语言等关键科学表示。此外,LLMs在科学任务中的安全机制研究不足。为解决这些局限性,我们引入了SciSafeEval,一个旨在评估LLMs在多种科学任务中安全对齐的综合基准。SciSafeEval涵盖多种科学语言——包括文本、分子、蛋白质和基因组——并覆盖广泛的科学领域。我们在零样本、少样本和思维链设置下评估LLMs,并引入了一种“越狱”增强功能,挑战配备安全护栏的LLMs,严格测试其抵御恶意意图的防御能力。我们的基准在规模和范围上均超越现有安全数据集,为评估LLMs在科学情境中的安全性和性能提供了稳健平台。这项工作旨在促进LLMs的负责任开发与部署,推动其在科学研究中符合安全与伦理标准。

英文摘要:

Large language models (LLMs) have a transformative impact on a variety of scientific tasks across disciplines including biology, chemistry, medicine, and physics. However, ensuring the safety alignment of these models in scientific research remains an underexplored area, with existing benchmarks primarily focusing on textual content and overlooking key scientific representations such as molecular, protein, and genomic languages. Moreover, the safety mechanisms of LLMs in scientific tasks are insufficiently studied. To address these limitations, we introduce SciSafeEval, a comprehensive benchmark designed to evaluate the safety alignment of LLMs across a range of scientific tasks. SciSafeEval spans multiple scientific languages-including textual, molecular, protein, and genomic-and covers a wide range of scientific domains. We evaluate LLMs in zero-shot, few-shot and chain-of-thought settings, and introduce a "jailbreak" enhancement feature that challenges LLMs equipped with safety guardrails, rigorously testing their defenses against malicious intention. Our benchmark surpasses existing safety datasets in both scale and scope, providing a robust platform for assessing the safety and performance of LLMs in scientific contexts. This work aims to facilitate the responsible development and deployment of LLMs, promoting alignment with safety and ethical standards in scientific research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑