English

SSFO: Self-Supervised Faithfulness Optimization for Retrieval-Augmented Generation

Computation and Language 2025-10-07 v2 Artificial Intelligence

Abstract

Retrieval-Augmented Generation (RAG) systems require Large Language Models (LLMs) to generate responses that are faithful to the retrieved context. However, faithfulness hallucination remains a critical challenge, as existing methods often require costly supervision and post-training or significant inference burdens. To overcome these limitations, we introduce Self-Supervised Faithfulness Optimization (SSFO), the first self-supervised alignment approach for enhancing RAG faithfulness. SSFO constructs preference data pairs by contrasting the model's outputs generated with and without the context. Leveraging Direct Preference Optimization (DPO), SSFO aligns model faithfulness without incurring labeling costs or additional inference burden. We theoretically and empirically demonstrate that SSFO leverages a benign form of \emph{likelihood displacement}, transferring probability mass from parametric-based tokens to context-aligned tokens. Based on this insight, we propose a modified DPO loss function to encourage likelihood displacement. Comprehensive evaluations show that SSFO significantly outperforms existing methods, achieving state-of-the-art faithfulness on multiple context-based question-answering datasets. Notably, SSFO exhibits strong generalization, improving cross-lingual faithfulness and preserving general instruction-following capabilities. We release our code and model at the anonymous link: https://github.com/chkwy/SSFO

Keywords

Cite

@article{arxiv.2508.17225,
  title  = {SSFO: Self-Supervised Faithfulness Optimization for Retrieval-Augmented Generation},
  author = {Xiaqiang Tang and Yi Wang and Keyu Hu and Rui Xu and Chuang Li and Weigao Sun and Jian Li and Sihong Xie},
  journal= {arXiv preprint arXiv:2508.17225},
  year   = {2025}
}

Comments

Working in progress

R2 v1 2026-07-01T05:03:14.586Z