Abstract
Large Language Models (LLMs) frequently struggle to provide accurate citations, leading to "hallucinated" references that undermine trust. This paper introduces CaLF (Citation Learning via Factual Consistency Models), a fine-tuning strategy that uses external consistency models to filter high-quality training data and weight the learning process toward factually critical tokens. The result is a significant boost in citation accuracy and groundedness without sacrificing the model's general conversational abilities.
Introduction
While Retrieval-Augmented Generation (RAG) helps LLMs answer questions using external knowledge, "citing your sources" remains a major hurdle. Current models often produce "hallucinated" citations—attributing a claim to a source that doesn't actually support it—or fail to cite relevant information altogether.
The authors identify two primary challenges in this domain:
- Data Scarcity: High-quality, human-annotated data for long-form question answering with citations is expensive and rare.
- Generalization Risk: Fine-tuning a model specifically for citations can "break" its natural language fluency or limit its ability to handle topics outside its training set.
Methodology: The CaLF Framework
The authors propose CaLF, an iterative fine-tuning approach that leverages Factual Consistency Models (FCMs)—specialized models designed to judge if a statement is supported by a context. The CaLF pipeline consists of two main innovations:
Weakly-Supervised Data Generation
Instead of relying on human labels, the researchers have the LLM generate multiple candidate answers. They then use an FCM (specifically AlignScore) to filter and keep only the responses where the citations are factually accurate. This allows for the creation of large-scale training sets without the bottleneck of human annotation.
Focused Learning via Shapley Values
This is the core technical contribution. Standard fine-tuning treats every word (token) in a sentence as equally important. CaLF uses Shapley values from the FCM to identify which specific tokens are "factual units" (e.g., names, dates, specific actions) versus "filler" (e.g., "the", "is", "according to").
During training, the loss function is re-weighted to force the model to pay more attention to these factual units. Because the FCM and the LLM often use different tokenizers, the authors also developed a Token Alignment Algorithm to map the importance weights from the "judge" model to the "student" model.
Experimental Setup
The researchers evaluated CaLF across several demanding benchmarks to test both accuracy and the ability to generalize across domains:
- ALCE Benchmark: Specifically the ASQA (factoid-style QA) and ELI5 (complex, "explain like I'm five" QA) subsets.
- BIO: A biography generation task where factuality is measured using the FactScore metric.
- Hagrid: A dataset used primarily for domain transfer experiments to see if a model trained on one type of data (e.g., Wikipedia) can still cite correctly on another (e.g., Reddit).
Key Results
CaLF demonstrated superior performance across the board compared to in-context learning (ICL), standard supervised fine-tuning (SFT), and state-of-the-art methods like Self-RAG:
- Citation F1 Score: On the ALCE benchmark, CaLF improved the Citation F1 by an average of 34.1 points over ICL and 10.5 points over previous state-of-the-art methods.
- Grounded Correctness: The models showed a marked increase in "Correctness in P"—a metric that only counts facts explicitly supported by the retrieved passages, effectively reducing hallucinations.
- Factuality: On the BIO benchmark, CaLF achieved a FactScore of 83.4, significantly higher than the few-shot baseline (78.7).
- Efficiency: Unlike post-hoc editing methods, CaLF introduces zero overhead at inference time. The model generates citations naturally during its first pass.
Discussion and Insights
Structural Learning
The paper suggests that citation generation is a structural skill. The model isn't just learning facts; it's learning the relationship between a retrieved passage and a generated sentence. By penalizing the model more heavily for getting a "factual unit" wrong than a "function word" wrong, CaLF prevents the model from "drifting" into generic language and keeps it tethered to the provided evidence.
Robust Transferability
One of the most surprising findings was how well the citation ability transferred. A model trained on ASQA (Wikipedia-based) showed massive improvements when tested on ELI5 (Reddit-based), suggesting that once an LLM learns the "mechanics" of citing, it can apply them to diverse contexts. This indicates that the model is learning a generalizable reasoning pattern rather than just memorizing data.
FCMs as Scalable Teachers
The research proves that off-the-shelf consistency models are now sophisticated enough to act as automated supervisors, bypassing the need for massive human-labeled datasets. This opens the door for more efficient and scalable alignment techniques in LLM development.
Limitations and Future Work
Despite its success, the authors note several areas for improvement:
- The "Mandatory Citation" Bias: The current framework assumes every generated sentence must have a citation. In real-world chat, models often use conversational filler which doesn't require a source.
- Retriever Dependency: CaLF is only as good as the search engine behind it. If the retriever provides irrelevant or incorrect passages, the model's ability to generate a helpful answer is capped.
- Abstention: Future work should focus on "learned abstention"—teaching the model to say "I don't know" or "The provided sources don't contain this information" rather than trying to force a citation when the evidence is missing.
Summary updated