Abstract
Retrieval-Augmented Generation (RAG) systems rely on citations to establish user trust and verify factual accuracy. However, existing evaluation metrics based on Natural Language Inference (NLI) often fail to account for the full retrieval context or the distinction between model-generated reasoning and retrieved evidence. We present CiteEval, a principle-driven framework for citation evaluation. By incorporating context attribution and iterative editing metrics, CiteEval achieves significantly higher correlation with human judgment than traditional methods.
1. Introduction
As Large Language Models (LLMs) are increasingly deployed in search and assistant roles, the ability to provide accurate source attribution is paramount. While RAG systems reduce hallucinations by grounding responses in external documents, measuring the quality of these citations remains a challenge. Current industry standards typically employ NLI-based proxies—asking if a specific passage entails a specific statement. This approach is limited: it ignores the availability of better sources in the retrieved set, misidentifies non-factual sentences as missing citations, and lacks the granularity to provide actionable feedback.
2. The CiteEval Framework
CiteEval redefines citation evaluation by considering the citation $r_i$ as a function of four key components: the cited source ($C_i$), the full retrieval set ($S$), the generated response ($R$), and the original user query ($Q$).
2.1 Context Attribution
A core innovation of CiteEval is the "Context Attribution" pre-processing step. Before evaluating citation quality, an LLM classifies each statement in a response into one of four categories:
- Retrieval: Statements that require external evidence from the retrieved documents.
- User: Statements that merely repeat or rephrase the user's query.
- Response: Statements representing the model's internal reasoning or conversational filler.
- Parametric: Statements derived from the model's internal pre-trained knowledge.
By focusing evaluation only on "Retrieval" statements, CiteEval avoids the "hallucination false positives" common in metrics that expect every sentence to be cited.
2.2 CITEEVAL-AUTO
The framework introduces two primary automated metrics:
- ITERCOE (Iterative Chain of Edits): An LLM-based evaluator that performs a "chain-of-thought" analysis. It suggests specific edits (e.g., adding a missing citation or deleting a misleading one) and assigns a 1-5 Likert score based on the effort required to reach a perfect state.
- EDITDIST (Edit Distance): A learned metric that calculates the weighted distance between the model's current citations and an "ideal" set of citations, penalizing critical errors (like missing evidence) more heavily than minor redundancies.
3. CiteBench: A New Benchmark for Attribution
To validate CiteEval, the authors developed CiteBench, a comprehensive dataset containing 3,948 instances across diverse domains, including ASQA (factoid QA), ELI5 (long-form explanation), MS MARCO (search), and LFRQA. CiteBench includes a "Human Gold Standard" for 1,200 instances, featuring statement-level context labels and expert-verified citation edits.
4. Experimental Results
The evaluation of CiteEval against existing metrics yielded several key insights:
- Superior Human Alignment: CITEEVAL-AUTO (powered by GPT-4o) achieved a Pearson correlation of 0.73 with human judgments. This significantly outperforms the widely used Auto-AIS, which reached only 0.41.
- The Importance of Full Context: CiteEval successfully identifies "suboptimal" citations—cases where a model cites a less reliable source when a more authoritative one was available in the retrieval set. NLI-based metrics, which only look at the cited source in isolation, fail to detect these quality gaps.
- The Length Penalty: Analysis revealed a strong correlation (0.679) between response length and the ratio of missing citations. As models generate longer, more complex responses, their ability to maintain rigorous attribution decreases.
- Ablation Success: Removing the Context Attribution step led to a significant drop in performance, confirming that distinguishing between retrieved facts and model reasoning is essential for an accurate evaluation of RAG systems.
5. Discussion and Future Work
While CiteEval represents a significant step forward, challenges remain. The reliance on high-performing models like GPT-4o for evaluation introduces computational costs that may be prohibitive for large-scale production monitoring. Future work involves distilling CiteEval's capabilities into smaller, specialized models. Additionally, while the current framework operates at the sentence level, there is a growing need for sub-sentence or "chunk-level" citation evaluation to support more granular attribution.
6. Conclusion
CiteEval moves citation evaluation from a simple binary check to a context-aware, principle-driven assessment. By accounting for the full retrieval context and the specific nature of each statement, CiteEval provides a much more accurate and human-aligned metric for the next generation of RAG systems.
Summary updated