通过逐步规划实现可解释的数学应用题解答生成
Interpretable Math Word Problem Solution Generation Via Step-by-step Planning
AI总结:
针对数学应用题中间解答步骤常不连贯、策略不清的问题,提出先预测所需数学运算再提示语言模型逐token生成下一步的逐步规划方法,在GSM8K上提升了解答准确性与可解释性。
摘要:
带有逐步解释的数学应用题(MWP)解答非常有价值,尤其是在教育领域,可帮助学生更好地理解解题策略。大多数现有方法只关注获得最终正确答案。近期少数方法利用中间解答步骤来提高最终答案的正确性,但往往无法生成具有清晰解题策略的连贯步骤。与现有工作不同,我们专注于提升中间解答步骤的正确性和连贯性。我们提出了一种用于中间解答生成的逐步规划方法,该方法根据MWP和此前的解答步骤,策略性地规划下一解答步骤的生成。我们的方法首先在给定历史步骤的情况下,通过预测继续解题所需的必要数学运算来规划下一步,随后通过用预测出的数学运算提示语言模型,逐token生成下一步。在GSM8K数据集上的实验表明,我们的方法在自动指标和人工评估两方面都提高了解答的准确性和可解释性。
英文摘要:
Solutions to math word problems (MWPs) with step-by-step explanations are valuable, especially in education, to help students better comprehend problem-solving strategies. Most existing approaches only focus on obtaining the final correct answer. A few recent approaches leverage intermediate solution steps to improve final answer correctness but often cannot generate coherent steps with a clear solution strategy. Contrary to existing work, we focus on improving the correctness and coherence of the intermediate solutions steps. We propose a step-by-step planning approach for intermediate solution generation, which strategically plans the generation of the next solution step based on the MWP and the previous solution steps. Our approach first plans the next step by predicting the necessary math operation needed to proceed, given history steps, then generates the next step, token-by-token, by prompting a language model with the predicted math operation. Experiments on the GSM8K dataset demonstrate that our approach improves the accuracy and interpretability of the solution on both automatic metrics and human evaluation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。