atlas

Research map / Large language models / Instruction and fine-tuning

Logically Consistent Language Models via Neuro-Symbolic Integration

ICLR 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 2 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.

Proposes LoCo-LMs, fine-tuning LLMs with a semantic loss (weighted model counting over logical constraints) so they become more factual and self-consistent without external solvers at inference.

Problem

LLMs contradict themselves on logically related facts (negation, implication, reverse implication) and are often factually inconsistent; existing fixes rely on external solvers at inference or large-scale fine-tuning.

Approach

Use the semantic loss, a probabilistic neuro-symbolic objective that maximizes the probability that LLM beliefs satisfy propositional constraints (computed efficiently via compiled circuits), to fine-tune LLMs on a small KB of facts and rules, with LoRA and 4-bit quantization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply semantic-loss fine-tuning on implication constraints instead of using ConCoRDMacaw-Large · BeliefBank silver, T1Imp: 0.91 -> 0.99Helped
Use semantic-loss rather than XENT fine-tuning on T1+T2 (5%)Macaw-Large · BeliefBank silver, T1+T2 (5%)Imp: 0.82 -> 0.92Helped
Fine-tune on combined negation and factual implication constraintsLLaMa-2-7b · BeliefBank testAVG: 0.55 -> 0.77Helped
Fine-tune on negation constraints only (ablation)LLaMa-2-7b · BeliefBank testNEG: 0.42 -> 0.96Helped
Fine-tune on factual implication constraints (ablation)LLaMa-2-7b · BeliefBank testIMP: 0.52 -> 0.99Helped
Use factual implication constraints only rather than combined negation and implication constraints (ablation)LLaMa-2-7b · BeliefBank testNEG: 0.96 -> 0.00Hurt
Use negation constraints only rather than combined negation and implication constraints (ablation)LLaMa-2-7b · BeliefBank testAVG: 0.52 -> 0.77Hurt
Fine-tune on factual implication constraints (ablation)LLaMa-2-7b · EntailmentBank test, depth 1Consistency: 0.87 -> 0.98Helped
Fine-tune on negation constraints only (ablation)LLaMa-2-7b · EntailmentBank test, depth 1Consistency: 0.87 -> 0.51Hurt

Surprising findings

Limitations

Experimental setup

Datasets: BeliefBank EntailmentBank WikiText

Benchmarks: BeliefBank EntailmentBank

Metrics: F1 implication consistency reverse implication consistency negation self-consistency perplexity

Baselines: ConCoRD Macaw-Large Macaw+XENT LLaMa-2-7b LLaMa-2-70b LLaMa-2-7b + XENT

Builds on: semantic loss ConCoRD LoRA QLoRA

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