On the Importance of Uncertainty in Decision-Making with Large Language Models
<|reference_start|>On the Importance of Uncertainty in Decision-Making with Large Language Models: We investigate the role of uncertainty in decision-making problems with natural language as input. For such tasks, using Large Language Models as agents has become the norm. However, none of the recent approaches employ any additional phase for estimating the uncertainty the agent has about the world during the decision-making task. We focus on a fundamental decision-making framework with natural language as input, which is the one of contextual bandits, where the context information consists of text. As a representative of the approaches with no uncertainty estimation, we consider an LLM bandit with a greedy policy, which picks the action corresponding to the largest predicted reward. We compare this baseline to LLM bandits that make active use of uncertainty estimation by integrating the uncertainty in a Thompson Sampling policy. We employ different techniques for uncertainty estimation, such as Laplace Approximation, Dropout, and Epinets. We empirically show on real-world data that the greedy policy performs worse than the Thompson Sampling policies. These findings suggest that, while overlooked in the LLM literature, uncertainty plays a fundamental role in bandit tasks with LLMs.<|reference_end|>
@article{felicioni2024on,
    title={On the Importance of Uncertainty in Decision-Making with Large Language
  Models},
    author={Nicol`o Felicioni, Lucas Maystre, Sina Ghiassian, Kamil Ciosek},
    journal={arXiv preprint arXiv:2404.02649},
    year={2024},
    archivePrefix={arXiv},
    eprint={2404.02649},
    primaryClass={cs.LG}
}