TLDR: A study by IBM Research explored how different visual designs for factuality indicators in Large Language Models (LLMs) affect user trust, ease of validation, and preference. They found that color-coding all phrases in an LLM’s response based on its factuality score (from red for inaccurate to green for accurate) was the most preferred and trusted method, and also made it easier for users to validate the information. This approach helps users appropriately calibrate their trust in AI systems by clearly highlighting accurate and inaccurate parts of the generated text.
Large language models (LLMs) are powerful tools, but they sometimes generate information that is inaccurate or completely false, a phenomenon often called “hallucinations.” While researchers have made progress in detecting these inaccuracies, effectively communicating this information to users has remained a challenge. A recent study, titled Highlight All the Phrases: Enhancing LLM Transparency through Visual Factuality Indicators, delves into this crucial area, offering practical insights for developers and designers.
The research, conducted by Hyo Jin Do, Rachel Ostrand, Werner Geyer, Keerthiram Murugesan, Dennis Wei, and Justin Weisz from IBM Research, aimed to understand how different visual design strategies for displaying factuality scores impact user trust, ease of validating information, and overall preference.
Understanding the Problem of AI Hallucinations
AI hallucinations can lead to significant issues, from lawyers citing non-existent case law to companies experiencing stock drops due to AI blunders in product demos. Users often tend to over-trust LLMs, making it even more critical for them to be able to identify and evaluate the accuracy of AI-generated content. This study emphasizes a human-centered approach, suggesting that while technical advancements are important, the ultimate responsibility for evaluating LLM outputs lies with the end-user.
Exploring Design Strategies for Factuality
The researchers conducted two experiments with a total of 208 participants. They tested six different design strategies for communicating factuality scores within an LLM’s response. Factuality scores indicate how truthful a model’s response is compared to a source document. These designs incorporated color-coding on a scale from red (low factuality) to green (high factuality) and were applied at two levels of detail: phrase-level (annotating entire phrases) and term-level (annotating individual words or specific terms).
The three main design styles were:
- Highlight-all: Every part of the response text was highlighted with a color based on its factuality score.
- Highlight-threshold: Only parts of the text with a factuality score below a certain threshold (indicating inaccuracy) were highlighted.
- Score: Numerical factuality scores were displayed alongside color-coded underlines for each part of the response.
Key Findings: What Users Preferred and Trusted
The study yielded consistent and important findings across both experiments:
- Increased Trust: All factuality designs significantly increased participants’ trust in the AI model compared to a baseline with no visual indicators. Interestingly, the study found that displaying factuality scores helped calibrate user trust. Participants who initially overlooked errors in the AI’s response decreased their trust after seeing the errors highlighted, while those who initially identified errors increased their trust when the factuality scores accurately flagged those errors.
- Ease of Validation: The “highlight-all” design at a phrase-level granularity was rated as significantly easier for participants to validate the accuracy of the AI’s response compared to the baseline. This suggests that seeing the factuality of every phrase helps users quickly assess the information.
- User Preference: Participants overwhelmingly preferred the “highlight-all” style at a phrase-level granularity. This means users liked seeing all phrases color-coded based on their accuracy, rather than just inaccurate parts or numerical scores.
Also Read:
- When Less is More: Enhancing Trust in AI by Obscuring Less Factual Content
- Assessing Language Model Reliability in Varied Contexts
Practical Recommendations for AI Application Developers
Based on these findings, the researchers offer several design recommendations:
- Always Present Factuality Information: Incorporating factuality indicators, using any of the tested designs, can increase user trust and help them appropriately calibrate their reliance on the AI.
- Prioritize Phrase-Level Highlighting: For optimal user preference and ease of validation, the “highlight-all” style at a phrase-level granularity is recommended. This approach provides a clear visual cue for the accuracy of each part of the response.
- Consider Granularity for Lengthy Responses: For very long responses, term-level annotations might be overwhelming. Developers could consider adjusting the granularity or allowing users to filter accurate terms to reduce visual clutter.
- Embrace Visual Fuzziness: The highlighting methods, which visually represent a range of factuality scores with a single color, were generally favored over precise numerical scores. This suggests that a less precise, more intuitive visual representation of uncertainty might be more effective.
This research highlights that how factuality information is presented is just as important as the accuracy of the factuality detection itself. By implementing user-friendly visual indicators, AI developers can empower users to become more informed consumers of AI, fostering greater transparency and appropriate trust in large language models.


