arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.02582cs.AIcs.GT
收藏

与大语言模型玩游戏:随机性与策略

Playing games with Large language models: Randomness and strategy

UNSW(新南威尔士大学)

Alicia Vidler, Toby Walsh

AI总结:

本文探讨大语言模型在石头剪刀布和囚徒困境中的博弈能力,发现其随机输出存在严重偏差,并在重复博弈中表现出损失厌恶策略,揭示了其在多智能体战略决策中的局限性。

摘要:

玩游戏有着悠久的历史,能以简化的形式描述复杂的互动。在本文中,我们探讨大语言模型(LLMs)能否玩游戏,通过同时和序贯博弈互动研究其随机化和策略适应能力。我们聚焦于 GPT-4o-Mini-2024-08-17,并测试了 LLM 之间的两种游戏:石头剪刀布(RPS)和策略博弈(囚徒困境 PD)。LLMs 常被描述为“随机鹦鹉”,虽然它们确实可能是鹦鹉,但我们的结果表明它们并不十分随机,即当被提示随机输出时,其结果往往存在严重偏差。研究揭示,LLMs 在重复博弈中似乎会发展出损失厌恶策略,其中 RPS 会收敛至僵局状态,而 PD 则根据提示设计在合作与竞争结果之间表现出系统性转变。我们详细介绍了用于独立智能体交互的编程工具,以及在实现中面临的 Agentic AI 挑战。我们表明 LLMs 确实能玩游戏,只是玩得不太好。这些结果对 LLMs 在多智能体 LLM 系统中的应用具有启示意义,并展示了当前模型输出在战略决策方法上的局限性。

英文摘要:

Playing games has a long history of describing intricate interactions in simplified forms. In this paper we explore if large language models (LLMs) can play games, investigating their capabilities for randomisation and strategic adaptation through both simultaneous and sequential game interactions. We focus on GPT-4o-Mini-2024-08-17 and test two games between LLMs: Rock Paper Scissors (RPS) and games of strategy (Prisoners Dilemma PD). LLMs are often described as stochastic parrots, and while they may indeed be parrots, our results suggest that they are not very stochastic in the sense that their outputs - when prompted to be random - are often very biased. Our research reveals that LLMs appear to develop loss aversion strategies in repeated games, with RPS converging to stalemate conditions while PD shows systematic shifts between cooperative and competitive outcomes based on prompt design. We detail programmatic tools for independent agent interactions and the Agentic AI challenges faced in implementation. We show that LLMs can indeed play games, just not very well. These results have implications for the use of LLMs in multi-agent LLM systems and showcase limitations in current approaches to model output for strategic decision-making.

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

↑