arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.11912cs.CL
收藏

CharacterBench:大型语言模型角色定制能力的基准测试

CharacterBench: Benchmarking Character Customization of Large Language Models

Tsinghua University(清华大学);Lingxin AI(灵犀人工智能);University of Electronic Science and Technology of China(电子科技大学);Central South University(中南大学);Netease(网易)
Jinfeng Zhou, Yongkang Huang, Bosi Wen, Guanqun Bi, Yuxuan Chen, Pei Ke, Zhuang Chen, Xiyao Xiao, Libiao Peng, Kuntian Tang, Rongsheng Zhang, Le Zhang, Tangjie … 展开作者

Jinfeng Zhou, Yongkang Huang, Bosi Wen, Guanqun Bi, Yuxuan Chen, Pei Ke, Zhuang Chen, Xiyao Xiao, Libiao Peng, Kuntian Tang, Rongsheng Zhang, Le Zhang, Tangjie Lv, Zhipeng Hu, Hongning Wang, Minlie Huang

AI总结:

针对现有角色定制评估的不足,提出最大双语基准CharacterBench,含22,859个样本覆盖25类角色,定义11个维度并定制查询,开发CharacterJudge模型实现高效稳定评估,优于GPT-4。

摘要:

基于角色的对话(又称角色扮演)使用户能够自由定制角色进行交互,这通常依赖于大型语言模型(LLM),因此需要评估LLM的角色定制能力。然而,现有基准测试往往仅涉及单一角色类别或评估有限维度,无法确保评估的稳健性。此外,响应中角色特征的稀疏性使得基于特征的生成式评估既低效又无效。为解决这些问题,我们提出了CharacterBench,这是最大的双语生成式基准测试,包含22,859个人工标注样本,覆盖25个详细角色类别中的3,956个角色。我们定义了6个方面的11个维度,根据特定维度评估的角色特征是否在每个响应中体现,将其分为稀疏维度和密集维度。我们通过为每个维度定制查询,以诱导角色产生与特定维度相关的响应,从而实现有效且高效的评估。此外,我们开发了CharacterJudge模型,用于成本效益高且稳定的评估。实验表明,它优于最先进的自动评估器(如GPT-4),并且我们的基准测试具有优化LLM角色定制能力的潜力。我们的代码库位于https://github.com/thu-coai/CharacterBench。

英文摘要:

Character-based dialogue (aka role-playing) enables users to freely customize characters for interaction, which often relies on LLMs, raising the need to evaluate LLMs' character customization capability. However, existing benchmarks fail to ensure a robust evaluation as they often only involve a single character category or evaluate limited dimensions. Moreover, the sparsity of character features in responses makes feature-focused generative evaluation both ineffective and inefficient. To address these issues, we propose CharacterBench, the largest bilingual generative benchmark, with 22,859 human-annotated samples covering 3,956 characters from 25 detailed character categories. We define 11 dimensions of 6 aspects, classified as sparse and dense dimensions based on whether character features evaluated by specific dimensions manifest in each response. We enable effective and efficient evaluation by crafting tailored queries for each dimension to induce characters' responses related to specific dimensions. Further, we develop CharacterJudge model for cost-effective and stable evaluations. Experiments show its superiority over SOTA automatic judges (e.g., GPT-4) and our benchmark's potential to optimize LLMs' character customization. Our repository is at https://github.com/thu-coai/CharacterBench.

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

↑