Why Large Language Models Are Learning to Say "I'm Not Sure": Confidence Calibration and Engineering Practice

    This article explains why newer large language models are starting to express uncertainty, how confidence calibration works, and why it matters for reducing hallucinations and deploying AI in high-risk settings. It also covers how to measure uncertainty expression and practical steps developers can take to use it in their applications.

    1. From “Always Having an Answer” to “Admitting Uncertainty”: A Notable Capability Shift

    Large language models have long followed a typical pattern in conversation. Whether or not a question falls within their knowledge, they generate a fluent, confident answer. The industry widely refers to this as the “hallucination” problem: the model outputs factually incorrect or unverifiable content with high confidence.

    A recent development is that newer large language models have begun to express “I’m not sure” explicitly. When a question has unclear factual boundaries, insufficient evidence, or falls outside the model’s knowledge, the model no longer forces out a seemingly definite conclusion. Instead, it lowers the strength of its own claims. Examples include “I’m not certain about this point,” “Based on the available information, I can’t determine this,” and “The following content may contain inaccuracies.”

    This may look like a change in tone, but it addresses a core technical problem of LLM reliability: confidence calibration. It marks a shift from the model as a “generator” toward a “trustworthy reasoning collaborator.” This article covers the technical principles, evaluation methods, application value, and engineering practice behind this capability, and explains why it matters.

    2. Technical Principles: What Happens Behind Uncertainty Expression

    2.1 Confidence Calibration: Aligning Language With Actual Probability

    In probability theory and machine learning, “calibration” means that a model’s stated confidence should match its actual accuracy. For a well-calibrated model, answers it labels as “90% certain” should be correct about 90% of the time.

    The core issue with traditional LLMs is that their token probability distribution reflects the probability of generating the next word, not the probability that a statement is true. These are different things. A model can easily produce a fluent but incorrect description, because the phrasing is statistically common in language.

    Enabling uncertainty expression typically requires several kinds of work during training and alignment:

    • Introducing honesty signals into training objectives: When constructing preference data, rank responses that acknowledge uncertainty above responses that are confident but wrong. This teaches the model to choose conservative phrasing when evidence is weak.
    • Constraints on verifiable reasoning chains: Encourage the model to reason internally before answering, and check during that reasoning whether its knowledge actually covers the question, rather than relying on surface pattern matching.
    • Graded expression strength: The model learns to use language of varying strength, from “certain” and “very likely” to “there is some chance” and “I’m not sure” or “I don’t know.” This forms a confidence spectrum similar to the way experts speak.

    2.2 Distinguishing Two Types of Uncertainty

    From a statistical perspective, AI uncertainty falls into two categories. Understanding both helps clarify the limits of this capability:

    1. Aleatoric uncertainty: Arises from randomness in the data itself, such as predicting the evolution of a chaotic system. Adding more data cannot eliminate this type.
    2. Epistemic uncertainty: Arises from gaps in the model’s knowledge and training data. In principle, it can be reduced by adding information, retrieving external knowledge, or continuing training.

    A mature uncertainty expression mechanism ideally distinguishes between these two cases. For epistemic uncertainty, the model can say “I don’t have information on this topic.” For questions where the facts themselves are unclear, the model can say “This question has no definite answer.” This ability to distinguish is a key feature of how human experts communicate.

    3. Why This Capability Matters: Three Core Values

    3.1 Reducing the Practical Harm of Hallucinations

    Hallucinations cannot be fully eliminated, but expressing uncertainty changes the harm structure of hallucinations:

    • Lowering the weight of incorrect information: A message that opens with “I’m not sure, but it may be…” leads recipients to trust it less and verify it. A blunt, wrong conclusion is more likely to be accepted as is.
    • Providing decision signals for downstream systems: In RAG (retrieval-augmented generation) or agent workflows, the model’s expressed confidence can serve as a routing signal. High-confidence answers go out directly, while low-confidence cases trigger retrieval augmentation, human review, or fallback strategies.

    An illustrative processing logic follows:

    1. def handle_model_response(response):
    2. confidence = detect_confidence_level(response)
    3. if confidence == "high":
    4. return response
    5. elif confidence == "medium":
    6. return augment_with_retrieval(response) # Trigger retrieval augmentation
    7. else:
    8. return escalate_to_human(response) # Escalate to human review

    3.2 Enabling AI in High-Risk Decision-Making

    In areas such as medical diagnostic support, legal document review, financial risk control, and code security auditing, a system that is always confident is unusable, because users cannot tell when to question it. A system that expresses uncertainty, however, can have its output incorporated into human decision-making:

    • Marking trust boundaries: The model indicates which conclusions are reliable and which are questionable, so people can focus their review on the doubtful parts.
    • Supporting tiered human-in-the-loop review: Low-confidence outputs enter a review queue automatically, while high-confidence outputs pass through directly. This balances efficiency and safety.

    In engineering, this is called “confidence-driven tiered processing.” It is a key design pattern for moving AI systems from demos into production.

    3.3 Improving the Mental Model of Human-AI Collaboration

    From an interaction design perspective, when a model can express uncertainty, users develop healthier expectations of it. Users stop treating AI as an all-knowing authority and instead see it as a knowledgeable collaborator that is open about its limits. This calibration of expectations reduces both excessive trust and excessive skepticism, helping human-AI collaboration reach a sustainable state of trust.

    4. How to Evaluate: Metrics for Uncertainty Expression

    In engineering practice, evaluating uncertainty expression typically focuses on the following metrics:

    1. Expected Calibration Error (ECE): Group the model’s confidence claims into bins, then compare the stated confidence in each bin with the actual accuracy. Lower values indicate better calibration.
    2. Selective prediction metrics: For example, the risk-coverage curve examines how much the accuracy of the remaining answers improves when the model abstains from some questions. An ideal model should show a clear accuracy gain on the answers it keeps after abstaining on the 20% of questions it is least certain about.
    3. Appropriateness of abstention: Guard against the opposite failure, where the model abstains too often and says “I’m not sure” to avoid difficult questions. Good uncertainty expression means being confident when the evidence warrants it and uncertain when it does not.

    For test set construction, one effective approach is to mix three types of questions: questions the model can answer within its knowledge, questions outside its knowledge boundary, and questions with no definite factual answer. Then check whether the model responds differently to each type in a way that matches the actual situation.

    5. Practical Recommendations: How Developers Can Use This Capability

    For teams building AI applications, the following recommendations apply to uncertainty expression:

    • Explicitly request confidence statements in prompts: Ask the model to include confidence explanations or structured confidence labels in its answers. Even when a model lacks built-in support, prompt engineering can partially approximate it.
    • Treat “uncertain” as a first-class signal in system design: Do not discard uncertain outputs as failures. Use them as triggers for retrieval, secondary verification, or human intervention.
    • Build an evaluation loop for continuous calibration: Regularly test the gap between the model’s confidence claims and actual accuracy using real business data. When systematic overconfidence appears, correct it through data feedback and alignment methods.
    • Pay attention to domain differences: A model’s calibration on general knowledge does not guarantee its calibration in specialized fields. High-risk domains such as finance and healthcare should have their own calibration evaluation sets.

    6. Conclusion

    When AI learns to say “I’m not sure,” it moves from pursuing the appearance of correctness toward pursuing real reliability. This capability matters because the confidence a model expresses can now be used, for the first time, as a credible engineering signal. That provides infrastructure-level support for hallucination mitigation, human-AI collaboration, and deployment in high-risk scenarios.

    For developers, the more important trend is the emerging industry consensus around calibration, honesty, and verifiability, rather than any single model release. When building the next generation of AI applications, treating uncertainty management as a first-class part of system design is a key step toward improving application trustworthiness.