ACL 2025long0 citations

Improving Contextual Faithfulness of Large Language Models via Retrieval Heads-Induced Optimization

Lei Huang, Xiaocheng Feng, Weitao Ma, Yuchun Fan, Xiachong Feng, Yangfan Ye, Weihong Zhong, Yuxuan Gu

Abstract

Ensuring contextual faithfulness in retrieval-augmented large language models (LLMs) is crucial for building trustworthy information-seeking systems, particularly in long-form question-answering (LFQA) scenarios. In this work, we identify a salient correlation between LFQA faithfulness and retrieval heads, a set of attention heads responsible for retrieving contextual information. Leveraging this insight, we propose RHIO, a framework designed to teach LLMs to explicitly discriminate between faithful and unfaithful generations. RHIO first augments unfaithful samples that simulate realistic model-intrinsic errors by selectively masking retrieval heads. Then, these samples are incorporated into joint training, enabling the model to distinguish unfaithful outputs from faithful ones conditioned on control tokens. Furthermore, these control tokens are leveraged to self-induce contrastive outputs, amplifying their difference through contrastive decoding. Additionally, to facilitate the evaluation of contextual faithfulness, we also introduce GroundBench, a comprehensive benchmark compiled from five existing LFQA datasets. Extensive experimental results on GroundBench demonstrate that RHIO significantly improves faithfulness, even outperforming GPT-4o.

BibTeX
@inproceedings{huang-etal-2025-improving,
    title = "Improving Contextual Faithfulness of Large Language Models via Retrieval Heads-Induced Optimization",
    author = "Huang, Lei  and
      Feng, Xiaocheng  and
      Ma, Weitao  and
      Fan, Yuchun  and
      Feng, Xiachong  and
      Ye, Yangfan  and
      Zhong, Weihong  and
      Gu, Yuxuan  and
      Wang, Baoxin  and
      Wu, Dayong  and
      Hu, Guoping  and
      Qin, Bing",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-long.826/",
    doi = "10.18653/v1/2025.acl-long.826",
    pages = "16896--16913",
    ISBN = "979-8-89176-251-0"
}
Improving Contextual Faithfulness of Large Language Models via Retrieval Heads-Induced Optimization · ACL 2025