paper-with-me

Papers

LP-LM: No Hallucinations in Question Answering with Logic Programming

2025-02-13 · Katherine Wu, Yanhong A. Liu

Large language models (LLMs) are able to generate human-like responses to user queries. However, LLMs exhibit inherent limitations, especially because they hallucinate. This paper introduces LP-LM, a system that grounds answers to questions in known facts contained in a knowledge base (KB), facilitated through semantic parsing in Prolog, and always produces answers that are reliable. LP-LM generates a most probable constituency parse tree along with a corresponding Prolog term for an input question via Prolog definite clause grammar (DCG) parsing. The term is then executed against a KB of natural language sentences also represented as Prolog terms for question answering. By leveraging DCG and tabling, LP-LM runs in linear time in the size of input sentences for sufficiently many grammar rules. Performing experiments comparing LP-LM with current well-known LLMs in accuracy, we show that LLMs hallucinate on even simple questions, unlike LP-LM.

📄 PDF Abstract BibTeX arXiv:2502.09212

Code (1)

katherinewu312/lp-lm 공식 구현

Tasks

Question AnsweringSemantic Parsing

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Domain Specific Question Answering Over Knowledge Graphs Using Logical Programming and Large Language Models

2023-03-03 · Navid Madani, Rohini K. Srihari, Kenneth Joseph

Answering questions over domain-specific graphs requires a tailored approach due to the limited number of relations and the specific nature of the domain. Our approach integrates classic logical programming languages int…

Knowledge GraphsLogical ReasoningQuestion Answering

Declarative Question Answering over Knowledge Bases containing Natural Language Text with Answer Set Programming

2019-05-01 · Arindam Mitra, Peter Clark, Oyvind Tafjord, Chitta Baral

While in recent years machine learning (ML) based approaches have been the popular approach in developing end-to-end question answering systems, such systems often struggle when additional knowledge is needed to correctl…

Logical ReasoningNatural Language InferenceQuestion Answering

Seeing Clearly without Training: Mitigating Hallucinations in Multimodal LLMs for Remote Sensing

2026-03-03 · Yi Liu, Jing Zhang, Di Wang, Xiaoyu Tian 외 arxiv

Multimodal large language models (MLLMs) suffer from pronounced hallucinations in remote sensing visual question-answering (RS-VQA), primarily caused by visual grounding failures in large-scale scenes or misinterpretatio…

Visual Grounding

Identifying and Answering Questions with False Assumptions: An Interpretable Approach

2025-08-21 · Zijie Wang, Eduardo Blanco arxiv

People often ask questions with false assumptions, a type of question that does not have regular answers. Answering such questions requires first identifying the false assumptions. Large Language Models (LLMs) often gene…

Fact Verification

HaluMem: Evaluating Hallucinations in Memory Systems of Agents

2025-11-05 · Ding Chen, Simin Niu, Kehang Li, Peng Liu 외 arxiv

Memory systems are key components that enable AI systems such as LLMs and AI agents to achieve long-term learning and sustained interaction. However, during memory storage and retrieval, these systems frequently exhibit …

Question Answering