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

Banfi, Tommaso Felice, Gamage, Sashenka

–arXiv.org Artificial Intelligence 

Abstractretrieves semantically similar past states and their corresponding optimal actions, extending its in-context knowl-We propose a novel LLM-based framework for reasoning edge. Second, we introduce an adaptive chain-of-thoughtin discrete, game-theoretic tasks, illustrated with Tic-TacToe. The method integrates in-context learning with entropy- (CoT) reasoning framework, where the model uses conguided chain-of-thought (CoT) reasoning and adaptive concise, single-path reasoning when confident and branches text retrieval. The model dynamically adjusts both the num-into multiple reasoning paths when token-level entropy inber of retrieved examples and reasoning paths according todicates uncertainty. Together, these mechanisms enable effitoken-level uncertainty: concise reasoning with minimal con-cient, uncertainty-aware reasoning, focusing computational text is used when uncertainty is low, whereas higher uncer-effort only when necessary. Exper-We use Tic-Tac-Toe as a controlled and fully observable imental evaluation against a sub-optimal algorithmic oppo-testbed to evaluate our approach. Despite its simplicity, the nent shows that entropy-aware adaptive reasoning substantially improves decision quality, increasing the average gamegame captures key aspects of sequential decision-making outcome from 11.6% with the baseline LLM to +9.5% (state transitions, opponent modeling, and outcome optiwith entropy-guided adaptive reasoning over 100 games (winmization) while allowing objective evaluation of move qual= +1, tie = 0, loss = -1), while maintaining a relativelyity through the minimax algorithm.