Summary
This paper evaluates the reasoning capabilities of LLMs within the framework of Judea Pearl's hierarchy of causality, focusing particularly on the ability to perform counterfactual reasoning.
LLMs are perceived as (non-deterministic) abstract machines within the HEX framework. The study assesses these models by comparing their performance on factual versus counterfactual problems, which are structured as reasoning graphs of boolean conditions. The necessity (PN) and sufficiency (PS) probabilities are estimated for 4 reasoning tasks: Divisibility by 6, Even Sum, Candy Party, and ConPref, ranging in complexity.
The paper investigates whether the actual PN and PS align with those estimated from both factual and counterfactual data, using models from the GPT family (GPT-2, GPT-3.5, and GPT-4).
Findings show limited reasoning capabilities for the evaluated model family, with GPT-4 performing the best on the divisibility task.
Strengths
- Applies probabilistic measures of necessity and sufficiency to asses specifically the reasoning capabilities of LLMs, offering a nuanced evaluation that extends beyond the accuracy metric.
- Evaluates and compares LLMs performance on both factual and counterfactual problems.
Weaknesses
- From the introduction "...reasoning is typically understood to be the ability of these models to demonstrate emergent capabilities that surpass mere statistical pattern recognition in the training set.". Without knowledge of or control on pre-training/post-training data for the GPT model family, it is difficult to infer that a measured reasoning capability via the introduced framework is due to "emergence" and not pattern recognition in the training data.
- The framework's applicability is reduced to reasoning tasks that can be represented as graphs of boolean variables, which may limit its broader adoption.
- Line 84-85: "The closer the estimated PN/PS values to the actual PN/PS values, the better it is at reasoning. " needs further elaboration. Specifically, an explanation of how these metrics correlate with enhanced reasoning capabilities would help in understanding the effectiveness of the framework.
- The framework imposes that LMs are abstract machines, suggesting deterministic behavior. Yet estimating probabilities of necessity (PN) and sufficiency (PS) inherently relies on variability in model responses.
- Statistical significance of observed results could further support the validity of the framework.
Questions
- I assume all findings are based on temperature > 0 to fulfill the variability criterion.
Did you generate multiple completions for each prompt (factual and counterfactual), and if so, how were these incorporated into the final analysis? "10 replicated tests" is mentioned under Figure 5, How these 10 contribute to the final findings?
- Was prompt optimization attempted for smaller models as well, or just for GPT-4? Given the sensitivity of LMs to prompts, could there be a bias towards GPT-4 because it handles more complex prompts better?
-While the paper discusses PN and PS as measures of reasoning, there is less focus on how these measures help in interpreting the decisions making process. What are the main benefits in comparison to just using accuracy?
Limitations
yes. See Weaknesses and Questions.