Attribution and Citation: Sourcing LLM Outputs › Comparing Attribution Approaches

Michael BrenndoerferFebruary 16, 20263 min read
Language AI HandbookAll chapters
Part 56 of 67Hallucination and Factuality
Chapter 433Attribution and Citation: Sourcing LLM Outputs › Comparing Attribution Approaches
Reading section 11 of 16 · Comparing Attribution Approaches · 3 minSection 11 of 16 · 3 min

Book contents

Section 11 of 16 · 3 min read

Attribution and Citation: Sourcing LLM Outputs › Comparing Attribution ApproachesOne section · Sections in this chapter11 / 16 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

The four attribution forms differ in granularity and in the tradeoffs they impose on system designers. Document-level attribution is cheapest to implement and evaluate but gives users little actionable information about which specific passage supports which specific claim. Span-level attribution provides maximum transparency but demands careful training data and imposes a synthesis constraint on generation that can reduce fluency.

When choosing an attribution strategy for a production system, you need to weigh four practical dimensions: implementation effort, the user experience you want to provide, the cost of false citations in your domain, and the capabilities of the underlying language model.

For internal tooling where users are sophisticated and primarily care about whether to trust a response, document-level attribution often suffices. For public-facing products in regulated domains like medicine or law, inline or span-level attribution is almost always worth the additional implementation effort, because users need to be able to verify individual claims. For research assistance tools, the balance depends on whether the primary use case is exploration (where fluency and comprehensiveness matter most) or fact verification (where precision matters most).

Out[14]:
Visualization
Grouped bar chart comparing document-level, post-hoc, inline, and span-level attribution on complexity, transparency, and precision dimensions.
Comparison of four attribution approaches across three dimensions: implementation complexity, user transparency, and typical citation precision. Document-level attribution is the easiest to implement but offers the least per-claim transparency. Inline and span-level attribution require more implementation effort but allow users to verify individual claims. Span-level attribution achieves the highest typical precision because the model is constrained to produce claims that are directly supported by specific passages.

Notice that transparency and complexity track together: the approaches that give users the most useful information also require the most engineering investment. This is not a coincidence. Providing per-claim attribution requires the system to maintain claim-level provenance throughout the generation process, which is structurally more complex than producing a response and then attaching document-level metadata to it.