Saved in:
Bibliographic Details
Main Authors: Yuan, Jiahao, Du, Dehui, Zhang, Hao, Di, Zixiang, Naseem, Usman
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.12323
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912393811984384
author Yuan, Jiahao
Du, Dehui
Zhang, Hao
Di, Zixiang
Naseem, Usman
author_facet Yuan, Jiahao
Du, Dehui
Zhang, Hao
Di, Zixiang
Naseem, Usman
contents Large language models (LLMs) have shown remarkable performance in reasoning tasks but face limitations in mathematical and complex logical reasoning. Existing methods to improve LLMs' logical capabilities either involve traceable or verifiable logical sequences that generate more reliable responses by constructing logical structures yet increase computational costs, or introduces rigid logic template rules, reducing flexibility. In this paper, we propose Reversal of Thought (RoT), a plug-and-play and cost-effective reasoning framework designed to enhance the logical reasoning abilities of LLMs during the warm-up phase prior to batch inference. RoT utilizes a Preference-Guided Reverse Reasoning warm-up strategy, which integrates logical symbols for pseudocode planning through meta-cognitive mechanisms and pairwise preference self-evaluation to generate task-specific prompts solely through demonstrations, aligning with LLMs' cognitive preferences shaped by RLHF. Through reverse reasoning, we utilize a Cognitive Preference Manager to assess knowledge boundaries and further expand LLMs' reasoning capabilities by aggregating solution logic for known tasks and stylistic templates for unknown tasks. Experiments across various tasks demonstrate that RoT surpasses existing baselines in both reasoning accuracy and efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2410_12323
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reversal of Thought: Enhancing Large Language Models with Preference-Guided Reverse Reasoning Warm-up
Yuan, Jiahao
Du, Dehui
Zhang, Hao
Di, Zixiang
Naseem, Usman
Computation and Language
Artificial Intelligence
Large language models (LLMs) have shown remarkable performance in reasoning tasks but face limitations in mathematical and complex logical reasoning. Existing methods to improve LLMs' logical capabilities either involve traceable or verifiable logical sequences that generate more reliable responses by constructing logical structures yet increase computational costs, or introduces rigid logic template rules, reducing flexibility. In this paper, we propose Reversal of Thought (RoT), a plug-and-play and cost-effective reasoning framework designed to enhance the logical reasoning abilities of LLMs during the warm-up phase prior to batch inference. RoT utilizes a Preference-Guided Reverse Reasoning warm-up strategy, which integrates logical symbols for pseudocode planning through meta-cognitive mechanisms and pairwise preference self-evaluation to generate task-specific prompts solely through demonstrations, aligning with LLMs' cognitive preferences shaped by RLHF. Through reverse reasoning, we utilize a Cognitive Preference Manager to assess knowledge boundaries and further expand LLMs' reasoning capabilities by aggregating solution logic for known tasks and stylistic templates for unknown tasks. Experiments across various tasks demonstrate that RoT surpasses existing baselines in both reasoning accuracy and efficiency.
title Reversal of Thought: Enhancing Large Language Models with Preference-Guided Reverse Reasoning Warm-up
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.12323