On the Capacity of Citation Generation by Large Language Models

Haosheng Qian, Yixing Fan, Ruqing Zhang, Jiafeng Guo

Introduction

Retrieval-Augmented Generation (RAG) has become the industry standard for mitigating hallucinations in Large Language Models (LLMs) by providing external context for response generation. However, the reliability of a RAG system is fundamentally tied to its ability to provide accurate citations. When a model makes a claim but fails to attribute it correctly—or cites a document that does not support the statement—the traceability and trustworthiness of the system collapse. This study investigates the "attribution gap" in modern LLMs, identifying why current models struggle with citations and proposing a novel framework to improve accuracy without sacrificing linguistic quality.

The Challenges of Citation Generation

The researchers identify two primary hurdles that currently impede the development of robust citation systems:

  1. Metric Rigidity: Existing benchmarks, such as ALCE, often utilize overly strict evaluation criteria. These metrics frequently penalize models for failing to cite "common sense" statements (e.g., "The sun rises in the east") or for providing redundant citations where multiple documents support the same claim. This leads to an underestimation of a model's actual utility.
  2. Cognitive Load in Generation: Generating a coherent, high-quality response while simultaneously tracking and citing multiple sources is a complex task. This "multi-tasking" often leads to citation hallucinations, where the model loses track of which document supported which specific fact during the generation process.

Methodology

To address these challenges, the authors propose a two-pronged approach involving more realistic evaluation metrics and a decoupled generation framework.

Refined Evaluation Metrics

The study introduces more nuanced versions of standard metrics to better reflect human judgment:

  • Refined Recall: This metric excludes statements that do not require citations—such as transitions, introductory phrases, or common knowledge—from the denominator. This prevents models from being unfairly penalized for not citing non-factual text.
  • Refined Precision: This metric redefines relevance. Instead of requiring the most concise citation possible, it considers a citation valid if it supports the statement either independently or as part of a subset of provided citations.

The Generate-then-Refine Framework

Rather than forcing an LLM to generate perfect citations in a single pass (pre-hoc), the authors introduce a Generate-then-Refine framework. This approach decouples the creative act of writing from the technical act of verification:

  • Step 1 (Generate): The base LLM generates a response with initial citations.
  • Step 2 (Refine): A dedicated, fine-tuned "Refiner" model (a Mistral-7B variant) reviews the response. The Refiner adds missing citations and removes irrelevant ones. Crucially, the Refiner only outputs reference IDs; the original text of the response remains untouched, preserving the base model's reasoning and stylistic nuances.

Experimental Setup

The framework was evaluated using three prominent Long-Form Question Answering (LFQA) datasets:

  • WebGLM-QA: Over 43,000 samples of web-enhanced questions and answers.
  • ASQA: A dataset focused on ambiguous questions requiring the synthesis of multiple sources.
  • ELI5 (Explain Like I'm Five): Complex questions from Reddit requiring detailed, multi-sentence explanations.

Key Insights and Results

The study revealed several critical findings regarding the current state of LLM citation capabilities:

  • The "Llama Leap": There is a significant generational gap in native citation ability. While Llama-2 (7B/13B) struggled with few-shot citation tasks, Llama-3-8B demonstrated superior native capabilities, even outperforming GPT-3.5-turbo in certain configurations.
  • The Generalization Trap: The authors found that fine-tuning a model to cite well on one specific dataset (e.g., WebGLM-QA) does not guarantee performance on others (e.g., ASQA). Citation logic appears to be highly sensitive to the underlying data distribution.
  • Precision Gains: The Refiner model provided the most substantial improvements in Citation Precision. It proved far more effective at identifying "false support" than base models were during the initial generation phase. On the ASQA dataset, a fine-tuned GLM-4-9B model saw a 40% increase in precision when utilizing the refiner.
  • Framework Effectiveness: On the WebGLM-QA dataset, Llama-2 models achieved citation F1 score improvements of over 22% following the refinement step. These results were validated using GPT-3.5-turbo as an independent judge, confirming that the improvements were genuine and not merely artifacts of the scoring model.

Limitations and Future Work

While the Generate-then-Refine framework shows promise, it is not without limitations. The method relies heavily on a fine-tuned refiner; the authors noted that "few-shot" prompting for refinement (without specific training) actually degraded citation quality. Additionally, the system still depends on Natural Language Inference (NLI) models for evaluation, meaning flaws in the NLI model can propagate to the metrics. Finally, the refinement step adds a second inference pass, introducing minor computational overhead.

Future research may focus on making the refiner more lightweight or integrating the refinement logic directly into the base model's decoding process to minimize latency while maintaining high citation accuracy.

Summary updated

BibTeX
@inproceedings{qian2024capacity,
  author = {Haosheng Qian and Yixing Fan and Ruqing Zhang and Jiafeng Guo},
  title = {{On the Capacity of Citation Generation by Large Language Models}},
  booktitle = {CCIR},
  year = {2024},
  doi = {10.1007/978-981-96-1710-4\_9},
}
Figure