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

大型语言模型用于博弈论:基于熵的上下文学习与自适应推理

LLMs for Game Theory: Entropy-Guided In-Context Learning and Adaptive CoT Reasoning

Tommaso Felice Banfi, Sashenka Gamage

AI总结:

本文提出一种基于LLM的框架,通过熵引导的链式推理和自适应上下文检索,提升离散博弈任务的推理能力,实验显示其显著提高决策质量。

摘要:

我们提出了一种基于LLM的框架,用于离散博弈任务的推理,以井字棋为例。该方法整合了上下文学习与熵引导的链式推理(CoT)推理和自适应上下文检索。模型根据token层面的不确定性动态调整检索示例的数量和推理路径:在不确定性较低时使用简洁的推理和最少上下文,而较高的不确定性会触发扩展的多路径CoT探索。实验评估表明,与次优算法对手相比,熵感知的自适应推理显著提高了决策质量,将平均游戏结果从基线LLM的-11.6%提升到熵引导的自适应推理的+9.5%(100场比赛中,胜=+1,平=0,负=-1),同时保持相对较低的LLM查询次数。统计验证确认了改进的显著性,相关性分析揭示了token层面熵与移动最优性之间的负相关性。这些发现表明,基于不确定性的自适应推理有效提升了LLM在序列决策环境中的性能。

英文摘要:

We propose a novel LLM-based framework for reasoning in discrete, game-theoretic tasks, illustrated with \emph{Tic-Tac-Toe}. The method integrates in-context learning with entropy-guided chain-of-thought (CoT) reasoning and adaptive context retrieval. The model dynamically adjusts both the number of retrieved examples and reasoning paths according to token-level uncertainty: concise reasoning with minimal context is used when uncertainty is low, whereas higher uncertainty triggers expanded multi-path CoT exploration. Experimental evaluation against a sub-optimal algorithmic opponent shows that entropy-aware adaptive reasoning substantially improves decision quality, increasing the average game outcome from \(-11.6\%\) with the baseline LLM to \(+9.5\%\) with entropy-guided adaptive reasoning over 100 games (win = +1, tie = 0, loss = -1), while maintaining a relatively low number of LLM queries per game. Statistical validation confirms that the improvement is significant, and correlation analysis reveals a negative association between token-level entropy and move optimality. These findings demonstrate that uncertainty-guided adaptive reasoning effectively enhances LLM performance in sequential decision-making environments.

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

↑