Introduction
Large Language Models (LLMs) frequently encounter issues with factual hallucinations, which can undermine their utility in high-stakes information retrieval tasks. Attributed Text Generation (ATG) addresses this by requiring models to provide verifiable citations for every claim they make. However, developing effective ATG systems is hindered by two primary challenges: the extreme scarcity of high-quality human-annotated datasets and the difficulty models face in ignoring irrelevant "noisy" documents often returned by search engines. This paper introduces $\mathcal{A}^3$, an automatic alignment framework designed to teach LLMs the art of citation without relying on expensive human labels.
Methodology: The $\mathcal{A}^3$ Framework
The $\mathcal{A}^3$ framework utilizes a multi-stage pipeline to automate the creation of high-fidelity training data for ATG, focusing on document interrelatedness and preference learning.
1. Interrelated Document Selection and Q&A Extraction
To ensure that generated questions require synthesizing information across multiple sources rather than simple copying, the framework uses WikiGraphs to identify clusters of documents sharing entities and relations. A "teacher" model (e.g., GPT-4) then generates a summary response based on these documents and formulates a corresponding query that leads to that summary.
2. Data Filtering and Noisy Augmentation
Not all machine-generated data is reliable. $\mathcal{A}^3$ employs a Natural Language Inference (NLI) model to verify if citations accurately support their claims. Samples falling below a specific "Citation F1" threshold are discarded. To improve robustness, the training set is intentionally augmented with irrelevant "noisy" documents, teaching the model to distinguish between relevant evidence and distractor content.
3. Preference Optimization
A critical component of $\mathcal{A}^3$ is the construction of dispreferred responses. By intentionally introducing errors—such as removing, changing, or adding incorrect citations—the framework creates pairs for Direct Preference Optimization (DPO). This teaches the model to choose correctly cited responses over flawed ones.
Experimental Evaluation
The framework was evaluated using a Mistral-7B backbone across several major benchmarks, including ASQA (ambiguous factoid QA), ELI5 (long-form explanations), PopQA, and FanOutQA.
Performance and Robustness
The $\mathcal{A}^3$-trained Mistral-7B model demonstrated superior performance, achieving a citation recall of 84.4 and precision of 87.0 on the ASQA benchmark. For comparison, GPT-4 scored 73.0 and 76.5, respectively. The model also exhibited a significantly higher capacity for ignoring irrelevant documents compared to base models or those trained on less sophisticated datasets.
The Role of Preference Optimization
A key finding was the impact of DPO on citation accuracy. While Supervised Fine-Tuning (SFT) provides a strong baseline, DPO significantly sharpens the model's precision by penalizing subtle attribution errors. The authors found that the filtering threshold (Citation F1 > 0.9) was more critical than the total volume of data, emphasizing quality over quantity.
Discussion and Conclusion
The results highlight that the $\mathcal{A}^3$ framework provides a scalable, automated solution for aligning LLMs with the requirements of attributed text generation. By leveraging interrelated document clustering and preference optimization, it enables open-source models to surpass the citation performance of much larger commercial counterparts. Furthermore, the framework's success on scientific data (ArXiver) despite being trained primarily on Wikipedia suggests strong cross-domain generalization. Future work will explore multi-lingual support and the integration of real-time verifiable rewards during training.
Summary updated