Abstract
There have been a huge number of benchmarks proposed to evaluate how large language models (LLMs) behave for logic inference tasks. However, it remains an open question how to properly evaluate this ability. In this paper, we provide a systematic overview of prior works on the logical reasoning ability of LLMs for analyzing categorical syllogisms. We first investigate all the possible variations for the categorical syllogisms from a purely logical perspective and then examine the underlying configurations (i.e., mood and figure) tested by the existing datasets. Our results indicate that compared to template-based synthetic datasets, crowdsourcing approaches normally sacrifice the coverage of configurations (i.e., mood and figure) of categorical syllogisms for more language variations, thus bringing challenges to fully testing LLMs under different situations. We then proceed to summarize the findings and observations for the performances of LLMs to infer the validity of syllogisms from the current literature. The error rate breakdown analyses suggest that the interpretation of the quantifiers seems to be the current bottleneck that limits the performances of the LLMs and is thus worth more attention. Finally, we discuss several points that might be worth considering when researchers plan on the future release of categorical syllogism datasets.
Introduction
Logic is the bedrock of intelligence, yet evaluating it in Large Language Models (LLMs) is surprisingly difficult. Most current benchmarks use either synthetic, template-based "word problems" or questions scraped from standardized tests like the LSAT. This paper addresses whether these benchmarks provide a comprehensive evaluation by focusing on categorical syllogisms—the simplest building blocks of deductive reasoning (e.g., "All men are mortal; Socrates is a man; therefore, Socrates is mortal"). Because there are exactly 256 configurations of these arguments, they serve as a perfect "stress test" to determine if LLMs truly understand logical rules or are merely pattern-matching.
Methodology
The researchers applied classical logical theory to modern AI evaluation through a four-step process:
- Configuration Analysis: Syllogisms were categorized by Mood (proposition types like "All," "No," or "Some") and Figure (term arrangement).
- Dataset Audit: GPT-4 was used as an automated annotator to "reverse-engineer" existing datasets, identifying which of the 256 logical configurations were actually tested.
- Gold Standard Collection: A manually collected set of 371 examples from logic textbooks served as a human-verified baseline.
- Error Breakdown: Granular analysis distinguished between failures in logical inference and failures in linguistic interpretation (e.g., misidentifying singular propositions).
Benchmarking Landscape
The review covers several prominent logic datasets, ranging from syllogism-specific benchmarks to general first-order logic datasets. A key finding is the trade-off between logical coverage and linguistic variety.
- Syllogism-specific: SylloFigure, Avicenna, SylloBase, and NeuBAROCO.
- General Logic: FOLIO, ProntoQA, and a "Reasoning" dataset based on hand-crafted triples.
- New Contribution: A set of 371 textbook-derived examples with complete annotations for mood, figure, and validity to fill gaps in existing crowdsourced data.
Key Insights: The Translation Bottleneck
The study identifies a significant "translation bottleneck": LLMs are often proficient at logic when premises are perfectly formatted but struggle to extract those premises from natural language.
- Crowdsourcing vs. Templates: Synthetic, template-based datasets (like ProntoQA) offer 100% coverage of logical configurations but lack linguistic variety. Conversely, human-authored datasets (like Avicenna) have high linguistic variety but are logically "skinny," repeating a few structures and leaving most of the 256 configurations untested.
- Quantifier Confusion: LLMs frequently confuse "Universal Affirmatives" (All S are P) with "Particular Affirmatives" (Some S are P). GPT-4 often treats singular statements about individuals as universal truths, leading to logical errors.
- Existential Import: Most datasets implicitly assume existence (e.g., "All unicorns are white" implies unicorns exist). The lack of explicit stances on this in benchmarks leads to ambiguous results.
Performance Evaluation
Results show a stark performance gap between dataset types. On the template-based Reasoning dataset, GPT-4o achieved 95.4% accuracy, which plummeted to 53.4% on the human-written Avicenna dataset.
As shown in the confusion matrix above, the "translation" of natural language into logical types is a major source of error. For instance, Universal Affirmatives (A) are frequently misclassified as Particular Affirmatives (I) or left unclassified, suggesting that quantifier interpretation is a primary bottleneck.
Conclusion and Future Directions
While GPT-4 is an effective annotator (87.3% accuracy), its use introduces potential model bias. Future research should explicitly state logical assumptions such as existential import and release intermediate annotations (mood and figure) alongside final answers. Moving forward, datasets should focus on "Ordinary Arguments" where premises are buried in conversational text, as this is the current frontier for LLM reasoning.
Summary updated