A Study of Automatic Solver for Math Word Problems based on RoBERTa and SW-MSA

In this paper, we encountered the major challenge of effectively solving Mathematical Word Problems (MWP) that involve complex logic and long text descriptions. To address these issues, we proposed the following methods: 1.Introduced a RoBERTa encoder optimized with a dynamic masking technique to enhance the understanding of MWP text. 2.Developed a decoder based on Shifted Window Multi-head Self-Attention (SW-MSA), which limits the self-attention computation range while effectively capturing long-range dependencies, thereby improving decoding efficiency and accuracy. By combining these methods, we proposed a new RoBERTa-SWMSA model. Experimental results show that the RoBERTa-SWMSA model performs excellently on standard datasets Math23k and Ape210K, with notable advantages in solving problems with complex logic and long text descriptions. Ablation experiments further highlight the importance of the pre-training strategy for model performance. The RoBERTa-SWMSA model provides an efficient, accurate, and generalizable solution for the automatic solving of MWP.

Authors

Institutions

Publication Details

Published
2024-11-06
DOI
https://doi.org/10.1109/ieir62538.2024.10960102
Primary Topic
Educational Technology and Assessment
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Study of Automatic Solver for Math Word Problems based on RoBERTa and SW-MSA

Pengpeng Jian, Yanli Wang, Bin Ma, Tianhao Sun
Educational Technology and Assessment
article

A Study of Automatic Solver for Math Word Problems based on RoBERTa and SW-MSA

Pengpeng Jian, Yanli Wang, Bin Ma, Tianhao Sun
article en

Abstract

In this paper, we encountered the major challenge of effectively solving Mathematical Word Problems (MWP) that involve complex logic and long text descriptions. To address these issues, we proposed the following methods: 1.Introduced a RoBERTa encoder optimized with a dynamic masking technique to enhance the understanding of MWP text. 2.Developed a decoder based on Shifted Window Multi-head Self-Attention (SW-MSA), which limits the self-attention computation range while effectively capturing long-range dependencies, thereby improving decoding efficiency and accuracy. By combining these methods, we proposed a new RoBERTa-SWMSA model. Experimental results show that the RoBERTa-SWMSA model performs excellently on standard datasets Math23k and Ape210K, with notable advantages in solving problems with complex logic and long text descriptions. Ablation experiments further highlight the importance of the pre-training strategy for model performance. The RoBERTa-SWMSA model provides an efficient, accurate, and generalizable solution for the automatic solving of MWP.

North China University of Water Resources and Electric Power (CN), Henan University of Economic and Law (CN)
National Natural Science Foundation of China
Quality Education
Openalex Percentile: Top 54%
Educational Technology and Assessment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.