{
"paper_id": "P14-1026",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T09:07:41.149929Z"
},
"title": "Learning to Automatically Solve Algebra Word Problems",
"authors": [
{
"first": "Nate",
"middle": [],
"last": "Kushman",
"suffix": "",
"affiliation": {
"laboratory": "Computer Science and Articial Intelligence Laboratory",
"institution": "Massachusetts Institute of Technology",
"location": {}
},
"email": "nkushman@csail.mit.edu"
},
{
"first": "Yoav",
"middle": [],
"last": "Artzi",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "University of Washington",
"location": {}
},
"email": ""
},
{
"first": "Luke",
"middle": [],
"last": "Zettlemoyer",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "University of Washington",
"location": {}
},
"email": ""
},
{
"first": "Regina",
"middle": [],
"last": "Barzilay",
"suffix": "",
"affiliation": {
"laboratory": "Computer Science and Articial Intelligence Laboratory",
"institution": "Massachusetts Institute of Technology",
"location": {}
},
"email": "regina@csail.mit.edu"
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "We present an approach for automatically learning to solve algebra word problems. Our algorithm reasons across sentence boundaries to construct and solve a system of linear equations, while simultaneously recovering an alignment of the variables and numbers in these equations to the problem text. The learning algorithm uses varied supervision, including either full equations or just the final answers. We evaluate performance on a newly gathered corpus of algebra word problems, demonstrating that the system can correctly answer almost 70% of the questions in the dataset. This is, to our knowledge, the first learning result for this task.",
"pdf_parse": {
"paper_id": "P14-1026",
"_pdf_hash": "",
"abstract": [
{
"text": "We present an approach for automatically learning to solve algebra word problems. Our algorithm reasons across sentence boundaries to construct and solve a system of linear equations, while simultaneously recovering an alignment of the variables and numbers in these equations to the problem text. The learning algorithm uses varied supervision, including either full equations or just the final answers. We evaluate performance on a newly gathered corpus of algebra word problems, demonstrating that the system can correctly answer almost 70% of the questions in the dataset. This is, to our knowledge, the first learning result for this task.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "Algebra word problems concisely describe a world state and pose questions about it. The described state can be modeled with a system of equations whose solution specifies the questions' answers.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "For example, Figure 1 shows one such problem. The reader is asked to infer how many children and adults were admitted to an amusement park, based on constraints provided by ticket prices and overall sales. This paper studies the task of learning to automatically solve such problems given only the natural language. 1 Solving these problems requires reasoning across sentence boundaries to find a system of equations that concisely models the described semantic relationships. For example, in Figure 1 , the total ticket revenue computation in the second equation summarizes facts about ticket prices and total sales described in the second, third, and fifth",
"cite_spans": [
{
"start": 316,
"end": 317,
"text": "1",
"ref_id": null
}
],
"ref_spans": [
{
"start": 13,
"end": 21,
"text": "Figure 1",
"ref_id": null
},
{
"start": 493,
"end": 501,
"text": "Figure 1",
"ref_id": null
}
],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "An amusement park sells 2 kinds of tickets. Tickets for children cost $1.50. Adult tickets cost $4. On a certain day, 278 people entered the park. On that same day the admission fees collected totaled $792. How many children were admitted on that day? How many adults were admitted?",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Word problem",
"sec_num": null
},
{
"text": "x + y = 278 1.5x + 4y = 792 Solution x = 128 y = 150",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Equations",
"sec_num": null
},
{
"text": "Figure 1: An example algebra word problem. Our goal is to map a given problem to a set of equations representing its algebraic meaning, which are then solved to get the problem's answer.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Equations",
"sec_num": null
},
{
"text": "sentences. Furthermore, the first equation models an implicit semantic relationship, namely that the children and adults admitted are non-intersecting subsets of the set of people who entered the park. Our model defines a joint log-linear distribution over full systems of equations and alignments between these equations and the text. The space of possible equations is defined by a set of equation templates, which we induce from the training examples, where each template has a set of slots. Number slots are filled by numbers from the text, and unknown slots are aligned to nouns. For example, the system in Figure 1 is generated by filling one such template with four specific numbers (1.5, 4, 278, and 792) and aligning two nouns (\"Tickets\" in \"Tickets for children\", and \"tickets\" in \"Adult tickets\"). These inferred correspondences are used to define cross-sentence features that provide global cues to the model. For instance, in our running example, the string pairs (\"$1.50\", \"children\") and (\"$4\",\"adults\") both surround the word \"cost,\" suggesting an output equation with a sum of two constant-variable products.",
"cite_spans": [],
"ref_spans": [
{
"start": 612,
"end": 620,
"text": "Figure 1",
"ref_id": null
}
],
"eq_spans": [],
"section": "Equations",
"sec_num": null
},
{
"text": "We consider learning with two different levels of supervision. In the first scenario, we assume access to each problem's numeric solution (see Figure 1) for most of the data, along with a small set of seed examples labeled with full equations. During learning, a solver evaluates competing hypotheses to drive the learning process. In the second scenario, we are provided with a full system of equations for each problem. In both cases, the available labeled equations (either the seed set, or the full set) are abstracted to provide the model's equation templates, while the slot filling and alignment decisions are latent variables whose settings are estimated by directly optimizing the marginal data log-likelihood.",
"cite_spans": [],
"ref_spans": [
{
"start": 143,
"end": 152,
"text": "Figure 1)",
"ref_id": null
}
],
"eq_spans": [],
"section": "Equations",
"sec_num": null
},
{
"text": "The approach is evaluated on a new corpus of 514 algebra word problems and associated equation systems gathered from Algebra.com. Provided with full equations during training, our algorithm successfully solves over 69% of the word problems from our test set. Furthermore, we find the algorithm can robustly handle weak supervision, achieving more than 70% of the above performance when trained exclusively on answers.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Equations",
"sec_num": null
},
{
"text": "Our work is related to three main areas of research: situated semantic interpretation, information extraction, and automatic word problem solvers.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Related Work",
"sec_num": "2"
},
{
"text": "Situated Semantic Interpretation There is a large body of research on learning to map natural language to formal meaning representations, given varied forms of supervision. Reinforcement learning can be used to learn to read instructions and perform actions in an external world (Branavan et al., 2009; Branavan et al., 2010; Vogel and Jurafsky, 2010) . Other approaches have relied on access to more costly annotated logical forms (Zelle and Mooney, 1996; Thompson and Mooney, 2003; Wong and Mooney, 2006; Zettlemoyer and Collins, 2005; Kwiatkowski et al., 2010) . These techniques have been generalized more recently to learn from sentences paired with indirect feedback from a controlled application. Examples include question answering (Clarke et al., 2010; Cai and Yates, 2013a; Cai and Yates, 2013b; Berant et al., 2013; Kwiatkowski et al., 2013) , dialog systems (Artzi and Zettlemoyer, 2011) , robot instruction (Chen and Mooney, 2011; Chen, 2012; Kim and Mooney, 2012; Matuszek et al., 2012; , and program executions (Kushman and Barzilay, 2013; Lei et al., 2013) . We focus on learning from varied supervision, including question answers and equation systems, both can be obtained reliably from annotators with no linguistic training and only basic math knowledge.",
"cite_spans": [
{
"start": 279,
"end": 302,
"text": "(Branavan et al., 2009;",
"ref_id": "BIBREF4"
},
{
"start": 303,
"end": 325,
"text": "Branavan et al., 2010;",
"ref_id": "BIBREF5"
},
{
"start": 326,
"end": 351,
"text": "Vogel and Jurafsky, 2010)",
"ref_id": null
},
{
"start": 432,
"end": 456,
"text": "(Zelle and Mooney, 1996;",
"ref_id": null
},
{
"start": 457,
"end": 483,
"text": "Thompson and Mooney, 2003;",
"ref_id": null
},
{
"start": 484,
"end": 506,
"text": "Wong and Mooney, 2006;",
"ref_id": null
},
{
"start": 507,
"end": 537,
"text": "Zettlemoyer and Collins, 2005;",
"ref_id": null
},
{
"start": 538,
"end": 563,
"text": "Kwiatkowski et al., 2010)",
"ref_id": "BIBREF18"
},
{
"start": 740,
"end": 761,
"text": "(Clarke et al., 2010;",
"ref_id": "BIBREF12"
},
{
"start": 762,
"end": 783,
"text": "Cai and Yates, 2013a;",
"ref_id": "BIBREF6"
},
{
"start": 784,
"end": 805,
"text": "Cai and Yates, 2013b;",
"ref_id": "BIBREF7"
},
{
"start": 806,
"end": 826,
"text": "Berant et al., 2013;",
"ref_id": "BIBREF3"
},
{
"start": 827,
"end": 852,
"text": "Kwiatkowski et al., 2013)",
"ref_id": "BIBREF19"
},
{
"start": 870,
"end": 899,
"text": "(Artzi and Zettlemoyer, 2011)",
"ref_id": "BIBREF1"
},
{
"start": 920,
"end": 943,
"text": "(Chen and Mooney, 2011;",
"ref_id": "BIBREF10"
},
{
"start": 944,
"end": 955,
"text": "Chen, 2012;",
"ref_id": "BIBREF11"
},
{
"start": 956,
"end": 977,
"text": "Kim and Mooney, 2012;",
"ref_id": "BIBREF16"
},
{
"start": 978,
"end": 1000,
"text": "Matuszek et al., 2012;",
"ref_id": "BIBREF23"
},
{
"start": 1026,
"end": 1054,
"text": "(Kushman and Barzilay, 2013;",
"ref_id": "BIBREF17"
},
{
"start": 1055,
"end": 1072,
"text": "Lei et al., 2013)",
"ref_id": "BIBREF20"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Related Work",
"sec_num": "2"
},
{
"text": "Nearly all of the above work processed single sentences in isolation. Techniques that consider multiple sentences typically do so in a serial fashion, processing each in turn with limited cross-sentence reasoning (Branavan et al., 2009; Zettlemoyer and Collins, 2009; Chen and Mooney, 2011; . We focus on analyzing multiple sentences simultaneously, as is necessary to generate the global semantic representations common in domains such as algebra word problems.",
"cite_spans": [
{
"start": 213,
"end": 236,
"text": "(Branavan et al., 2009;",
"ref_id": "BIBREF4"
},
{
"start": 237,
"end": 267,
"text": "Zettlemoyer and Collins, 2009;",
"ref_id": null
},
{
"start": 268,
"end": 290,
"text": "Chen and Mooney, 2011;",
"ref_id": "BIBREF10"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Related Work",
"sec_num": "2"
},
{
"text": "Information Extraction Our approach is related to work on template-based information extraction, where the goal is to identify instances of event templates in text and extract their slot fillers. Most work has focused on the supervised case, where the templates are manually defined and data is labeled with alignment information, e.g. (Grishman et al., 2005; Maslennikov and Chua, 2007; Ji and Grishman, 2008; Reichart and Barzilay, 2012) . However, some recent work has studied the automatic induction of the set of possible templates from data (Chambers and Jurafsky, 2011; Ritter et al., 2012) . In our approach, systems of equations are relatively easy to specify, providing a type of template structure, and the alignment of the slots in these templates to the text is modeled primarily with latent variables during learning. Additionally, mapping to a semantic representation that can be executed allows us to leverage weaker supervision during learning.",
"cite_spans": [
{
"start": 336,
"end": 359,
"text": "(Grishman et al., 2005;",
"ref_id": "BIBREF14"
},
{
"start": 360,
"end": 387,
"text": "Maslennikov and Chua, 2007;",
"ref_id": "BIBREF22"
},
{
"start": 388,
"end": 410,
"text": "Ji and Grishman, 2008;",
"ref_id": "BIBREF15"
},
{
"start": 411,
"end": 439,
"text": "Reichart and Barzilay, 2012)",
"ref_id": null
},
{
"start": 547,
"end": 576,
"text": "(Chambers and Jurafsky, 2011;",
"ref_id": null
},
{
"start": 577,
"end": 597,
"text": "Ritter et al., 2012)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Related Work",
"sec_num": "2"
},
{
"text": "Automatic Word Problem Solvers Finally, there has been research on automatically solving various types of mathematical word problems. The dominant existing approach is to hand engineer rule-based systems to solve math problem in specific domains (Mukherjee and Garain, 2008; Lev et al., 2004) . Our focus is on learning a model for the end-to-end task of solving word problems given only a training corpus of questions paired with equations or answers.",
"cite_spans": [
{
"start": 246,
"end": 274,
"text": "(Mukherjee and Garain, 2008;",
"ref_id": null
},
{
"start": 275,
"end": 292,
"text": "Lev et al., 2004)",
"ref_id": "BIBREF21"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Related Work",
"sec_num": "2"
},
{
"text": "Word problem An amusement park sells 2 kinds of tickets. Tickets for children cost $ 1.50 . Adult tickets cost $ 4 . On a certain day, 278 people entered the park. On that same day the admission fees collected totaled $ 792 . How many children were admitted on that day? How many adults were admitted?",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivation 1",
"sec_num": null
},
{
"text": "Aligned template u 1 1 + u 1 2 \u2212 n 1 = 0 n 2 \u00d7 u 2 1 + n 3 \u00d7 u 2 2 \u2212 n 4 = 0 Instantiated equations x + y \u2212 278 = 0 1.5x + 4y \u2212 792 = 0 Answer x = 128 y = 150 Derivation 2",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivation 1",
"sec_num": null
},
{
"text": "Word problem A motorist drove 2 hours at one speed and then for 3 hours at another speed. He covered a distance of 252 kilometers. If he had traveled 4 hours at the first speed and 1 hour at the second speed , he would have covered 244 kilometers. Find two speeds?",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivation 1",
"sec_num": null
},
{
"text": "Aligned template n 1 \u00d7 u 1 1 + n 2 \u00d7 u 1 2 \u2212 n 3 = 0 n 4 \u00d7 u 2 1 + n 5 \u00d7 u 2 2 \u2212 n 6 = 0 Instantiated equations 2x + 3y \u2212 252 = 4x + 1y \u2212 244 = 0 Answer x = 48 y = 52",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivation 1",
"sec_num": null
},
{
"text": "Figure 2: Two complete derivations for two different word problems. Derivation 1 shows an alignment where two instances of the same slot are aligned to the same word (e.g., u 1 1 and u 2 1 both are aligned to \"Tickets\"). Derivation 2 includes an alignment where four identical nouns are each aligned to different slot instances in the template (e.g., the first \"speed\" in the problem is aligned to u 1 1 ).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivation 1",
"sec_num": null
},
{
"text": "We define a two step process to map word problems to equations. First, a template is selected to define the overall structure of the equation system. Next, the template is instantiated with numbers and nouns from the text. During inference we consider these two steps jointly. Figure 2 shows both steps for two derivations. The template dictates the form of the equations in the system and the type of slots in each: u slots represent unknowns and n slots are for numbers that must be filled from the text. In Derivation 1, the selected template has two unknown slots, u 1 and u 2 , and four number slots, n 1 to n 4 . Slots can be shared between equations, for example, the unknown slots u 1 and u 2 in the example appear in both equations. A slot may have different instances, for example u 1 1 and u 2 1 are the two instances of u 1 in the example.",
"cite_spans": [],
"ref_spans": [
{
"start": 277,
"end": 285,
"text": "Figure 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "Mapping Word Problems to Equations",
"sec_num": "3"
},
{
"text": "We align each slot instance to a word in the problem. Each number slot n is aligned to a number, and each unknown slot u is aligned to a noun. For example, Derivation 1 aligns the number 278 to n 1 , 1.50 to n 2 , 4 to n 3 , and 792 to n 4 . It also aligns both instances of u 1 (e.g., u 1 1 and u 2 1 ) to \"Tickets\", and both instances of u 2 to \"tickets\". In contrast, in Derivation 2, instances of the same unknown slot (e.g. u 1 1 and u 2 1 ) are aligned to two different words in the problem (different occurrences of the word \"speed\"). This allows for a tighter mapping between the natural language and the system template, where the words aligned to the first equation in the template come from the first two sentences, and the words aligned to the second equation come from the third.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Mapping Word Problems to Equations",
"sec_num": "3"
},
{
"text": "Given an alignment, the template can then be instantiated: each number slot n is replaced with the aligned number, and each unknown slot u with a variable. This output system of equations is then automatically solved to generate the final answer.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Mapping Word Problems to Equations",
"sec_num": "3"
},
{
"text": "Definitions Let X be the set of all word problems. A word problem x \u2208 X is a sequence of k words w 1 , . . . w k . Also, define an equation template t to be a formula A = B, where A and B are expressions. An expression A is one of the following:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "\u2022 A number constant f .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "\u2022 A number slot n.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "\u2022 An unknown slot u.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "\u2022 An application of a mathematical relation R to two expressions (e.g., n 1 \u00d7 u 1 ).",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "We define a system template T to be a set of l equation templates {t 0 , . . . , t l }. T is the set of all system templates. A slot may occur more than once in a system template, to allow variables to be reused in different equations. We denote a specific instance i of a slot, u for example, as u i . For brevity, we omit the instance index when a slot appears only once. To capture a correspondence between the text of x and a template T , we define an alignment p to be a set of pairs (w, s), where w is a token in x and s is a slot instance in T . Given the above definitions, an equation e can be constructed from a template t where each number slot n is replaced with a real number, each unknown slot u is replaced with a variable, and each number constant f is kept as is. We call the process of turning a template into an equation template instantiation. Similarly, an equation system E is a set of l equations {e 0 , . . . , e l }, which can be constructed by instantiating each of the equation templates in a system template T . Finally, an answer a is a tuple of real numbers.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "We define a derivation y from a word problem to an answer as a tuple (T, p, a), where T is the selected system template, p is an alignment between T and x, and a is the answer generated by instantiating T using x through p and solving the generated equations. Let Y be the set of all derivations.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "The Space of Possible Derivations We aim to map each word problem x to an equation system E. The space of equation systems considered is defined by the set of possible system templates T and the words in the original problem x, that are available for filling slots. In practice, we generate T from the training data, as described in Section 4.1. Given a system template T \u2208 T , we create an alignment p between T and x. The set of possible alignment pairs is constrained as fol-An amusement park sells 2 kinds of tickets. Tickets for children cost $ 1.50 . Adult tickets cost $ 4 . On a certain day, 278 people entered the park. On that same day the admission fees collected totaled $ 792 . How many children were admitted on that day? How many adults were admitted? lows: each number slot n \u2208 T can be aligned to any number in the text, a number word can only be aligned to a single slot n, and must be aligned to all instances of that slot. Additionally, an unknown slot instance u \u2208 T can only be aligned to a noun word. A complete derivation's alignment pairs all slots in T with words in x. Figure 3 illustrates the space of possible alignments for the first problem and system template from Figure 2 . Nouns (shown in boldface) can be aligned to any of the unknown slot instances in the selected template (u 1 1 , u 2 1 , u 1 2 , and u 2 2 for the template selected). Numbers (highlighted) can be aligned to any of the number slots (n 1 , n 2 , n 3 , and n 4 in the template).",
"cite_spans": [],
"ref_spans": [
{
"start": 1096,
"end": 1104,
"text": "Figure 3",
"ref_id": "FIGREF0"
},
{
"start": 1197,
"end": 1205,
"text": "Figure 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "u 1 1 + u 1 2 \u2212 n 1 = 0 n 2 \u00d7 u 2 1 + n 3 \u00d7 u 2 2 \u2212 n 4 = 0",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Derivations",
"sec_num": "3.1"
},
{
"text": "Due to the ambiguity in selecting the system template and alignment, there will be many possible derivations y \u2208 Y for each word problem x \u2208 X . We discriminate between competing analyses using a log-linear model, which has a feature function \u03c6 : X \u00d7 Y \u2192 R d and a parameter vector \u03b8 \u2208 R d . The probability of a derivation y given a problem x is defined as: \u03c6(x,y) y \u2208Y e \u03b8\u2022\u03c6(x,y )",
"cite_spans": [
{
"start": 359,
"end": 365,
"text": "\u03c6(x,y)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "p(y|x; \u03b8) = e \u03b8\u2022",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "Section 6 defines the full set of features used.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "The inference problem at test time requires us to find the most likely answer a given a problem",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "x, assuming the parameters \u03b8 are known:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "f (x) = arg max a p(a|x; \u03b8)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "Here, the probability of the answer is marginalized over template selection and alignment:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "EQUATION",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [
{
"start": 0,
"end": 8,
"text": "EQUATION",
"ref_id": "EQREF",
"raw_str": "p(a|x; \u03b8) = y\u2208Y s.t. AN(y)=a p(y|x; \u03b8)",
"eq_num": "(1)"
}
],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "where AN(y) extracts the answer a out of derivation y. In this way, the distribution over derivations y is modeled as a latent variable. We use a beam search inference procedure to approximately compute Equation 1, as described in Section 5.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Probabilistic Model",
"sec_num": "3.2"
},
{
"text": "To learn our model, we need to induce the structure of system templates in T and estimate the model parameters \u03b8.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Learning",
"sec_num": "4"
},
{
"text": "It is possible to generate system templates T when provided access to a set of n training examples",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Template Induction",
"sec_num": "4.1"
},
{
"text": "{(x i , E i ) : i = 1, . . . , n},",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Template Induction",
"sec_num": "4.1"
},
{
"text": "where x i is a word problem and E i is a set of equations. We generalize each E to a system template T by (a) replacing each variable with an unknown slot, and (b) replacing each number mentioned in the text with a number slot. Numbers not mentioned in the problem text remain in the template as constants. This allows us to solve problems that require numbers that are implied by the problem semantics rather than appearing directly in the text, such as the percent problem in Figure 4 .",
"cite_spans": [],
"ref_spans": [
{
"start": 478,
"end": 486,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "Template Induction",
"sec_num": "4.1"
},
{
"text": "For parameter estimation, we assume access to",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Parameter Estimation",
"sec_num": "4.2"
},
{
"text": "n training examples {(x i , V i ) : i = 1, . . . , n},",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Parameter Estimation",
"sec_num": "4.2"
},
{
"text": "each containing a word problem x i and a validation function V i . The validation function V : Y \u2192 {0, 1} maps a derivation y \u2208 Y to 1 if it is correct, or 0 otherwise. We can vary the validation function to learn from different types of supervision. In Section 8, we will use validation functions that check whether the derivation y has either (1) the correct system of equations E, or (2) the correct answer a. Also, using different types of validation functions on different subsets of the data enables semi-supervised learning. This approach is related to .",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Parameter Estimation",
"sec_num": "4.2"
},
{
"text": "A chemist has a solution that is 18 % alcohol and one that is 50 % alcohol. He wants to make 80 liters of a 30 % solution. How many liters of the 18 % solution should he add? How many liters of the 30 % solution should he add?",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Word problem",
"sec_num": null
},
{
"text": "18 \u00d7 0.01 \u00d7 x + 50 \u00d7 0.01 \u00d7 y = 30 \u00d7 0.01 \u00d7 80",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "x + y = 80",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "Induced template system",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "n1 \u00d7 0.01 \u00d7 u 1 1 + n2 \u00d7 0.01 \u00d7 u 1 2 = n3 \u00d7 0.01 \u00d7 n4 u 2 1 + u 2 2 = n5",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "Figure 4: During template induction, we automatically detect the numbers in the problem (highlighted above) to generalize the labeled equations to templates. Numbers not present in the text are considered part of the induced template.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "We estimate \u03b8 by maximizing the conditional log-likelihood of the data, marginalizing over all valid derivations:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "O = i y\u2208Y s.t. V i (y)=1 log p(y|x i ; \u03b8)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "We use L-BFGS (Nocedal and Wright, 2006) to optimize the parameters. The gradient of the individual parameter \u03b8 j is given by:",
"cite_spans": [
{
"start": 14,
"end": 40,
"text": "(Nocedal and Wright, 2006)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "EQUATION",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [
{
"start": 0,
"end": 8,
"text": "EQUATION",
"ref_id": "EQREF",
"raw_str": "\u2202O \u2202\u03b8 j = i E p(y|x i ,V i (y)=1;\u03b8) [\u03c6 j (x i , y)] \u2212 E p(y|x i ;\u03b8) [\u03c6 j (x i , y)]",
"eq_num": "(2)"
}
],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "Section 5 describes how we approximate the two terms of the gradient using beam search.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Labeled equations",
"sec_num": null
},
{
"text": "Computing the normalization constant for Equation 1 requires summing over all templates and all possible ways to instantiate them. This results in a search space exponential in the number of slots in the largest template in T , the set of available system templates. Therefore, we approximate this computation using beam search. We initialize the beam with all templates in T and iteratively align slots from the templates in the beam to words in the problem text. For each template, the next slot to be considered is selected according to a predefined canonicalized ordering for that template. After each iteration we prune the beam to keep the top-k partial derivations according to the model score. When pruning the beam, we allow at most l partial derivations for each template, to ensure that a small number of templates don't monopolize the beam. We continue this process until all templates in the beam are fully instantiated.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Inference",
"sec_num": "5"
},
{
"text": "During learning we compute the second term in the gradient (Equation 2) using our beam search approximation. Depending on the available validation function V (as defined in Section 4.2), we can also accurately prune the beam for the computation of the first half of the gradient. Specifically, when assuming access to labeled equations, we can constrain the search to consider only partial hypotheses that could possibly be completed to produce the labeled equations.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Inference",
"sec_num": "5"
},
{
"text": "Template Canonicalization There are many syntactically different but semantically equivalent ways to express a given system of equations. For example, the phrase \"John is 3 years older than Bill\" can be written as j = b + 3 or j \u2212 3 = b. To avoid such ambiguity, we canonicalize templates into a normal form representation. We perform this canonicalization by obtaining the symbolic solution for the unknown slots in terms of the number slots and constants using the mathematical solver Maxima (Maxima, 2014) .",
"cite_spans": [
{
"start": 494,
"end": 508,
"text": "(Maxima, 2014)",
"ref_id": "BIBREF24"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Model Details",
"sec_num": "6"
},
{
"text": "Slot Signature In a template like s 1 +s 2 = s 3 , the slot s 1 is distinct from the slot s 2 , but we would like them to share many of the features used in deciding their alignment. To facilitate this, we generate signatures for each slot and slot pair. The signature for a slot indicates the system of equations it appears in, the specific equation it is in, and the terms of the equation it is a part of. Pairwise slot signatures concatenate the signatures for the two slots as well as indicating which terms are shared. This allows, for example, n 2 and n 3 in Derivation 1 in Figure 2 to have the same signature, while the pairs n 2 , u 1 and n 3 , u 1 have different ones. To share features across templates, slot and slot-pair signatures are generated for both the full template, as well as for each of the constituent equations.",
"cite_spans": [],
"ref_spans": [
{
"start": 581,
"end": 589,
"text": "Figure 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "Model Details",
"sec_num": "6"
},
{
"text": "Features The features \u03c6(x, y) are computed for a derivation y and problem x and cover all deriva- tion decisions, including template and alignment selection. When required, we use standard tools to generate part-of-speech tags, lematizations, and dependency parses to compute features. 2 For each number word in y we also identify the closest noun in the dependency parse. For example, the noun for 278 in Derivation 1, Figure 2 would be \"people.\" The features are calculated based on these nouns, rather than the number words. We use four types of features: document level features, features that look at a single slot entry, features that look at pairs of slot entries, and features that look at the numeric solutions. Table 1 lists all the features used. Unless otherwise noted, when computing slot and slot pair features, a separate feature is generated for each of the signature types discussed earlier.",
"cite_spans": [],
"ref_spans": [
{
"start": 420,
"end": 428,
"text": "Figure 2",
"ref_id": null
},
{
"start": 721,
"end": 728,
"text": "Table 1",
"ref_id": "TABREF1"
}
],
"eq_spans": [],
"section": "Model Details",
"sec_num": "6"
},
{
"text": "Oftentimes the natural language in x will contain words or phrases which are indicative of a certain template, but are not associated with any of the words aligned to slots in the template. For example, the word \"chemist\" might indicate a template like the one seen in Figure 4 . We include features that connect each template with the unigrams and bigrams in the word problem. We also include an indicator feature for each system template, providing a bias for its use.",
"cite_spans": [],
"ref_spans": [
{
"start": 269,
"end": 277,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "Document level features",
"sec_num": null
},
{
"text": "Single Slot Features The natural language x always contains one or more questions or commands indicating the queried quantities. For example, the first problem in Figure 2 asks \"How many children were admitted on that day?\" The queried quantities, the number of children in this case, must be represented by an unknown in the system of equations. We generate a set of features which look at both the word overlap and the noun phrase overlap between slot words and the objects of a question or command sentence. We also compute a feature indicating whether a slot is filled from a word in a question sentence. Additionally, algebra problems frequently use phrases such as \"2 kinds of tickets\" (e.g., Figure 2 ). These numbers do not typically appear in the equations. To account for this, we add a single feature indicating whether a number is one or two. Lastly, many templates contain constants which are identifiable from words used in nearby slots. For example, in Figure 4 the constant 0.01 is related to the use of \"%\" in the text. To capture such usage, we include a set of lexicalized features which concatenate the word lemma with nearby constants in the equation. These features do not include the slot signature.",
"cite_spans": [],
"ref_spans": [
{
"start": 163,
"end": 171,
"text": "Figure 2",
"ref_id": null
},
{
"start": 699,
"end": 707,
"text": "Figure 2",
"ref_id": null
},
{
"start": 968,
"end": 976,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "Document level features",
"sec_num": null
},
{
"text": "The majority of features we compute account for relationships between slot words. This includes features that trigger for various equivalence relations between the words themselves, as well as features of the dependency path between them. We also include features that look at the numerical relationship of two numbers, where the numeric values of the unknowns are generated by solving the system of equations. This helps recognize that, for example, the total of a sum is typically larger than each of the (typically positive) summands.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Slot Pair Features",
"sec_num": null
},
{
"text": "Additionally, we also have a single feature looking at shared relationships between pairs of slots. For example, in Figure 2 the relationship between \"tickets for children\" and \"$1.50\" is \"cost\". Similarly the relationship between \"Adult tickets\" and \"$4\" is also \"cost\". Since the actual nature of this relationship is not important, this feature is not lexicalized, instead it is only triggered for the presence of equality. We consider two cases: subject- object relationships where the intervening verb is equal, and noun-to-preposition object relationships where the intervening preposition is equal.",
"cite_spans": [],
"ref_spans": [
{
"start": 116,
"end": 124,
"text": "Figure 2",
"ref_id": null
}
],
"eq_spans": [],
"section": "Slot Pair Features",
"sec_num": null
},
{
"text": "Solution Features By grounding our semantics in math, we are able to include features which look at the final answer, a, to learn which answers are reasonable for the algebra problems we typically see. For example, the solution to many, but not all, of the problems involves the size of some set of objects which must be both positive and integer.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Slot Pair Features",
"sec_num": null
},
{
"text": "Dataset We collected a new dataset of algebra word problems from Algebra.com, a crowdsourced tutoring website. The questions were posted by students for members of the community to respond with solutions. Therefore, the problems are highly varied, and are taken from real problems given to students. We heuristically filtered the data to get only linear algebra questions which did not require any explicit background knowledge. From these we randomly chose a set of 1024 questions. As the questions are posted to a web forum, the posts often contained additional comments which were not part of the word problems and the solutions are embedded in long freeform natural language descriptions. To clean the data we asked Amazon Mechanical Turk workers to extract from the text: the algebra word problem itself, the solution equations, and the numeric answer. We manually verified both the equations and the numbers to ensure they were correct. To ensure each problem type is seen at least a few times in the training data, we removed the infrequent problem types. Specifically, we induced the system template from each equation system, as described in Section 4.1, and removed all problems for which the associated system template appeared less than 6 times in the dataset. This left us with 514 problems. Table 2 provides the data statistics.",
"cite_spans": [],
"ref_spans": [
{
"start": 1305,
"end": 1312,
"text": "Table 2",
"ref_id": "TABREF3"
}
],
"eq_spans": [],
"section": "Experimental Setup",
"sec_num": "7"
},
{
"text": "We consider both semisupervised and supervised learning. In the semisupervised scenario, we assume access to the numerical answers of all problems in the training corpus and to a small number of problems paired with full equation systems. To select which problems to annotate with equations, we identified the five most common types of questions in the data and annotated a randomly sampled question of each type. 5EQ+ANS uses this form of weak supervision. To show the benefit of using the weakly supervised data, we also provide results for a baseline scenario 5EQ, where the training data includes only the five seed questions annotated with equation systems. In the fully supervised scenario ALLEQ, we assume access to full equation systems for the entire training set.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Forms of Supervision",
"sec_num": null
},
{
"text": "We run all our experiments using 5-fold cross-validation. Since our model generates a solution for every problem, we report only accuracy. We report two metrics: equation accuracy to measure how often the system generates the correct equation system, and answer accuracy to evaluate how often the generated numerical answer is correct. When comparing equations, we avoid spurious differences by canonicalizing the equation system, as described in Section 6. To compare answer tuples we disregard the ordering and require each number appearing in the reference answer to appear in the generated answer.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Evaluation Protocol",
"sec_num": null
},
{
"text": "Parameters and Solver In our experiments we set k in our beam search algorithm (Section 5) to 200, and l to 20. We run the L-BFGS computation for 50 iterations. We regularize our learning objective using the L 2 -norm and a \u03bb value of 0.1. The set of mathematical relations supported by our implementation is {+, \u2212, \u00d7, /}.Our implementation uses the Gaussian Elimination function in the Efficient Java Matrix Library (EJML) (Abeles, 2014) to generate answers given a set of equations. results in performance which is almost 70% of ALLEQ, demonstrating the value of weakly supervised data. In contrast, 5EQ, which cannot use this weak supervision, performs much worse.",
"cite_spans": [
{
"start": 424,
"end": 438,
"text": "(Abeles, 2014)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Evaluation Protocol",
"sec_num": null
},
{
"text": "To better understand the results, we also measured equation accuracy as a function of the frequency of each equation template in the data set. Table 4 reports results for ALLEQ after grouping the problems into four different frequency bins. We can see that the system correctly answers more than 85% of the question types which occur frequently while still achieving more than 50% accuracy on those that occur relatively infrequently. We do not include template frequency results for 5EQ+ANS since in this setup our system is given only the top five most common templates. This limited set of templates covers only those questions in the > 20 bin, or about 52% of the data. However, on this subset 5EQ+ANS performs very well, answering 88% of them correctly, which is approximately the same as the 86% achieved by ALLEQ. Thus while the weak supervision is not helpful in generating the space of possible equations, it is very helpful in learning to generate the correct answer when given an appropriate space of equations. Table 5 : Cross-validation accuracy results with different feature groups ablated for ALLEQ. Results are for answer accuracy which is 68.7% without any features ablated.",
"cite_spans": [],
"ref_spans": [
{
"start": 143,
"end": 150,
"text": "Table 4",
"ref_id": "TABREF5"
},
{
"start": 1023,
"end": 1030,
"text": "Table 5",
"ref_id": "TABREF6"
}
],
"eq_spans": [],
"section": "Performance and Template Frequency",
"sec_num": "8.2"
},
{
"text": "performance when two groups of features are ablated together. We can see that all of the features contribute to the overall performance, and that the pair features are the most important followed by the document and solution features. We also see that the pair features can compensate for the absence of other features. For example, the performance drops only slightly when either the document or solution features are removed in isolation. However, the drop is much more dramatic when they are removed along with the pair features.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Ablation Analysis",
"sec_num": "8.3"
},
{
"text": "We examined our system output on one fold of ALLEQ and identified two main classes of errors. The first, accounting for approximately onequarter of the cases, includes mistakes where more background or world knowledge might have helped. For example, Problem 1 in Figure 5 requires understanding the relation between the dimensions of a painting, and how this relation is maintained when the painting is printed, and Problem 2 relies on understanding concepts of commerce, including cost, sale price, and profit. While these relationships could be learned in our model with enough data, as it does for percentage problems (e.g., Figure 4 ), various outside resources, such as knowledge bases (e.g. Freebase) or distributional statistics from a large text corpus, might help us learn them with less training data.",
"cite_spans": [],
"ref_spans": [
{
"start": 263,
"end": 271,
"text": "Figure 5",
"ref_id": null
},
{
"start": 628,
"end": 636,
"text": "Figure 4",
"ref_id": null
}
],
"eq_spans": [],
"section": "Qualitative Error Analysis",
"sec_num": "8.4"
},
{
"text": "The second category, which accounts for about half of the errors, includes mistakes that stem from compositional language. For example, the second sentence in Problem 3 in Figure 5 could generate the equation 2x \u2212 y = 5, with the phrase \"twice of one of them\" generating the expression 2x. Given the typical shallow nesting, it's possible to learn templates for these cases given enough data, and in the future it might also be possible to develop new, cross-sentence semantic parsers to enable better generalization from smaller datasets.",
"cite_spans": [],
"ref_spans": [
{
"start": 172,
"end": 180,
"text": "Figure 5",
"ref_id": null
}
],
"eq_spans": [],
"section": "Qualitative Error Analysis",
"sec_num": "8.4"
},
{
"text": "( 1)A painting is 10 inches tall and 15 inches wide. A print of the painting is 25 inches tall, how wide is the print in inches?",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Qualitative Error Analysis",
"sec_num": "8.4"
},
{
"text": "(2) A textbook costs a bookstore 44 dollars, and the store sells it for 55 dollars. Find the amount of profit based on the selling price.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Qualitative Error Analysis",
"sec_num": "8.4"
},
{
"text": "( 3)The sum of two numbers is 85. The difference of twice of one of them and the other one is 5. Find both numbers. 4The difference between two numbers is 6. If you double both numbers, the sum is 36. Find the two numbers. Figure 5 : Examples of problems our system does not solve correctly.",
"cite_spans": [],
"ref_spans": [
{
"start": 223,
"end": 231,
"text": "Figure 5",
"ref_id": null
}
],
"eq_spans": [],
"section": "Qualitative Error Analysis",
"sec_num": "8.4"
},
{
"text": "We presented an approach for automatically learning to solve algebra word problems. Our algorithm constructs systems of equations, while aligning their variables and numbers to the problem text. Using a newly gathered corpus we measured the effects of various forms of weak supervision on performance. To the best of our knowledge, we present the first learning result for this task.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "9"
},
{
"text": "There are still many opportunities to improve the reported results, and extend the approach to related domains. We would like to develop techniques to learn compositional models of meaning for generating new equations. Furthermore, the general representation of mathematics lends itself to many different domains including geometry, physics, and chemistry. Eventually, we hope to extend the techniques to synthesize even more complex structures, such as computer programs, from natural language.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "9"
},
{
"text": "The code and data for this work are available at http://groups.csail.mit.edu/rbg/code/ wordprobs/.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
},
{
"text": "In our experiments these are generated using the Stanford parser(de Marneffe et al., 2006)",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
}
],
"back_matter": [
{
"text": "The authors acknowledge the support of Battelle Memorial Institute (PO#300662) and NSF (grant IIS-0835652). We thank Nicholas FitzGerald, the MIT NLP group, the UW NLP group and the ACL reviewers for their suggestions and comments. Any opinions, findings, conclusions, or recommendations expressed in this paper are those of the authors, and do not necessarily reflect the views of the funding organizations.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Acknowledgments",
"sec_num": null
}
],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "Efficient java matrix library",
"authors": [
{
"first": "Peter",
"middle": [],
"last": "Abeles",
"suffix": ""
}
],
"year": 2014,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Peter Abeles. 2014. Efficient java matrix library. https://code.google.com/p/efficient -java-matrix-library/.",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "Bootstrapping semantic parsers from conversations",
"authors": [
{
"first": "Yoav",
"middle": [],
"last": "Artzi",
"suffix": ""
},
{
"first": "Luke",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
}
],
"year": 2011,
"venue": "Proceedings of the Conference on Empirical Methods in Natural Language Processing",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Yoav Artzi and Luke Zettlemoyer. 2011. Bootstrap- ping semantic parsers from conversations. In Pro- ceedings of the Conference on Empirical Methods in Natural Language Processing.",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "Weakly supervised learning of semantic parsers for mapping instructions to actions",
"authors": [
{
"first": "Yoav",
"middle": [],
"last": "Artzi",
"suffix": ""
},
{
"first": "Luke",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
}
],
"year": 2013,
"venue": "Transactions of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Yoav Artzi and Luke Zettlemoyer. 2013. Weakly su- pervised learning of semantic parsers for mapping instructions to actions. Transactions of the Associa- tion for Computational Linguistics.",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "Semantic parsing on freebase from question-answer pairs",
"authors": [
{
"first": "Jonathan",
"middle": [],
"last": "Berant",
"suffix": ""
},
{
"first": "Andrew",
"middle": [],
"last": "Chou",
"suffix": ""
},
{
"first": "Roy",
"middle": [],
"last": "Frostig",
"suffix": ""
},
{
"first": "Percy",
"middle": [],
"last": "Liang",
"suffix": ""
}
],
"year": 2013,
"venue": "Proceedings of the Conference on Empirical Methods in Natural Language Processing",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. 2013. Semantic parsing on freebase from question-answer pairs. In Proceedings of the Con- ference on Empirical Methods in Natural Language Processing.",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "Reinforcement learning for mapping instructions to actions",
"authors": [
{
"first": "S",
"middle": [
"R"
],
"last": "Branavan",
"suffix": ""
},
{
"first": "Harr",
"middle": [],
"last": "Chen",
"suffix": ""
},
{
"first": "Luke",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
},
{
"first": "Regina",
"middle": [],
"last": "Barzilay",
"suffix": ""
}
],
"year": 2009,
"venue": "Proceedings of the Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "S.R.K Branavan, Harr Chen, Luke Zettlemoyer, and Regina Barzilay. 2009. Reinforcement learning for mapping instructions to actions. In Proceedings of the Annual Meeting of the Association for Computa- tional Linguistics.",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Reading between the lines: Learning to map high-level instructions to commands",
"authors": [
{
"first": "S",
"middle": [
"R"
],
"last": "Branavan",
"suffix": ""
},
{
"first": "Luke",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
},
{
"first": "Regina",
"middle": [],
"last": "Barzilay",
"suffix": ""
}
],
"year": 2010,
"venue": "Proceedings of the Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "S.R.K Branavan, Luke Zettlemoyer, and Regina Barzi- lay. 2010. Reading between the lines: Learning to map high-level instructions to commands. In Pro- ceedings of the Annual Meeting of the Association for Computational Linguistics.",
"links": null
},
"BIBREF6": {
"ref_id": "b6",
"title": "Largescale semantic parsing via schema matching and lexicon extension",
"authors": [
{
"first": "Qingqing",
"middle": [],
"last": "Cai",
"suffix": ""
},
{
"first": "Alexander",
"middle": [],
"last": "Yates",
"suffix": ""
}
],
"year": 2013,
"venue": "Proceedings of the Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Qingqing Cai and Alexander Yates. 2013a. Large- scale semantic parsing via schema matching and lex- icon extension. In Proceedings of the Annual Meet- ing of the Association for Computational Linguis- tics.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Semantic parsing freebase: Towards open-domain semantic parsing",
"authors": [
{
"first": "Qingqing",
"middle": [],
"last": "Cai",
"suffix": ""
},
{
"first": "Alexander",
"middle": [],
"last": "Yates",
"suffix": ""
}
],
"year": 2013,
"venue": "Proceedings of the Joint Conference on Lexical and Computational Semantics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Qingqing Cai and Alexander Yates. 2013b. Seman- tic parsing freebase: Towards open-domain seman- tic parsing. In Proceedings of the Joint Conference on Lexical and Computational Semantics.",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "Template-based information extraction without the templates",
"authors": [],
"year": null,
"venue": "Proceedings of the Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Template-based information extraction without the templates. In Proceedings of the Annual Meeting of the Association for Computational Linguistics.",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "Learning to interpret natural language navigation instructions from observations",
"authors": [
{
"first": "David",
"middle": [],
"last": "Chen",
"suffix": ""
},
{
"first": "Raymond",
"middle": [],
"last": "Mooney",
"suffix": ""
}
],
"year": 2011,
"venue": "Proceedings of the Conference on Artificial Intelligence",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "David Chen and Raymond Mooney. 2011. Learning to interpret natural language navigation instructions from observations. In Proceedings of the Confer- ence on Artificial Intelligence.",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "Fast online lexicon learning for grounded language acquisition",
"authors": [
{
"first": "David",
"middle": [],
"last": "Chen",
"suffix": ""
}
],
"year": 2012,
"venue": "Proceedings of the Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "David Chen. 2012. Fast online lexicon learning for grounded language acquisition. In Proceedings of the Annual Meeting of the Association for Computa- tional Linguistics.",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "Driving semantic parsing from the world's response",
"authors": [
{
"first": "James",
"middle": [],
"last": "Clarke",
"suffix": ""
},
{
"first": "Dan",
"middle": [],
"last": "Goldwasser",
"suffix": ""
},
{
"first": "Ming-Wei",
"middle": [],
"last": "Chang",
"suffix": ""
},
{
"first": "Dan",
"middle": [
"Roth"
],
"last": "",
"suffix": ""
}
],
"year": 2010,
"venue": "Proceedings of the Conference on Computational Natural Language Learning. Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "James Clarke, Dan Goldwasser, Ming-Wei Chang, and Dan Roth. 2010. Driving semantic parsing from the world's response. In Proceedings of the Conference on Computational Natural Language Learning. As- sociation for Computational Linguistics.",
"links": null
},
"BIBREF13": {
"ref_id": "b13",
"title": "Generating typed dependency parses from phrase structure parses",
"authors": [
{
"first": "Marie-Catherine",
"middle": [],
"last": "De Marneffe",
"suffix": ""
},
{
"first": "Bill",
"middle": [],
"last": "Maccartney",
"suffix": ""
},
{
"first": "Christopher",
"middle": [],
"last": "Manning",
"suffix": ""
}
],
"year": 2006,
"venue": "Proceedings of the Conference on Language Resources and Evaluation",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Marie-Catherine de Marneffe, Bill MacCartney, and Christopher Manning. 2006. Generating typed de- pendency parses from phrase structure parses. In Proceedings of the Conference on Language Re- sources and Evaluation.",
"links": null
},
"BIBREF14": {
"ref_id": "b14",
"title": "NYUs English ACE 2005 System Description",
"authors": [
{
"first": "Ralph",
"middle": [],
"last": "Grishman",
"suffix": ""
},
{
"first": "David",
"middle": [],
"last": "Westbrook",
"suffix": ""
},
{
"first": "Adam",
"middle": [],
"last": "Meyers",
"suffix": ""
}
],
"year": 2005,
"venue": "Proceedings of the Automatic Content Extraction Evaluation Workshop",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Ralph Grishman, David Westbrook, and Adam Mey- ers. 2005. NYUs English ACE 2005 System De- scription. In Proceedings of the Automatic Content Extraction Evaluation Workshop.",
"links": null
},
"BIBREF15": {
"ref_id": "b15",
"title": "Refining event extraction through cross-document inference",
"authors": [
{
"first": "Heng",
"middle": [],
"last": "Ji",
"suffix": ""
},
{
"first": "Ralph",
"middle": [],
"last": "Grishman",
"suffix": ""
}
],
"year": 2008,
"venue": "Proceedings of the Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Heng Ji and Ralph Grishman. 2008. Refining event ex- traction through cross-document inference. In Pro- ceedings of the Annual Meeting of the Association for Computational Linguistics.",
"links": null
},
"BIBREF16": {
"ref_id": "b16",
"title": "Unsupervised pcfg induction for grounded language learning with highly ambiguous supervision",
"authors": [
{
"first": "Joohyun",
"middle": [],
"last": "Kim",
"suffix": ""
},
{
"first": "Raymond",
"middle": [],
"last": "Mooney",
"suffix": ""
}
],
"year": 2012,
"venue": "Proceedings of the Conference on Empirical Methods in Natural Language Processing",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Joohyun Kim and Raymond Mooney. 2012. Unsuper- vised pcfg induction for grounded language learning with highly ambiguous supervision. In Proceedings of the Conference on Empirical Methods in Natural Language Processing.",
"links": null
},
"BIBREF17": {
"ref_id": "b17",
"title": "Using semantic unification to generate regular expressions from natural language",
"authors": [
{
"first": "Nate",
"middle": [],
"last": "Kushman",
"suffix": ""
},
{
"first": "Regina",
"middle": [],
"last": "Barzilay",
"suffix": ""
}
],
"year": 2013,
"venue": "Proceeding of the Annual Meeting of the North American Chapter of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Nate Kushman and Regina Barzilay. 2013. Using se- mantic unification to generate regular expressions from natural language. In Proceeding of the Annual Meeting of the North American Chapter of the Asso- ciation for Computational Linguistics.",
"links": null
},
"BIBREF18": {
"ref_id": "b18",
"title": "Inducing probabilistic ccg grammars from logical form with higherorder unification",
"authors": [
{
"first": "Tom",
"middle": [],
"last": "Kwiatkowski",
"suffix": ""
},
{
"first": "Luke",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
},
{
"first": "Sharon",
"middle": [],
"last": "Goldwater",
"suffix": ""
},
{
"first": "Mark",
"middle": [],
"last": "Steedman",
"suffix": ""
}
],
"year": 2010,
"venue": "Proceedings of the Conference on Empirical Methods on Natural Language Processing",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Tom Kwiatkowski, Luke Zettlemoyer, Sharon Goldwa- ter, and Mark Steedman. 2010. Inducing proba- bilistic ccg grammars from logical form with higher- order unification. In Proceedings of the Conference on Empirical Methods on Natural Language Pro- cessing.",
"links": null
},
"BIBREF19": {
"ref_id": "b19",
"title": "Scaling semantic parsers with on-the-fly ontology matching",
"authors": [
{
"first": "Tom",
"middle": [],
"last": "Kwiatkowski",
"suffix": ""
},
{
"first": "Eunsol",
"middle": [],
"last": "Choi",
"suffix": ""
},
{
"first": "Yoav",
"middle": [],
"last": "Artzi",
"suffix": ""
},
{
"first": "Luke",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
}
],
"year": 2013,
"venue": "Proceedings of Empirical Methods in Natural Language Processing",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Tom Kwiatkowski, Eunsol Choi, Yoav Artzi, and Luke Zettlemoyer. 2013. Scaling semantic parsers with on-the-fly ontology matching. In Proceedings of Empirical Methods in Natural Language Process- ing.",
"links": null
},
"BIBREF20": {
"ref_id": "b20",
"title": "From natural language specifications to program input parsers",
"authors": [
{
"first": "Tao",
"middle": [],
"last": "Lei",
"suffix": ""
},
{
"first": "Fan",
"middle": [],
"last": "Long",
"suffix": ""
},
{
"first": "Regina",
"middle": [],
"last": "Barzilay",
"suffix": ""
},
{
"first": "Martin",
"middle": [],
"last": "Rinard",
"suffix": ""
}
],
"year": 2013,
"venue": "Proceeding of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Tao Lei, Fan Long, Regina Barzilay, and Martin Ri- nard. 2013. From natural language specifications to program input parsers. In Proceeding of the Associ- ation for Computational Linguistics.",
"links": null
},
"BIBREF21": {
"ref_id": "b21",
"title": "Solving logic puzzles: From robust processing to precise semantics",
"authors": [
{
"first": "Iddo",
"middle": [],
"last": "Lev",
"suffix": ""
},
{
"first": "Bill",
"middle": [],
"last": "Maccartney",
"suffix": ""
},
{
"first": "Christopher",
"middle": [],
"last": "Manning",
"suffix": ""
},
{
"first": "Roger",
"middle": [],
"last": "Levy",
"suffix": ""
}
],
"year": 2004,
"venue": "Proceedings of the Workshop on Text Meaning and Interpretation",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Iddo Lev, Bill MacCartney, Christopher Manning, and Roger Levy. 2004. Solving logic puzzles: From robust processing to precise semantics. In Proceed- ings of the Workshop on Text Meaning and Interpre- tation. Association for Computational Linguistics.",
"links": null
},
"BIBREF22": {
"ref_id": "b22",
"title": "A multi-resolution framework for information extraction from free text",
"authors": [
{
"first": "Mstislav",
"middle": [],
"last": "Maslennikov",
"suffix": ""
},
{
"first": "Tat-Seng",
"middle": [],
"last": "Chua",
"suffix": ""
}
],
"year": 2007,
"venue": "Proceedings of the Annual Meeting of the Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Mstislav Maslennikov and Tat-Seng Chua. 2007. A multi-resolution framework for information extrac- tion from free text. In Proceedings of the Annual Meeting of the Association for Computational Lin- guistics.",
"links": null
},
"BIBREF23": {
"ref_id": "b23",
"title": "A joint model of language and perception for grounded attribute learning",
"authors": [
{
"first": "Cynthia",
"middle": [],
"last": "Matuszek",
"suffix": ""
},
{
"first": "Nicholas",
"middle": [],
"last": "Fitzgerald",
"suffix": ""
},
{
"first": "Luke",
"middle": [],
"last": "Zettlemoyer",
"suffix": ""
},
{
"first": "Liefeng",
"middle": [],
"last": "Bo",
"suffix": ""
},
{
"first": "Dieter",
"middle": [],
"last": "Fox",
"suffix": ""
}
],
"year": 2012,
"venue": "Proceedings of the International Conference on Machine Learning",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Cynthia Matuszek, Nicholas FitzGerald, Luke Zettle- moyer, Liefeng Bo, and Dieter Fox. 2012. A joint model of language and perception for grounded at- tribute learning. In Proceedings of the International Conference on Machine Learning.",
"links": null
},
"BIBREF24": {
"ref_id": "b24",
"title": "Maxima, a computer algebra system",
"authors": [
{
"first": "",
"middle": [],
"last": "Maxima",
"suffix": ""
}
],
"year": 2014,
"venue": "",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Maxima. 2014. Maxima, a computer algebra system. version 5.32.1.",
"links": null
}
},
"ref_entries": {
"FIGREF0": {
"type_str": "figure",
"text": "The first example problem and selected system template fromFigure 2with all potential aligned words marked. Nouns (boldfaced) may be aligned to unknown slot instances u j i , and number words (highlighted) may be aligned to number slots n i .",
"uris": null,
"num": null
},
"TABREF1": {
"num": null,
"content": "
",
"html": null,
"type_str": "table",
"text": "The features divided into categories."
},
"TABREF3": {
"num": null,
"content": "",
"html": null,
"type_str": "table",
"text": "Dataset statistics."
},
"TABREF4": {
"num": null,
"content": "summarizes the results. As expected, hav- |
ing access to the full system of equations (ALLEQ) |
at training time results in the best learned model, |
with nearly 69% accuracy. However, training |
from primarily answer annotations (5EQ+ANS) |
",
"html": null,
"type_str": "table",
"text": ""
},
"TABREF5": {
"num": null,
"content": "",
"html": null,
"type_str": "table",
"text": "Performance on different template frequencies for ALLEQ."
},
"TABREF6": {
"num": null,
"content": "shows ablation results for each group of |
features. The results along the diagonal show the |
performance when a single group of features is |
ablated, while the off-diagonal numbers show the |
",
"html": null,
"type_str": "table",
"text": ""
}
}
}
}