When Form Changes but Logic Doesn't: Building Logic-invariant LLMs through Logical Structure
Xuyuan Liu, Xinshuai Dong, Elynn Chen, Yujun Yan
Key points
From the paper's conclusion- Across multiple training settings, LoGIST reduces inconsistency under logical equivalence and improves generalization to unseen logical forms, suggesting that logical invariance is a useful target for building more robust and generalizable logical reasoning in LLMs.
Abstract
Large language models (LLMs) have achieved strong performance across diverse reasoning tasks, yet it remains unclear whether this performance reflects an understanding of underlying logical structure or a reliance on shallow semantic cues. A key indicator of such understanding is whether models treat logically equivalent inputs consistently, producing the same predictions despite differences in expression. Through systematic evaluation on curated data, we show that even strong LLMs often fail this test: they do not consistently preserve predictions across logically equivalent inputs and generalize poorly to unseen logical forms. To address this limitation, we propose LoGIcal STructure-guided reasoning (LoGIST), a framework that guides LLM reasoning with explicit logical structure. LoGIST maps each input instance to a decision diagram, a directed acyclic graph that captures the underlying logical structure, and encodes this graph into a logical embedding that conditions the LLM's reasoning process. Across multiple training settings, LoGIST reduces inconsistency under logical equivalence and improves generalization to unseen logical forms, suggesting that logical invariance is a useful target for building more robust and generalizable logical reasoning in LLMs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LGMT: A Tool for Testing the Logical Reasoning Reliability of LLMsarXiv · 2026
- Learning to Prove, Not Just to Answer: Reinforcement Learning from Formal Verification for Natural-Language Logical ReasoningarXiv · 2026
- MetaPCR-LLM: Universal Proof-Carrying Reasoning Across Heterogeneous Logics for Large Language Model ValidationAI · 2026
- KUDEX: A Zero-Shot Decompositional Framework for Logical Analysis in Natural LanguagearXiv · 2026
- Scoped Semantic Invariance as a Foundation for LLM ReliabilityarXiv · 2026
- Prove What You Can: Hybrid Neurosymbolic Reasoning for Logical Natural Language InferencearXiv · 2026