atlas

Research map / Large language models / Retrieval and knowledge

Logical Consistency of Large Language Models in Fact-Checking

ICLR 2025 · Large language models › Retrieval and knowledge · approach: Knowledge-augmented question answering · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces logical fact-checking datasets over knowledge graphs and consistency measures for negation, conjunction, and disjunction in retrieval-augmented LLMs, then improves consistency via QLoRA supervised fine-tuning on primitive operators.

Problem

LLMs give inconsistent answers to logically equivalent or opposite propositional queries (negation, conjunction, disjunction), a gap not addressed by paraphrase-based consistency work, especially for complex queries in fact-checking.

Approach

Defines logical consistency for LLM binary responses under logical operators and DNF decomposition, builds KG-grounded fact-checking benchmarks (FreebaseLFC, NELLLFC, WikiLFC), and shows that QLoRA fine-tuning on simple/primitive-operator facts from FreebaseLFC improves consistency on complex and out-of-distribution facts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
supervised fine-tuning on primitive operator facts (QLoRA)Llama2-13B, Llama2-7B, Gemma-2B · FreebaseLFC, NELLLFC, WikiLFC (simple and one-operator facts)logical consistency: average consistency 0.74 -> 0.88Helped
supervised fine-tuning on FreebaseLFC onlyLlama2-13B, Llama2-7B, Gemma-2B · NELLLFC and WikiLFC (out-of-training datasets)accuracy and consistency: e.g., Llama2-13B NELL p,¬p consistency 0.76 -> 0.93Helped
supervised fine-tuningdisjunction fact p∨q · FreebaseLFC, Llama2-7B and Gemma-2Blogical consistency: Llama2-7B 0.83 -> 0.77; Gemma-2B 0.91 -> 0.90Hurt
supervised fine-tuningp∧(q∨r) complex fact · NELLLFC, Llama2-13Baccuracy: 0.42 -> 0.38Hurt
adding KG context to the query (ablation)Llama2-7B base model · FreebaseLFC simple factsaccuracy and logical consistency: accuracy 0.51 -> 0.88; consistency 0.03 -> 0.77Helped
zero-shot instruction prompting (ablation)Llama2-13B base model · FreebaseLFC simple factslogical consistency: 0.81 -> 0.79Hurt
supervised fine-tuning vs zero-shot instruction prompting (ablation)Llama2-13B on simple facts · FreebaseLFC, NELLLFC, WikiLFClogical consistency: FreebaseLFC prompt 0.79 vs FT 0.86Helped
reduced context length (200 tokens vs 1000) (ablation)Llama2/Gemma base models · FreebaseLFCconsistencyNo clear effect
reduced context length (200 tokens) combined with fine-tuning (ablation)fine-tuned models · FreebaseLFCaccuracy and consistencyHelped
parameter-efficient fine-tuning (QLoRA) vs full fine-tuning (ablation)Llama2-7B · training time per epochtime per epoch: 4.43 hours vs 12.52 hoursHelped

Surprising findings

Limitations

Experimental setup

Datasets: FB15K NELL WikiKG90Mv2 FreebaseLFC

Benchmarks: FreebaseLFC NELLLFC WikiLFC

Metrics: accuracy logical consistency

Baselines: Llama-2-7B zero-shot prompting Llama-2-13B zero-shot prompting Gemma-2B zero-shot prompting

Builds on: LoRA QLoRA Query2Box

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy