MARIO: MAth Reasoning with code Interpreter Output – A Reproducible Pipeline. Liao, M., Luo, W., Li, C., Wu, J., & Fan, K. January, 2024. arXiv:2401.08190 [cs]
Paper doi abstract bibtex Large language models (LLMs) have seen considerable advancements in natural language understanding tasks, yet there remains a gap to bridge before attaining true artificial general intelligence, especially concerning shortcomings in mathematical reasoning capabilities. We postulate that the inherent nature of LLM training, which focuses on predicting probabilities of next token, presents challenges in effectively modeling mathematical reasoning that demands exact calculations, both from data-driven and theoretical standpoints. In this paper, we address this challenge by enriching the data landscape and introducing a novel math dataset, enhanced with a capability to utilize a Python code interpreter. This dataset is derived from GSM8K and MATH and has been further refined through a combination of GPT-4 annotations, human review, and self-training processes, where the errors in the original GSM8K training set have been fixed. Additionally, we propose a tentative, easily replicable protocol for the fine-tuning of math-specific LLMs, which has led to a significant improvement in the performance of a 7B-parameter LLM on the GSM8K and MATH datasets. We are committed to advancing the field of mathematical reasoning in LLMs and, to that end, we have made the model checkpoints and will make the dataset publicly available. We hope this will facilitate further research and development within the community.
@misc{liao_mario_2024,
title = {{MARIO}: {MAth} {Reasoning} with code {Interpreter} {Output} -- {A} {Reproducible} {Pipeline}},
shorttitle = {{MARIO}},
url = {http://arxiv.org/abs/2401.08190},
doi = {10.48550/arXiv.2401.08190},
abstract = {Large language models (LLMs) have seen considerable advancements in natural language understanding tasks, yet there remains a gap to bridge before attaining true artificial general intelligence, especially concerning shortcomings in mathematical reasoning capabilities. We postulate that the inherent nature of LLM training, which focuses on predicting probabilities of next token, presents challenges in effectively modeling mathematical reasoning that demands exact calculations, both from data-driven and theoretical standpoints. In this paper, we address this challenge by enriching the data landscape and introducing a novel math dataset, enhanced with a capability to utilize a Python code interpreter. This dataset is derived from GSM8K and MATH and has been further refined through a combination of GPT-4 annotations, human review, and self-training processes, where the errors in the original GSM8K training set have been fixed. Additionally, we propose a tentative, easily replicable protocol for the fine-tuning of math-specific LLMs, which has led to a significant improvement in the performance of a 7B-parameter LLM on the GSM8K and MATH datasets. We are committed to advancing the field of mathematical reasoning in LLMs and, to that end, we have made the model checkpoints and will make the dataset publicly available. We hope this will facilitate further research and development within the community.},
urldate = {2024-02-04},
publisher = {arXiv},
author = {Liao, Minpeng and Luo, Wei and Li, Chengxi and Wu, Jing and Fan, Kai},
month = jan,
year = {2024},
note = {arXiv:2401.08190 [cs]},
keywords = {large language models, machine learning, uses sympy},
}
Downloads: 0
{"_id":"AtKYSNyDPzhNnohca","bibbaseid":"liao-luo-li-wu-fan-mariomathreasoningwithcodeinterpreteroutputareproduciblepipeline-2024","author_short":["Liao, M.","Luo, W.","Li, C.","Wu, J.","Fan, K."],"bibdata":{"bibtype":"misc","type":"misc","title":"MARIO: MAth Reasoning with code Interpreter Output – A Reproducible Pipeline","shorttitle":"MARIO","url":"http://arxiv.org/abs/2401.08190","doi":"10.48550/arXiv.2401.08190","abstract":"Large language models (LLMs) have seen considerable advancements in natural language understanding tasks, yet there remains a gap to bridge before attaining true artificial general intelligence, especially concerning shortcomings in mathematical reasoning capabilities. We postulate that the inherent nature of LLM training, which focuses on predicting probabilities of next token, presents challenges in effectively modeling mathematical reasoning that demands exact calculations, both from data-driven and theoretical standpoints. In this paper, we address this challenge by enriching the data landscape and introducing a novel math dataset, enhanced with a capability to utilize a Python code interpreter. This dataset is derived from GSM8K and MATH and has been further refined through a combination of GPT-4 annotations, human review, and self-training processes, where the errors in the original GSM8K training set have been fixed. Additionally, we propose a tentative, easily replicable protocol for the fine-tuning of math-specific LLMs, which has led to a significant improvement in the performance of a 7B-parameter LLM on the GSM8K and MATH datasets. We are committed to advancing the field of mathematical reasoning in LLMs and, to that end, we have made the model checkpoints and will make the dataset publicly available. We hope this will facilitate further research and development within the community.","urldate":"2024-02-04","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Liao"],"firstnames":["Minpeng"],"suffixes":[]},{"propositions":[],"lastnames":["Luo"],"firstnames":["Wei"],"suffixes":[]},{"propositions":[],"lastnames":["Li"],"firstnames":["Chengxi"],"suffixes":[]},{"propositions":[],"lastnames":["Wu"],"firstnames":["Jing"],"suffixes":[]},{"propositions":[],"lastnames":["Fan"],"firstnames":["Kai"],"suffixes":[]}],"month":"January","year":"2024","note":"arXiv:2401.08190 [cs]","keywords":"large language models, machine learning, uses sympy","bibtex":"@misc{liao_mario_2024,\n\ttitle = {{MARIO}: {MAth} {Reasoning} with code {Interpreter} {Output} -- {A} {Reproducible} {Pipeline}},\n\tshorttitle = {{MARIO}},\n\turl = {http://arxiv.org/abs/2401.08190},\n\tdoi = {10.48550/arXiv.2401.08190},\n\tabstract = {Large language models (LLMs) have seen considerable advancements in natural language understanding tasks, yet there remains a gap to bridge before attaining true artificial general intelligence, especially concerning shortcomings in mathematical reasoning capabilities. We postulate that the inherent nature of LLM training, which focuses on predicting probabilities of next token, presents challenges in effectively modeling mathematical reasoning that demands exact calculations, both from data-driven and theoretical standpoints. In this paper, we address this challenge by enriching the data landscape and introducing a novel math dataset, enhanced with a capability to utilize a Python code interpreter. This dataset is derived from GSM8K and MATH and has been further refined through a combination of GPT-4 annotations, human review, and self-training processes, where the errors in the original GSM8K training set have been fixed. Additionally, we propose a tentative, easily replicable protocol for the fine-tuning of math-specific LLMs, which has led to a significant improvement in the performance of a 7B-parameter LLM on the GSM8K and MATH datasets. We are committed to advancing the field of mathematical reasoning in LLMs and, to that end, we have made the model checkpoints and will make the dataset publicly available. We hope this will facilitate further research and development within the community.},\n\turldate = {2024-02-04},\n\tpublisher = {arXiv},\n\tauthor = {Liao, Minpeng and Luo, Wei and Li, Chengxi and Wu, Jing and Fan, Kai},\n\tmonth = jan,\n\tyear = {2024},\n\tnote = {arXiv:2401.08190 [cs]},\n\tkeywords = {large language models, machine learning, uses sympy},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Liao, M.","Luo, W.","Li, C.","Wu, J.","Fan, K."],"key":"liao_mario_2024","id":"liao_mario_2024","bibbaseid":"liao-luo-li-wu-fan-mariomathreasoningwithcodeinterpreteroutputareproduciblepipeline-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2401.08190"},"keyword":["large language models","machine learning","uses sympy"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","dataSources":["YtBDXPDiQEyhyEDZC"],"keywords":["large language models","machine learning","uses sympy"],"search_terms":["mario","math","reasoning","code","interpreter","output","reproducible","pipeline","liao","luo","li","wu","fan"],"title":"MARIO: MAth Reasoning with code Interpreter Output – A Reproducible Pipeline","year":2024}