Should AI highlight the parts of its output it's unsure about?
Yes, if highlights mark what's likely to change: highlighting likely edits sped people up, while highlighting low-probability tokens didn't help.
Early signal, tested with LLMs.
Based on two studies from 2023, run in labs or online.
One small controlled study (30 programmers) and one online experiment (120 people), both with research LLM tools. Treat it as a hypothesis.
How we rate evidenceOn this page
Design it like this
Our recommendations. Lines marked [n] come straight from a study.
Highlight the specific parts most likely to need fixing, not raw token probabilities.
- Do highlight what's likely to need editing; it sped up 30 programmers.Finding [1]
- Do colour-code confidence on uncertain facts in answers.Finding [2]
- Don't highlight by raw token probability; no benefit.Finding [1]
- Don't flood the screen; explain what a highlight means.Our recommendation
What it looks like
How to check it in your product
Compare time-to-correct and missed errors with and without highlighting.
Trade-offs and when it doesn't apply
Unsourced points are our recommendation.
- 30 programmers in one study.
- Building an edit-likelihood model takes data. Our recommendation
- Too many highlights become noise. Our recommendation
What they found
Highlighting likely edits helped programmers; highlighting low-probability tokens didn't
Vasconcelos et al. (2023) experiment
- Setup
- Mixed-methods study with 30 programmers comparing code completions with no highlighting, highlighting the lowest-probability tokens, or highlighting tokens most likely to be edited.
- Result
- Highlighting likely-to-be-edited tokens led to faster task completion and more targeted edits and was preferred; highlighting by generation probability gave no benefit over no highlighting.
Quote from the paper
“highlighting tokens according to their probability of being generated does not provide any benefit over the baseline with no highlighting”
Vasconcelos et al., 2024 · Abstract
LLM search was faster and better liked, but people followed it when it was wrong
Spatharioti et al. (2023) experiment
- Setup
- Two online experiments (90 and 120 MTurk participants) on product-comparison decisions, randomly using an LLM-based search tool or traditional search.
- Result
- LLM users finished faster with fewer but more complex queries and were more satisfied, with similar accuracy when the LLM was right, but they over-relied on it when it erred. In experiment 2, colour-coded confidence highlighting substantially increased how often people spotted incorrect information.
Quote from the paper
“this confidence-based highlighting substantially increases the rate at which users spot incorrect information, improving the accuracy of their overall decisions while leaving most other measures unaffected”
Spatharioti et al., 2025 · Abstract
Open questions
- What signal best predicts errors in prose rather than code?
- How many highlights per answer is too many?
- Do highlights reduce checking of unhighlighted parts?
FAQ
Does highlighting low-probability tokens help programmers?
No. Vasconcelos et al. (30 programmers) found it gave no benefit over no highlighting.
What kind of highlighting helps?
Highlighting tokens most likely to be edited led to faster completion and more targeted edits.
For AI agents: rules in plain text
Sources
- Generation Probabilities Are Not Enough: Uncertainty Highlighting in AI Code CompletionsHelena Vasconcelos, Gagan Bansal, Adam Fourney, Q. Vera Liao, Jennifer Wortman Vaughan (2024). ACM TOCHI, 2024 (arXiv 2023).
- Comparing Traditional and LLM-based Search for Consumer Choice: A Randomized ExperimentSofia Eleni Spatharioti, David M. Rothschild, Daniel G. Goldstein, Jake M. Hofman (2025). CHI 2025 (arXiv 2023).