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

STEM-POM:评估语言模型在文档解析中的数学符号推理

STEM-POM: Evaluating Language Models Math-Symbol Reasoning in Document Parsing

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Jiaru Zou, Qing Wang, Pratyush Thakur, Nickvash Kani

AI总结:

本文提出STEM-PoM基准数据集,评估LLMs在科学文本中对数学符号的推理能力,发现现有模型分类准确率有限,改进符号分类可提升下游数学推理。

摘要:

大型语言模型(LLMs)的进展推动了对其推理能力提升的研究,特别是在数学密集的STEM(科学、技术、工程和数学)文档方面。尽管LLMs能生成方程或解决数学相关查询,但它们完全理解和解释冗长且数学密集文档中抽象数学符号的能力仍然有限。本文介绍了STEM-PoM,这是一个综合基准数据集,旨在评估LLMs在上下文科学文本中对数学符号的推理能力。该数据集来源于真实世界的ArXiv文档,包含超过2K个数学符号,被分类为变量、常量、运算符和单位描述符的主要属性,以及附加的子属性,包括变量的标量/向量/矩阵,以及常量和运算符的局部/全局/特定学科标签。我们的广泛实验表明,最先进的LLMs在上下文学习下平均准确率为20-60%,在微调下为50-60%,突显了它们在分类数学符号能力上的显著差距。通过改进LLMs的数学符号分类,STEM-PoM进一步增强了模型的下游数学推理能力。代码和数据可在https://github.com/jiaruzouu/STEM-PoM获取。

英文摘要:

Advances in large language models (LLMs) have spurred research into enhancing their reasoning capabilities, particularly in math-rich STEM (Science, Technology, Engineering, and Mathematics) documents. While LLMs can generate equations or solve math-related queries, their ability to fully understand and interpret abstract mathematical symbols in long, math-rich documents remains limited. In this paper, we introduce STEM-PoM, a comprehensive benchmark dataset designed to evaluate LLMs' reasoning abilities on math symbols within contextual scientific text. The dataset, sourced from real-world ArXiv documents, contains over 2K math symbols classified as main attributes of variables, constants, operators, and unit descriptors, with additional sub-attributes including scalar/vector/matrix for variables and local/global/discipline-specific labels for both constants and operators. Our extensive experiments demonstrate that state-of-the-art LLMs achieve an average accuracy of 20-60% under in-context learning and 50-60% with fine-tuning, highlighting a substantial gap in their ability to classify mathematical symbols. By improving LLMs' mathematical symbol classification, STEM-PoM further enhances models' downstream mathematical reasoning capabilities. The code and data are available at https://github.com/jiaruzouu/STEM-PoM.

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

↑