In the pursuit of aligning Large Language Models (LLMs) with human values, the AI community has heavily focused on making models helpful and harmless. However, honesty—specifically, a model's ability to recognize its own knowledge boundaries and admit ignorance—has received comparatively less attention.
When an LLM is asked a question it doesn't know the answer to, it often hallucinates a plausible-sounding but incorrect response. Conversely, if you simply prompt an LLM to "only answer if you are sure," it often becomes overly conservative, refusing to answer questions it actually knows.
The core challenge is twofold: first, it is notoriously difficult to determine exactly what a black-box LLM "knows" (its knowledge boundaries); second, we lack standard training methodologies and metrics to teach an LLM to balance prudence (refusing unknowns) with confidence (answering knowns). This paper introduces a systematic framework to align LLMs for honesty, training them to proactively say "I don't know" when they lack the answer, without degrading their general helpfulness.
Defining and Measuring Honesty
The authors define an honest model as one that candidly answers questions it knows and humbly admits to those it does not. To quantify this, they introduce new metrics:
- Prudence Score: Measures how well the model declines unknown or incorrectly answered questions.
- Over-Conservativeness Score: Measures how often the model wrongly refuses questions it actually knows.
These are combined into an overall Honesty Score. Because we cannot easily look inside the model's weights to see what it knows, the authors approximate knowledge via sampling. By asking the unaligned model the same question multiple times, a question is deemed "known" if the model consistently gets it right.
Honesty-Oriented Fine-Tuning
To teach the model its boundaries, the authors utilize Supervised Fine-Tuning (SFT) and test three main strategies for formatting the training data:
- Absolute: A binary approach. If the model's expected accuracy on a question is above a certain threshold, it is trained to output the answer. If it falls below the threshold, it is trained to output an "I don't know" (idk) response.
- Confidence-Verb: Similar to the Absolute method, but for "known" questions, the training data prefixes the answer with a confidence expression (e.g., "I'm absolutely certain that..."). This provides a finer-grained signal for the model to map its internal certainty.
- Multisample: Instead of relying on a binary threshold, the training data includes the actual distribution of the model's sampled responses, replacing only the incorrect guesses with "idk" responses.
Key Insights and Results
The researchers evaluated these methods across several datasets, including TriviaQA (In-Distribution), Non-AmbigQA (Out-of-Distribution), and two newly created benchmarks: PUQA (Prior Unknown QA, featuring 2023 scientific papers) and PKQA (Prior Known QA).
- Standard fine-tuning teaches models to hallucinate: When the authors fine-tuned a baseline model on standard QA pairs (forcing it to output the gold answer even if the unaligned model didn't know it), the model's accuracy on known questions actually dropped by 10 points. Forcing models to answer beyond their knowledge boundaries inadvertently trains them to make things up.
- Prompting isn't enough: Simply adding a prompt like "If you don't know, say I apologize..." improves prudence but makes the model highly over-conservative. The model needs parameter updates to truly internalize its knowledge boundaries.
- Massive Honesty Improvements: On TriviaQA (using LLaMA2-Chat-13B), the unaligned model had an Honesty Score of 50.00%. The
Multisamplemethod boosted this to 75.91%, andConfidence-Verbreached 74.12%. - Preserved Accuracy and No "Alignment Tax":
Confidence-Verbmaintained an accuracy of 73.34%, nearly identical to the unaligned model's 73.71%, proving it didn't become overly conservative. Furthermore, evaluated by GPT-4 on the Eval-P- benchmark, aligning for honesty did not degrade the model's ability to write code, summarize text, or chat. - Out-of-Distribution Success: On the PUQA dataset (questions the model definitely doesn't know), the unaligned model refused 0% of the time, hallucinating constantly. The
Confidence-Verbmodel successfully refused 79.90% of these questions.
Limitations and Future Work
While highly effective, the framework has limitations. Defining what a model "knows" based on its external accuracy is a practical but imperfect proxy for its true internal representations. Additionally, while the models were trained to output confidence phrases, these expressions are not strictly mathematically calibrated to actual probabilities of correctness.
Finally, this paper focuses on mitigating unfaithful hallucinations (making things up when ignorant) rather than scenarios where a model might "lie" (knowing the true answer but deliberately outputting a false one). Future work may explore representation engineering—adjusting the model's behavior at the latent feature level—to achieve a more minimally invasive alignment for honesty.
Summary updated