Exploring the Sensitivity of LLMs' Decision-Making Capabilities: Insights from Prompt Variation and Hyperparameters
Manikanta Loya, Divya Anand Sinha, Richard Futrell
TL;DR
The paper addresses how LLM decision-making in a Horizon-like multi-armed bandit task depends on prompt design and hyperparameters. It reproduces and extends Binz and Schulz's experiments across three OpenAI models, systematically varying temperature and prompting strategies including Chain-of-Thought, Quasi-CoT, and CoT with hints. The findings show that prompt choice often dominates temperature effects, with CoT prompting reducing regret and Quasi-CoT sometimes producing near-human exploration-exploitation dynamics; prompts with hints can further boost performance to superhuman levels. These results argue for careful methodological controls in LLM psychology and highlight the practical potential—and ethical considerations—of steering LLM decision-making via prompt engineering.
Abstract
The advancement of Large Language Models (LLMs) has led to their widespread use across a broad spectrum of tasks including decision making. Prior studies have compared the decision making abilities of LLMs with those of humans from a psychological perspective. However, these studies have not always properly accounted for the sensitivity of LLMs' behavior to hyperparameters and variations in the prompt. In this study, we examine LLMs' performance on the Horizon decision making task studied by Binz and Schulz (2023) analyzing how LLMs respond to variations in prompts and hyperparameters. By experimenting on three OpenAI language models possessing different capabilities, we observe that the decision making abilities fluctuate based on the input prompts and temperature settings. Contrary to previous findings language models display a human-like exploration exploitation tradeoff after simple adjustments to the prompt.
