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

MathBERT:一个用于数学公式理解的预训练模型

MathBERT: A Pre-Trained Model for Mathematical Formula Understanding

Shuai Peng, Ke Yuan, Liangcai Gao, Zhi Tang

摘要:

像BERT这样的大规模预训练模型在各种自然语言处理(NLP)任务中取得了巨大的成功,但如何使其适应数学相关任务仍然是一个挑战。目前的预训练模型忽略了公式的结构特征以及公式与上下文的语义对应关系。为了解决这些问题,我们提出了一种新的预训练模型,即\textbf{MathBERT},它与数学公式及其相应的上下文联合训练。此外,为了进一步捕捉公式的语义级结构特征,设计了一个新的预训练任务来预测从运算符树(OPT)中提取的掩码公式子结构,这是公式的语义结构表示。我们在三个下游任务上进行了各种实验来评估MathBERT的性能,包括数学信息检索、公式主题分类和公式标题生成。实验结果表明,MathBERT显着优于现有的方法在所有这三个任务。此外,我们定性地表明,这个预先训练的模型有效地捕获了公式的语义级结构信息。据我们所知,MathBERT是第一个用于数学公式理解的预训练模型。

英文摘要:

Large-scale pre-trained models like BERT, have obtained a great success in various Natural Language Processing (NLP) tasks, while it is still a challenge to adapt them to the math-related tasks. Current pre-trained models neglect the structural features and the semantic correspondence between formula and its context. To address these issues, we propose a novel pre-trained model, namely \textbf{MathBERT}, which is jointly trained with mathematical formulas and their corresponding contexts. In addition, in order to further capture the semantic-level structural features of formulas, a new pre-training task is designed to predict the masked formula substructures extracted from the Operator Tree (OPT), which is the semantic structural representation of formulas. We conduct various experiments on three downstream tasks to evaluate the performance of MathBERT, including mathematical information retrieval, formula topic classification and formula headline generation. Experimental results demonstrate that MathBERT significantly outperforms existing methods on all those three tasks. Moreover, we qualitatively show that this pre-trained model effectively captures the semantic-level structural information of formulas. To the best of our knowledge, MathBERT is the first pre-trained model for mathematical formula understanding.

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

↑