Reverse Thinking Makes LLMs Stronger Reasoners

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Chen, Justin Chih-Yao, Wang, Zifeng, Palangi, Hamid, Han, Rujun, Ebrahimi, Sayna, Le, Long, Perot, Vincent, Mishra, Swaroop, Bansal, Mohit, Lee, Chen-Yu, Pfister, Tomas
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915187137708032
author Chen, Justin Chih-Yao
Wang, Zifeng
Palangi, Hamid
Han, Rujun
Ebrahimi, Sayna
Le, Long
Perot, Vincent
Mishra, Swaroop
Bansal, Mohit
Lee, Chen-Yu
Pfister, Tomas
author_facet Chen, Justin Chih-Yao
Wang, Zifeng
Palangi, Hamid
Han, Rujun
Ebrahimi, Sayna
Le, Long
Perot, Vincent
Mishra, Swaroop
Bansal, Mohit
Lee, Chen-Yu
Pfister, Tomas
contents Reverse thinking plays a crucial role in human reasoning. Humans can reason not only from a problem to a solution but also in reverse, i.e., start from the solution and reason towards the problem. This often enhances overall reasoning performance as it enables consistency checks between their forward and backward thinking. To enable Large Language Models (LLMs) to perform reverse thinking, we introduce Reverse-Enhanced Thinking (RevThink), a framework composed of data augmentation and learning objectives. In RevThink, we augment the dataset by collecting structured forward-backward reasoning from a teacher model, consisting of: (1) the original question, (2) forward reasoning, (3) backward question, and (4) backward reasoning. We then employ three objectives to train a smaller student model in a multi-task learning fashion: (a) generate forward reasoning from a question, (b) generate a backward question from a question, and (c) generate backward reasoning from the backward question. Experiments across 12 datasets covering commonsense, math, and logical reasoning show an average 13.53% improvement over the student model's zero-shot performance and a 6.84% improvement over the strongest knowledge distillation baselines. Moreover, our method demonstrates sample efficiency -- using only 10% of the correct forward reasoning from the training data, it outperforms a standard fine-tuning method trained on 10x more forward reasoning. RevThink also exhibits strong generalization to out-of-distribution held-out datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2411_19865
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reverse Thinking Makes LLMs Stronger Reasoners
Chen, Justin Chih-Yao
Wang, Zifeng
Palangi, Hamid
Han, Rujun
Ebrahimi, Sayna
Le, Long
Perot, Vincent
Mishra, Swaroop
Bansal, Mohit
Lee, Chen-Yu
Pfister, Tomas
Computation and Language
Artificial Intelligence
Machine Learning
Reverse thinking plays a crucial role in human reasoning. Humans can reason not only from a problem to a solution but also in reverse, i.e., start from the solution and reason towards the problem. This often enhances overall reasoning performance as it enables consistency checks between their forward and backward thinking. To enable Large Language Models (LLMs) to perform reverse thinking, we introduce Reverse-Enhanced Thinking (RevThink), a framework composed of data augmentation and learning objectives. In RevThink, we augment the dataset by collecting structured forward-backward reasoning from a teacher model, consisting of: (1) the original question, (2) forward reasoning, (3) backward question, and (4) backward reasoning. We then employ three objectives to train a smaller student model in a multi-task learning fashion: (a) generate forward reasoning from a question, (b) generate a backward question from a question, and (c) generate backward reasoning from the backward question. Experiments across 12 datasets covering commonsense, math, and logical reasoning show an average 13.53% improvement over the student model's zero-shot performance and a 6.84% improvement over the strongest knowledge distillation baselines. Moreover, our method demonstrates sample efficiency -- using only 10% of the correct forward reasoning from the training data, it outperforms a standard fine-tuning method trained on 10x more forward reasoning. RevThink also exhibits strong generalization to out-of-distribution held-out datasets.
title Reverse Thinking Makes LLMs Stronger Reasoners
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2411.19865