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

Denevil:通过指令学习解读和引导大语言模型的伦理价值观

Denevil: Towards Deciphering and Navigating the Ethical Values of Large Language Models via Instruction Learning

Fudan University(复旦大学);Microsoft Research Asia(微软亚洲研究院)

Shitong Duan, Xiaoyuan Yi, Peng Zhang, Tun Lu, Xing Xie, Ning Gu

AI总结:

本文提出DeNEVIL提示生成算法与MoralPrompt数据集,以生成式评测揭示LLMs伦理价值错位,并通过VILMO上下文对齐提升输出价值合规性。

摘要:

大语言模型(LLMs)取得了前所未有的突破,但其日益融入日常生活可能因生成不道德内容而带来社会风险。尽管偏见等具体问题已得到广泛研究,但从道德哲学视角看,LLMs的内在价值观仍基本未被探索。本研究利用道德基础理论深入考察伦理价值观。为超越可靠性较差的传统判别式评估,我们提出DeNEVIL,这是一种新型提示生成算法,旨在动态利用LLMs的价值脆弱性,并以生成方式诱发伦理违规,从而揭示其潜在价值倾向。在此基础上,我们构建了MoralPrompt,这是一个包含2,397条提示、覆盖500多项价值原则的高质量数据集,随后对一系列LLMs的内在价值观进行基准评测。我们发现,大多数模型本质上存在错位,需要进一步开展伦理价值对齐。为此,我们开发了VILMO,这是一种上下文对齐方法,通过学习生成适当的价值指令,显著提升LLM输出的价值合规性,并优于现有竞争方法。我们的方法适用于黑盒模型和开源模型,为研究LLMs的伦理价值观提供了有前景的初步步骤。

英文摘要:

Large Language Models (LLMs) have made unprecedented breakthroughs, yet their increasing integration into everyday life might raise societal risks due to generated unethical content. Despite extensive study on specific issues like bias, the intrinsic values of LLMs remain largely unexplored from a moral philosophy perspective. This work delves into ethical values utilizing Moral Foundation Theory. Moving beyond conventional discriminative evaluations with poor reliability, we propose DeNEVIL, a novel prompt generation algorithm tailored to dynamically exploit LLMs' value vulnerabilities and elicit the violation of ethics in a generative manner, revealing their underlying value inclinations. On such a basis, we construct MoralPrompt, a high-quality dataset comprising 2,397 prompts covering 500+ value principles, and then benchmark the intrinsic values across a spectrum of LLMs. We discovered that most models are essentially misaligned, necessitating further ethical value alignment. In response, we develop VILMO, an in-context alignment method that substantially enhances the value compliance of LLM outputs by learning to generate appropriate value instructions, outperforming existing competitors. Our methods are suitable for black-box and open-source models, offering a promising initial step in studying the ethical values of LLMs.

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

↑