Socrates or Smartypants: Testing Logic Reasoning Capabilities of Large Language Models with Logic Programming-based Test Oracles
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Large Language Models (LLMs) have achieved significant progress in language understanding and reasoning. Evaluating and analyzing their logical reasoning abilities has therefore become essential. However, existing datasets and benchmarks are often limited to overly simplistic, unnatural, or contextually constrained examples. In response to the growing demand, we introduce SmartyPat-Bench, a challenging, naturally expressed, and systematically labeled benchmark derived from real-world high-quality Reddit posts containing subtle logical fallacies. Unlike existing datasets and benchmarks, it provides more detailed annotations of logical fallacies and features more diverse data. To further scale up the study and address the limitations of manual data collection and labeling - such as fallacy-type imbalance and labor-intensive annotation - we introduce SmartyPat, an automated framework powered by logic programming-based oracles. SmartyPat utilizes Prolog rules to systematically generate logically fallacious statements, which are then refined into fluent natural-language sentences by LLMs, ensuring precise fallacy representation. Extensive evaluation demonstrates that SmartyPat produces fallacies comparable in subtlety and quality to human-generated content and significantly outperforms baseline methods. Finally, experiments reveal nuanced insights into LLM capabilities, highlighting that while excessive reasoning steps hinder fallacy detection accuracy, structured reasoning enhances fallacy categorization performance.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 11 of its 50 references that are in the map. First posted on arXiv 9 Apr 2025.
Builds on
11 of 50 references.
Closest ancestors · 7
Same direction, newest first
- 2024P-FOLIO: Evaluating and Improving Logical Reasoning with Abundant Human-Written Reasoning Chains11 Oct
- 2024Disentangling Logic: The Role of Context in Large Language Model Reasoning Capabilities4 Jun
- 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models23 Apr
- 2024Reason from Fallacy: Enhancing Large Language Models' Logical Reasoning through Logical Fallacy Understanding4 Apr
- 2024LogicAsker: Evaluating and Improving the Logical Reasoning Ability of Large Language Models1 Jan
- 2022True Detective: A Deep Abductive Reasoning Benchmark Undoable for GPT-3 and Challenging for GPT-420 Dec
- 2022FOLIO: Natural Language Reasoning with First-Order Logic2 Sep
Other references · 4
- 2019PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identificationcited by 264
- 2019CLUTRR: A Diagnostic Benchmark for Inductive Reasoning from Textcited by 162
- 2022Logical Fallacy Detectioncited by 25
- 2025RuozhiBench: Evaluating LLMs with Logical Fallacies and Misleading Premisescited by 6
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024LogicPrpBank: A Corpus for Logical Implication and Equivalence
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming
- 2025AutoLogi: Automated Generation of Logic Puzzles for Evaluating Reasoning Abilities of Large Language Models
- 2025Rosetta-PL: Propositional Logic as a Benchmark for Large Language Model Reasoning
- 2025DivLogicEval: A Framework for Benchmarking Logical Reasoning Evaluation in Large Language Models
- 2025Large Language Models Are Better Logical Fallacy Reasoners with Counterargument, Explanation, and Goal-Aware Prompt Formulation
- 2024Lost in the Logic: An Evaluation of Large Language Models' Reasoning Capabilities on LSAT Logic Games
- 2025JustLogic: A Comprehensive Benchmark for Evaluating Deductive Reasoning in Large Language Models