Abstract
In the present study, we investigate and compare reasoning in large language models (LLM) and humans using a selection of cognitive psychology tools traditionally dedicated to the study of (bounded) rationality. To do so, we presented to human participants and an array of pretrained LLMs new variants of classical cognitive experiments, and cross-compared their performances. Our results showed that most of the included models presented reasoning errors akin to those frequently ascribed to error-prone, heuristic-based human reasoning. Notwithstanding this superficial similarity, an in-depth comparison between humans and LLMs indicated important differences with human-like reasoning, with models limitations disappearing almost entirely in more recent LLMs releases. Moreover, we show that while it is possible to devise strategies to induce better performance, humans and machines are not equally-responsive to the same prompting schemes. We conclude by discussing the epistemological implications and challenges of comparing human and machine behavior for both artificial intelligence and cognitive psychology.
Introduction
In cognitive psychology, humans are famously "boundedly rational," often relying on mental shortcuts or heuristics that lead to predictable errors. Two classic benchmarks for this behavior are the Cognitive Reflection Test (CRT) and the Linda Problem, which typically triggers the conjunction fallacy. As Large Language Models (LLMs) become increasingly integrated into decision-making processes, researchers seek to determine if these models share human-like "System 1" (intuitive, error-prone) and "System 2" (deliberative, logical) thinking styles. A major challenge in this assessment is data contamination; because LLMs are trained on vast internet datasets, they may have simply memorized the answers to famous logic puzzles. This study addresses this by creating novel, unseen variants of these tests to evaluate true reasoning capabilities.
Methods
The researchers compared human performance against a spectrum of OpenAI models, ranging from early "Da Vinci" iterations to GPT-4. To isolate reasoning from memorization, they employed several strategies:
- Surprise Analysis: Analyzing the log-probability of tokens to determine if a model was "surprised" by a question, indicating whether it had likely seen the puzzle during training.
- Procedural Generation: Developing new variants of the CRT and Linda problems that maintained identical logical structures but used different names, settings, and scenarios.
- Prompt Engineering: Testing the effects of "Chain of Thought" (CoT) prompting and "In-Context Learning" (ICL) on both humans and machines.
- Human Benchmarking: Recruiting 784 human participants to establish a baseline for performance on the new puzzle variants.
Results
The study found a distinct evolution in model behavior. In older model families, increasing model complexity paradoxically increased the rate of human-like intuitive errors. However, a significant performance leap occurred with the transition to newer models like GPT-4.
On the new CRT variants, humans averaged 46% accuracy, while older "Da Vinci" models performed poorly at 11%. In contrast, GPT-4 achieved 95% accuracy. Regarding the Linda Problem, humans exhibited a significant accuracy gap (0.27) between control and fallacy questions, a sign of heuristic bias. In GPT-4, this gap was virtually non-existent, suggesting it did not fall for the representative heuristics that typically trick humans.
Furthermore, the study highlighted an "effort gap." Prompting models to "think step-by-step" significantly boosted their performance, yet the same prompt had little effect on humans. This suggests humans act as "cognitive misers," avoiding the mental cost of formal reasoning, whereas machines do not experience such fatigue.
Discussion and Conclusion
While older LLMs mirrored human cognitive biases, newer versions like GPT-4 have largely "outgrown" these errors, achieving super-human performance on logic puzzles once memorization is accounted for. This indicates a dissociation in LLMs: they are often superior at formal logic and mathematics compared to applying that logic in natural language contexts, though GPT-4 is rapidly bridging this gap.
The researchers also noted that Reinforcement Learning from Human Feedback (RLHF) might inadvertently inject human biases into models. Future research should focus on open-source models to better understand the impact of training techniques and explore LLMs as "minimal models" for studying the computational foundations of human irrationality.
Summary updated