arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.09673cs.CLcs.AI
收藏

更智能的大语言模型更安全吗?探究提示工程与微调中的安全-推理权衡

Are Smarter LLMs Safer? Exploring Safety-Reasoning Trade-offs in Prompting and Fine-Tuning

Peking University(北京大学);CISPA(CISPA亥姆霍兹信息安全中心);MIT(麻省理工学院)

Ang Li, Yichuan Mo, Mingjie Li, Yifei Wang, Yisen Wang

AI总结:

该研究探究大语言模型中推理能力与安全性的相互作用,揭示推理提升带来的潜在安全风险,同时探索利用推理增强安全的缓解策略,为开发高能力且可信的大模型提供参考。

摘要:

大语言模型(LLM)已在各类自然语言处理基准测试中取得显著成效。然而,要在需要精细推理和精准决策的复杂任务中表现出色,仅靠基础语言能力远远不够——LLM必须具备推理能力,即能够进行逻辑思考、借鉴过往经验并整合信息,从而得出结论并采取行动。为提升推理能力,提示工程(prompting)和微调(fine-tuning)等方法已被广泛研究。尽管这些方法显著提升了推理性能,但它们对LLM安全性的影响仍未得到充分探究。本研究考察了LLM中推理与安全的相互作用,揭示了推理能力提升过程中潜藏的安全风险,指出了此前被忽视的漏洞。同时,本研究探索了如何利用推理本身来增强安全性,发掘出潜在的缓解策略。通过审视推理驱动的LLM安全领域的风险与机遇,本研究为开发既有更强能力、又能在实际部署中更值得信赖的模型提供了宝贵见解。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable success across various NLP benchmarks. However, excelling in complex tasks that require nuanced reasoning and precise decision-making demands more than raw language proficiency--LLMs must reason, i.e., think logically, draw from past experiences, and synthesize information to reach conclusions and take action. To enhance reasoning abilities, approaches such as prompting and fine-tuning have been widely explored. While these methods have led to clear improvements in reasoning, their impact on LLM safety remains less understood. In this work, we investigate the interplay between reasoning and safety in LLMs. We highlight the latent safety risks that arise as reasoning capabilities improve, shedding light on previously overlooked vulnerabilities. At the same time, we explore how reasoning itself can be leveraged to enhance safety, uncovering potential mitigation strategies. By examining both the risks and opportunities in reasoning-driven LLM safety, our study provides valuable insights for developing models that are not only more capable but also more trustworthy in real-world deployments.

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

↑