Strategic behavior of large language models and the role of game structure versus contextual framing
This paper investigates the strategic behavior of large language models (LLMs) across various game-theoretic settings, scrutinizing the interplay between game structure and contextual framing in decision-making. We focus our analysis on three advanced LLMs-GPT-3.5, GPT-4, and LLaMa-2-and how they navigate both the intrinsic aspects of different games and the nuances of their surrounding contexts. Our results highlight discernible patterns in each model's strategic approach. GPT-3.5 shows significant sensitivity to context but lags in its capacity for abstract strategic decision making. Conversely, both GPT-4 and LLaMa-2 demonstrate a more balanced sensitivity to game structures and contexts, albeit with crucial differences. Specifically, GPT-4 prioritizes the internal mechanics of the game over its contextual backdrop but does so with only a coarse differentiation among game types. In contrast, LLaMa-2 reflects a more granular understanding of individual game structures, while also giving due weight to contextual elements. This suggests that LLaMa-2 is better equipped to navigate the subtleties of different strategic scenarios while also incorporating context into its decision-making, whereas GPT-4 adopts a more generalized, structure-centric strategy.
Authors
- Nunzio Lorè
- Babak Heydari (ORCID: https://orcid.org/0000-0002-4964-8655)
Institutions
- Northeastern University (US)
- Eastern University (BD)
Publication Details
- Journal
- Scientific Reports
- Published
- 2024-08-09
- DOI
- https://doi.org/10.1038/s41598-024-69032-z
- Citations
- 18
- Primary Topic
- Language and cultural evolution
- Type
- article
- Field-Weighted Citation Impact
- 77.23