Large Language Models Meet Harry Potter: A Bilingual Dataset for Aligning Dialogue Agents with Characters
Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Hong Kong University of Science and Technology(香港科技大学);Tencent AI Lab(腾讯人工智能实验室)
Nuo Chen, Yan Wang, Haiyun Jiang, Deng Cai, Yuhan Li, Ziyang Chen, Longyue Wang, Jia Li
近年来,ChatGPT、GPT4等对话式大语言模型(LLM)在构建开放域对话智能体方面展现出巨大潜力。然而,由于角色表征的复杂性以及缺乏全面的标注数据,使这些智能体与特定角色或人物对齐仍是一项重大挑战。本文提出了Harry Potter Dialogue(HPD,哈利·波特对话)数据集,旨在推动对话智能体与角色对齐方向的研究。该数据集包含《哈利·波特》系列的所有对话片段(同时提供英文和中文版本),并标注了关键背景信息,包括对话场景、说话人、人物关系及角色属性。这些丰富的标注能够助力大语言模型解锁角色驱动的对话能力,此外,该数据集还可作为通用基准,用于评估大语言模型与特定角色的对齐效果。我们分别在微调与上下文学习两种设置下,基于HPD数据集对大语言模型进行了基准测试。评估结果显示,尽管在生成高质量、符合角色设定的回复方面仍有很大提升空间,但本文提出的数据集能够有效引导模型生成更贴合哈利·波特角色特质的回复,具有重要价值。
英文摘要:
In recent years, Dialogue-style Large Language Models (LLMs) such as ChatGPT and GPT4 have demonstrated immense potential in constructing open-domain dialogue agents. However, aligning these agents with specific characters or individuals remains a considerable challenge due to the complexities of character representation and the lack of comprehensive annotations. In this paper, we introduce the Harry Potter Dialogue (HPD) dataset, designed to advance the study of dialogue agents and character alignment. The dataset encompasses all dialogue sessions (in both English and Chinese) from the Harry Potter series and is annotated with vital background information, including dialogue scenes, speakers, character relationships, and attributes. These extensive annotations may empower LLMs to unlock character-driven dialogue capabilities. Furthermore, it can serve as a universal benchmark for evaluating how well can a LLM aligning with a specific character. We benchmark LLMs on HPD using both fine-tuning and in-context learning settings. Evaluation results reveal that although there is substantial room for improvement in generating high-quality, character-aligned responses, the proposed dataset is valuable in guiding models toward responses that better align with the character of Harry Potter.
Soft Token Attacks Cannot Reliably Audit Unlearning in Large Language Models
Ludwig Maximilian University of Munich(慕尼黑路德维希-马克西米利安大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Aalto University(艾尔沃斯大学);Intel Labs(英特尔实验室)
Step-by-Step Reasoning Attack: Revealing 'Erased' Knowledge in Large Language Models
School of Computing(计算机学院);National University of Singapore(新加坡国立大学);Department of Electrical and Computer Engineering(电气与计算机工程系);College of Design and Engineering(设计与工程学院);RespAI Lab(RespAI实验室);School of Computer Engineering(计算机工程学院);Institute for Infocomm Research(信息与通信研究所);A*STAR