paper-with-me

Papers

Translating Math Formula Images to LaTeX Sequences Using Deep Neural Networks with Sequence-level Training

2019-08-29 · Zelun Wang, Jyh-Charn Liu

In this paper we propose a deep neural network model with an encoder-decoder architecture that translates images of math formulas into their LaTeX markup sequences. The encoder is a convolutional neural network (CNN) that transforms images into a group of feature maps. To better capture the spatial relationships of math symbols, the feature maps are augmented with 2D positional encoding before being unfolded into a vector. The decoder is a stacked bidirectional long short-term memory (LSTM) model integrated with the soft attention mechanism, which works as a language model to translate the encoder output into a sequence of LaTeX tokens. The neural network is trained in two steps. The first step is token-level training using the Maximum-Likelihood Estimation (MLE) as the objective function. At completion of the token-level training, the sequence-level training objective function is employed to optimize the overall model based on the policy gradient algorithm from reinforcement learning. Our design also overcomes the exposure bias problem by closing the feedback loop in the decoder during sequence-level training, i.e., feeding in the predicted token instead of the ground truth token at every time step. The model is trained and evaluated on the IM2LATEX-100K dataset and shows state-of-the-art performance on both sequence-based and image-based evaluation metrics.

📄 PDF Abstract BibTeX arXiv:1908.11415

Code (8)

MindCode-4/code-13/tree/main/translating-math-formula-images mindspore
MindCode-4/code-9/tree/main/translating-math-formula-images mindspore
MindSpore-scientific/code-2/tree/main/translating-math-formula-images mindspore
nanzhaogang/contrib/tree/master/application/translating-math-formula-images-to-labtex-sequences-using-deep-neural-networks-with-sequence-level-training mindspore
pwc-1/Paper-9/tree/main/3/translating-math-formula-images mindspore
pwc-1/Paper-9/tree/main/4/translating-math-formula-images mindspore
tatp22/multidim-positional-encoding pytorch
wzlxjtu/PositionalEncoding2D pytorch

Tasks

DecoderLanguage ModellingMathReinforcement Learning

Similar Papers 제목 키워드 기반

Neural Machine Translation for Mathematical Formulae

2023-05-25 · Felix Petersen, Moritz Schubotz, Andre Greiner-Petter, Bela Gipp

We tackle the problem of neural machine translation of mathematical formulae between ambiguous presentation languages and unambiguous content languages. Compared to neural machine translation on natural language, mathema…

Machine TranslationTranslation

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

2024-08-07 · Kyudan Jung, Sieun Hyeon, Jeong Youn Kwon, Nam-Joon Kim 외

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 formula…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition+1

Semantic Preserving Bijective Mappings of Mathematical Formulae between Document Preparation Systems and Computer Algebra Systems

2021-09-17 · Howard S. Cohl, Moritz Schubotz, Abdou Youssef, André Greiner-Petter 외

Document preparation systems like LaTeX offer the ability to render mathematical expressions as one would write these on paper. Using LaTeX, LaTeXML, and tools generated for use in the National Institute of Standards (NI…

Continued fractionMath

Image-to-LaTeX Converter for Mathematical Formulas and Text

2024-08-07 · Daniil Gurgurov, Aleksey Morshnev

In this project, we train a vision encoder-decoder model to generate LaTeX code from images of mathematical formulas and text. Utilizing a diverse collection of image-to-LaTeX data, we build two models: a base model with…

DecoderGPU

English to Arabic machine translation of mathematical documents

2023-12-02 · Mustapha Eddahibi, Mohammed Mensouri

This paper is about the development of a machine translation system tailored specifically for LATEX mathematical documents. The system focuses on translating English LATEX mathematical documents into Arabic LATEX, cateri…

Machine TranslationTranslation