Saved in:
Bibliographic Details
Main Authors: Wu, Di, Gu, Jia-Chen, Yin, Fan, Peng, Nanyun, Chang, Kai-Wei
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.13692
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929526258270208
author Wu, Di
Gu, Jia-Chen
Yin, Fan
Peng, Nanyun
Chang, Kai-Wei
author_facet Wu, Di
Gu, Jia-Chen
Yin, Fan
Peng, Nanyun
Chang, Kai-Wei
contents Retrieval-augmented language models (RALMs) have shown strong performance and wide applicability in knowledge-intensive tasks. However, there are significant trustworthiness concerns as RALMs are prone to generating unfaithful outputs, including baseless information or contradictions with the retrieved context. This paper proposes SynCheck, a lightweight monitor that leverages fine-grained decoding dynamics including sequence likelihood, uncertainty quantification, context influence, and semantic alignment to synchronously detect unfaithful sentences. By integrating efficiently measurable and complementary signals, SynCheck enables accurate and immediate feedback and intervention, achieving 0.85 AUROC in detecting faithfulness errors across six long-form retrieval-augmented generation tasks, improving prior best method by 4%. Leveraging SynCheck, we further introduce FOD, a faithfulness-oriented decoding algorithm guided by beam search for long-form retrieval-augmented generation. Empirical results demonstrate that FOD outperforms traditional strategies such as abstention, reranking, or contrastive decoding significantly in terms of faithfulness, achieving over 10% improvement across six datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2406_13692
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Synchronous Faithfulness Monitoring for Trustworthy Retrieval-Augmented Generation
Wu, Di
Gu, Jia-Chen
Yin, Fan
Peng, Nanyun
Chang, Kai-Wei
Computation and Language
Retrieval-augmented language models (RALMs) have shown strong performance and wide applicability in knowledge-intensive tasks. However, there are significant trustworthiness concerns as RALMs are prone to generating unfaithful outputs, including baseless information or contradictions with the retrieved context. This paper proposes SynCheck, a lightweight monitor that leverages fine-grained decoding dynamics including sequence likelihood, uncertainty quantification, context influence, and semantic alignment to synchronously detect unfaithful sentences. By integrating efficiently measurable and complementary signals, SynCheck enables accurate and immediate feedback and intervention, achieving 0.85 AUROC in detecting faithfulness errors across six long-form retrieval-augmented generation tasks, improving prior best method by 4%. Leveraging SynCheck, we further introduce FOD, a faithfulness-oriented decoding algorithm guided by beam search for long-form retrieval-augmented generation. Empirical results demonstrate that FOD outperforms traditional strategies such as abstention, reranking, or contrastive decoding significantly in terms of faithfulness, achieving over 10% improvement across six datasets.
title Synchronous Faithfulness Monitoring for Trustworthy Retrieval-Augmented Generation
topic Computation and Language
url https://arxiv.org/abs/2406.13692