On the Importance of Uncertainty in Decision-Making with Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Felicioni, Nicolò, Maystre, Lucas, Ghiassian, Sina, Ciosek, Kamil
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917721335136256
author Felicioni, Nicolò
Maystre, Lucas
Ghiassian, Sina
Ciosek, Kamil
author_facet Felicioni, Nicolò
Maystre, Lucas
Ghiassian, Sina
Ciosek, Kamil
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_02649
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle On the Importance of Uncertainty in Decision-Making with Large Language Models
Felicioni, Nicolò
Maystre, Lucas
Ghiassian, Sina
Ciosek, Kamil
Machine Learning
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.
title On the Importance of Uncertainty in Decision-Making with Large Language Models
topic Machine Learning
url https://arxiv.org/abs/2404.02649