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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Duan, Shitong, Yi, Xiaoyuan, Zhang, Peng, Lu, Tun, Xie, Xing, Gu, Ning
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911788321210368
author Duan, Shitong
Yi, Xiaoyuan
Zhang, Peng
Lu, Tun
Xie, Xing
Gu, Ning
author_facet Duan, Shitong
Yi, Xiaoyuan
Zhang, Peng
Lu, Tun
Xie, Xing
Gu, Ning
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2310_11053
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Denevil: Towards Deciphering and Navigating the Ethical Values of Large Language Models via Instruction Learning
Duan, Shitong
Yi, Xiaoyuan
Zhang, Peng
Lu, Tun
Xie, Xing
Gu, Ning
Computation and Language
Artificial Intelligence
Computers and Society
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.
title Denevil: Towards Deciphering and Navigating the Ethical Values of Large Language Models via Instruction Learning
topic Computation and Language
Artificial Intelligence
Computers and Society
url https://arxiv.org/abs/2310.11053