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

中文语境下DeepSeek模型的安全评估与增强

Safety Evaluation and Enhancement of DeepSeek Models in Chinese Contexts

Unicom Data Intelligence(中国联通数据智能研究所);Data Science & Artificial Intelligence Research Institute(数据科学与人工智能研究院)

Wenjing Zhang, Xuejiao Lei, Zhaoxiang Liu, Limin Han, Jiaojiao Zhao, Junting Guo, Zhenhong Long, Shu Yang, Meijuan An, Beibei Huang, Rongjia Du, Ning Wang, Kai Wang, Shiguo Lian

AI总结:

针对DeepSeek-R1系列蒸馏模型中文语境安全能力未全面评估的空白,本研究用CHiSafetyBench评估并实施针对性安全增强,提升安全性的同时保留推理能力,且开源增强模型。

摘要:

DeepSeek-R1凭借其卓越的推理能力和开源策略,正显著影响全球人工智能格局。然而,该模型存在明显的安全缺陷。思科子公司Robust Intelligence与宾夕法尼亚大学合作开展的最新研究显示,DeepSeek-R1在处理有害提示时攻击成功率达100%。此外,多家安全公司和研究机构已发现该模型存在严重安全漏洞。尽管中国联通已发现R1在中文语境下的安全漏洞,但R1系列中其余蒸馏模型的安全能力尚未得到全面评估。为填补这一空白,本研究利用综合性中文安全基准CHiSafetyBench,对DeepSeek-R1系列蒸馏模型开展深入的安全评估,旨在评估这些模型在蒸馏前后于中文语境下的安全能力,并进一步阐明蒸馏对模型安全的负面影响。基于上述发现,我们对整个DeepSeek-R1模型系列实施了针对性的安全增强。评估结果表明,增强后的模型在安全性能上实现显著提升,同时推理能力未出现明显下降。我们在https://github.com/UnicomAI/DeepSeek-R1-Safe开源了安全增强后的模型,为DeepSeek模型的后续研究与优化提供宝贵资源。

英文摘要:

DeepSeek-R1, renowned for its exceptional reasoning capabilities and open-source strategy, is significantly influencing the global artificial intelligence landscape. However, it exhibits notable safety shortcomings. Recent research conducted by Robust Intelligence, a subsidiary of Cisco, in collaboration with the University of Pennsylvania, revealed that DeepSeek-R1 achieves a 100\% attack success rate when processing harmful prompts. Furthermore, multiple security firms and research institutions have identified critical security vulnerabilities within the model. Although China Unicom has uncovered safety vulnerabilities of R1 in Chinese contexts, the safety capabilities of the remaining distilled models in the R1 series have not yet been comprehensively evaluated. To address this gap, this study utilizes the comprehensive Chinese safety benchmark CHiSafetyBench to conduct an in-depth safety evaluation of the DeepSeek-R1 series distilled models. The objective is to assess the safety capabilities of these models in Chinese contexts both before and after distillation, and to further elucidate the adverse effects of distillation on model safety. Building on these findings, we implement targeted safety enhancements for the entire DeepSeek-R1 model series. Evaluation results indicate that the enhanced models achieve significant improvements in safety while maintaining reasoning capabilities without notable degradation. We open-source the safety-enhanced models at https://github.com/UnicomAI/DeepSeek-R1-Safe to serve as a valuable resource for future research and optimization of DeepSeek models.

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

↑