NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Categorical Syllogisms Revisited: A Review of the Logical Reasoning Abilities of LLMs for Analyzing Categorical Syllogisms

Shi Zong, Jimmy Lin2024

TL;DR

While Large Language Models (LLMs) are frequently tested on logical reasoning, existing benchmarks often fail to cover the full spectrum of formal logic. This paper reveals that the primary bottleneck for LLMs isn't the "reasoning" itself, but the difficult task of translating messy natural language into formal logical structures—specifically when interpreting quantifiers like "all," "some," and "none."

What Problem Does This Paper Address?

Logical reasoning is a cornerstone of artificial intelligence, and categorical syllogisms—arguments like "All humans are mortal; Socrates is a human; therefore, Socrates is mortal"—are its most basic building blocks. Despite a surge in benchmarks designed to test this, we still don't have a clear picture of how well LLMs actually perform across all possible logical scenarios.

The authors identify a major gap: existing datasets are either synthetic (easy to solve but repetitive and narrow) or crowdsourced (linguistically diverse but logically "thin," often covering only a handful of the 256 possible syllogistic configurations). Without a systematic way to evaluate these models against the full breadth of formal logic, we risk overestimating their actual reasoning capabilities.

Methods

The researchers approached the problem through the lens of a classical logician. They utilized two key formal concepts:

  1. Mood: The type of propositions used (Universal Affirmative "All", Universal Negative "No", Particular Affirmative "Some", or Particular Negative "Some...not").
  2. Figure: The arrangement of the "middle term" within the premises.

By combining these, there are exactly 256 possible "configurations" of a syllogism. The authors:

  • Audited existing datasets to see how many of these 256 cases they actually cover.
  • Developed an LLM-based annotation tool (calibrated against logic textbooks) to label datasets that lacked formal logical metadata.
  • Conducted error-rate breakdowns for GPT-4 and GPT-4o to pinpoint exactly where the logical "gears" tend to grind.

Datasets

The paper reviews several prominent logic benchmarks:

  • SylloFigure: Based on the SNLI entailment dataset.
  • Avicenna: A crowdsourced dataset featuring syllogisms extracted from books and articles.
  • Reasoning (Eisape et al.): A template-based dataset.
  • NeuBAROCO: Originally designed for human intelligence testing.
  • SylloBASE, FOLIO, and ProntoQA: Various synthetic and first-order logic datasets.

Crucially, the authors also collected 371 new test examples from standard logic textbooks to serve as a high-quality "gold standard" for evaluating how well models can translate natural language into formal logic.

Key Insights and Ideas

  • The Coverage Gap: Crowdsourced datasets are "skewed." For example, the Avicenna dataset covers only 7 out of the 256 possible logical configurations. This means a model could look "smart" on that dataset while being completely unable to handle 97% of other logical structures.
  • Translation is the Trap: The "aha moment" here is that LLMs are actually quite good at the logic part if the premises are perfectly formatted. The failure happens during the interpretation phase. If a model misinterprets "Only humans are philosophers" as "All humans are philosophers" (a common error), the subsequent reasoning—no matter how flawless—will lead to the wrong answer.
  • Quantifier Confusion: LLMs struggle significantly with "singular propositions" (e.g., "Socrates is a man"). They frequently confuse Universal Affirmative (A) with Particular Affirmative (I) types, leading to a high error rate in formal classification.

Key Results

  • Performance Disparity: On the template-based Reasoning dataset, GPT-4o achieved a high accuracy of 95.4%. However, on the human-written Avicenna dataset, its accuracy plummeted to 53.4%.
  • Translation Accuracy: When tasked with translating textbook problems into standard logical form, GPT-4 achieved 87.3% accuracy on individual propositions but struggled with identifying the "figure" of the argument (only 48.3% accuracy).
  • GPT-4 vs. GPT-4o: Interestingly, while GPT-4o is generally "smarter," it actually performed worse than the original GPT-4 on certain human-generated datasets, suggesting that newer models might be more sensitive to linguistic noise in logical tasks.

Limitations and Future Work

The authors acknowledge several hurdles for the field:

  • Existential Import: Logicians disagree on whether "All S are P" implies that "S" actually exists (e.g., does "All unicorns are white" mean unicorns exist?). Most LLM benchmarks ignore this distinction, leading to inconsistent evaluations.
  • Ordinary Arguments: Real-world logic isn't neatly packaged into "Premise 1, Premise 2, Conclusion." Future datasets need to feature "enthymemes" (arguments with missing premises) and "sorites" (chains of multiple syllogisms) embedded in natural conversation.
  • Hybrid Systems: The paper suggests that rather than trying to make LLMs "better at logic," we might be better off using them as translators that convert natural language into formal code for a symbolic logic solver.

Summary updated

BibTeX
@misc{zong2024categorical,
  author = {Shi Zong and Jimmy Lin},
  title = {{Categorical Syllogisms Revisited: A Review of the Logical Reasoning Abilities of LLMs for Analyzing Categorical Syllogisms}},
  year = {2024},
  doi = {10.18653/v1/2024.nlp4science-1.20},
}
Figure