Lune

ACL Findings2024

Forward-Backward Reasoning in Large Language Models for Mathematical Verification

Weisen Jiang, Han Shi, Longhui Yu, Zhengying Liu, Yu Zhang, Zhenguo Li, James T. Kwok

摘要

Self-Consistency samples diverse reasoning chains with answers and chooses the final answer by majority voting.It is based on forward reasoning and cannot further improve performance by sampling more reasoning chains when saturated.To further boost performance, we introduce backward reasoning to verify candidate answers.Specifically, for mathematical tasks, we mask a number in the question and ask the LLM to answer a backward question created by a simple template, i.e., to predict the masked number when a candidate answer is provided.Instead of using forward or backward reasoning alone, we propose FOBAR to combine FOrward and BAckward Reasoning for verification.Extensive experiments on six standard mathematical data sets and three LLMs show that FOBAR achieves state-of-the-art performance.In particular, FOBAR outperforms Self-Consistency, which uses forward reasoning alone, demonstrating that combining forward and backward reasoning is more accurate in verification.In addition, FOBAR achieves higher accuracy than existing verification methods, showing the effectiveness of the simple template used in backward reasoning and the proposed combination.Backward question (with answer 21): The sum of three consecutive odd numbers is x.What is the smallest of the three numbers?If we know the answer to the above question is 21, what is the value of unknown variable x? (we sample 10 backward chains and all predict x = 69, thus, 10 correct backward chains) Backward question (with answer 23): The sum of three consecutive odd numbers is x.What is the smallest of the three numbers?If we know the answer to the above question is 23, what is the value of unknown variable x? (we sample 10 backward chains and all predict x = 75, thus, no correct backward chains) Backward probability:Candidate answers generated by Self-Consistency: 21 (16 times), 23 (24 times) Forward probability: Combined probability

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Tree of Thoughts: Deliberate Problem Solving with Large Language Models 引用了 Language Models are Few-Shot Learners
  • Tree of Thoughts: Deliberate Problem Solving with Large Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • GITA: Graph to Visual and Textual Integration for Vision-Language Graph Reasoning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • GITA: Graph to Visual and Textual Integration for Vision-Language Graph Reasoning 引用了 MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
  • Reflexion: language agents with verbal reinforcement learning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Large Language Models are Zero-Shot Reasoners 引用了 Language Models are Few-Shot Learners
  • Large Language Models are Zero-Shot Reasoners 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language Models 引用了 GITA: Graph to Visual and Textual Integration for Vision-Language Graph Reasoning
  • RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language Models 引用了 MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
  • Neuro-Symbolic Data Generation for Math Reasoning 引用了 Large Language Models are Zero-Shot Reasoners
  • Neuro-Symbolic Data Generation for Math Reasoning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models 引用了 Language Models are Few-Shot Learners
  • MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper21

  1. MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu 等ICLR 2024 · 637 次引用
  2. RouterDC: Query-Based Router by Dual Contrastive Learning for Assembling Large Language ModelsShuhao Chen, Weisen Jiang, Baijiong Lin, James T. Kwok 等NeurIPS 2024 · 113 次引用
  3. GITA: Graph to Visual and Textual Integration for Vision-Language Graph ReasoningYanbin Wei, Shuai Fu, Weisen Jiang, Zejian Zhang 等NeurIPS 2024 · 56 次引用
  4. PhysReason: A Comprehensive Benchmark towards Physics-Based ReasoningXinyu Zhang, Yuxuan Dong, Yanrui Wu, Jiaxing Huang 等ACL 2025 · 51 次引用
  5. Neuro-Symbolic Data Generation for Math ReasoningZenan Li, Zhi Zhou, Yuan Yao, Xian Zhang 等NeurIPS 2024 · 35 次引用

它引用的 Paper26

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
  3. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
  4. Reflexion: language agents with verbal reinforcement learningNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan 等NeurIPS 2023 · 5,828 次引用
  5. Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsShunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran 等NeurIPS 2023 · 5,068 次引用

相关 Paper

  1. Large Language Models are Better Reasoners with Self-VerificationYixuan Weng, Minjun Zhu, Fei Xia, Bin Li 等EMNLP Findings 2023 · 110 次引用
  2. Tracing the Light of Thought: A Probabilistic Self- and Cross-Consistency Verification Mechanism Improving Mathematical Reasoning in LLMsXiaoyang Liu, Dawei Wang, Tian Li, Huizhi Liang 等ACL Findings 2026
  3. Optimal Bayesian Stopping for Efficient Inference of Consistent LLM AnswersJingkai Huang, Will Ma, Zhengyuan ZhouICML 2026 · 3 次引用
  4. Self-Para-Consistency: Improving Reasoning Tasks at Low Cost for Large Language ModelsWenqing Chen, Weicheng Wang, Zhixuan Chu, Kui Ren 等ACL Findings 2024 · 5 次引用
  5. LAMBADA: Backward Chaining for Automated Reasoning in Natural LanguageMehran Kazemi, Najoung Kim, Deepti Bhatia, Xin Xu 等ACL 2023 · 27 次引用
黄昏的海面,两侧是细线勾勒的悬崖