Abstract
Evaluating the factual accuracy of Large Language Models (LLMs) requires decomposing their outputs into "atomic facts." However, the lack of a consensus definition for these units leads to significant inconsistencies between human and model-generated annotations. This paper introduces a visual analytics framework designed to expose and resolve these discrepancies by visualizing semantic alignment, granularity, and referential dependencies. By facilitating the iterative refinement of annotation guidelines, the tool helps researchers create more reliable ground-truth benchmarks for LLM evaluation.
Introduction
As LLMs are increasingly deployed in sensitive domains like healthcare and law, verifying their factuality is critical. Standard evaluation pipelines rely on breaking text into "atomic facts"—minimal, independent units of meaning. Yet, a fundamental trade-off exists between independence (which can lead to verbosity) and simplicity (which can hide dependencies like unresolved pronouns). This ambiguity causes human annotators and LLMs to disagree frequently on how to decompose text, potentially rendering the resulting evaluations meaningless.
Methodology: The Visual Analytics Loop
To address this ambiguity, we propose a Visual Analytics (VA) system that surfaces disagreements to guide the refinement of annotation rules. The system uses an embedding-based pipeline (SBERT) to measure agreement and the Hungarian algorithm to find optimal matches between different annotators' fact lists.
The core of the framework is a four-stage visual analytics loop illustrated in Figure 1:
- Text-to-Graph Aggregation: Converting plain text into a knowledge graph to identify structural relationships.
- Fact Extraction Display: Showing facts extracted by different annotators (experts, crowdworkers, or LLMs) side-by-side.
- Fact-to-Graph Aggregation: Integrating these extracted facts back into the knowledge graph to reveal hidden dependencies.
- Projection: Mapping entities and relations back onto the source text to highlight omissions or over-extractions.
Results and Discussion
Our analysis of German administrative documents revealed high variability across all annotator pairs. We utilized semantic similarity heatmaps and fact count histograms to quantify these gaps (Figure 2).
Key insights from our evaluation include:
- Granularity as a Primary Conflict: Disagreements often stem from how annotators handle conjunctions and conditionals. For example, humans and models frequently diverge on whether a compound sentence should be one fact or two.
- LLM Structural Inconsistency: When tasked with extraction, LLMs frequently merge distinct facts or omit crucial conditional clauses compared to human experts.
- Referential Ambiguity: The Graph-View successfully illustrates how ambiguous references (e.g., "her car") lead to divergent knowledge graphs, helping researchers identify where guidelines need more specificity.
Conclusion
Disagreement in fact annotation is a signal of underspecified guidelines rather than mere noise. By visualizing these gaps, our framework allows researchers to iteratively improve annotation protocols. Future work will focus on fully implementing the VA prototype and adding features like semantic clustering and redundancy detection to scale the creation of robust factuality benchmarks.
Summary updated