arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.03938cs.CL
收藏

数学应用题求解中基于上下文学习的数据增强与对比评估

Data Augmentation with In-Context Learning and Comparative Evaluation in Math Word Problem Solving

Yildiz Technical University(伊尔德兹技术大学);Kadir Has University(卡迪尔哈斯大学)

Gulsum Yigit, Mehmet Fatih Amasyali

AI总结:

本研究针对数学应用题求解提出多种数据增强方法,并引入基于Llama-7b的上下文学习增强,在9个基线模型上验证了其有效性,且拼接多源增强示例可进一步提升性能。

摘要:

数学应用题(MWP)求解是自然语言处理(NLP)中一项具有挑战性的任务。本研究旨在为MWP求解器提供更加多样化的训练集,最终提升其求解各类数学问题的能力。我们提出了若干种数据增强方法,通过修改问题文本和方程来实现,例如同义词替换、基于规则的问题替换,以及基于规则的反向提问方法,并在两个英文MWP数据集上进行了实验。本研究进一步引入了一种新的基于上下文学习(in-context learning)的增强方法,采用Llama-7b语言模型。该方法通过基于指令的提示来改写数学问题文本。在9个基线模型上进行了性能评估,结果表明增强方法优于基线模型。此外,将不同增强方法生成的示例进行拼接可以进一步提升性能。

英文摘要:

Math Word Problem (MWP) solving presents a challenging task in Natural Language Processing (NLP). This study aims to provide MWP solvers with a more diverse training set, ultimately improving their ability to solve various math problems. We propose several methods for data augmentation by modifying the problem texts and equations, such as synonym replacement, rule-based: question replacement, and rule based: reversing question methodologies over two English MWP datasets. This study extends by introducing a new in-context learning augmentation method, employing the Llama-7b language model. This approach involves instruction-based prompting for rephrasing the math problem texts. Performance evaluations are conducted on 9 baseline models, revealing that augmentation methods outperform baseline models. Moreover, concatenating examples generated by various augmentation methods further improves performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑