arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.08565cs.CLcs.AIcs.CY
收藏

道德敏感性与在角色扮演下大型语言模型的鲁棒性

Moral Susceptibility and Robustness under Persona Role-Play in Large Language Models

TELUS Digital Research Hub(TELUS数字研究中心);Center for Artificial Intelligence and Machine Learning(人工智能与机器学习中心);Institute of Mathematics, Statistics and Computer Science(数学、统计与计算机科学研究所);University of São Paulo(圣保罗大学)

Davi Bastos Costa, Felippe Alves, Renato Vicente

AI总结:

本文研究了大型语言模型在角色扮演下的道德反应,通过道德基础问卷基准测试,量化了道德敏感性和鲁棒性,揭示了模型家族对鲁棒性的影响显著,而预训练对敏感性起主导作用。

摘要:

大型语言模型(LLMs)越来越多地在社会情境中运作,这促使我们分析它们如何表达和转变道德判断。本文研究了LLMs在角色扮演下的道德反应,通过道德基础问卷(MFQ)引入了一个基准测试,量化了两个属性:道德敏感性和道德鲁棒性,定义为MFQ分数在跨和内角色之间的变化性。我们通过两种互补的程序估计这些量:重复抽样和基于logit的方法,后者直接估计评分分布并允许温度分析。我们评估了15个模型,涵盖六个家族:Claude、DeepSeek、Gemini、GPT、Grok和Llama。这两个指标显示出不同的模式。道德鲁棒性变化超过一个数量级,系数变异约为152%,几乎完全由模型家族决定。Claude家族显著最鲁棒,比表现较差的家族(DeepSeek、Grok和Llama)多30倍,而Gemini和GPT处于中间层级。这种强烈的家族依赖性表明,鲁棒性主要由训练后决定。相比之下,道德敏感性范围更窄,系数变异约为13%,最敏感的模型仅比最不敏感的模型多1.6倍。与鲁棒性不同,敏感性没有明显的家族依赖性,表明它主要由预训练决定。此外,我们还展示了无角色扮演模型和角色平均模型的道德基础配置文件。这些分析共同提供了系统视角,揭示了角色条件如何塑造LLMs的道德行为,以及它们用于实例化角色的内部机制。

英文摘要:

Large language models (LLMs) increasingly operate in social contexts, motivating analysis of how they express and shift moral judgments. In this work, we investigate the moral response of LLMs to persona role-play, prompting a LLM to assume a specific character. Using the Moral Foundations Questionnaire (MFQ), we introduce a benchmark that quantifies two properties: moral susceptibility and moral robustness, defined from the variability of MFQ scores across- and within-personas. We estimate these quantities with two complementary procedures, repeated sampling and a logit-based method that directly estimates the rating distributions and enables temperature analysis. We evaluate 15 models across six families: Claude, DeepSeek, Gemini, GPT, Grok, and Llama. The two metrics show qualitatively different patterns. Moral robustness varies by more than an order of magnitude, with a coefficient of variation of about $152\%$, and is explained almost entirely by model family. The Claude family is, by a significant margin, the most robust, about 30 times more so than the lower-performing families (DeepSeek, Grok, and Llama), while Gemini and GPT occupy an intermediate tier. This strong family dependence suggests that robustness is primarily shaped by post-training. Moral susceptibility, by contrast, spans a much narrower range, with a coefficient of variation of about $13\%$, and the most susceptible model is only 1.6 times more susceptible than the least. Unlike robustness, susceptibility shows no clear family dependence, suggesting that it is primarily determined by pre-training. Additionally, we present moral foundation profiles for models without persona role-play and for personas averaged across models. Together, these analyses provide a systematic view of how persona conditioning shapes moral behavior in LLMs and a window into the internal machinery they use to instantiate personas.

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

↑