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

MathBridge:面向提升可读性的口语化数学表达式转$LaTeX$公式大型语料数据集

MathBridge: A Large Corpus Dataset for Translating Spoken Mathematical Expressions into $LaTeX$ Formulas for Improved Readability

Chung-Ang University(中央大学);Seoul National University(首尔大学);NVIDIA(英伟达)

Kyudan Jung, Sieun Hyeon, Jeong Youn Kwon, Nam-Joon Kim, Hyun Gon Ryu, Hyuk-Jae Lee, Jaeyoung Do

AI总结:

针对数学口语表达式转LaTeX公式缺乏配对训练数据的问题,本文提出首个大规模数据集MathBridge(含2300万配对样本),实验证明其可显著提升预训练语言模型的相关转换性能。

摘要:

提升数学视频字幕等文本类文档中数学表达式的可读性是一项重要任务。为实现这一目标,需要将数学表达式转换为可编译的公式。例如,自动语音识别得到的口语表达式“x等于负b加减根号下b平方减4ac,整体除以2a”,若以编译后的公式$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$呈现,会更易于理解。\n将数学口语句子转换为编译公式需要两个步骤:先将口语句子转换为LaTeX公式,再将LaTeX公式转换为编译公式。后者可通过LaTeX引擎实现,但前者目前尚无有效解决方案。即便尝试用语言模型解决该问题,也缺乏用于训练的口语句子与LaTeX公式配对数据。\n本文提出了MathBridge——首个用于数学口语句子转LaTeX公式翻译任务的大规模数据集。MathBridge包含约2300万条LaTeX公式及对应的数学口语句子配对数据。通过包括使用所提数据进行微调在内的全面评估,我们发现MathBridge显著提升了预训练语言模型完成数学口语句子转LaTeX公式任务的能力。具体而言,对于T5-large模型,其sacreBLEU得分从4.77提升至46.8,展现出大幅性能增强。

英文摘要:

Improving the readability of mathematical expressions in text-based document such as subtitle of mathematical video, is an significant task. To achieve this, mathematical expressions should be convert to compiled formulas. For instance, the spoken expression ``x equals minus b plus or minus the square root of b squared minus four a c, all over two a'' from automatic speech recognition is more readily comprehensible when displayed as a compiled formula $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$. To convert mathematical spoken sentences to compiled formulas, two processes are required: spoken sentences are converted into LaTeX formulas, and LaTeX formulas are converted into compiled formulas. The latter can be managed by using LaTeX engines. However, there is no way to do the former effectively. Even if we try to solve this using language models, there is no paired data between spoken sentences and LaTeX formulas to train it. In this paper, we introduce MathBridge, the first extensive dataset for translating mathematical spoken sentences into LaTeX formulas. MathBridge comprises approximately 23 million LaTeX formulas paired with the corresponding mathematical spoken sentences. Through comprehensive evaluations, including fine-tuning with proposed data, we discovered that MathBridge significantly enhances the capabilities of pretrained language models for converting to LaTeX formulas from mathematical spoken sentences. Specifically, for the T5-large model, the sacreBLEU score increased from 4.77 to 46.8, demonstrating substantial enhancement.

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

↑