HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Semantically-Aligned Universal Tree-Structured Solver for Math Word Problems

Jinghui Qin Lihui Lin Xiaodan Liang Rumin Zhang Liang Lin

Semantically-Aligned Universal Tree-Structured Solver for Math Word Problems

Abstract

A practical automatic textual math word problems (MWPs) solver should be able to solve various textual MWPs while most existing works only focused on one-unknown linear MWPs. Herein, we propose a simple but efficient method called Universal Expression Tree (UET) to make the first attempt to represent the equations of various MWPs uniformly. Then a semantically-aligned universal tree-structured solver (SAU-Solver) based on an encoder-decoder framework is proposed to resolve multiple types of MWPs in a unified model, benefiting from our UET representation. Our SAU-Solver generates a universal expression tree explicitly by deciding which symbol to generate according to the generated symbols' semantic meanings like human solving MWPs. Besides, our SAU-Solver also includes a novel subtree-level semanticallyaligned regularization to further enforce the semantic constraints and rationality of the generated expression tree by aligning with the contextual information. Finally, to validate the universality of our solver and extend the research boundary of MWPs, we introduce a new challenging Hybrid Math Word Problems dataset (HMWP), consisting of three types of MWPs. Experimental results on several MWPs datasets show that our model can solve universal types of MWPs and outperforms several state-of-the-art models.

Code Repositories

QinJinghui/SAU-Solver
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
math-word-problem-solving-on-alg514SAU-Solver
Accuracy (%): 57.39
math-word-problem-solving-on-math23kSAU-Solver
Accuracy (5-fold): 74.84

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Semantically-Aligned Universal Tree-Structured Solver for Math Word Problems | Papers | HyperAI