Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
60 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
8 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Resprompt: Residual Connection Prompting Advances Multi-Step Reasoning in Large Language Models (2310.04743v2)

Published 7 Oct 2023 in cs.CL
Resprompt: Residual Connection Prompting Advances Multi-Step Reasoning in Large Language Models

Abstract: Chain-of-thought (CoT) prompting, which offers step-by-step problem-solving rationales, has impressively unlocked the reasoning potential of LLMs. Yet, the standard CoT is less effective in problems demanding multiple reasoning steps. This limitation arises from the complex reasoning process in multi-step problems: later stages often depend on the results of several steps earlier, not just the results of the immediately preceding step. Such complexities suggest the reasoning process is naturally represented as a graph. The almost linear and straightforward structure of CoT prompting, however, struggles to capture this complex reasoning graph. To address this challenge, we propose Residual Connection Prompting (RESPROMPT), a new prompting strategy that advances multi-step reasoning in LLMs. Our key idea is to reconstruct the reasoning graph within prompts. We achieve this by integrating necessary connections-links present in the reasoning graph but missing in the linear CoT flow-into the prompts. Termed "residual connections", these links are pivotal in morphing the linear CoT structure into a graph representation, effectively capturing the complex reasoning graphs inherent in multi-step problems. We evaluate RESPROMPT on six benchmarks across three diverse domains: math, sequential, and commonsense reasoning. For the open-sourced LLaMA family of models, RESPROMPT yields a significant average reasoning accuracy improvement of 12.5% on LLaMA-65B and 6.8% on LLaMA2-70B. Breakdown analysis further highlights RESPROMPT particularly excels in complex multi-step reasoning: for questions demanding at least five reasoning steps, RESPROMPT outperforms the best CoT based benchmarks by a remarkable average improvement of 21.1% on LLaMA-65B and 14.3% on LLaMA2-70B. Through extensive ablation studies and analyses, we pinpoint how to most effectively build residual connections.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (11)
  1. Song Jiang (66 papers)
  2. Zahra Shakeri (12 papers)
  3. Aaron Chan (44 papers)
  4. Maziar Sanjabi (44 papers)
  5. Hamed Firooz (27 papers)
  6. Yinglong Xia (23 papers)
  7. Bugra Akyildiz (2 papers)
  8. Yizhou Sun (149 papers)
  9. Jinchao Li (22 papers)
  10. Qifan Wang (129 papers)
  11. Asli Celikyilmaz (80 papers)
Citations (5)
X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets