Not All Contexts Are Equal: Teaching LLMs Credibility-aware Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Pan, Ruotong, Cao, Boxi, Lin, Hongyu, Han, Xianpei, Zheng, Jia, Wang, Sirui, Cai, Xunliang, Sun, Le
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917798619381760
author Pan, Ruotong
Cao, Boxi
Lin, Hongyu
Han, Xianpei
Zheng, Jia
Wang, Sirui
Cai, Xunliang
Sun, Le
author_facet Pan, Ruotong
Cao, Boxi
Lin, Hongyu
Han, Xianpei
Zheng, Jia
Wang, Sirui
Cai, Xunliang
Sun, Le
contents The rapid development of large language models has led to the widespread adoption of Retrieval-Augmented Generation (RAG), which integrates external knowledge to alleviate knowledge bottlenecks and mitigate hallucinations. However, the existing RAG paradigm inevitably suffers from the impact of flawed information introduced during the retrieval phrase, thereby diminishing the reliability and correctness of the generated outcomes. In this paper, we propose Credibility-aware Generation (CAG), a universally applicable framework designed to mitigate the impact of flawed information in RAG. At its core, CAG aims to equip models with the ability to discern and process information based on its credibility. To this end, we propose an innovative data transformation framework that generates data based on credibility, thereby effectively endowing models with the capability of CAG. Furthermore, to accurately evaluate the models' capabilities of CAG, we construct a comprehensive benchmark covering three critical real-world scenarios. Experimental results demonstrate that our model can effectively understand and utilize credibility for generation, significantly outperform other models with retrieval augmentation, and exhibit resilience against the disruption caused by noisy documents, thereby maintaining robust performance. Moreover, our model supports customized credibility, offering a wide range of potential applications.
format Preprint
id arxiv_https___arxiv_org_abs_2404_06809
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Not All Contexts Are Equal: Teaching LLMs Credibility-aware Generation
Pan, Ruotong
Cao, Boxi
Lin, Hongyu
Han, Xianpei
Zheng, Jia
Wang, Sirui
Cai, Xunliang
Sun, Le
Computation and Language
The rapid development of large language models has led to the widespread adoption of Retrieval-Augmented Generation (RAG), which integrates external knowledge to alleviate knowledge bottlenecks and mitigate hallucinations. However, the existing RAG paradigm inevitably suffers from the impact of flawed information introduced during the retrieval phrase, thereby diminishing the reliability and correctness of the generated outcomes. In this paper, we propose Credibility-aware Generation (CAG), a universally applicable framework designed to mitigate the impact of flawed information in RAG. At its core, CAG aims to equip models with the ability to discern and process information based on its credibility. To this end, we propose an innovative data transformation framework that generates data based on credibility, thereby effectively endowing models with the capability of CAG. Furthermore, to accurately evaluate the models' capabilities of CAG, we construct a comprehensive benchmark covering three critical real-world scenarios. Experimental results demonstrate that our model can effectively understand and utilize credibility for generation, significantly outperform other models with retrieval augmentation, and exhibit resilience against the disruption caused by noisy documents, thereby maintaining robust performance. Moreover, our model supports customized credibility, offering a wide range of potential applications.
title Not All Contexts Are Equal: Teaching LLMs Credibility-aware Generation
topic Computation and Language
url https://arxiv.org/abs/2404.06809