arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.16843cs.LGcs.AIcs.GT
收藏

LLM智能体有遗憾吗?在线学习与博弈中的案例研究

Do LLM Agents Have Regret? A Case Study in Online Learning and Games

Massachusetts Institute of Technology(麻省理工学院);University of Maryland, College Park(马里兰大学College Park分校)

Chanwoo Park, Xiangyu Liu, Asuman Ozdaglar, Kaiqing Zhang

AI总结:

本研究通过在线学习和博弈论基准,用遗憾指标评估LLM智能体的决策性能,提出无需标签的无监督遗憾损失训练方法,促进无遗憾行为,并验证其有效性。

摘要:

大型语言模型(LLMs)越来越多地被用于(交互式)决策,通过开发基于LLM的自主智能体来实现。尽管取得了初步成功,但LLM智能体在决策中的性能尚未通过定量指标得到充分研究,特别是在多智能体环境中,当它们相互交互时,这是现实世界LLM智能体应用中的典型场景。为了更好地理解LLM智能体在这些交互环境中的局限性,我们提出通过在线学习和博弈论中的基准决策设置来研究它们的交互,使用性能指标“遗憾”(regret)。我们首先在典型的(非平稳)在线学习问题中实证研究LLM的“无遗憾”行为,以及当LLM智能体通过重复博弈交互时均衡的出现。然后,我们在对监督预训练和生成数据的人类决策者的理性模型做出某些假设的情况下,为LLM智能体的无遗憾行为提供一些理论见解。值得注意的是,我们还识别出(简单的)案例,其中高级LLM如GPT-4未能实现无遗憾。为了促进无遗憾行为,我们提出了一种新颖的“无监督”训练损失——“遗憾损失”(regret-loss),与监督预训练损失相比,它不需要(最优)动作的标签。然后我们建立了遗憾损失最小化的泛化边界的统计保证,随后是优化保证,即最小化这种损失可能自动导致已知的无遗憾学习算法。我们的进一步实验证明了遗憾损失的有效性,特别是在解决上述“令人遗憾”的案例方面。

英文摘要:

Large language models (LLMs) have been increasingly employed for (interactive) decision-making, via the development of LLM-based autonomous agents. Despite their emerging successes, the performance of LLM agents in decision-making has not been fully investigated through quantitative metrics, especially in the multi-agent setting when they interact with each other, a typical scenario in real-world LLM-agent applications. To better understand the limits of LLM agents in these interactive environments, we propose to study their interactions in benchmark decision-making settings in online learning and game theory, through the performance metric of \emph{regret}. We first empirically study the {no-regret} behaviors of LLMs in canonical (non-stationary) online learning problems, as well as the emergence of equilibria when LLM agents interact through playing repeated games. We then provide some theoretical insights into the no-regret behaviors of LLM agents, under certain assumptions on the supervised pre-training and the rationality model of human decision-makers who generate the data. Notably, we also identify (simple) cases where advanced LLMs such as GPT-4 fail to be no-regret. To promote the no-regret behaviors, we propose a novel \emph{unsupervised} training loss of \emph{regret-loss}, which, in contrast to the supervised pre-training loss, does not require the labels of (optimal) actions. We then establish the statistical guarantee of generalization bound for regret-loss minimization, followed by the optimization guarantee that minimizing such a loss may automatically lead to known no-regret learning algorithms. Our further experiments demonstrate the effectiveness of our regret-loss, especially in addressing the above ``regrettable'' cases.

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

↑