Step Guided Reasoning: Improving Mathematical Reasoning using Guidance Generation and Step Reasoning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Cao, Lang, Zou, Yingtian, Peng, Chao, Chen, Renhong, Ning, Wu, Li, Yitong
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915503806611456
author Cao, Lang
Zou, Yingtian
Peng, Chao
Chen, Renhong
Ning, Wu
Li, Yitong
author_facet Cao, Lang
Zou, Yingtian
Peng, Chao
Chen, Renhong
Ning, Wu
Li, Yitong
contents Mathematical reasoning has been challenging for large language models (LLMs), and the introduction of step-by-step Chain-of-Thought (CoT) inference has significantly advanced the mathematical capabilities of LLMs. However, current approaches either necessitate extensive inference datasets for training or depend on few-shot methods that frequently compromise computational accuracy. To address these fundamental limitations, we propose Step Guided Reasoning, a novel training-free adaptation framework that efficiently equips general-purpose pre-trained language models with enhanced mathematical reasoning capabilities. In this approach, LLMs reflect on small reasoning steps, similar to how humans deliberate and focus attention on what to do next. By incorporating this reflective process into the inference stage, LLMs can effectively guide their reasoning from one step to the next. Through extensive experiments, we demonstrate the significant effect of Step Guided Reasoning in enhancing mathematical performance in state-of-the-art language models -- Qwen2-72B-Instruct outperforms its math-specific counterpart, Qwen2.5-72B-Math-Instruct, on MMLU-STEM with a score of 90.9%, compared to 87.3%. The average scores of Qwen2-7B-Instruct and Qwen2-72B-Instruct increase from 27.1% to 36. 3% and from 36. 5% to 47.4% in the math domain, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2410_19817
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Step Guided Reasoning: Improving Mathematical Reasoning using Guidance Generation and Step Reasoning
Cao, Lang
Zou, Yingtian
Peng, Chao
Chen, Renhong
Ning, Wu
Li, Yitong
Artificial Intelligence
Computation and Language
Human-Computer Interaction
Mathematical reasoning has been challenging for large language models (LLMs), and the introduction of step-by-step Chain-of-Thought (CoT) inference has significantly advanced the mathematical capabilities of LLMs. However, current approaches either necessitate extensive inference datasets for training or depend on few-shot methods that frequently compromise computational accuracy. To address these fundamental limitations, we propose Step Guided Reasoning, a novel training-free adaptation framework that efficiently equips general-purpose pre-trained language models with enhanced mathematical reasoning capabilities. In this approach, LLMs reflect on small reasoning steps, similar to how humans deliberate and focus attention on what to do next. By incorporating this reflective process into the inference stage, LLMs can effectively guide their reasoning from one step to the next. Through extensive experiments, we demonstrate the significant effect of Step Guided Reasoning in enhancing mathematical performance in state-of-the-art language models -- Qwen2-72B-Instruct outperforms its math-specific counterpart, Qwen2.5-72B-Math-Instruct, on MMLU-STEM with a score of 90.9%, compared to 87.3%. The average scores of Qwen2-7B-Instruct and Qwen2-72B-Instruct increase from 27.1% to 36. 3% and from 36. 5% to 47.4% in the math domain, respectively.
title Step Guided Reasoning: Improving Mathematical Reasoning using Guidance Generation and Step Reasoning
topic Artificial Intelligence
Computation and Language
Human-Computer Interaction
url https://arxiv.org/abs/2410.19817