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

上下文模仿揭示了大型语言模型的优势与偏见

In-Context Impersonation Reveals Large Language Models' Strengths and Biases

University of Tübingen(图宾根大学);Tübingen AI Center(图宾根人工智能中心);University of Porto(波尔图大学);INESC TEC(葡萄牙系统与计算机工程研究所(技术与科学));Max Planck Institute for Biological Cybernetics(马克斯·普朗克生物控制论研究所)

Leonard Salewski, Stephan Alaniz, Isabel Rio-Torto, Eric Schulz, Zeynep Akata

AI总结:

本研究探讨LLMs在上下文生成时模仿不同角色(人设)的能力,发现模仿可提升视觉与语言任务表现并恢复人类发展特征,同时能揭示模型隐藏的优势与偏见。

摘要:

在日常对话中,人类可以扮演不同角色,并根据所选角色调整词汇。我们探讨LLMs在生成上下文文本时是否能扮演(即模仿)不同角色。我们在解决视觉和语言任务前,要求LLMs假设不同的人设。我们通过在提示前加上与社会身份或领域专业知识相关的人设来实现这一点。在多臂老虎机任务中,我们发现假装是不同年龄儿童的LLMs恢复了类似人类的探索发展阶段。在基于语言的推理任务中,我们发现模仿领域专家的LLMs比模仿非领域专家的表现更好。最后,我们测试了在描述不同类别时,LLMs的模仿是否与视觉信息互补。我们发现模仿可以提高性能:被提示为鸟类专家的LLM比被提示为汽车专家的描述鸟类更好。然而,模仿也能揭示LLMs的偏见:被提示为男性的LLM比被提示为女性的描述汽车更好。这些发现表明LLMs能够扮演多种角色,且这种上下文模仿可用于揭示其隐藏的优势和偏见。

英文摘要:

In everyday conversations, humans can take on different roles and adapt their vocabulary to their chosen roles. We explore whether LLMs can take on, that is impersonate, different roles when they generate text in-context. We ask LLMs to assume different personas before solving vision and language tasks. We do this by prefixing the prompt with a persona that is associated either with a social identity or domain expertise. In a multi-armed bandit task, we find that LLMs pretending to be children of different ages recover human-like developmental stages of exploration. In a language-based reasoning task, we find that LLMs impersonating domain experts perform better than LLMs impersonating non-domain experts. Finally, we test whether LLMs' impersonations are complementary to visual information when describing different categories. We find that impersonation can improve performance: an LLM prompted to be a bird expert describes birds better than one prompted to be a car expert. However, impersonation can also uncover LLMs' biases: an LLM prompted to be a man describes cars better than one prompted to be a woman. These findings demonstrate that LLMs are capable of taking on diverse roles and that this in-context impersonation can be used to uncover their hidden strengths and biases.

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

↑