paper-with-me

Papers

Knowledge-Augmented Language Model Verification

2023-10-19 · Jinheon Baek, Soyeong Jeong, Minki Kang, Jong C. Park, Sung Ju Hwang

Recent Language Models (LMs) have shown impressive capabilities in generating texts with the knowledge internalized in parameters. Yet, LMs often generate the factually incorrect responses to the given queries, since their knowledge may be inaccurate, incomplete, and outdated. To address this problem, previous works propose to augment LMs with the knowledge retrieved from an external knowledge source. However, such approaches often show suboptimal text generation performance due to two reasons: 1) the model may fail to retrieve the knowledge relevant to the given query, or 2) the model may not faithfully reflect the retrieved knowledge in the generated text. To overcome these, we propose to verify the output and the knowledge of the knowledge-augmented LMs with a separate verifier, which is a small LM that is trained to detect those two types of errors through instruction-finetuning. Then, when the verifier recognizes an error, we can rectify it by either retrieving new knowledge or generating new text. Further, we use an ensemble of the outputs from different instructions with a single verifier to enhance the reliability of the verification processes. We validate the effectiveness of the proposed verification steps on multiple question answering benchmarks, whose results show that the proposed verifier effectively identifies retrieval and generation errors, allowing LMs to provide more factually correct outputs. Our code is available at https://github.com/JinheonBaek/KALMV.

📄 PDF Abstract BibTeX arXiv:2310.12836

Code (1)

jinheonbaek/kalmv 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingmodelQuestion AnsweringText Generation

Similar Papers 제목 키워드 기반

Towards Copyright Protection for Knowledge Bases of Retrieval-augmented Language Models via Reasoning

2025-02-10 · Junfeng Guo, Yiming Li, Ruibo Chen, Yihan Wu 외

Large language models (LLMs) are increasingly integrated into real-world personalized applications through retrieval-augmented generation (RAG) mechanisms to supplement their responses with domain-specific knowledge. How…

Anomaly DetectionRAGRetrievalRetrieval-augmented Generation

Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation

2024-10-08 · Bolei He, Nuo Chen, Xinran He, Lingyong Yan 외

Recent Retrieval Augmented Generation (RAG) aims to enhance Large Language Models (LLMs) by incorporating extensive knowledge retrieved from external sources. However, such approach encounters some challenges: Firstly, t…

Language ModelingLanguage ModellingRAGRetrieval+1

HybridRAG-BN: A Retrieval-Augmented Framework with Fine-Tuned Verification for Bangla KBQA

2026-08-13 · Rathijit Aich, Nirjhar Das, Mahfuzulhoq Chowdhury arxiv

Knowledge-base question answering (KBQA) systems rely on effective retrieval and reasoning mechanisms to generate accurate answers from external knowledge sources. However, developing reliable KBQA systems for low-resour…

Question AnsweringAnswer Generation

VerifiNER: Verification-augmented NER via Knowledge-grounded Reasoning with Large Language Models

2024-02-28 · Seoyeon Kim, Kwangwook Seo, Hyungjoo Chae, Jinyoung Yeo 외

Recent approaches in domain-specific named entity recognition (NER), such as biomedical NER, have shown remarkable advances. However, they still lack of faithfulness, producing erroneous predictions. We assume that knowl…

named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NER

SecureRAG-RTL: A Retrieval-Augmented, Multi-Agent, Zero-Shot LLM-Driven Framework for Hardware Vulnerability Detection

2026-03-05 · Touseef Hasan, Blessing Airehenbuwa, Nitin Pundir, Souvika Sarkar 외 arxiv

Large language models (LLMs) have shown remarkable capabilities in natural language processing tasks, yet their application in hardware security verification remains limited due to scarcity of publicly available hardware…

Vulnerability Detection