English

Understanding the Relationship between Prompts and Response Uncertainty in Large Language Models

Machine Learning 2025-02-25 v3 Computation and Language

Abstract

Large language models (LLMs) are widely used in decision-making, but their reliability, especially in critical tasks like healthcare, is not well-established. Therefore, understanding how LLMs reason and make decisions is crucial for their safe deployment. This paper investigates how the uncertainty of responses generated by LLMs relates to the information provided in the input prompt. Leveraging the insight that LLMs learn to infer latent concepts during pretraining, we propose a prompt-response concept model that explains how LLMs generate responses and helps understand the relationship between prompts and response uncertainty. We show that the uncertainty decreases as the prompt's informativeness increases, similar to epistemic uncertainty. Our detailed experimental results on real-world datasets validate our proposed model.

Keywords

Cite

@article{arxiv.2407.14845,
  title  = {Understanding the Relationship between Prompts and Response Uncertainty in Large Language Models},
  author = {Ze Yu Zhang and Arun Verma and Finale Doshi-Velez and Bryan Kian Hsiang Low},
  journal= {arXiv preprint arXiv:2407.14845},
  year   = {2025}
}

Comments

22 pages, Preprint

R2 v1 2026-06-28T17:48:15.304Z