Abstract
Logic reasoning in natural language has been recognized as an important measure of human intelligence for Large Language Models (LLMs). Popular benchmarks may entangle multiple reasoning skills and thus provide unfaithful evaluations on the logic reasoning skill. Meanwhile, existing logic reasoning benchmarks are limited in language diversity and their distributions are deviated from the distribution of an ideal logic reasoning benchmark, which may lead to biased evaluation results. This paper thereby proposes a new classical logic benchmark DivLogicEval, consisting of natural sentences composed of diverse statements in a counterintuitive way. To ensure a more reliable evaluation, we also introduce a new evaluation metric that mitigates the influence of bias and randomness inherent in LLMs. Through experiments, we demonstrate the extent to which logical reasoning is required to answer the questions in DivLogicEval and compare the performance of different popular LLMs in conducting logical reasoning.
Introduction
Evaluating logical reasoning in Large Language Models (LLMs) is a complex challenge. While models often perform well on existing benchmarks like ReClor or LogiQA, these results can be misleading. Often, these benchmarks "entangle" formal logic with common sense or world knowledge. A model might arrive at a correct answer not by following a logical chain, but by identifying linguistic shortcuts or relying on pre-trained factual knowledge.
Furthermore, many synthetic logic datasets suffer from distribution bias, utilizing repetitive templates and extremely limited vocabularies. This lack of linguistic diversity makes them unrepresentative of real-world language use. DivLogicEval addresses these issues by creating a "logic-centered" benchmark that is linguistically rich, counterintuitive, and resistant to non-logical shortcuts.
The DivLogicEval Framework
The construction of DivLogicEval follows a rigorous multi-stage pipeline designed to isolate pure logical reasoning. The process begins with Symbolic Logic Sampling, where valid propositional logic expressions are generated using variables (e.g., A, B, C) and standard implication rules.
To bridge the gap between symbols and natural language, the framework employs Natural Language Instantiation. Variables are replaced with diverse sentences sourced from the SNLI and MNLI datasets, ensuring a high vocabulary diversity (over 6,700 unique words). A critical step in this process is Counterintuitive Mapping: logical connectives are used to join these sentences in ways that often defy common sense. By decoupling logical structure from expected world knowledge, the model is forced to rely solely on the underlying logic to solve the problem.
Finally, the dataset is refined using GPT-3.5 to generate natural language templates and perform grammar checks, resulting in a dataset of approximately 12,500 instances across three question types: 3c1e (three premises, one conclusion), 3e1c, and Missing Premise.
PartialCircular: A More Reliable Metric
Standard accuracy metrics in LLM evaluation are often prone to noise and lucky guesses. While the "Circular" metric (requiring a model to correctly answer all permutations of a question) is more robust, it can be overly punishing.
DivLogicEval introduces PartialCircular (PC), a metric that calculates a score based on the frequency distribution of a model's answers across various "mutants" or permutations of a question. PC incorporates an entropy-based penalty: if a model's answers are scattered (high entropy), it suggests random guessing, leading to a lower score. Experiments show that PC is significantly more stable than the standard Circular metric, providing a more reliable ranking of model performance.
Experimental Evaluation
The researchers evaluated several state-of-the-art LLMs, including GPT-4o, Llama 3, and OpenAI's o1-preview. The results highlight a significant gap between current AI capabilities and human reasoning.
Key Findings
- The o1-preview Dominance: OpenAI’s o1-preview model significantly outperformed other LLMs, achieving 51.3% accuracy in a zero-shot setting. However, this remains far below the human baseline of 86.7%.
- General LLM Struggle: Most top-tier models struggled to exceed 36% accuracy, performing only slightly better than random chance on counterintuitive tasks.
- The "No-Logic" Paradox: In a revealing experiment, GPT-3.5 was prompted to answer questions without using logic. Performance actually increased on traditional benchmarks like ReClor, confirming they are susceptible to non-logical shortcuts. Conversely, performance dropped on DivLogicEval, validating its ability to isolate logical skill.
Conclusion
DivLogicEval provides a more faithful and challenging environment for evaluating the logical reasoning capabilities of LLMs. By utilizing linguistically diverse, counterintuitive premises and the stable PartialCircular metric, it reveals that even the most advanced models still struggle with pure logical deduction when stripped of common-sense cues. Future work will look toward extending this framework to more complex logical structures, such as first-order logic, to further push the boundaries of machine reasoning.
Summary updated