Introduction
Logic is a cornerstone of rational thought, yet humans are notoriously prone to systematic biases. For decades, psychologists have documented how we struggle with syllogisms—logical arguments where a conclusion is drawn from two premises. Common pitfalls include the "figural effect," where the order of terms influences judgment, and "syllogistic fallacies," where individuals confidently endorse invalid conclusions.
As Large Language Models (LLMs) like PaLM 2 and Llama 2 are trained on vast corpora of human text, a critical question emerges: do these models merely replicate human cognitive flaws, or does their scale allow them to induce the underlying rules of formal logic? This research systematically compares LM reasoning against human behavioral data to determine if they reason like humans, better than humans, or in a novel way.
Methods
The researchers evaluated the PaLM 2 and Llama 2 model families using 64 distinct syllogism types. Each syllogism consists of two premises and a conclusion involving four logical "moods": all, some, none, and some are not.
To elicit reasoning, the study employed zero-shot chain-of-thought (CoT) prompting, instructing models to "think step by step." This approach encourages explicit reasoning rather than simple pattern matching. The models were tested on 1,920 unique problems using semantically neutral terms (e.g., bakers, artists, chemists) to prevent real-world knowledge from interfering with logical assessment.
To analyze the underlying strategies, the team utilized mReasoner, a computational implementation of the "Mental Models" theory. This allowed them to map LM behavior onto known cognitive strategies, distinguishing between heuristic (System 1) and deliberative (System 2) processes.
Results
Scaling and Accuracy
A primary finding is that logical performance generally improves with model scale. As shown in Figure 5, the largest models (L) often exceed average human accuracy, which typically hovers around 50%. However, scaling is not a complete solution; even the most advanced models plateaued at approximately 75% accuracy, indicating that formal logic remains a significant challenge.
Inherited Human Biases
Despite their superior accuracy, LLMs exhibit many of the same "bugs" found in human reasoning. They are sensitive to the figural effect, where swapping logically irrelevant terms can lead the model to change its conclusion.
Furthermore, models show a significant "Nothing Follows" blind spot. In many syllogisms, no valid conclusion can be drawn. While humans find these difficult, LLMs are even more prone to forcing a conclusion. This likely stems from training on "helpful" datasets where questions almost always have a concrete answer.
Human-Model Correlation
The study found a striking correlation between the errors made by models and those made by humans. As seen in Figure 6, the response distributions of smaller models (XXS, XS) are highly correlated with human behavior. Interestingly, while larger models become more accurate, they still mirror human-like patterns in the types of fallacies they succumb to.
Discussion and Conclusion
The application of the mReasoner framework suggests that larger models are more "deliberative." They don't just guess; they behave like reasoners that actively search for counterexamples to their initial assumptions.
However, the persistence of human-like biases suggests that the flaws inherent in our language are deeply embedded in the weights of these models. While LLMs are becoming formidable logicians, they remain tethered to the heuristic shortcuts of their human creators.
In conclusion, LLMs represent a unique hybrid: they can outperform humans in raw logical accuracy while simultaneously inheriting the systematic irrationalities of human thought.
Summary updated