Trustful LLMs: Customizing and Grounding Text Generation with Knowledge Bases and Dual Decoders
Zhu, Xiaofeng, Mandivarapu, Jaya Krishna
–arXiv.org Artificial Intelligence
Although people are impressed by the content generation skills of large language models, the use of LLMs, such as ChatGPT, is limited by the domain grounding of the content. The correctness and groundedness of the generated content need to be based on a verified context, such as results from Retrieval-Augmented Generation (RAG). One important issue when adapting LLMs to a customized domain is that the generated responses are often incomplete, or the additions are not verified and may even be hallucinated. Prior studies on hallucination detection have focused on evaluation metrics, which are not easily adaptable to dynamic domains and can be vulnerable to attacks like jail-breaking. In this work, we propose 1) a post-processing algorithm that leverages knowledge triplets in RAG context to correct hallucinations and 2) a dual-decoder model that fuses RAG context to guide the generation process.
arXiv.org Artificial Intelligence
Dec-19-2024
- Country:
- Asia
- China > Heilongjiang Province
- Daqing (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- China > Heilongjiang Province
- North America
- Canada > Quebec (0.04)
- United States > New York
- New York County > New York City (0.04)
- Asia
- Genre:
- Research Report (0.50)
- Industry:
- Health & Medicine (1.00)
- Technology: