Skip to main content
QUICK REVIEW

[Paper Review] Understanding the Relationship between Prompts and Response Uncertainty in Large Language Models

Z. Zhang, Arun Verma|arXiv (Cornell University)|Jul 20, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes a prompt-response concept (PRC) model that formalizes how input prompt informativeness reduces response uncertainty in large language models (LLMs), linking it to epistemic uncertainty. It demonstrates both theoretically and empirically that more informative prompts lead to lower uncertainty and more consistent, reliable responses, validated through simulations in an mHealth intervention scenario.

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.

Motivation & Objective

  • To understand how response uncertainty in LLMs is influenced by the informativeness of input prompts.
  • To formalize the relationship between prompt content and uncertainty using a concept-based model grounded in latent concept inference.
  • To demonstrate that increasing prompt informativeness reduces reducible uncertainty, analogous to epistemic uncertainty reduction.
  • To validate the model’s effectiveness through empirical experiments on real datasets and a simulated mHealth intervention scenario.
  • To provide a principled method for reducing response uncertainty without altering LLM hyperparameters.

Proposed method

  • Proposes a prompt-response concept (PRC) model that conceptualizes LLM response generation as a function of latent concept inference from prompts.
  • Uses information-theoretic principles to formalize the relationship between prompt informativeness and posterior entropy (a proxy for uncertainty).
  • Theoretical analysis shows that as prompt informativeness increases, response uncertainty (measured via posterior entropy) decreases, mirroring epistemic uncertainty reduction.
  • Empirically validates the PRC model on real-world datasets, measuring uncertainty via entropy of response distributions.
  • Conducts a simulation of an mHealth intervention system where the app agent uses LLMs to influence user behavior via tailored messages.
  • Uses value iteration to compute optimal user policies after each intervention round, enabling the app agent to adapt based on observed policy changes.
Figure 1: Prompt-Response concept model of LLM.
Figure 1: Prompt-Response concept model of LLM.

Experimental results

Research questions

  • RQ1How does the informativeness of a prompt affect the uncertainty of responses generated by a large language model?
  • RQ2Can the reduction in response uncertainty due to prompt informativeness be formalized using concepts from epistemic uncertainty?
  • RQ3To what extent does a more informative system message in an mHealth intervention system lead to more consistent and effective behavior change in users?
  • RQ4How does the structure of the prompt influence the posterior entropy of LLM-generated responses?
  • RQ5Can a concept-based model explain and predict response uncertainty across different prompt designs?

Key findings

  • Response uncertainty, measured as posterior entropy, decreases monotonically as the informativeness of the prompt increases, confirming a principled relationship between prompt quality and reliability.
  • The reduction in uncertainty aligns with epistemic uncertainty, suggesting that informative prompts help the model converge toward more confident, knowledge-grounded predictions.
  • In the mHealth simulation, prompts with more useful information led to more consistent and persistent positive changes in user MDP parameters (e.g., higher γ, lower d).
  • The intervention based on a more informative system message produced optimal user policies that were consistently better or at least as good as those from less informative messages, as shown in policy evolution across patient types.
  • The PRC model successfully explains why certain prompts yield more reliable responses, with lower entropy and higher consistency, across diverse user behaviors and task contexts.
  • The results demonstrate that improving prompt design is a natural and effective method to reduce response uncertainty without modifying LLM hyperparameters like temperature or top-p.
(b) Varying Attributes
(b) Varying Attributes

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.