atlas

Research map / Large language models / Reasoning and chain of thought

Premise Order Matters in Reasoning with Large Language Models

ICML 2024 · Large language models › Reasoning and chain of thought · approach: Efficient and adaptive thinking · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that LLMs are brittle to the order of premises in deductive reasoning (modus ponens logic proofs) and math word problems (R-GSM), performing best when premise order matches the ground-truth proof.

Problem

LLM reasoning performance may depend on the order of premises even though reordering premises does not change the underlying deductive task or the answer.

Approach

Systematically varies premise order using Kendall tau distance to the forward proof order (SimpleLogic-derived benchmark with distracting rules) and builds R-GSM, a GSM8K variant with reordered sentences, showing accuracy drops of up to 30% or more, with model-specific preferences for backward or other orders.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Arrange premises in forward proof order instead of shuffled orderLLMs on logical reasoning with 12 relevant rules and no distractors · Logical reasoningaccuracy: 80.8% -> 96.5% (GPT-4-turbo); 66.5% -> 88.0% (PaLM 2-L); 0.2% -> 16.5% (Gemini 1.0 Pro); 1.2% -> 30.0% (GPT-3.5-turbo)Helped
Arrange premises in backward proof order instead of shuffled orderGPT-4-turbo on logical reasoning with 12 relevant rules and no distractors · Logical reasoningaccuracy: 80.8% -> 84.0%Helped
Arrange premises in backward proof order instead of shuffled orderPaLM 2-L on logical reasoning with 12 relevant rules and no distractors · Logical reasoningaccuracy: 66.5% -> 57.5%Hurt
Reorder problem-description sentencesLLMs on R-GSM, full dataset · R-GSMaccuracy: 94.1% -> 85.0% (GPT-4-turbo); 86.4% -> 79.5% (PaLM 2-L); 80.5% -> 69.1% (Gemini 1.0 Pro); 67.3% -> 51.8% (GPT-3.5-turbo)Hurt
Reorder problem-description sentencesLLMs on R-GSM problems their original versions correctly solve · R-GSM, initially solved subsetaccuracy: 100% -> 89.9% (GPT-4-turbo); 100% -> 87.9% (PaLM 2-L); 100% -> 74.6% (Gemini 1.0 Pro); 100% -> 64.9% (GPT-3.5-turbo)Hurt
Add distracting rulesGPT-4-turbo and PaLM 2-L on logical reasoning · Logical reasoningaccuracyHurt
Increase the number of rules required in the proofLLMs on logical reasoning · Logical reasoningaccuracyHurt
Increase the number of reasoning steps or problem sentencesLLMs on R-GSM · R-GSMaccuracyHurt
Move relevant rules among the beginning, middle, and end while keeping order and number fixed (ablation)PaLM 2-L with 10 distracting rules · Logical reasoningaccuracy: 68.0% / 67.0% / 67.0% (8 rules); 36.5% / 36.5% / 35.0% (12 rules)No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: SimpleLogic GSM8K

Benchmarks: R-GSM logical reasoning premise-order benchmark (SimpleLogic-derived)

Metrics: accuracy error type breakdown (wrong refutation, rule hallucination,

Baselines: GPT-3.5-turbo PaLM 2-L Gemini 1.0 Pro

Builds on: SimpleLogic GSM8K Kendall tau distance lost-in-the-middle

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy