Trust, but verify: Atomic claim checking against LLM hallucinations

Elastic investigates atomic claim checking to prevent silent omissions and hallucinations when merging knowledge base articles using large language models. The technique breaks text down into verifiable assertions to preserve technical details, version constraints, and exact configuration commands during automated documentation consolidation.

Cover image for Trust, but verify: Atomic claim checking against LLM hallucinations

Elastic’s experiment shows that a two‑pass workflow can merge two knowledge‑base articles while keeping every command, URL and version number intact. The first pass creates a fluent document, the second pass flags any missing or altered atomic claims. In tests the final output contained a coverage table and a conflict log instead of a simple “looks good” verdict. The team compared merged outputs against the original sources, noting that a naïve merge lost a prerequisite step, changed a version constraint from 8.12+ to 8.x, and even inserted a nonexistent parameter. They timed the naïve approach at about 10 minutes and the refined workflow at roughly 5 minutes for a human reviewer to resolve the flagged items. The effort saved was measured against the four‑year history of duplicate articles that had previously required an hour of careful work per item. The study does not quantify how often the verifier might miss subtle semantic shifts that are not captured by exact string matches. It also leaves open whether the approach scales to documents with thousands of atomic claims, as the current results focus on a few hundred checks per merge. Uncertainty remains about performance on entirely new topics beyond the existing knowledge base.