Attribute or Abstain: Large Language Models as Long Document Assistants

Jan Buchmann, Xiao Liu, Iryna Gurevych

Introduction

As Large Language Models (LLMs) evolve to support increasingly massive context windows, the traditional reliance on external Retrieval-Augmented Generation (RAG) is beginning to shift. However, the fundamental risk of hallucination persists. For an LLM to function as a reliable "Long Document Assistant," it must master two critical behaviors: attribution—the ability to point to specific evidence within a document—and abstention—the ability to recognize when a document does not contain the answer.

The core challenge: LLMs must either provide an attributed response or correctly abstain when information is missing.

This paper introduces the LAB (Long-document Attribution Benchmark) to evaluate these capabilities. Unlike RAG settings where errors can stem from either the retriever or the generator, the long-context setting allows researchers to isolate the LLM's internal reasoning and citation accuracy when the entire source text is available in memory.

Methodology: Five Strategies for Attribution

The researchers investigated five distinct architectural patterns for generating attributed responses:

  1. Post-hoc: The model generates a full response first, then a subsequent process identifies supporting evidence.
  2. Retrieve-then-read: A retriever extracts relevant snippets from the long document, and the LLM generates a response based solely on those fragments.
  3. Citation: A unified approach where the LLM generates the response and citations simultaneously in a single pass.
  4. Reduced-post-hoc & Reduced-citation: Hybrid methods that use retrieval to pre-compress the document, focusing the model's attention on high-probability sections to save computational costs.
Visual representation of the five attribution strategies evaluated in the study.

These strategies were tested across a spectrum of models, including GPT-4, GPT-3.5, Mistral-7B, Longchat, and a fine-tuned Flan-T5-XL.

The LAB Benchmark

To provide a comprehensive evaluation, the authors compiled the LAB benchmark from six diverse tasks:

  • QASPER: Science-based QA.
  • Natural Questions (NQ): Wikipedia-based QA.
  • Evidence Inference (EI): Classification of clinical study reports.
  • Wice: Fact-checking against Wikipedia.
  • ContractNLI: Legal document inference.
  • GovReport: Summarization of government reports (using BM25-simulated "gold" evidence).

Key Insights

The "Citation" Advantage

For high-capacity or specialized models like GPT-4 and the fine-tuned Flan-T5, the Citation (all-in-one) approach emerged as the superior strategy. Generating text and citations concurrently yields the highest quality evidence without compromising the accuracy of the underlying response.

Retrieval as a "Crutch" for Smaller Models

In contrast, smaller, general-purpose models like Mistral-7B struggle with the multitasking required for simultaneous citation. For these models, separating the tasks—specifically using a post-hoc retrieval step—significantly bolsters their ability to provide accurate source citations.

Resilience to Position Bias

A notable finding contradicts the "lost in the middle" phenomenon often observed in long-context models. While response quality might slightly decline if the answer is located at the very end of a document, the model's ability to locate and cite that information (evidence quality) remains remarkably stable regardless of its position within the text.

Results and Performance

One of the most surprising results was the performance of Flan-T5-XL. Despite being significantly smaller than GPT-4, the fine-tuned Flan-T5-XL achieved the highest average scores for both response and evidence quality. This suggests that task-specific fine-tuning can be more effective for attribution than raw model scale.

Furthermore, the study demonstrated that evidence quality serves as a reliable proxy for truth. In simpler tasks, if a model fails to find high-quality evidence, the resulting answer is likely incorrect. This correlation enables "selective prediction," where systems can filter out low-confidence responses to improve overall reliability.

Conclusion and Future Directions

While LLMs are becoming more adept at handling long documents, challenges remain, particularly with complex claims that require synthesizing multiple pieces of evidence. The authors suggest that future improvements may lie in iterative self-refinement, where models are prompted to verify and correct their own citations, further narrowing the trust gap in automated document analysis.

Summary updated

BibTeX
@inproceedings{buchmann2024attribute,
  author = {Jan Buchmann and Xiao Liu and Iryna Gurevych},
  title = {{Attribute or Abstain: Large Language Models as Long Document Assistants}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.463},
}
Figure