paper-with-me

홈 › Papers

An Expression Tree Decoding Strategy for Mathematical Equation Generation

2023-10-14 · Wenqi Zhang, Yongliang Shen, Qingpeng Nong, Zeqi Tan, Yanna Ma, Weiming Lu

Generating mathematical equations from natural language requires an accurate understanding of the relations among math expressions. Existing approaches can be broadly categorized into token-level and expression-level generation. The former treats equations as a mathematical language, sequentially generating math tokens. Expression-level methods generate each expression one by one. However, each expression represents a solving step, and there naturally exist parallel or dependent relations between these steps, which are ignored by current sequential methods. Therefore, we integrate tree structure into the expression-level generation and advocate an expression tree decoding strategy. To generate a tree with expression as its node, we employ a layer-wise parallel decoding strategy: we decode multiple independent expressions (leaf nodes) in parallel at each layer and repeat parallel decoding layer by layer to sequentially generate these parent node expressions that depend on others. Besides, a bipartite matching algorithm is adopted to align multiple predictions with annotations for each layer. Experiments show our method outperforms other baselines, especially for these equations with complex structures.

📄 PDF Abstract BibTeX arXiv:2310.09619

Code (1)

zwq2018/multi-view-consistency-for-mwp pytorch

Tasks

MathMathematical ReasoningMath Word Problem SolvingStructured Prediction

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

TAMER: Tree-Aware Transformer for Handwritten Mathematical Expression Recognition

2024-08-16 · Jianhua Zhu, Wenqi Zhao, Yu Li, Xingjian Hu 외

Handwritten Mathematical Expression Recognition (HMER) has extensive applications in automated grading and office automation. However, existing sequence-based decoding methods, which directly predict $\LaTeX$ sequences, …

Handwritten Mathmatical Expression RecognitionPrediction

Transformer-based Planning for Symbolic Regression

2023-03-13 · NeurIPS 2023 11 · Parshin Shojaee, Kazem Meidani, Amir Barati Farimani, Chandan K. Reddy

Symbolic regression (SR) is a challenging task in machine learning that involves finding a mathematical expression for a function based on its values. Recent advancements in SR have demonstrated the effectiveness of pre-…

Equation DiscoveryregressionSymbolic RegressionText Generation

TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression Recognition

2022-06-28 · Proceedings of the AAAI Conference on Artificial Intelligence 2022 6 · Changjie Wu, Jun Du, Yunqing Li, Jianshu Zhang 외

In recent years, tree decoders become more popular than LaTeX string decoders in the field of handwritten mathematical expression recognition (HMER) as they can capture the hierarchical tree structure of mathematical exp…

DecoderHandwritten Mathmatical Expression Recognition

Tree-Based Representation and Generation of Natural and Mathematical Language

2023-02-15 · Alexander Scarlatos, Andrew Lan

Mathematical language in scientific communications and educational scenarios is important yet relatively understudied compared to natural languages. Recent works on mathematical language focus either on representing stan…

MathMathematical Reasoningvalid

Symbolic Physics Learner: Discovering governing equations via Monte Carlo tree search

2022-05-26 · Fangzheng Sun, Yang Liu, Jian-Xun Wang, Hao Sun

Nonlinear dynamics is ubiquitous in nature and commonly seen in various science and engineering disciplines. Distilling analytical expressions that govern nonlinear dynamics from limited data remains vital but challengin…