[Paper Review] Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thought
The paper introduces PRONTOQA, a synthetic QA dataset with formal proofs to analyze LLM chain-of-thoughts, showing models can produce valid individual reasoning steps but struggle with proof planning and exploring multiple deduction paths.
Large language models (LLMs) have shown remarkable reasoning capabilities given chain-of-thought prompts (examples with intermediate reasoning steps). Existing benchmarks measure reasoning ability indirectly, by evaluating accuracy on downstream tasks such as mathematical reasoning. However, it is unclear how these models obtain the answers and whether they rely on simple heuristics rather than the generated chain-of-thought. To enable systematic exploration of the reasoning ability of LLMs, we present a new synthetic question-answering dataset called PrOntoQA, where each example is generated from a synthetic world model represented in first-order logic. This allows us to parse the generated chain-of-thought into symbolic proofs for formal analysis. Our analysis on InstructGPT and GPT-3 shows that LLMs are quite capable of making correct individual deduction steps, and so are generally capable of reasoning, even in fictional contexts. However, they have difficulty with proof planning: When multiple valid deduction steps are available, they are not able to systematically explore the different options.
Motivation & Objective
- Evaluate whether LLMs reason via chain-of-thought rather than solely retrieving learned answers.
- Provide a formally parseable dataset (PRONTOQA) to inspect predicted CoT steps against gold proofs.
- Assess how factors like ontology type, hop count, and traversal direction affect reasoning performance.
Proposed method
- Generate a synthetic, first-order-logic ontology and its proofs.
- Convert proofs into natural language CoT traces with a corresponding label.
- Parse CoT back into symbolic forms to measure local and global proof correctness.
- Evaluate INSTRUCTGPT and GPT-3 under controlled variables (hops, ontology type, traversal).
- Classify proof steps into canonical, atomic/non-atomic, and validity categories to define multiple correctness metrics.
Experimental results
Research questions
- RQ1Can LLMs produce valid individual proof steps in CoT when reasoning over synthetic ontologies?
- RQ2Do models demonstrate global proof planning ability when multiple valid steps exist?
- RQ3How do ontology realism (true/false/fictional) and traversal direction affect reasoning?
- RQ4Which metrics best correlate with correct reasoning versus surface label accuracy?
- RQ5To what extent does model size influence reasoning ability and proofreading?
Key findings
- LLMs can generate correct individual deduction steps, even on fictional ontologies.
- Models struggle with proof planning when multiple valid steps are possible, leading to incomplete proofs or incorrect answers.
- Real-world knowledge (true ontologies) improves reasoning and reduces sensitivity to hop count.
- Larger models show higher proof accuracy and fewer invalid steps, with text-davinci-002 outperforming smaller variants.
- Label accuracy does not tightly track strict proof accuracy, but aligns better with the most permissive metrics like skip or valid proof accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.