Elamur Research⌕
☰
home / papers / 2016 / A Meaning-based English Math Word Problem Solver with Understanding, Reasoning and Explanation

A Meaning-based English Math Word Problem Solver with Understanding, Reasoning and Explanation

Paper · 2016 · Chao-Chun Liang, Shih-Hong Tsai, Ting-Yun Chang et al.

Summary

The paper presents a demonstration system for English arithmetic word problems. It aims to understand the problem text rather than match surface patterns. Stanford CoreNLP produces dependency trees and coreference chains. A linear-kernel SVM then predicts a solution type for each question. A converter turns the parse into first-order-logic facts, and each extracted quantity carries role-tags taken from its syntactic context: its verb, subject, object, head noun and similar. The question becomes a query that calls an inference-engine utility. The engine uses the role-tags to choose the right operands and to discard distractor quantities. A template-based generator then turns the reasoning chain into a readable explanation. On AI2-395 and IL-562 the system scores higher overall than the rule-based ARIS, the statistical KAZB and the mixed UIUC solver. A web interface shows every intermediate output. The paper matters because statistical decisions and symbolic inference are combined in a way that keeps each step inspectable and explainable.

Key points

  • The pipeline has five modules: Language Analyzer (CoreNLP), Solution Type Classifier (LIBSVM, linear kernel), Logic Form Converter, Inference Engine and Explanation Generator.
  • Each question is assigned one of six categories: the four basic operations (Addition, Subtraction, Multiplication, Division), plus Sum and TVQ (initial, change or final value of a time-variant quantity).
    • Classifier features are verb categories, cue phrases such as "in all" and aggregate patterns over the body.
  • Quantities are encoded as facts like quan(q1,#,rose)=36, with auxiliary tags such as verb(q1,pick).
    • qmap links related quantities, for example 100 candies and 5 boxes.
    • The engine offers 9 arithmetic utilities.
  • Results:
    • AI2-395 (395 add/subtract problems in subsets MA1, IXL and MA2, 3-fold cross-validation): the system beats UIUC (78.0), ARIS (77.7) and KAZB (64.0) on the micro-average total. With gold solution types, accuracy goes well above 90%.
    • IL-562 (5-fold cross-validation): the system scores 79.5, against 73.9 for UIUC and 73.7 for KAZB.
  • Limitations:
    • Only one-step problems are handled.
    • Subtle reference fails, such as linking "customers" to "women" and "men".

Interesting ideas

  • I1. Each number is annotated with role-tags from its dependency context, so the number keeps its physical meaning. A question can then select operands by matching tags, such as summing only "pick" quantities and pruning a "drop" one. This makes distractor numbers harmless.
  • I2. Parsing to logic happens in two stages: first a direct dump of the dependency tree into predicates, then a separate pass that derives generic math facts and auxiliary tags. This keeps the syntax layer and the domain layer cleanly separated.
  • I3. A global classifier first chooses the operation type, and only then is the question compiled into one specific query. The "Gold Solution Type" ablation shows how much error comes from that one decision.
  • I4. Explanations are produced by converting the reasoning chain into an explanation tree and filling one template per operation type. This gives fluent output tied exactly to the steps actually used.
  • I5. The demo exposes every module's output (parse, coreference, solution type, logic forms, reasoning chain), which makes debugging the pipeline transparent.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (world): Quantity entities in the text-world could store their governing verb, agent and object, so that holdings queries filter by role instead of by position.
  • I2 (frames): A frame builder could likewise emit raw UD predicates first and derive role-bearing quantity facts in a later, independently testable pass.
  • I3 (answer): The maths reader could log a predicted problem type and be evaluated with an oracle type, so that type errors are measured separately from inference errors.
  • I4 (back): Generation from the meaning graph could render solution traces through per-operation templates, which guarantees that the explanation matches the computation.
  • I5 (learn): An evaluation dashboard showing per-stage artifacts for failed items would help find which stage needs repair rules.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Chao-Chun Liang, Shih-Hong Tsai, Ting-Yun Chang, Yi-Chung Lin and Keh-Yih Su. 2016. A Meaning-based English Math Word Problem Solver with Understanding, Reasoning and Explanation. Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: System Demonstrations.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{liang2016meaning,
  title = {{A Meaning-based English Math Word Problem Solver with Understanding, Reasoning and Explanation}},
  author = {Chao-Chun Liang, Shih-Hong Tsai, Ting-Yun Chang, Yi-Chung Lin and Keh-Yih Su},
  booktitle = {Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: System Demonstrations},
  year = {2016},
  url = {https://aclanthology.org/C16-2032/}
}

References

12 references, 3 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Yefim Bakman. 2007. Robust understanding http://lanl.arxiv.org/abs/math.GM/0701393. of word problems with extraneous information. ↗
  2. Chih-Chung Chang and Chih-Jen Lin. 2011. LIBSVM: a library for support vector machines. ACM Transactions on Intelligent Systems and Technology, 2(3):27:1–27:27. At http://www.csie.ntu.edu.tw/cjlin/libsvm. ↗
  3. Mohammad Javad Hosseini, Hannaneh Hajishirzi, Oren Etzioni, and Nate Kushman. 2014. Learning to solve arithmetic word problems with verb categorization. EMNLP 2014, October 25-29, 2014, Doha, Qatar, A meeting of SIGDAT, a Special Interest Group of the ACL, pages 523–533.
  4. Chien-Tsung Huang, Yi-Chung Lin, and Keh-Yih Su. 2015. Explanation generation for a math word problem solver. IJCLCLP, 20(2):27–44. find
  5. Nate Kushman, Yoav Artzi, Luke Zettlemoyer, and Regina Barzilay. 2014. Learning to automatically solve algebra word problems. Baltimore, Maryland, June. Association for Computational Linguistics, page 271–281. find
  6. Yi-Chung Lin, Chao-Chun Liang, Kuang-Yi Hsu, Chien-Tsung Huang, Shen-Yun Miao, Wei-Yun Ma, Lun-Wei Ku, Churn-Jung Liau, and Keh-Yih Su. 2015. Designing a tag-based statistical math word problem solver with reasoning and explanation. IJCLCLP, 20(2):1–26. find
  7. Christopher D Manning, Mihai Surdeanu, John Bauer, Jenny Finkel, Steven J Bethard, and David McClosky. 2014. The Stanford CoreNLP natural language processing toolkit. In ACL Demonstrations.
  8. Anirban Mukherjee and Utpal Garain. 2008. A review of methods for automatic understanding of natural language mathematical problems. Artif Intell Rev, 29(2):93–122. ↗
  9. Stephen J. Pape. 2004. Middle school children’s problem-solving behavior: A cognitive analysis from a reading comprehension perspective. Journal for Research in Mathematics Education, 35(3):187–219. ↗
  10. Subhro Roy and Dan Roth. 2015. Solving general arithmetic word problems. EMNLP, pages 1743–1752.
  11. Subhro Roy, Tim Vieira, and Dan Roth. 2015. Reasoning about quantities in natural language. TACL, 3:1–13. ↗
  12. Stuart Russell and Peter Norvig. 2009. Artificial Intelligence: A Modern Approach. Prentice Hall Press, Upper Saddle River, NJ, USA, 3rd edition. find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/liang-2016-meaning-based-english-math-word/