Lune

EMNLP Findings2024

Can LLMs Learn From Mistakes? An Empirical Study on Reasoning Tasks

Shengnan An, Zexiong Ma, Siqi Cai, Zeqi Lin, Nanning Zheng, Jian-Guang Lou, Weizhu Chen

摘要

Towards enhancing the chain-of-thought (CoT) reasoning of large language models (LLMs), much existing work has revealed the effectiveness of straightforward learning on annotated/generated CoT paths.However, there is less evidence yet that reasoning capabilities can be enhanced through a reverse learning process, i.e., learning from potential mistakes in reasoning.To investigate whether LLMs can learn from mistakes, we construct mistakecorrection datasets, using GPT-4 to identify and correct the mistakes in inaccurate CoTs.With these mistake-correction datasets, we fine-tune open-source LLMs and arrive at the following conclusions.(1) LLMs can indeed learn from mistakes to enhance their CoT reasoning performances.(2) Compared to CoT data, the mistake-correction data provides additional knowledge on the explanations and reasons for the potential mistakes in CoTs, which consistently contributes to the effectiveness of learning from mistakes.(3) Evolution techniques, especially the correction-centric evolution we introduced, can further enhance the effectiveness of learning from mistakes. LLMQuestion: Tina makes 18.00anhour.Ifsheworksmorethan8hourspershift,sheiseligibleforovertime,whichispaidbyyourhourlywage+1/2yourhourlywage.Ifsheworks10hourseverydayfor5days,howmuchmoneydoesshemake?RationaleswithMistakes:Step1:Tinamakes18.00 an hour.If she works more than 8 hours per shift, she is eligible for overtime, which is paid by your hourly wage + 1/2 your hourly wage.If she works 10 hours every day for 5 days, how much money does she make?Rationales with Mistakes:Step 1: Tina makes 18.00 an hour for 8 hours, which is 8 * 18.00=18.00 = 144.00.Step 2: She makes 27.00anhourforthe2hoursofovertime,whichis2∗27.00 an hour for the 2 hours of overtime, which is 2 * 27.00 = 54.00.Step3:Sofor5days,shemakes54.00.Step 3: So for 5 days, she makes 144.00 + 54.00=54.00 = 198.00.Step 4: The answer is 198. GPT-4 As CorrectorCorrection: Incorrect Step: Step 3. Explanation: Step 3 only calculates the earnings for one day, but not for the entire five days.Correct Solution: ... Step 3: For one day, she makes 144.00+144.00 + 54.00 = 198.00.Step4:For5days,shemakes198.00.Step 4: For 5 days, she makes 198.00 * 5 = $990.00.Step 5: The answer is 990. Question-Answer Pairs

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
  • QLoRA: Efficient Finetuning of Quantized LLMs 引用了 LoRA: Low-Rank Adaptation of Large Language Models
  • QLoRA: Efficient Finetuning of Quantized LLMs 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Language Models are Few-Shot Learners
  • CLER: Improving Multimodal Financial Reasoning by Cross-MLLM Error Reflection 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. CLER: Improving Multimodal Financial Reasoning by Cross-MLLM Error ReflectionShuangyan Deng, Zhongsheng Wang, Rui Mao, Ciprian Doru Giurcaneanu 等AAAI 2026

它引用的 Paper36

  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. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  4. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
  5. QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 次引用

相关 Paper

  1. Can LLMs Learn from Previous Mistakes? Investigating LLMs' Errors to Boost for ReasoningYongqi Tong, Dawei Li, Sizhe Wang, Yujia Wang 等ACL 2024
  2. Revisiting Chain-of-Thought in Code Generation: Do Language Models Need to Learn Reasoning before Coding?Renbiao Liu, Anqi Li, Chaoding Yang, Hui Sun 等ICML 2025
  3. Self-Explore: Enhancing Mathematical Reasoning in Language Models with Fine-grained RewardsHyeonbin Hwang, Doyoung Kim, Seungone Kim, Seonghyeon Ye 等EMNLP Findings 2024 · 6 次引用
  4. Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and CorrectionXiaoyuan Li, Wenjie Wang, Moxin Li, Junrong Guo 等ACL Findings 2024 · 15 次引用
  5. Large Language Models are Better Reasoners with Self-VerificationYixuan Weng, Minjun Zhu, Fei Xia, Bin Li 等EMNLP Findings 2023 · 110 次引用
黄昏的海面,两侧是细线勾勒的悬崖