mlsanityData to 7 Oct 2026

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

arXiv 2404.02649 ↗First posted 3 Apr 2024cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 37 of its 57 references that are in the map. First posted on arXiv 3 Apr 2024.

Builds on

37 of 57 references.

References · 37

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2017Proximal Policy Optimization Algorithmscited by 14,441
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  8. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  9. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  10. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  11. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  12. 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
25 more
  1. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  2. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  3. 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 903
  4. 2022PAL: Program-aided Language Modelscited by 635
  5. 2017A Tutorial on Thompson Samplingcited by 420
  6. 2023Augmented Language Models: a Surveycited by 398
  7. 2021Laplace Redux -- Effortless Bayesian Deep Learningcited by 359
  8. 2023GPT4Tools: Teaching Large Language Model to Use Tools via Self-instructioncited by 245
  9. 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 238
  10. 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 226
  11. 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 220
  12. 2019Limitations of the Empirical Fisher Approximation for Natural Gradient Descentcited by 213
  13. 2019SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)cited by 206
  14. 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 193
  15. 2014An Information-Theoretic Analysis of Thompson Samplingcited by 178
  16. 2018Deep Bayesian Bandits Showdown: An Empirical Comparison of Bayesian Deep Networks for Thompson Samplingcited by 166
  17. 2023Foundation Models for Decision Making: Problems, Methods, and Opportunitiescited by 160
  18. 2015Bayesian Convolutional Neural Networks with Bernoulli Approximate Variational Inferencecited by 159
  19. 2021Epistemic Neural Networkscited by 120
  20. 2023Motif: Intrinsic Motivation from Artificial Intelligence Feedbackcited by 99
  21. 2024Efficient Exploration for LLMscited by 44
  22. 2023Approximate Thompson Sampling via Epistemic Neural Networkscited by 31
  23. 2023Introspective Tips: Large Language Model for In-Context Decision Makingcited by 28
  24. 2022Fine-Tuning Language Models via Epistemic Neural Networkscited by 22
  25. 2022Bandits for Online Calibration: An Application to Content Moderation on Social Media Platformscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 2; 2026: 4.

9 papers.