arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.01589cs.LGcs.AI
收藏

SafeSci: 科学领域及更广泛场景下大型语言模型的安全性评估

SafeSci: Safety Evaluation of Large Language Models in Science Domains and Beyond

Shanghai AI Lab(上海人工智能实验室);ECNU(华东师范大学);ByteDance(字节跳动)
Xiangyang Zhu, Yuan Tian, Qi Jia, Kaiwei Zhang, Zicheng Zhang, Chunyi Li, Kaiyuan Ji, Dongrui Liu, Zijian Chen, Lu Sun, Renrui Zhang, Yan Teng, Jing Shao, Wei S… 展开作者

Xiangyang Zhu, Yuan Tian, Qi Jia, Kaiwei Zhang, Zicheng Zhang, Chunyi Li, Kaiyuan Ji, Dongrui Liu, Zijian Chen, Lu Sun, Renrui Zhang, Yan Teng, Jing Shao, Wei Sun, Xia Hu, Yu Qiao, Guangtao Zhai

AI总结:

本文提出SafeSci框架,通过SafeSciBench和SafeSciTrain评估和提升科学领域LLM的安全性,发现现有模型存在关键漏洞,并展示微调提升安全对齐性。

摘要:

大型语言模型在科学领域取得成功后,安全性问题愈发突出,促使众多基准测试评估其科学安全性。现有基准测试常存在风险覆盖有限和依赖主观评估的问题。为解决这些问题,我们引入SafeSci,一个用于科学情境中安全评估和增强的综合性框架。SafeSci包含SafeSciBench,一个涵盖0.25M样本的多学科基准测试,以及SafeSciTrain,一个包含1.5M样本的大规模数据集用于安全增强。SafeSciBench区分安全知识与风险以覆盖广泛范围,并采用确定性可回答的问题等客观指标以减轻评估偏差。我们评估了24种先进LLM,揭示了当前模型的关键漏洞。我们还观察到,LLM在安全相关问题上表现出不同程度的过度拒绝行为。为安全增强,我们证明在SafeSciTrain上微调显著提升了模型的安全对齐性。最后,我们认为知识是双刃剑,确定科学问题的安全性应取决于具体情境,而非普遍归类为安全或不安全。本文提供了诊断工具和实用资源,用于构建更安全的科学AI系统。

英文摘要:

The success of large language models (LLMs) in scientific domains has heightened safety concerns, prompting numerous benchmarks to evaluate their scientific safety. Existing benchmarks often suffer from limited risk coverage and a reliance on subjective evaluation. To address these problems, we introduce SafeSci, a comprehensive framework for safety evaluation and enhancement in scientific contexts. SafeSci comprises SafeSciBench, a multi-disciplinary benchmark with 0.25M samples, and SafeSciTrain, a large-scale dataset containing 1.5M samples for safety enhancement. SafeSciBench distinguishes between safety knowledge and risk to cover extensive scopes and employs objective metrics such as deterministically answerable questions to mitigate evaluation bias. We evaluate 24 advanced LLMs, revealing critical vulnerabilities in current models. We also observe that LLMs exhibit varying degrees of excessive refusal behaviors on safety-related issues. For safety enhancement, we demonstrate that fine-tuning on SafeSciTrain significantly enhances the safety alignment of models. Finally, we argue that knowledge is a double-edged sword, and determining the safety of a scientific question should depend on specific context, rather than universally categorizing it as safe or unsafe. Our work provides both a diagnostic tool and a practical resource for building safer scientific AI systems.

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

↑