Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problems

05/11/2017
by   Wang Ling, et al.
0

Solving algebraic word problems requires executing a series of arithmetic operations---a program---to obtain a final answer. However, since programs can be arbitrarily complicated, inducing them directly from question-answer pairs is a formidable challenge. To make this task more feasible, we solve these problems by generating answer rationales, sequences of natural language and human-readable mathematical expressions that derive the final answer through a series of small steps. Although rationales do not explicitly specify programs, they provide a scaffolding for their structure via intermediate milestones. To evaluate our approach, we have created a new 100,000-sample dataset of questions, answers and rationales. Experimental results show that indirect supervision of program learning via answer rationales is a promising strategy for inducing arithmetic programs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/04/2023

MathPrompter: Mathematical Reasoning using Large Language Models

Large Language Models (LLMs) have limited performance when solving arith...
research
04/14/2021

A Weakly Supervised Model for Solving Math word Problems

Solving math word problems (MWPs) is an important and challenging proble...
research
04/28/2018

Specifying and Verbalising Answer Set Programs in Controlled Natural Language

We show how a bi-directional grammar can be used to specify and verbalis...
research
09/10/2018

Learning to Generate Structured Queries from Natural Language with Indirect Supervision

Generating structured query language (SQL) from natural language is an e...
research
05/20/2021

ASQ: Automatically Generating Question-Answer Pairs using AMRs

In this work, we introduce ASQ, a tool to automatically mine questions a...
research
02/18/2017

Reproducing and learning new algebraic operations on word embeddings using genetic programming

Word-vector representations associate a high dimensional real-vector to ...
research
10/29/2022

Linear Programs with Conjunctive Database Queries

In this paper, we study the problem of optimizing a linear program whose...

Please sign up or login with your details

Forgot password? Click here to reset