paper-with-me

Papers

A Tree-Structured Decoder for Image-to-Markup Generation

2020-01-01 · ICML 2020 1 · Jianshu Zhang, Jun Du, Yongxin Yang, Yi-Zhe Song, Si Wei, Li-Rong Dai

Recent encoder-decoder approaches typically employ string decoders to convert images into serialized strings for image-to-markup. However, for tree-structured representational markup, string representations can hardly cope with the structural complexity. In this work, we first show via a set of toy problems that string decoders struggle to decode tree structures, especially as structural complexity increases. We then propose a tree-structured decoder that specifically aims at generating a tree-structured markup. Our decoders works sequentially, where at each step a child node and its parent node are simultaneously generated to form a sub-tree. This sub-tree is consequently used to construct the final tree structure in a recurrent manner. Key to the success of our tree decoder is twofold, (i) it strictly respects the parent-child relationship of trees, and (ii) it explicitly outputs trees as oppose to a linear string. Evaluated on both math formula recognition and chemical formula recognition, the proposed tree decoder is shown to greatly outperform strong string decoder baselines.

📄 PDF Abstract BibTeX

Code (1)

JianshuZhang/TreeDecoder pytorch

Tasks

DecoderHandwritten Mathmatical Expression RecognitionMath

Similar Papers 제목 키워드 기반

Image-to-Markup Generation with Coarse-to-Fine Attention

2016-09-16 · ICML 2017 8 · Yuntian Deng, Anssi Kanervisto, Jeffrey Ling, Alexander M. Rush

We present a neural encoder-decoder model to convert images into presentational markup based on a scalable coarse-to-fine attention mechanism. Our method is evaluated in the context of image-to-LaTeX generation, and we i…

DecoderOptical Character Recognition (OCR)

Layout-Aware Text Editing for Efficient Transformation of Academic PDFs to Markdown

2025-12-19 · Changxu Duan arxiv

Academic documents stored in PDF format can be transformed into plain text structured markup languages to enhance accessibility and enable scalable digital library workflows. Markup languages allow for easier updates and…

Document Layout Analysis

Syntax-Aware Network for Handwritten Mathematical Expression Recognition

2022-03-03 · CVPR 2022 1 · Ye Yuan, Xiao Liu, Wondimu Dikubab, Hui Liu 외

Handwritten mathematical expression recognition (HMER) is a challenging task that has many potential applications. Recent methods for HMER have achieved outstanding performance with an encoder-decoder architecture. Howev…

DecoderHandwritten Mathmatical Expression RecognitionPrediction

Tree-Structured Neural Machine for Linguistics-Aware Sentence Generation

2017-04-30 · Ganbin Zhou, Ping Luo, Rongyu Cao, Yijun Xiao 외

Different from other sequential data, sentences in natural language are structured by linguistic grammars. Previous generative conversational models with chain-structured decoder ignore this structure in human language a…

DecoderSentence

Hierarchical Attention Decoder for Solving Math Word Problems

2021-11-16 · ACL ARR November 2021 11 · Anonymous

To answer math word problems (MWPs), models need to formalize equations from the source text of math problems. Recently, the tree-structured decoder has significantly improved model performance on this task by generating…

DecoderMath