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.
期刊介绍:
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.