Aligning with Logic: Measuring, Evaluating and Improving Logical Preference Consistency in Large Language Models
Yinhong Liu, Zhijiang Guo, Tianya Liang, Ehsan Shareghi, Ivan Vulic, Nigel Collier
Abstract
Large Language Models (LLMs) are expected to be predictable and trustworthy to support reliable decision-making systems. Yet current LLMs often show inconsistencies in their judgments. In this work, we examine logical preference consistency as a foundational requirement for building more dependable LLM systems, ensuring stable and coherent decision-making while minimizing erratic or contradictory outputs. To quantify the logical preference consistency, we propose a universal evaluation framework based on three fundamental properties: transitivity, commutativity and negation invariance. Through extensive experimentation across diverse LLMs, we demonstrate that these properties serve as strong indicators of judgment robustness. Furthermore, we introduce a data refinement and augmentation technique, REPAIR, that enhances logical consistency while maintaining alignment with human preferences. Finally, we show that improving consistency leads to better performance in LLM-driven logic-based algorithms, reinforcing stability and coherence in decision-making systems. Code is available at https://github.com/williamLyh/REPAIR
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Consistently Simulating Human Personas with Multi-Turn Reinforcement Learning cites Training language models to follow instructions with human feedback
- The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A" cites Language Models are Few-Shot Learners
- Extending First-Order Logic for Factual Reasoning over Knowledge Graphs cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models as Optimizers cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
- Who can we trust? LLM-as-a-jury for Comparative Assessment cites Training language models to follow instructions with human feedback
Cited by top-tier papers5
- Consistently Simulating Human Personas with Multi-Turn Reinforcement LearningMarwa Abdulhai, Ryan Cheng, Donovan Clay, Tim Althoff et al.NeurIPS 2025 · 51 citations
- Who can we trust? LLM-as-a-jury for Comparative AssessmentMengjie Qian, Guangzhi Sun, Mark Gales, Kate KnillICML 2026 · 5 citations
- LogiConBench: Benchmarking Logical Consistencies of LLMsZheng Chen, Chuan Zhou, Fengxiang Cheng, Tin Po Yip et al.ICLR 2026
- LCR-RAG: Enhancing Logical Consistency in Retrieval-Augmented Generation via Neuro-symbolic Reinforcement LearningWenxiang Zheng, Guo Tang, Shixin Jiang, Liangyu Huo et al.ACL 2026
- Extending First-Order Logic for Factual Reasoning over Knowledge GraphsYuanzhen Hao, Desheng WuACL 2026
Builds on19
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- Large Language Models as OptimizersChengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu et al.ICLR 2024 · 817 citations
- The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"Lukas Berglund, Meg Tong, Maximilian Kaufmann, Mikita Balesni et al.ICLR 2024 · 462 citations
Related papers
- Verifiable, Debuggable, and Repairable Commonsense Logical Reasoning via LLM-based Theory ResolutionArmin Toroghi, Willis Guo, Ali Pesaranghader, Scott SannerEMNLP 2024 · 4 citations
- Estimating LLM Consistency: A User Baseline vs Surrogate MetricsXiaoyuan Wu, Weiran Lin, Omer Akgul, Lujo BauerEMNLP 2025
- Probability-Consistent Preference Optimization for Enhanced LLM ReasoningYunqiao Yang, Houxing Ren, Zimu Lu, Ke Wang et al.ACL Findings 2025
- ReasonerRank: Redefining Language Model Evaluation with Ground-Truth-Free Ranking FrameworksJiamu Zhang, Jiayi Yuan, Andrew Wen, Hoang Anh Duy Le et al.ACL Findings 2025 · 1 citation
- Rating Roulette: Self-Inconsistency in LLM-As-A-Judge FrameworksRajarshi Haldar, Julia HockenmaierEMNLP Findings 2025 · 11 citations
