Template-Based Math Word Problem Solvers with Recursive Neural Networks

被引:0
|
作者
Wang, Lei [1 ,2 ]
Zhang, Dongxiang [1 ,2 ,3 ]
Zhang, Jipeng [1 ,2 ]
Xu, Xing [1 ,2 ,3 ]
Gao, Lianli [1 ,2 ]
Dai, Bing Tian [4 ]
Shen, Heng Tao [1 ,2 ]
机构
[1] UESTC, Ctr Future Media, Chengdu, Sichuan, Peoples R China
[2] UESTC, Sch Comp Sci & Engn, Chengdu, Sichuan, Peoples R China
[3] Afanti Res, Chengdu, Sichuan, Peoples R China
[4] Singapore Management Univ, Sch Informat Syst, Singapore, Singapore
基金
中国国家自然科学基金;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The design of automatic solvers to arithmetic math word problems has attracted considerable attention in recent years and a large number of datasets and methods have been published. Among them, Math23K is the largest data corpus that is very helpful to evaluate the generality and robustness of a proposed solution. The best performer in Math23K is a seq2seq model based on LSTM to generate the math expression. However, the model suffers from performance degradation in large space of target expressions. In this paper, we propose a template-based solution based on recursive neural network for math expression construction. More specifically, we first apply a seq2seq model to predict a tree-structure template, with inferred numbers as leaf nodes and unknown operators as inner nodes. Then, we design a recursive neural network to encode the quantity with Bi-LSTM and self attention, and infer the unknown operator nodes in a bottom-up manner. The experimental results clearly establish the superiority of our new framework as we improve the accuracy by a wide margin in two of the largest datasets, i.e., from 58.1% to 66.9% in Math23K and from 62.8% to 66.8% in MAWPS.
引用
收藏
页码:7144 / 7151
页数:8
相关论文
共 50 条
  • [21] Math Word Problem Solving: Operator and Template Techniques with Multi-Head Attention
    Sarkar, Sandip
    Das, Dipankar
    Pakray, Partha
    Pinto-Avendano, David Eduardo
    COMPUTACION Y SISTEMAS, 2023, 27 (04): : 1075 - 1088
  • [22] Learning Dynamic Contextualised Word Embeddings via Template-based Temporal Adaptation
    Tang, Xiaohang
    Zhou, Yi
    Bollegala, Danushka
    PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2023): LONG PAPERS, VOL 1, 2023, : 9352 - 9369
  • [23] Number-enhanced representation with hierarchical recursive tree decoding for math word problem solving
    Zhang, Yi
    Zhou, Guangyou
    Xie, Zhiwen
    Huang, Jimmy Xiangji
    INFORMATION PROCESSING & MANAGEMENT, 2024, 61 (02)
  • [24] SeTemAPR: Incorporating Semantic Knowledge in Template-based Neural Program Repair
    Zhang, Yanbo
    Wang, Yawen
    2024 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, IJCNN 2024, 2024,
  • [25] A template-based Tabu Search algorithm for the Consistent Vehicle Routing Problem
    Tarantilis, C. D.
    Stavropoulou, F.
    Repoussis, P. P.
    EXPERT SYSTEMS WITH APPLICATIONS, 2012, 39 (04) : 4233 - 4239
  • [26] MWPRanker: An Expression Similarity Based Math Word Problem Retriever
    Goel, Mayank
    Venktesh, V.
    Goyal, Vikram
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES: APPLIED DATA SCIENCE AND DEMO TRACK, ECML PKDD 2023, PT VII, 2023, 14175 : 372 - 377
  • [27] A template-based approach for the generation of abstractable and reducible models of featured networks
    Miller, A.
    Calder, M.
    Donaldson, A. F.
    COMPUTER NETWORKS, 2007, 51 (02) : 439 - 455
  • [28] Solving arithmetic word problems by scoring equations with recursive neural networks
    Zaporojets, Klim
    Bekoulis, Giannis
    Deleu, Johannes
    Demeester, Thomas
    Develder, Chris
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 174
  • [29] TASK: Template-Based Key Assignment for Confidential Communication in Wireless Networks
    Novales, Ramon
    Mittal, Neeraj
    2009 28TH IEEE INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS, PROCEEDINGS, 2009, : 209 - 216
  • [30] Teacher-Student Networks with Multiple Decoders for Solving Math Word Problem
    Zhang, Jipeng
    Lee, Roy Ka-Wei
    Lim, Ee-Peng
    Qin, Wei
    Wang, Lei
    Shao, Jie
    Sun, Qianru
    PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2020, : 4011 - 4017