arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.20855cs.CLcs.LG
收藏

MAMUT:一种用于修改数学公式以生成语言模型训练专用数据集的新框架

MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training

Faculty of Computer Science and Mathematics, University of Passau, Germany(计算机科学与数学学院,帕绍大学);Taub Faculty for Computer Science, Technion - Israel Institute of Technology, Israel(计算机科学系,技术ion-以色列理工学院)

Jonathan Drechsel, Anja Reusch, Steffen Herbold

AI总结:

MAMUT框架通过生成数学公式的等价和伪造版本,创建多样化训练数据集,提升模型数学检索性能至新最先进水平。

摘要:

数学公式是各科学领域中基础且广泛使用的组成部分,作为表达复杂概念和关系的通用语言。尽管最先进的Transformer模型在处理和理解自然语言方面表现出色,但它们在处理数学符号时面临挑战,因为数学符号涉及复杂的结构和多样的表示形式。本研究专注于开发专门的训练数据集,以增强对数学内容的编码。我们引入了Math Mutator(MAMUT),一个能够生成给定LaTeX数学公式的等价版本和伪造版本的框架,有效捕捉同一概念在符号表示上的数学多样性。基于MAMUT,我们生成了四个包含多样符号表示的大型数学数据集。实验表明,在这些数据集上训练的模型在数学检索任务上展现出新的最先进(SoTA)性能。我们公开了代码、生成的数据集和预训练的数学模型:https://github.com/aieng-lab/math-mutator。

英文摘要:

Mathematical formulas are a fundamental and widely used component in various scientific fields, serving as a universal language for expressing complex concepts and relationships. While state-of-the-art transformer models excel in processing and understanding natural language, they encounter challenges with mathematical notation, which involves a complex structure and diverse representations. This study focuses on the development of specialized training datasets to enhance the encoding of mathematical content. We introduce Math Mutator (MAMUT), a framework capable of generating equivalent and falsified versions of a given mathematical formula in LaTeX notation, effectively capturing the mathematical variety in notation of the same concept. Based on MAMUT, we have generated four large mathematical datasets containing diverse notation. Experiments show that models trained on these datasets exhibit new SoTA performance on mathematical retrieval tasks. We publish our code, generated datasets, and pretrained mathematical models: https://github.com/aieng-lab/math-mutator.

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

↑