Abstract
Attributed Question Answering (AQA) systems aim to reduce hallucinations by providing citations. However, evaluating these citations is challenging and labor-intensive. This paper introduces CAQA, a large-scale benchmark generated via Knowledge Graphs (KGs) to evaluate LLM-based citation evaluators. Our findings show that state-of-the-art models like GPT-4 often fail to identify partially supportive evidence or handle complex logical reasoning. We demonstrate that fine-tuning on CAQA significantly improves evaluator performance and generalizes well to out-of-distribution datasets.
Introduction
Large Language Models (LLMs) often generate plausible but factually incorrect information. To mitigate this, Attributed Question Answering (AQA) has emerged, where models provide supporting citations for their claims. The bottleneck in deploying these systems is evaluation: determining if a citation truly supports an answer is difficult to automate reliably. Existing benchmarks are often too small or simplistic, failing to capture the nuances of "partially supportive" evidence or multi-step logical reasoning where multiple citations must be combined.
Methodology: The CAQA Pipeline
To address the lack of high-quality evaluation data, we developed an automated pipeline that leverages the structured nature of Knowledge Graphs (KGs). The process consists of four main stages:
- Query Collection: Harvesting basic logical queries from established KGQA datasets.
- Query Extension: Applying logical operators like conjunction ((\wedge)) and disjunction ((\vee)) to create complex, multi-hop queries.
- Structured Attribution Generation: Extracting subgraphs that serve as ground-truth evidence. We then systematically "edit" these graphs to create negative examples: deleting nodes for partial support, swapping entities for contradictions, or selecting unrelated subgraphs for irrelevance.
- Data Generation: Using an LLM to translate these structured graph edits into natural language questions, answers, and citations.
The CAQA Dataset
The resulting CAQA benchmark contains 161.1K samples categorized by four attribution types: Supportive, Partially Supportive, Contradictory, and Irrelevant. It also features four complexity levels ranging from single-fact retrieval to complex concatenations. Validation against human annotations showed a 0.97 Pearson correlation, confirming the high quality of the automated labels.
Key Findings and Results
Our evaluation of 23 LLMs revealed several critical insights:
- The "Partially Supportive" Trap: Models are frequently misled by keyword overlap. Even GPT-4 struggles to distinguish between a citation that supports an entire answer and one that only supports a portion of it, achieving a low F1 score of 0.456 in zero-shot settings for this category.
- Logical Complexity: As the reasoning required to verify an answer increases (e.g., intersections of multiple facts), the performance of zero-shot evaluators drops significantly.
- Fine-Tuning Efficacy: Fine-tuning smaller models (e.g., LLaMA-3 8B) on the CAQA dataset leads to dramatic improvements, with overall F1 scores exceeding 90%.
- Generalization: Models trained on CAQA outperform existing specialized evaluators on unseen datasets like ALCE-FineGrained, demonstrating the robustness of the KG-based training data.
Conclusion
CAQA provides a scalable solution for benchmarking and training LLM-based citation evaluators. While it currently focuses on logical reasoning within KGs, future work will expand to include temporal, spatial, and domain-specific reasoning. Our results underscore that while zero-shot LLMs are not yet reliable evaluators for complex attribution, targeted fine-tuning on structured data can bridge this gap.
Summary updated