arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.13605cs.CYcs.AIcs.GTphysics.soc-ph
收藏

比人类更友善:大型语言模型在囚徒困境中如何表现?

Nicer Than Humans: How do Large Language Models Behave in the Prisoner's Dilemma?

Politecnico di Milano(米兰理工大学);IT University of Copenhagen(哥本哈根信息技术大学);Pioneer Centre for AI(先锋人工智能中心)

Nicoló Fontana, Francesco Pierri, Luca Maria Aiello

AI总结:

本研究通过迭代囚徒困境实验,系统评估了三个LLM(Llama2、Llama3、GPT3.5)的合作行为,发现它们总体比人类更合作,但模型间差异显著,为LLM审计与对齐提供了新方法。

摘要:

大型语言模型(LLM)作为人工社会代理的行为在很大程度上尚未被探索,我们仍然缺乏这些代理如何对简单社会刺激做出反应的广泛证据。在经典博弈论实验中测试AI代理的行为,为在原型社会情境中评估这些代理的规范和价值观提供了一个有前景的理论框架。在这项工作中,我们研究了三个LLM(Llama2、Llama3和GPT3.5)在与显示不同敌意水平的随机对手进行迭代囚徒困境时的合作行为。我们引入了一种系统的方法来评估LLM对游戏规则的理解及其解析历史游戏日志以进行决策的能力。我们进行了持续100轮的模拟游戏,并根据行为经济学文献中定义的维度分析了LLM的决策。我们发现,所有模型倾向于不主动背叛,但行事谨慎,仅在对手背叛率低时才偏好合作而非背叛。总体而言,LLM的行为至少与典型人类玩家一样合作,尽管我们的结果表明模型之间存在一些显著差异。特别是,Llama2和GPT3.5比人类更合作,并且在对手背叛率低于30%时尤其宽容且不报复。Llama3更接近人类,表现出持续不合作和剥削性的行为,除非对手始终合作。我们系统研究LLM在博弈论场景中的行为,是朝着使用这些模拟来指导LLM审计和对齐实践迈出的一步。

英文摘要:

The behavior of Large Language Models (LLMs) as artificial social agents is largely unexplored, and we still lack extensive evidence of how these agents react to simple social stimuli. Testing the behavior of AI agents in classic Game Theory experiments provides a promising theoretical framework for evaluating the norms and values of these agents in archetypal social situations. In this work, we investigate the cooperative behavior of three LLMs (Llama2, Llama3, and GPT3.5) when playing the Iterated Prisoner's Dilemma against random adversaries displaying various levels of hostility. We introduce a systematic methodology to evaluate an LLM's comprehension of the game rules and its capability to parse historical gameplay logs for decision-making. We conducted simulations of games lasting for 100 rounds and analyzed the LLMs' decisions in terms of dimensions defined in the behavioral economics literature. We find that all models tend not to initiate defection but act cautiously, favoring cooperation over defection only when the opponent's defection rate is low. Overall, LLMs behave at least as cooperatively as the typical human player, although our results indicate some substantial differences among models. In particular, Llama2 and GPT3.5 are more cooperative than humans, and especially forgiving and non-retaliatory for opponent defection rates below 30%. More similar to humans, Llama3 exhibits consistently uncooperative and exploitative behavior unless the opponent always cooperates. Our systematic approach to the study of LLMs in game theoretical scenarios is a step towards using these simulations to inform practices of LLM auditing and alignment.

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

↑