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

大语言模型毒性的真实评估

Realistic Evaluation of Toxicity in Large Language Models

Oraichain Labs(奥赖链实验室);VinAI Research(VinAI研究院);Hanoi University of Science and Technology(河内科技大学);University of Oregon(俄勒冈大学)

Tinh Son Luong, Thanh-Thien Le, Linh Ngo Van, Thien Huu Nguyen

AI总结:

针对大语言模型现有安全防护易被绕过、毒性问题难被发现的问题,研究提出人工构建的TET数据集作为严格基准,可有效揭示主流大语言模型中普通提示无法暴露的隐蔽毒性问题。

摘要:

大语言模型(LLM)已成为我们专业工作流程和日常生活中不可或缺的一部分。然而,这些我们的机器伙伴存在一个关键缺陷:赋予它们海量多样知识的庞大数据量,也让它们暴露于不可避免的毒性内容与偏见之中。尽管大多数大语言模型都内置了防御机制以防止生成有害内容,但这些安全防护措施只需通过极少的提示工程就能被轻易绕过。在本文中,我们提出了全新的Thoroughly Engineered Toxicity(TET,精心设计毒性)数据集,其中包含经人工构建、旨在破除这类模型防护层的提示词。通过大量评估,我们证明了TET在为多款主流大语言模型的毒性意识评估提供严格基准方面的关键作用:它能揭示使用普通提示时可能隐藏的大语言模型毒性问题,从而暴露其行为中更隐蔽的问题。

英文摘要:

Large language models (LLMs) have become integral to our professional workflows and daily lives. Nevertheless, these machine companions of ours have a critical flaw: the huge amount of data which endows them with vast and diverse knowledge, also exposes them to the inevitable toxicity and bias. While most LLMs incorporate defense mechanisms to prevent the generation of harmful content, these safeguards can be easily bypassed with minimal prompt engineering. In this paper, we introduce the new Thoroughly Engineered Toxicity (TET) dataset, comprising manually crafted prompts designed to nullify the protective layers of such models. Through extensive evaluations, we demonstrate the pivotal role of TET in providing a rigorous benchmark for evaluation of toxicity awareness in several popular LLMs: it highlights the toxicity in the LLMs that might remain hidden when using normal prompts, thus revealing subtler issues in their behavior.

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

↑