Premise Order Matters in Reasoning with Large Language Models

Xinyun Chen, Ryan A. Chi, Xuezhi Wang, Denny Zhou
2/1/2024

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Large language models (LLMs) have accomplished remarkable reasoning performance in various domains. However, in the domain of reasoning tasks, we discover a frailty: LLMs are surprisingly brittle to the ordering of the premises, despite the fact that such ordering does not alter the underlying task. In particular, we observe that LLMs achieve the best performance when the premise order aligns with the context required in intermediate reasoning steps. For example, in deductive reasoning tasks, presenting the premises in the same order as the ground truth proof in the prompt (as opposed to random ordering) drastically increases the model's accuracy. We first examine the effect of premise ordering on deductive reasoning on a variety of LLMs, and our evaluation shows that permuting the premise order can cause a performance drop of over 30%. In addition, we release the benchmark R-GSM, based on GSM8K, to examine the ordering effect for mathematical problem-solving, and we again observe a significant drop in accuracy, relative to the original GSM8K benchmark.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2024premise,
  title  = {Premise Order Matters in Reasoning with Large Language Models},
  author = {Xinyun Chen and Ryan A. Chi and Xuezhi Wang and Denny Zhou},
  year   = {2024},
  eprint = {2402.08939},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.08939},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.08939.svg)](https://codeofpaper.com/paper/2402.08939)

Discussion