arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1811.04234cs.LGcs.AIstat.ML
收藏

基于递归神经网络的公式翻译

Towards Formula Translation using Recursive Neural Networks

University of Konstanz(康斯坦茨大学)

Felix Petersen, Moritz Schubotz, Bela Gipp

摘要:

虽然对自然语言执行自动翻译已经变得普遍,但是在数学公式的不同表示之间执行翻译迄今为止还不可能。我们实现了第一个基于递归神经网络的数学公式翻译器。我们之所以选择递归神经网络,是因为数学公式本身就包含结构编码。在我们的实现中,我们开发了基于多变量多值长短期记忆细胞的递归树到树神经网络的新技术和拓扑结构。我们提出了一种新的小批量训练方法,利用聚类和树遍历。我们评估我们的翻译和分析的行为,我们提出的拓扑结构和技术的基础上,从通用的LaTeX的语义LaTeX符号的翻译。我们使用的语义LaTeX表示法来自美国国家标准与技术研究所的数学公式数字图书馆和数学公式数字知识库。我们发现,一个简单的基于聚类算法优于传统的聚类算法的任务上的聚类二叉树的数学公式,其拓扑结构。此外,我们找到了一个面具的损失函数,它可以防止神经网络找到局部极小值的损失函数。鉴于我们的初步结果,从一个公式到另一个公式的完全转换尚不可能。然而,我们实现了47.05%的预测准确度预测符号在正确的位置和92.3%的准确度时,忽略预测的位置。总之,我们的工作通过提高训练速度和训练质量推进了递归神经网络领域。在未来,我们将努力实现一个完整的翻译,允许机器解释LaTeX公式。

英文摘要:

While it has become common to perform automated translations on natural language, performing translations between different representations of mathematical formulae has thus far not been possible. We implemented the first translator for mathematical formulae based on recursive neural networks. We chose recursive neural networks because mathematical formulae inherently include a structural encoding. In our implementation, we developed new techniques and topologies for recursive tree-to-tree neural networks based on multi-variate multi-valued Long Short-Term Memory cells. We propose a novel approach for mini-batch training that utilizes clustering and tree traversal. We evaluate our translator and analyze the behavior of our proposed topologies and techniques based on a translation from generic LaTeX to the semantic LaTeX notation. We use the semantic LaTeX notation from the Digital Library for Mathematical Formulae and the Digital Repository for Mathematical Formulae at the National Institute for Standards and Technology. We find that a simple heuristics-based clustering algorithm outperforms the conventional clustering algorithms on the task of clustering binary trees of mathematical formulae with respect to their topology. Furthermore, we find a mask for the loss function, which can prevent the neural network from finding a local minimum of the loss function. Given our preliminary results, a complete translation from formula to formula is not yet possible. However, we achieved a prediction accuracy of 47.05% for predicting symbols at the correct position and an accuracy of 92.3% when ignoring the predicted position. Concluding, our work advances the field of recursive neural networks by improving the training speed and quality of training. In the future, we will work towards a complete translation allowing a machine-interpretation of LaTeX formulae.

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

↑