Benchmarking In-Context Learning Strategies of Large Language Models for Math Reasoning Tasks

IF 7.4 3区 教育学 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Yao Rong;Kathrin Seßler;Emek Gözlüklü;Enkelejda Kasneci
{"title":"Benchmarking In-Context Learning Strategies of Large Language Models for Math Reasoning Tasks","authors":"Yao Rong;Kathrin Seßler;Emek Gözlüklü;Enkelejda Kasneci","doi":"10.1109/TLT.2025.3630117","DOIUrl":null,"url":null,"abstract":"The use of large language models (LLMs) in mathematical reasoning has become a cornerstone of related research, demonstrating the intelligence of these models and enabling potential practical applications through their advanced performance, such as in educational settings. Despite the variety of datasets and in-context learning algorithms designed to improve the ability of LLMs to automate mathematical problem solving, the lack of comprehensive benchmarking across different datasets makes it difficult to determine which in-context algorithms are effective, efficient, and suitable for specific educational applications. In this project, we present a benchmark that fairly compares seven state-of-the-art in-context learning algorithms for mathematical problem solving across five widely used mathematical datasets on four powerful foundation models. Beyond accuracy, we explore the tradeoff between efficiency and performance, highlighting the practical applications of LLMs for mathematical reasoning. Our results indicate that larger foundation models, such as GPT-4o and LLaMA 3-70B, can solve mathematical reasoning independently from the concrete prompting strategy, while for smaller models, the in-context learning approach significantly influences the performance. Moreover, the optimal prompt depends on the chosen foundation model. We open source our benchmark code to support the integration of additional models in future research.","PeriodicalId":49191,"journal":{"name":"IEEE Transactions on Learning Technologies","volume":"18 ","pages":"1074-1082"},"PeriodicalIF":7.4000,"publicationDate":"2025-11-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=11249497","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Learning Technologies","FirstCategoryId":"95","ListUrlMain":"https://ieeexplore.ieee.org/document/11249497/","RegionNum":3,"RegionCategory":"教育学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

The use of large language models (LLMs) in mathematical reasoning has become a cornerstone of related research, demonstrating the intelligence of these models and enabling potential practical applications through their advanced performance, such as in educational settings. Despite the variety of datasets and in-context learning algorithms designed to improve the ability of LLMs to automate mathematical problem solving, the lack of comprehensive benchmarking across different datasets makes it difficult to determine which in-context algorithms are effective, efficient, and suitable for specific educational applications. In this project, we present a benchmark that fairly compares seven state-of-the-art in-context learning algorithms for mathematical problem solving across five widely used mathematical datasets on four powerful foundation models. Beyond accuracy, we explore the tradeoff between efficiency and performance, highlighting the practical applications of LLMs for mathematical reasoning. Our results indicate that larger foundation models, such as GPT-4o and LLaMA 3-70B, can solve mathematical reasoning independently from the concrete prompting strategy, while for smaller models, the in-context learning approach significantly influences the performance. Moreover, the optimal prompt depends on the chosen foundation model. We open source our benchmark code to support the integration of additional models in future research.
数学推理任务中大型语言模型情境学习策略的基准测试
在数学推理中使用大型语言模型(llm)已经成为相关研究的基石,展示了这些模型的智能,并通过其先进的性能实现了潜在的实际应用,例如在教育环境中。尽管有各种各样的数据集和上下文学习算法,旨在提高法学硕士自动化数学问题解决的能力,但缺乏跨不同数据集的全面基准,因此很难确定哪种上下文学习算法是有效的,高效的,适合特定的教育应用。在本项目中,我们提出了一个基准,在四个强大的基础模型上,对五个广泛使用的数学数据集上七种最先进的上下文学习算法进行了比较。除了准确性之外,我们还探讨了效率和性能之间的权衡,重点介绍了法学硕士在数学推理方面的实际应用。我们的研究结果表明,大型基础模型,如gpt - 40和LLaMA 3-70B,可以独立于混凝土提示策略解决数学推理,而对于较小的模型,上下文学习方法显著影响性能。此外,最优提示取决于所选择的基础模型。我们开放基准代码的源代码,以便在未来的研究中支持其他模型的集成。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Learning Technologies
IEEE Transactions on Learning Technologies COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS-
CiteScore
7.50
自引率
5.40%
发文量
82
审稿时长
>12 weeks
期刊介绍: The IEEE Transactions on Learning Technologies covers all advances in learning technologies and their applications, including but not limited to the following topics: innovative online learning systems; intelligent tutors; educational games; simulation systems for education and training; collaborative learning tools; learning with mobile devices; wearable devices and interfaces for learning; personalized and adaptive learning systems; tools for formative and summative assessment; tools for learning analytics and educational data mining; ontologies for learning systems; standards and web services that support learning; authoring tools for learning materials; computer support for peer tutoring; learning via computer-mediated inquiry, field, and lab work; social learning techniques; social networks and infrastructures for learning and knowledge sharing; and creation and management of learning objects.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书