Skip to main content
QUICK REVIEW

[论文解读] MathBERT: A Pre-trained Language Model for General NLP Tasks in Mathematics Education

Jia Shen, Michiharu Yamashita|arXiv (Cornell University)|Jun 1, 2021
Intelligent Tutoring Systems and Adaptive LearningComputer Science被引用 32
一句话总结

MathBERT 在大规模数学语料上对 BASE BERT 进行预训练,并引入数学专用词汇,在三个数学教育 NLP 任务上超越 BASE BERT 和现有方法,公开发布。

ABSTRACT

Since the introduction of the original BERT (i.e., BASE BERT), researchers have developed various customized BERT models with improved performance for specific domains and tasks by exploiting the benefits of transfer learning. Due to the nature of mathematical texts, which often use domain specific vocabulary along with equations and math symbols, we posit that the development of a new BERT model for mathematics would be useful for many mathematical downstream tasks. In this resource paper, we introduce our multi-institutional effort (i.e., two learning platforms and three academic institutions in the US) toward this need: MathBERT, a model created by pre-training the BASE BERT model on a large mathematical corpus ranging from pre-kindergarten (pre-k), to high-school, to college graduate level mathematical content. In addition, we select three general NLP tasks that are often used in mathematics education: prediction of knowledge component, auto-grading open-ended Q&A, and knowledge tracing, to demonstrate the superiority of MathBERT over BASE BERT. Our experiments show that MathBERT outperforms prior best methods by 1.2-22% and BASE BERT by 2-8% on these tasks. In addition, we build a mathematics specific vocabulary 'mathVocab' to train with MathBERT. We discover that MathBERT pre-trained with 'mathVocab' outperforms MathBERT trained with the BASE BERT vocabulary (i.e., 'origVocab'). MathBERT is currently being adopted at the participated leaning platforms: Stride, Inc, a commercial educational resource provider, and ASSISTments.org, a free online educational platform. We release MathBERT for public usage at: https://github.com/tbs17/MathBERT.

研究动机与目标

  • 由于领域词汇与方程式的存在,动机在于需要一个面向数学领域的专用 BERT 模型。
  • 在从学前到研究生水平的多样数学语料上对 BASE BERT 进行预训练。
  • 引入一个数学专用词汇(mathVocab),并与原始 BERT 词汇进行比较。
  • 在三个数学教育 NLP 任务上评估 MathBERT,并与基线进行比较。
  • 公开发布 MathBERT,并概述在学习平台中的应用与采用情况。

提出的方法

  • 在大约1亿个标记的多样数学语料(从学前到大学阶段)上对 BASE BERT 进行预训练,语料包括文本和方程。
  • 创建一个自定义数学词汇(mathVocab),包含30,522个标记,并与 origVocab 进行比较。
  • 在基于 TPU 的基础设施上,使用 MLM 目标、序列长度512、学习率5e-5 来训练 MathBERT。
  • 在三个数学教育任务上进行微调和评估:KC 预测(213 标签)、自动评分(5 标签)和 KT 正确性(2 标签),使用 ASSISTments 的数据集。
  • 在五个随机种子下,将 MathBERT 与 BASE BERT、TAPT,以及 MathBERT + TAPT 进行比较,并进行统计显著性检验。

实验结果

研究问题

  • RQ1相较于 BASE BERT 及先前方法,MathBERT 是否在知识组件预测、自动评分和知识追踪方面提升了性能?
  • RQ2数学专用词汇(mathVocab)是否相对于原始 BERT 词汇(origVocab)提升 MathBERT 的性能?
  • RQ3TAPT 与 MathBERT + TAPT 变体在三项数学教育 NLP 任务中相较于 MathBERT 的表现如何?
  • RQ4MathBERT 在教育平台上的实际采用与发布方面有哪些?

主要发现

  • MathBERT 在三项任务中分别比先前最佳方法高出1.2%到22%,比 BASE BERT 高出2%到8%。
  • MathBERT 使用 mathVocab 通常比使用 origVocab 获得更好的结果。
  • MathBERT 与 MathBERT + TAPT 常常达到最佳性能,特别是 MathBERT + TAPT 在 KT 方面显示出强劲的结果。
  • MathBERT 的变体在各任务上比单独的 TAPT 以微小优势超越,在若干指标上具有统计显著性。
  • 作者公开发布 MathBERT,并指出已被 ASSISTments 和 K12.com 采用。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。