English

C$^2$-Cite: Contextual-Aware Citation Generation for Attributed Large Language Models

Information Retrieval 2026-03-24 v2 Computation and Language Digital Libraries Machine Learning

Abstract

The attribution technique enhances the credibility of LLMs by adding citations to the generated sentences, enabling users to trace back to the original sources and verify the reliability of the output. However, existing instruction-tuned attributed LLMs often fail to properly interpret the contextual semantics of citation symbols (e.g., [i]) during text generation. This shortcoming arises from their insufficient awareness of the context information surrounding citation markers, which in turn leads to disjointed references and poor integration of retrieved knowledge into the generated content. To address this issue, we propose a novel \textbf{C}ontextual-aware \textbf{C}itation generation framework (\textbf{C2^2}-\textbf{Cite}) that explicitly integrates the semantic relationships between citation markers and their referenced content. Specifically, a contextual citation alignment mechanism is adopted: it first encodes the retrieved document contexts into the symbol representation of citations, then aligns the marker numbers by decoding information from a citation router function. This mechanism enables the transformation of citation markers from generic placeholders into active knowledge pointers that link to the referenced source information. Experimental results on the ALCE benchmark across three datasets validate our framework C2^2-Cite++: it outperforms the SOTA baseline by an average of 5.8\% in citation quality and 17.4\% in response correctness. The implementation is publicly available at https://github.com/BAI-LAB/c2cite

Keywords

Cite

@article{arxiv.2602.00004,
  title  = {C$^2$-Cite: Contextual-Aware Citation Generation for Attributed Large Language Models},
  author = {Yue Yu and Ting Bai and HengZhi Lan and Li Qian and Li Peng and Jie Wu and Wei Liu and Jian Luan and Chuan Shi},
  journal= {arXiv preprint arXiv:2602.00004},
  year   = {2026}
}

Comments

WSDM26

R2 v1 2026-07-01T09:28:15.706Z