Semantically-Aligned Universal Tree-Structured Solver for Math Word Problems
Paper · 2020 · Jinghui Qin, Lihui Lin, Xiaodan Liang et al.
Summary
Solving a mathematical story requires more than finding numbers and performing arithmetic. The same quantities can support different calculations depending on what they describe, how they are related, and what the question asks. The challenge grows when the answer must be obtained from several equations or from a nonlinear relationship. “Semantically-Aligned Universal Tree-Structured Solver for Math Word Problems” addresses this translation from verbal relationships to mathematical structure. Its proposal, SAU-Solver, constructs equations as a tree while using information about the mathematical branches it has already completed.
The foundation is an extended expression-tree representation called the Universal Expression Tree, or UET. Ordinary expression trees organize operations and their arguments. The authors add a semicolon operator that sits below other operators in precedence and brings separate equations into a shared structure. Variables remain visible within that structure. Consequently, the generation procedure can construct a relationship involving an unknown, a nonlinear equation, or a connected collection of equations without switching to an completely different output format. This concerns a common representation for the equation families studied; it does not make their mathematical difficulties disappear.
SAU-Solver reads the problem with a bidirectional recurrent encoder and develops the output through a tree decoder. Construction proceeds downward from a root, but mathematical information also moves upward: when a branch is finished, the decoder combines its contents into a representation that can influence subsequent choices. A completed left branch is therefore available when the corresponding right branch is developed. Numerical choices are tied to the current problem through contextual representations of its quantities. Operators, unknowns, and designated background constants supply the remaining output vocabulary. During training, an additional objective encourages the representation of each mathematical subtree to agree with information retrieved from the problem text.
The experiments use 5-fold cross-validation across HMWP, ALG514, Math23K, and Dolphin18K-Manual. The authors report higher answer accuracy than their comparison systems and positive contributions from the added subtree-alignment objective. Its reported absolute improvements are 0.43% for HMWP, 1.95% for ALG514, 0.31% for Math23K, and 0.39% for Dolphin18K-Manual. The paper also introduces HMWP, a Chinese collection containing 5491 problems across linear, nonlinear, and equation-system categories. Both the implementation and HMWP are announced as released. The central qualification appears in the error analysis: larger trees remain harder to predict. The results support a wider equation-generation interface and a useful training constraint, while leaving substantial room for better interpretation and mathematical reasoning.
Interesting ideas
Extend a representation where its units already connect. UET accommodates equation collections by introducing a joining operation around existing mathematical trees. This is useful whenever related tasks differ in how complete components are assembled. In semantic parsing, a comparable design can keep individual constraints recognizable while allowing a larger statement to contain several of them. The benefit comes from reusing a compositional interface instead of introducing a separate generation procedure for every output arrangement.
Carry the meaning of finished work forward. A generated branch contains more information than its final symbol. SAU-Solver compresses that branch into a representation used by later decisions. The broader principle applies to structured planning and mathematical construction: once a partial result exists, subsequent work should consult its content. This can reduce the burden of reconstructing relevant information from an undifferentiated history of earlier choices.
Make admissible outputs depend on available evidence. The numerical vocabulary changes with the problem, and a quantity’s representation comes from its textual location. This connects choice to context before the final answer is produced. Similar restrictions can help information extraction and document-based answering, where selecting an item absent from the current evidence can spoil an otherwise plausible result. The restriction still needs semantic checks because an available item can occupy the wrong role.
Apply consistency pressure at meaningful internal boundaries. A mathematical subtree has a recognizable computational purpose, making it a useful place to compare generated content with input evidence. The paper adds such comparisons during training instead of relying exclusively on the completed equation. Other structured tasks can use analogous boundaries around a clause, relation, or intermediate inference. Local checks may expose a mismatch that becomes difficult to locate after many decisions have accumulated.
Match benchmark coverage to representational claims. A solver that accepts several equation forms should be examined on examples requiring those forms. HMWP makes that requirement concrete by including different mathematical categories, while the analyses inspect category and tree size separately. For evaluation, the transferable lesson is to describe coverage through the structures a system must actually produce, alongside its overall score.
Inspect the route to an answer as well as its value. Final-answer accuracy measures an important outcome, but it cannot describe every defect in a derivation. The paper’s examples examine invented quantities, malformed expressions, unnecessary operations, and inappropriate repetition. Such diagnostics help distinguish failures requiring better syntax control from failures requiring better interpretation. They are especially useful when an output must serve as an explanation as well as a calculation.
Separate a training addition from the surrounding architecture. Comparing SAU-Solver with and without its alignment term gives more direct evidence about that term than comparing unrelated systems alone. This experimental pattern generalizes to rules, ranking features, and intermediate validators. Keep the surrounding procedure stable, evaluate the changed condition on comparable items, and distinguish the measured benefit from the proposed explanation for that benefit.
Deep dive: Semantically-Aligned Universal Tree-Structured Solver for Math Word Problems
How SAU-Solver handles math word problems with a shared equation tree, contextual quantity choices, and subtree-to-text alignment. · about 38 minutes to read
How Mova uses it
Mova is a compact Rust system whose native language path builds dependency structures, interprets frames, and maintains contextual state. Its mathematical machinery includes symbolic expressions, exact quantities, units, decomposition, and reasons for computational steps. These provide useful starting points for adapting the paper’s ideas. They do not establish an implementation of SAU-Solver or its neural alignment objective.
The following classifications concern proposed connections to documented Mova mechanisms. “Already present” identifies a related mechanism at its stated scope; it does not claim that the paper caused its development. “New” identifies a proposed extension whose novelty would require checking beyond the available architectural account. No transfer below inherits the paper’s experimental gains.
Idea: Introduce an explicit container for connected equations. Where: “Universal Expression Tree (UET).” Area: mathematical representation. Mova: частково є (math has symbolic expressions; math::steps and deduct organize mathematical work). A typed equation-group node could preserve each equation as an inspectable child while giving the collection a shared interface. UET motivates this arrangement, but Mova’s documented expression support does not establish equivalent equation-system generation. Why Mova: related constraints could enter common inspection and explanation routines without losing their individual identities.
Idea: Give equation joining a separate execution contract. Where: “Universal Expression Tree (UET).” Area: mathematical interfaces. Mova: нове. A proposed joining node should declare that it collects constraints rather than computes an ordinary numerical result. Its traversal, accepted children, and downstream solving requirements would need explicit definitions. This classification remains provisional because the architectural account is incomplete. Why Mova: a declared contract would prevent a representational extension from silently promising mathematical solving capabilities that have not been implemented.
Idea: Preserve variables as grounded mathematical objects. Where: Introduction and “SAU-Solver.” Area: semantic representation. Mova: частково є (math supports symbolic expressions, and math::qworld represents problem quantities). An unknown could carry the entity, property, and question role that justify its introduction. The paper makes unknowns explicit in the generated language; the proposed Mova adaptation would add an inspectable connection to the verbal request. Why Mova: the system could check whether the solved variable actually denotes the quantity being asked about.
Idea: Supply completed-branch information to the next branch. Where: “Equation Decoder.” Area: reasoning state. Mova: частково є (math::steps, deduct, and the quantitative world retain intermediate information). A symbolic adaptation could pass a branch’s quantity type, unit, participants, and reason into the construction of its sibling. The paper uses learned representations, so this alternative requires its own evaluation. Why Mova: a completed calculation could eliminate incompatible continuations before an entire candidate equation is assembled.
Idea: Summarize computations compositionally. Where: “Subtree Semantic Transformation.” Area: mathematical explanation. Mova: частково є (math provides expression structure and justified steps). Each completed operation could produce a deterministic summary combining its operator and operand summaries. The summary would remain linked to its descendants rather than replacing their evidence. Why Mova: later reasoning and concise explanations could reuse the same mathematical content without repeatedly reconstructing it from every leaf.
Idea: Restrict operand introduction to licensed sources. Where: “Token Embedding.” Area: grounding and validation. Mova: частково є (math::qread interprets textual quantities through owners, objects, actions, and rates). A candidate builder could accept operands only from identified problem quantities or explicitly admitted knowledge. The existing reader supplies related structure, but an equivalent admission rule is not established. Why Mova: unsupported quantities could be rejected at introduction, where their origin is easiest to inspect.
Idea: Keep quantity mentions distinct even when values coincide. Where: “Token Embedding.” Area: provenance. Mova: частково є (math::qread retains contextual quantity roles). The paper obtains numerical representations from input locations. Mova could attach a stable mention identity and source span to each quantity while storing its exact value separately. Current coverage of such identities is unknown. Why Mova: equal values belonging to different people or events should remain distinguishable during interpretation.
Idea: Record where background constants come from. Where: “Token Embedding.” Area: knowledge representation. Mova: частково є (global contains compiled knowledge and measures; math handles units). A constant absent from the problem could name the knowledge item that licenses it and the conditions under which it applies. The paper permits background constants but does not test this provenance requirement. Why Mova: explanations could show which quantities were read and which were supplied by prior knowledge.
Idea: Associate computational subtrees with textual support. Where: “Semantically-Aligned Regularization.” Area: semantic validation. Mova: частково є (prag creates frames, math::qread interprets quantities, and math::steps records reasons). Mova could check whether a subtree’s participants and operation match the frames cited as evidence. This would be a logical counterpart to alignment, not an implementation of the paper’s distance objective. Why Mova: a locally executable expression could still be identified as unsupported by the story.
Idea: Report missing support at the smallest useful step. Where: “Semantically-Aligned Regularization,” as a transfer from its subtree focus. Area: diagnosis. Mova: вже є (docs/architecture.md describes missing-link gaps and “teach me why” reports). Applying those reports consistently at expression boundaries could distinguish absent linguistic evidence from absent mathematical knowledge. Why Mova: a localized gap can guide reviewed repair more precisely than a wrong-answer report covering the entire problem.
Idea: Separate mathematical grammar from story fidelity. Where: “Case Study.” Area: validation. Mova: частково є (math has typed expressions, and groupants declare checks). Candidate reports could distinguish a legal operator-and-operand structure from a structure whose roles are supported by the text. The paper demonstrates why tree construction helps the former without guaranteeing the latter. Why Mova: each failed condition could lead to the appropriate correction instead of being hidden within one validity label.
Idea: Define completion through outstanding structural obligations. Where: “Equation Decoder.” Area: bounded construction. Mova: частково є (typed mathematical structures and explicitly bounded operational interfaces). A proposed builder could finish when every required operand position has been filled and reject a candidate with remaining obligations. This parallels the decoder’s structural termination without requiring its recurrent implementation. Why Mova: completion would have an inspectable reason rather than depending on an unconstrained stopping decision.
Idea: Store unfinished goals separately from completed results. Where: “Equation Decoder,” in its discussion of G and T. Area: software architecture. Mova: частково є (deduct supports decomposition, and worker interfaces preserve task outcomes). Separate typed stores could represent pending mathematical obligations and admitted intermediate evidence. The useful transfer is the distinction between their roles, not a requirement to reproduce the same stacks. Why Mova: interrupted construction would be easier to diagnose and resume without confusing an intended result with an achieved one.
Idea: Share constraints across equation boundaries. Where: “Universal Expression Tree (UET)” and “Answer Accuracy.” Area: equation-system reasoning. Mova: нове. A proposed equation-group interface could carry shared variable identities and accepted constraints from a completed equation into subsequent construction. Any transfer would require explicit consistency checks instead of treating a stored statement as automatically trustworthy. Why Mova: connected equations should inform one another through declared relationships rather than being handled as unrelated strings.
Idea: Preserve the boundary between interpretation and calculation. Where: “SAU-Solver,” in its description of equation rendering and SymPy. Area: mathematical execution. Mova: вже є (the quantity-reading path and exact facilities in math). Mova can keep evidence for the interpretation stage separate from receipts for exact computation. The paper offers a compatible division of responsibility. Why Mova: a correctly executed calculation would not conceal that the wrong relationship was inferred from the words.
Idea: Stratify evaluation by required equation family. Where: “Hybrid Math Word Problem Dataset” and “Performance on different types of MWPs.” Area: evaluation. Mova: частково є (distinct students and reproducible benchmark procedures are documented). A mathematical test inventory could identify which structures each item requires and which are currently supported. Equivalent coverage is unknown. Why Mova: aggregate performance could no longer obscure a gap in a claimed mathematical category.
Idea: Measure failure against expression size. Where: “Error Analysis.” Area: evaluation and complexity. Mova: нове. Mathematical reports could group the same frozen questions by target-tree size and compare them with the size of generated candidates. The paper’s trend would remain a hypothesis for Mova until measured. Why Mova: the analysis could locate where additional composition makes otherwise useful rules unreliable.
Idea: Prepare teaching examples for difficult combinations. Where: “Error Analysis.” Area: training-data design. Mova: частково є (tools/enrich stages reviewed teaching material through separate admission). When evaluation exposes a missing composition, new lessons could exercise that relationship without importing assessment items. The paper’s cross-dataset observation motivates the proposal but does not prove its effect. Why Mova: teaching can target demonstrated structural gaps rather than merely adding more examples of familiar calculations.
Idea: Evaluate an added check through a matched removal. Where: “Answer Accuracy,” in the SSAR comparison. Area: experimental design. Mova: вже є (held-out experiments, negative controls, and change gates are documented). A subtree validator or scoring feature could be evaluated with its surrounding pipeline held stable. Why Mova: the benefit of a plausible mechanism should be measured independently of enthusiasm for its explanation.
Idea: Score derivations separately from answers. Where: “Experimental Setup and Training Details” and “Case Study.” Area: evaluation and interpretability. Mova: частково є (school traces and mathematical reasons are retained). Additional diagnostics could inspect operand origin, operation support, and quantity-role consistency alongside the existing outcome score. Their values would be new measurements. Why Mova: a correct numerical result should not automatically certify the account given for reaching it.
Idea: Use a mechanism-based mathematical error taxonomy. Where: “Case Study.” Area: analysis. Mova: частково є (world/src/knowledge/retention/fastread.rs classifies reading failures, while worker results retain diagnosis). Mathematical categories could distinguish invented quantities, incomplete structure, unnecessary operations, and unsupported reuse. Why Mova: repair work could address the failed mechanism instead of treating all unsuccessful answers as the same learning problem.
Idea: Inspect repeated subtrees conditionally. Where: “Case Study,” in the multiplication example. Area: structural diagnosis. Mova: нове. A checker could flag duplicated branches and ask whether the text licenses their repeated use. Duplication would initiate inspection, not automatic rejection, because repetition can express the intended mathematics. Why Mova: the system could detect accidental copying without forbidding valid repeated quantities.
Idea: Make numerical abstraction reversible. Where: the SAU-Solver overview figure. Area: data processing. Mova: частково є (math uses typed quantities and formal expressions). A preserved mapping could connect every internal quantity reference to its source form when the equation is rendered. Exact current coverage is unknown. Why Mova: the displayed explanation could be checked against the same operands that entered validation and execution.
Idea: Retain a bounded collection of alternative interpretations. Where: “Implementation Details,” in beam search. Area: search. Mova: частково є (the maths student uses a top-K judge and records disagreements). Alternative equations could be compared through source support, exact execution, and global rules. The proposal concerns bounded search, not adoption of neural token scores. Why Mova: uncertainty in an early interpretation need not remove a later candidate with stronger evidence.
Idea: Examine lexical fallback through its mathematical consequences. Where: “Implementation Details,” in rare-word replacement. Area: lexical analysis. Mova: частково є (the native dictionary, tools/dictindex, and reviewed dictionary admission provide lexical infrastructure). Missing vocabulary could be classified by whether it blocks a quantity role, relationship, or question interpretation. Why Mova: dictionary work could prioritize words whose absence causes demonstrated reasoning gaps.
Idea: Distinguish coverage from unrestricted competence. Where: “Hybrid Math Word Problem Dataset” and “Error Analysis.” Area: capability reporting. Mova: вже є (docs/hybrid-system.md distinguishes configured behavior from direction). New mathematical interfaces should identify their evaluated structures and unsupported cases. Why Mova: a common representation would be described as an interface improvement until solving behavior has been demonstrated within it.
Idea: Treat a learned alignment score as evidence with limited authority. Where: “Semantically-Aligned Regularization.” Area: statistical and logical interfaces. Mova: частково є (groupants distinguish observations, assumptions, checks, and evidence). If an approximate similarity signal were explored, it could rank or flag candidates while exact logical checks retained their own authority. Why Mova: statistical agreement should not silently become a proof that an operation follows from the text.
Idea: Attribute comparison results to the conditions actually changed. Where: “Results and Analyses.” Area: causal interpretation. Mova: вже є (measured changes and regression gates are project principles). Reports could separate a measured score change from an architectural explanation that has not been independently isolated. Why Mova: improvement claims would remain useful even when the internal cause is still uncertain.
Idea: Review parameter changes forced by resource limits. Where: “Implementation Details.” Area: experimental accounting. Mova: частково є (tools/jobs records estimated and actual resource use, and execution modes have declared boundaries). Experiments could retain configuration differences alongside accuracy, particularly when memory constraints alter the tested procedure. Why Mova: comparisons could be interpreted without assuming identical computational conditions.
Idea: Preserve evidence from unsuccessful partial construction. Where: “Equation Decoder” and “Error Analysis.” Area: operational diagnosis. Mova: частково є (bounded worker protocols preserve failures and outcomes). A stopped mathematical attempt could retain its pending goals, completed branches, and unsupported decisions without being treated as completed work. Why Mova: partial results could support diagnosis while remaining clearly separate from admitted knowledge or a successful solution.
Idea: Verify that representation changes preserve readable output. Where: “SAU-Solver,” in its prefix-generation and infix-rendering stages. Area: representation testing. Mova: частково є (formal expressions and explanation paths are present in math). A proposed equation-group structure could be tested through construction, rendering, and reinspection while retaining quantity identities. Why Mova: an internal structural improvement should not introduce ambiguity or lose evidence when presented to a user.
The problem and its context
A word problem describes a situation indirectly. Its sentences may state what is known, relate quantities whose values are unknown, and then ask for a particular property of the situation. Turning that description into mathematics requires decisions about relevance and relationship before calculation begins. The authors frame this as a combination of natural language understanding and reasoning.
Their concern is not limited to obtaining an arithmetic expression. A practical solver may encounter a relationship that must retain an unknown variable or a collection of relationships that must hold together. If the output mechanism assumes that every problem ends in a direct calculation over stated numbers, its representational choices can restrict the problem families it can address.
The paper places this concern within a longer history of automatic solving. It identifies rule-based systems, statistical learning, semantic parsing, and neural approaches as established lines of work. Bakman’s study of problems containing extraneous information appears among the rule-oriented references. The authors do not analyze that work in depth; their detailed discussion concentrates on equation generation.
Earlier feature- and template-based approaches, in their account, demand substantial manual design. Neural sequence conversion offers an alternative: learn a mapping from the problem’s words to the equation’s symbols. This removes the need to write every mapping rule explicitly, but it introduces difficulties associated with generating mathematical notation as an ordinary sequence.
Some difficulties concern the output symbols themselves. A decoder may introduce a numerical reference with no counterpart in the current problem. It may also choose a real problem quantity but place it in an incorrect mathematical position. These failures are related, yet they call for different remedies. Constraining which quantities exist does not determine how they should interact.
Other difficulties concern expression structure. A flat sequence can contain an invalid arrangement of operators or an unfinished operation. The related-work discussion also notes variation among equations that express equivalent content. Earlier approaches introduce copying, alignment, or normalization to address different parts of this collection of problems.
Tree generation changes the structural side of the task. An operation occupies a parent position, and its arguments become children. GTS, an important comparison in the paper, develops such a tree through goal-oriented construction. Another cited approach builds expressions using recursive representations and templates. The authors argue that these methods leave unknown variables insufficiently represented for broader equation solving.
The distinction matters when a problem requires several equations. Generating arithmetic for a single requested value and generating connected constraints over variables are different output obligations. The latter also raises questions about how equations are grouped and how information from an earlier equation influences a later one.
A collection of separate trees is an obvious representation for separate equations. The paper considers this option but identifies a planning burden: the procedure must manage how many equations to generate. An erroneous decision about that number can affect the subsequent construction. The procedure must also decide how information should cross the boundary between trees.
StackDecoder is presented as a more general equation generator whose stack-based mechanism can handle broader output forms. The authors nonetheless argue that generating equations separately limits the semantic information transferred between them. Their criticism concerns the relationship among equations, instead of a claim that stack processing cannot express mathematics.
UET addresses that relationship by making the collection itself compositional. If a complete equation can be a branch within a larger tree, information can move between equations through the same mechanism that connects ordinary mathematical branches. Representation and information flow become parts of the same design.
The data motivation follows a similar argument. Math23K contains 23,161 problems, but the paper describes its mathematical scope as linear problems involving an unknown. That collection cannot by itself test every additional structure the authors want to support. HMWP supplies a broader mixture so that the proposed interface is exercised through actual solving examples.
The method, step by step
SAU-Solver has a learned interpretation stage followed by symbolic calculation. The learned stage reads the problem and constructs a mathematical tree. The tree is then rendered as equations, with the original numerical values restored, and SymPy performs the mathematical solving.
SAU-Solver from verbal relationships to mathematical output
The steps in order.
Extending the output language
An ordinary expression tree records which operation acts on which arguments. It exposes grouping through parent–child relationships rather than leaving grouping to a reader’s interpretation of written notation. SAU-Solver preserves that organization and extends the operator inventory with a semicolon.
The semicolon has the weakest precedence. Its function is to collect equation structures without altering the arithmetic relationships inside them. This allows an equation system to be represented through a shared root structure instead of an externally managed list of independent trees.
Unknown variables are included among the available symbols. The output can therefore describe mathematical constraints that require solving, rather than only a calculation whose evaluated expression directly supplies the answer. This is important to the paper’s intended coverage of nonlinear relationships and systems involving several variables.
The representation supplies a common construction procedure, not a common algebraic shortcut. A difficult relationship remains difficult after it becomes a tree. UET’s contribution is to make its components accessible to the same decoder operations used elsewhere in the output.
Reading the text with a recurrent encoder
Let P denote the problem and xₜ the vector representing its word at position t. The encoder uses a two-layer bidirectional gated recurrent unit. The recurrent mechanism is associated with Cho and colleagues’ encoder–decoder research.
The forward computation is:
h→ₜᵖ = GRU(h→ₜ₋₁ᵖ, xₜ)
Here h→ₜᵖ is the forward hidden state at the current word. Its inputs are the preceding forward state and the current word vector. GRU names the gated recurrent computation, and the superscript p identifies an input-side representation.
The reverse computation is:
h←ₜᵖ = GRU(h←ₜ₊₁ᵖ, xₜ)
The backward state h←ₜᵖ incorporates information obtained while processing from the end toward the beginning. Its recurrence uses the state associated with the following input position.
The encoder combines the directional states as follows:
hₜᵖ = h→ₜᵖ + h←ₜᵖ
The resulting vector hₜᵖ represents the word in its surrounding problem context. Addition combines the directional vectors. These representations remain accessible during decoding, allowing later choices to consult individual input positions.
The decoder receives an initial whole-problem state:
g₀ᵖ = h→ₙᵖ + h←₀ᵖ
The symbol n is the input length. The terms on the right are the terminal directional summaries used by the authors. Their sum supplies the starting hidden state for mathematical construction.
This creates complementary resources. The initial state gives the decoder an overall starting point, while the positional states provide more specific evidence. The distinction becomes particularly important for quantities, whose output representations are selected from their input positions.
Defining what the decoder may produce
The target vocabulary has categories with different roles. Vop contains operators, Vu contains unknown-variable symbols, and Vcon contains background constants. The quantities mentioned in P form the remaining problem-dependent category, written nP.
The embedding rule is:
e(y | P) =
Mop(y) if y ∈ Vop
Mu(y) if y ∈ Vu
Mcon(y) if y ∈ Vcon
hᵖ_loc(y,P) if y ∈ nP
The function e assigns an embedding to candidate symbol y in problem P. Mop, Mu, and Mcon are trainable embedding matrices shared across problems. For an input quantity, loc(y,P) selects its textual position, and hᵖ supplies the encoder representation there.
The numerical branch is the important departure from a completely shared output vocabulary. A quantity is represented through the words surrounding its occurrence. Its contextual representation can therefore differ from that of another quantity even when their numerical values alone would not explain their roles.
Background constants allow the solver to use numerical knowledge not explicitly written in the story. The authors illustrate this category with a chick having 2 legs. Such values are distinct from quantities extracted from the current problem.
This division limits numerical invention without eliminating every numerical mistake. A quantity can belong to the vocabulary and still be used in the wrong relationship. Similarly, the presence of a background constant does not establish that the current problem requires it. The decoder must still choose appropriately among admissible candidates.
Developing the tree while remembering completed branches
Generation follows preorder traversal: a parent symbol is produced before the content beneath it. The decoder maintains auxiliary stacks G and T. G stores hidden states for pending construction, while T supports the representation of mathematical material already produced.
When an operator is selected, the decoder prepares states for its children and preserves information needed to combine the completed operation later. When a terminal quantity, variable, or constant is selected, the branch can finish. Completion can trigger the combination of a parent with its completed children.
The distinction between downward construction and upward summarization is central. Downward states describe what should be generated next. Upward representations describe what has already been generated. These processes interact while decoding is still underway.
A right-hand branch has access to the completed left-hand subtree. This makes the information available at the right branch richer than the information available when left-branch construction began. The decoder can condition its choice on the meaning assigned to the earlier branch rather than only on the parent operator.
Structural completion also determines when generation ends. Once the necessary tree positions have been satisfied, a separate ending token is unnecessary. This is a property of the construction procedure; it does not imply that the completed tree expresses the correct problem.
Forming gated node representations
The architecture repeatedly uses a gating pattern. It first calculates a gate:
q = σ(Wq I)
The vector I is the current input to the gating operation. Wq is a trainable matrix, and σ denotes the sigmoid function. The resulting vector q controls the contribution of candidate content.
That content is formed separately:
Q = tanh(WQ I)
WQ is another trainable matrix, and tanh is the hyperbolic tangent activation. Q represents content proposed from the same input I.
The gated output is:
O = q ⊙ Q
The operator ⊙ multiplies corresponding vector components. O can serve as a node representation or as a child hidden state, depending on where this pattern is applied.
The input I changes with the purpose of the operation. For a left node, it uses the state inherited from the parent. For a right node, it joins that inherited state with the left subtree’s completed representation. When creating child states, it combines the current node, retrieved textual context, and selected token embedding.
These choices specify the architecture’s information paths. They do not guarantee that every useful fact will be preserved, but they make earlier mathematical content available at the point where it can influence later construction.
Retrieving context through attention
Each node consults the problem through attention. Given the current node representation n, the contextual vector is:
c = Σₛ {exp(Va tanh(Wa[n, hₛᵖ])) / Σᵢ exp(Va tanh(Wa[n, hᵢᵖ]))} hₛᵖ
Here hₛᵖ is the encoder state at position s. Square brackets indicate vector concatenation. Wa and Va are learned parameters that score the relationship between a node and an input position.
The denominator normalizes the scores across positions i. Each normalized weight multiplies its corresponding encoder state, and the weighted states are added to produce c. The vector c is therefore a node-specific summary of the input.
The symbol n in this formula denotes a node vector, whereas the earlier encoder description used n for sequence length. Its role is determined by context. Attention can change across nodes, allowing different mathematical components to retrieve different textual information.
An attention distribution provides a learned way to consult the story. It does not identify a formally certified supporting statement. That distinction will matter again when the same general mechanism is used for subtree alignment.
Scoring an output symbol
A candidate token receives the following score:
s(y | n, c, P) = Vn tanh(Ws[n, c, e(y | P)])
The token is y, the current node is n, and c is its attended input context. The embedding e(y | P) follows the problem-dependent rule above. Ws and Vn are trainable scoring parameters.
The decoder’s stated selection rule is:
y = arg maxᵧ {exp(s(y | n, c, P)) / Σᵢ exp(s(yᵢ | n, c, P))}
The candidates yᵢ range over the target vocabulary for the current problem. Exponentiation and normalization convert the scores into a probability distribution, and arg max selects its highest-scoring member.
The implementation also uses beam search. Consequently, the experimental decoding procedure can preserve alternative partial outputs instead of committing every stage to the locally preferred continuation.
Selecting an operator opens child positions. Selecting a terminal symbol closes a branch. The difference between those outcomes determines how the pending construction state changes and whether completed material can be summarized upward.
Combining mathematical content from the bottom upward
An internal subtree has an operator and completed children. The architecture first calculates a composition gate:
gₜ = σ(Wgt[tₗ, tᵣ, e(ŷ | P)])
The vectors tₗ and tᵣ represent the left and right subtrees. The symbol ŷ identifies the operator selected at their parent. Wgt is a learned matrix, and gₜ is the composition gate.
The candidate combined content is:
Cₜ = tanh(Wct[tₗ, tᵣ, e(ŷ | P)])
Wct is another trainable matrix. The concatenated input makes the operator and both child summaries jointly available when constructing Cₜ.
The resulting representation is:
t = gₜ ⊙ Cₜ
The vector t summarizes the completed mathematical subtree. It can be passed upward or supplied to a later branch.
A terminal subtree needs no such combination. Its representation is the embedding of its selected token. Recursive composition therefore builds larger mathematical summaries from operators and terminal content.
UET extends the reach of this mechanism. Since an equation can itself occur beneath a joining node, the decoder can use an equation-level summary through the same interface used for smaller expressions. This is how the authors connect their representational proposal with information transfer between equations.
The summary is learned mathematical content, not the result of a proof checker. Its usefulness must be assessed through solving behavior and analysis rather than assumed from the term “semantic.”
Encouraging agreement between subtrees and text
The additional training objective compares each completed subtree with relevant input information. Attention retrieves a vector a from the problem for that subtree. Separate transformations map the textual and mathematical representations into a comparison space.
The input-side transformation is:
e_sa = We2 tanh(We1 a)
The matrices We1 and We2 are trainable. The vector a is the attended textual information, and e_sa is its projected representation.
The mathematical transformation is:
d_sa = Wd2 tanh(Wd1 t)
The subtree vector is t. Wd1 and Wd2 are trainable matrices, and d_sa is the corresponding mathematical projection.
The alignment loss is:
L_sa(T | P) = (1/m) Σᵢ₌₁ᵐ ‖d_sa,i − e_sa,i‖₂
T is the target tree associated with P, and m counts its subtrees for this objective. The index i identifies the comparison for a particular subtree. The norm is Euclidean distance. The indexed projections make explicit that each subtree contributes its own distance.
The objective encourages the representations to approach each other. It does not require a manually annotated text span for every operation, nor does it enforce a symbolic entailment relationship. Its constraint is learned jointly with the rest of the solver.
For interpretability, this distinction is important. A subtree’s attended context may help explain a prediction, but proximity between learned vectors cannot by itself certify that the calculation follows from the verbal relationship.
Optimizing the complete objective
The training criterion combines target-tree prediction with alignment:
L = Σ_(P,T)∈D [−log p(T | P) + λ L_sa(T | P)]
D is the training collection of paired problems and trees. The negative logarithm rewards assigning higher probability to the target. The coefficient λ weights the alignment contribution, and the authors choose 0.01 empirically.
Tree probability is written as a product over node decisions:
p(T | P) = Πₜ₌₁ᵐ prob(yₜ | gₜ, cₜ, P)
Here m counts the nodes of T. The selected token at node t is yₜ, its hidden state is gₜ, and its attended context is cₜ. The product combines the probabilities assigned during construction.
The notation therefore uses m for different structural counts in the likelihood and alignment descriptions. In each case, the surrounding definition determines which count is intended.
Training settings and final calculation
The implementation uses PyTorch on Linux with an NVIDIA RTX 2080Ti. Word embeddings have size 128. Hidden states have size 512 except in the HMWP and Dolphin18K-Manual experiments, where the size is 384 because the larger setting exceeds the available memory.
Words appearing fewer than five times are replaced with UNK. The batch size is 32. The authors use Adam with β₁ = 0.9 and β₂ = 0.999. Its ε setting is 10⁻⁸. The initial learning rate is 10⁻³ and is halved after each interval of 20 epochs.
Dropout probability is 0.5, and weight decay is 1e⁻⁵. Beam search uses size 5. These settings document the reported experiments; the paper does not establish that each is optimal independently.
After construction, an infix traversal produces readable mathematical notation. Inverse numerical mapping restores the original quantities. SymPy then calculates from the resulting equations. The success of that calculation depends on the earlier interpretation: symbolic solving can process the supplied mathematics, but it cannot repair a relationship that was mistranslated from the story.
Experiments and results
The measured outcome
The principal metric is answer accuracy. An output is counted as correct when calculating its generated expression or equations gives the recorded answer. This permits alternative mathematical formulations to succeed without requiring an exact match to the target’s written form.
That flexibility is valuable because equivalent calculations need not look identical. However, agreement on an answer is weaker than a complete assessment of the derivation. The metric does not separately test whether each intermediate quantity has the intended role or whether the equation offers the clearest account of the text.
The evaluation uses 5-fold cross-validation on the selected collections. The central comparison includes a sequence-based solver with significant number identification, GTS, and StackDecoder. The authors also evaluate their own architecture with SSAR removed. SSAR abbreviates subtree-level semantically-aligned regularization.
Seq2Seq-attn with SNI represents the sequence-generation approach. GTS supplies a goal-oriented tree comparison within its applicable scope. StackDecoder represents a more general stack-based generation strategy. The paper notes that some comparison entries are unavailable because an implementation is unreleased or a method is unsuitable for a dataset.
The experimental description is inconsistent about GTS’s mathematical scope. Its setup calls it suitable for an unknown-variable nonlinear setting, whereas the earlier discussion characterizes its limitation in terms of linear problems. The stable point in the authors’ argument is narrower: GTS is not presented as a uniformly applicable solver across the equation families addressed by UET.
HMWP’s composition
HMWP contains problems drawn from a Chinese K12 source. Its 5491 items include 2955 linear problems involving an unknown variable and 1636 linear problems involving two unknown variables. The remaining category contains 900 nonlinear problems involving an unknown variable.
Each item has structured equations and an answer. The equation labels support learning the intended mathematical structure; the answers support the outcome metric. These are related forms of supervision, but they evaluate different aspects of a solution.
The authors motivate HMWP partly through the limits of existing collections. They describe ALG514 and other public resources as relatively small, identify annotation problems in Dolphin18K, and point to the narrower equation coverage of Math23K. HMWP is intended to broaden the structural demands made on a solver.
They also discuss average equation length, quantity counts, background constants, and operator counts. Their argument is that HMWP contains more demanding mathematical structures along these dimensions. The numerical entries for those comparisons are not reported in the accompanying prose, so their magnitude cannot be stated here.
The important experimental purpose is nevertheless clear. A representation capable of joining equations should be tested on problems requiring joined constraints. A representation that preserves unknowns should be tested where removing them is insufficient. HMWP makes those requirements part of the solving task.
Comparative outcomes and the alignment contribution
The authors report that SAU-Solver leads the comparison systems in answer accuracy across the evaluated datasets. The numerical results explicitly stated in their discussion concern the additional benefit of SSAR.
Added answer accuracy from SSAR under 5-fold cross-validation
The alignment objective helps in every dataset setting reported.
The numbers
| System or setting | absolute accuracy gain, % |
|---|---|
| SAU-Solver, HMWP (this paper) | 0.43 |
| SAU-Solver, ALG514 | 1.95 |
| SAU-Solver, Math23K | 0.31 |
| SAU-Solver, Dolphin18K-Manual | 0.39 |
These values measure improvements over the corresponding configuration without SSAR. They are not the complete answer-accuracy scores. They also should not be interpreted as relative percentage improvements.
The consistent direction supports the claim that the added objective is useful under the reported conditions. The variation across datasets shows that its effect is not uniform. The paper does not provide an isolated explanation for why a particular collection benefits more than another.
The authors attribute part of the advantage over StackDecoder to the common tree. Their explanation is that separate equation generation does not carry earlier equation meaning forward as effectively as subtree composition within UET. That account fits the architecture, although the comparison does not isolate cross-equation transfer as the only changed factor.
Results by mathematical category
The category analysis compares SAU-Solver with Retrieval-Jaccard and Seq2seq-attn with SNI on HMWP’s subsets. The authors report that their method performs better throughout these categories. This supports their claim that the common representation is usable across the intended mathematical forms.
They also discuss an apparently counterintuitive result: linear problems in HMWP are harder for the solver than the linear setting of Math23K. Their explanation is that HMWP’s expressions are longer and embody more involved relationships. A shared category label therefore does not imply equivalent difficulty.
This comparison is descriptive. The datasets differ in more than equation family, and the analysis does not isolate expression length while holding every other property constant. It shows where performance differs and offers an interpretation of that pattern.
Results as mathematical structures grow
The error analysis relates accuracy to expression-tree size. Performance weakens as the target structures become larger. That pattern is a direct qualification to the broad representational claim: the solver can express the relevant mathematical forms while remaining unreliable on their more complicated instances.
The authors also discuss the 13+ tree-size category. They report a stronger result for that category in HMWP than in Math23K and connect it to HMWP’s richer supply of complex examples.
The observation suggests that difficult compositions need adequate representation in training data. It does not establish a controlled learning curve for adding such examples. The comparison changes the collection, so differences in language, templates, and mathematical relationships remain possible contributors.
What the ablations show
The most direct component comparison concerns SSAR. Removing it leaves the universal tree format and the main decoder mechanisms in place. The experiment therefore asks whether subtree-to-text agreement adds value beyond the contextual encoding and branch-aware construction already available.
The reported answer is positive across the evaluated collections. This is useful evidence because the comparison is closer to a matched intervention than the comparisons with different solver architectures. It supports retaining the alignment term in the reported configuration.
The authors explain the improvement through better subtree representations, especially where the next decision must use a completed left branch to construct a right branch. The architecture makes that explanation plausible: the right-side computation explicitly receives the left-side summary.
Nonetheless, the measured outcome is final-answer accuracy. The experiment does not independently score whether the left subtree has a faithful interpretation, whether attention retrieves the right clause, or whether the right branch improves for the proposed reason. Those are explanations of the result rather than separately established measurements.
There is no equally direct removal study for every architectural contribution. The paper does not report a matched condition that replaces UET with independent equations while preserving the rest of SAU-Solver unchanged. It also does not separately remove contextual quantity embeddings and every bottom-up information path.
As a consequence, the full comparative advantage cannot be apportioned precisely among the common tree representation, source-dependent vocabulary, and recursive mathematical summaries. These mechanisms are designed to work together. The experiments establish the usefulness of the combined procedure more strongly than the independent contribution of each part.
The case studies provide a complementary kind of evidence. An illustrated sequence-generation failure introduces an unsupported numerical reference. The SAU-Solver variants succeed in that case, which is consistent with the benefit expected from their input-dependent numerical vocabulary. It is an example of the intended mechanism, not an estimate of how frequently that mechanism prevents failure.
Another case concerns an operator sequence that does not form a valid expression. The tree procedure avoids that pattern by constructing parent–child relationships. This illustrates the value of structural generation, while leaving the semantic problem intact: a valid arrangement may still choose the wrong operation or quantities.
The remaining cases examine an unnecessary operation and repeated mathematical content beneath multiplication. These examples motivate retaining information about completed branches. A later choice should account for what the earlier branch already represents, especially when mechanical repetition would distort the relationship.
The paper also discusses differences in how naturally equations correspond to the story, even when they calculate successfully. That observation exceeds what answer accuracy can measure directly. It suggests that a derivation can be mathematically successful yet less well aligned with the verbal account.
The size and category analyses should be kept separate from ablation evidence. They reveal patterns in where the full procedure succeeds and fails; they do not remove components. Together with the case studies, they help explain the practical behavior of SAU-Solver without turning every descriptive pattern into a causal claim.
Limitations
Difficulties acknowledged by the authors
The clearest acknowledged weakness concerns long equations. As expression trees grow, prediction becomes less accurate. The authors connect that decline to unfinished progress in semantic understanding, inference, and reasoning.
This qualification is substantial because tree generation involves many related decisions. A shared output grammar makes complicated structures representable, but representation does not ensure dependable construction. The paper demonstrates broader coverage while explicitly leaving difficult examples unresolved.
The implementation also encounters a memory limit. Hidden-state size is reduced for HMWP and Dolphin18K-Manual because the larger configuration does not fit the available graphics card. Results across collections therefore do not all arise from an identical hidden-state setting.
The dataset discussion identifies limitations in earlier resources, including narrow mathematical coverage, small collections, and annotation concerns. HMWP addresses part of that problem, but its scope remains a particular collection of school mathematics drawn from a Chinese source.
Boundaries of the representation
“Universal” describes a shared way to organize the tested equation families. It should not be interpreted as evidence of unrestricted mathematical problem solving. The evaluation does not cover every possible equation arrangement, mathematical domain, or source of verbal ambiguity.
Adding a semicolon makes equations structurally connectable. It does not specify all the knowledge needed to choose the correct equations. Variables must still be assigned suitable meanings, source quantities must retain their roles, and the resulting constraints must answer the actual question.
The tree also supplies syntactic discipline rather than semantic certainty. Its construction prevents certain malformed sequences because operators receive children through an explicit procedure. A perfectly complete tree can nevertheless encode a false relationship.
Likewise, structural termination does not establish successful interpretation. Exhausting pending positions means that the tree is finished according to the decoder’s rules. It does not mean that all relevant information from the story has been represented.
Boundaries of numerical grounding
The problem-dependent vocabulary is a targeted safeguard. It reduces access to numerical references unsupported by the current input, but it does not solve quantity selection. A legitimate quantity can be attached to the wrong operation or confused with another mention.
Contextual embeddings provide evidence about numerical roles through surrounding words. The paper does not demonstrate that these representations reliably preserve every distinction among equal-valued occurrences or every relationship across distant sentences.
Background constants create another boundary. Allowing such constants is necessary for some problems, but their availability is different from their applicability. The target vocabulary alone cannot establish that a particular item of common knowledge belongs in the present solution.
Boundaries of semantic alignment
SSAR encourages agreement in a learned vector space. It is a soft training objective, not a mathematical verification procedure. A small distance between projected vectors does not prove that the words entail the operation.
The projections on both sides are trainable. Their success is judged through the overall task objective and the resulting answer scores. The paper does not provide an independent semantic annotation for every subtree against which alignment quality is measured.
The positive ablation therefore supports a practical claim: the objective helps answer accuracy in these experiments. It does not establish that every subtree has become interpretable or that attention can serve as a complete explanation.
Boundaries of evaluation and comparison
Answer accuracy accepts outputs that yield the recorded result. This permits equivalent solutions, but it can also leave derivational defects unmeasured. A correct value does not automatically validate every intermediate relationship.
The case studies recognize this distinction but do not quantify the prevalence of all illustrated errors. Their explanatory role should not be confused with a comprehensive statistical analysis of unsupported numbers, malformed structures, or repeated branches.
Cross-validation assesses behavior under partitions of the selected datasets. It does not alone demonstrate transfer to an unfamiliar problem source, a different linguistic setting, or a new distribution of mathematical structures.
The discussion of complex examples is similarly bounded. Better performance on a large-tree subset of HMWP than on a corresponding Math23K subset is compatible with the authors’ explanation about richer examples. It does not isolate that factor from all other differences between the collections.
The reported comparisons also leave some architectural causes unresolved. SSAR receives a direct removal comparison; the remaining components are not all independently varied. Stronger overall performance supports the combined design without proving that every proposed explanation contributes equally.
Finally, calculation is delegated to SymPy after equation construction. The evaluated system combines learned interpretation with symbolic mathematical processing. Its results should be read as outcomes of that complete pipeline, with different responsibilities and possible errors at each stage.
What came after
Later citing papers connect this work to geometry, expression structure, multilingual resources, and prompting. Their titles identify those research directions. The citation relationship establishes that SAU-Solver was referenced, but does not specify that a later method adopted its joining operator, recursive decoder, or alignment loss. The technical inheritance must therefore remain narrower than a general claim of direct architectural continuation.
Inter-GPS, published in 2021, identifies formal language and symbolic reasoning as central to interpretable geometry solving. Its stated setting differs from textual equation generation, but both raise the question of how a mathematical problem is converted into a form that supports subsequent reasoning.
The connection visible from the citation is conceptual: formal representation sits between problem interpretation and mathematical execution. Nothing in the citation description establishes that Inter-GPS uses UET or passes completed left-subtree representations into right-subtree generation. Its geometry focus should be recognized without assigning it unreported components.
UniGeo, dated 2022, places expression reformulation at the center of unifying geometry reasoning. This makes representational design a clear point of contact. SAU-Solver changes how equations are grouped and generated; UniGeo’s title likewise presents the form of mathematical expression as important to a broader reasoning task.
That thematic relationship does not determine whether the representations coincide. The citation record does not identify a reused semicolon operator, a shared traversal scheme, or an inherited training objective. Those details cannot be supplied from the title alone.
ArMATH, also from 2022, introduces a dataset for Arabic mathematical word problems. Its named contribution connects most directly with the benchmark side of SAU-Solver. HMWP makes structural coverage part of the evaluation question; ArMATH identifies a language-specific resource for the same broad task.
The citation does not establish that SAU-Solver was adapted to Arabic, nor does it provide a comparison result. The supported continuation concerns the development of resources through which mathematical language processing can be studied in another linguistic setting.
Expression Syntax Information Bottleneck for Math Word Problems, published in 2023, explicitly foregrounds mathematical syntax. Of the later titles, it has a particularly direct thematic connection to the role of expression structure in SAU-Solver.
The title signals attention to how mathematical form contributes to word-problem solving. It does not describe the objective in enough detail to equate its information bottleneck with subtree alignment or to claim that it extends UET. The shared research concern is visible; the precise mechanism of influence is unspecified.
Unleashing the potential of prompt engineering for large language models is another citing work from 2023. Its title identifies prompting as its methodological focus. That is a different route to directing a system’s behavior from the recurrent tree architecture developed in SAU-Solver.
Its citation places the earlier solver within the later paper’s research context. It does not establish a particular prompting method for equation trees, an experimental comparison, or a transferred alignment mechanism. The distinction matters because referencing structured mathematical solving is not equivalent to reproducing its construction procedure.
Empowering Bengali Education with AI, dated 2025, names Bengali word problems and a transformer-based approach. Its title combines an educational application with a language-specific solving task. This broadens the visible application context surrounding the mathematical interpretation problem addressed by SAU-Solver.
The citation description does not state whether the Bengali work uses universal expression trees, represents unknowns through the same vocabulary categories, or evaluates any subtree-to-text penalty. What can be said is that SAU-Solver is referenced within that later research setting.
These later connections preserve several distinct questions. Geometry emphasizes the formal object on which reasoning operates. Dataset work emphasizes which mathematical language and structures are available for training and evaluation. Expression-oriented research emphasizes the representation of calculations, while prompting concerns how a system is directed towards a task. The citation record links SAU-Solver to these directions without establishing a common implementation.
The paper’s own contribution remains specific within that broader landscape: it joins equation structures through a shared tree, makes completed mathematical content available during further generation, and reports a positive answer-accuracy effect from subtree-level alignment. Its unresolved difficulty with larger expressions remains equally relevant to understanding what those contributions accomplish.
Cite
Cite as Jinghui Qin, Lihui Lin, Xiaodan Liang, Rumin Zhang and Liang Lin. 2020. Semantically-Aligned Universal Tree-Structured Solver for Math Word Problems. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP).
@inproceedings{qin2020semantically,
title = {{Semantically-Aligned Universal Tree-Structured Solver for Math Word Problems}},
author = {Jinghui Qin, Lihui Lin, Xiaodan Liang, Rumin Zhang and Liang Lin},
booktitle = {Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
year = {2020},
doi = {10.18653/v1/2020.emnlp-main.309},
eprint = {2010.06823},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2020.emnlp-main.309}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/qin-2020-semantically-aligned-universal-tree-structured/
References
- Yefim Bakman. 2007. Robust understanding of word problems with extraneous information. Computing Research Repository, arXiv:math/0701393. our card
- Ting-Rui Chiang and Yun-Nung Chen. 2019. Semantically-aligned equation generation for solving and reasoning math word problems. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 2656–2668. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Kyunghyun Cho, Bart van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1724–1734. Association for Computational Linguistics. our card
- Danqing Huang, Jing Liu, Chin-Yew Lin, and Jian Yin. 2018. Neural math word problem solver with reinforcement learning. In Proceedings of the 27th International Conference on Computational Linguistics, pages 213–223. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Danqing Huang, Shuming Shi, Chin-Yew Lin, and Jian Yin. 2017. Learning fine-grained expressions to solve math word problems. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 805–814. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Danqing Huang, Shuming Shi, Chin-Yew Lin, Jian Yin, and Wei-Ying Ma. 2016. How well do computers solve math word problems? large-scale dataset construction and evaluation. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 887–896. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Diederik P Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In international conference on learning representations. our card
- Rik Koncel-Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. 2016. Mawps: A math word problem repository. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1152–1157. OpenAlex ↗ · Scholar ↗
- Rik Koncelkedziorski, Hannaneh Hajishirzi, Ashish Sabharwal, Oren Etzioni, and Siena Dumas Ang. 2015. Parsing algebraic word problems into equations. Transactions of the Association for Computational Linguistics, 3:585–597. OpenAlex ↗ · Scholar ↗
- Nate Kushman, Yoav Artzi, Luke Zettlemoyer, and Regina Barzilay. 2014. Learning to automatically solve algebra word problems. In Proceedings of the 52th Annual Meeting of the Association for Computational Linguistics, volume 1, pages 271–281. OpenAlex ↗ · Scholar ↗
- Wang Ling, Dani Yogatama, Chris Dyer, and Phil Blunsom. 2017. Program induction by rationale generation: Learning to solve and explain algebraic word problems. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 158–167. Association for Computational Linguistics. our card
- Arindam Mitra and Chitta Baral. 2016. Learning to use formulas to solve simple arithmetic problems. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2144–2153. Association for Computational Linguistics. our card
- Subhro Roy and Dan Roth. 2018. Mapping to declarative knowledge for word problem solving. Transactions of the Association for Computational Linguistics, 6:159–172. our card
- Shuming Shi, Yuehui Wang, Chin-Yew Lin, Xiaojiang Liu, and Yong Rui. 2015. Automatically solving number word problems by semantic parsing and reasoning. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 1132–1142. Association for Computational Linguistics. our card
- Shyam Upadhyay and Mingwei Chang. 2017. Annotating derivations: A new evaluation strategy and dataset for algebra word problems. In 15th Conference of the European Chapter of the Association for Computational Linguistics, pages 494–504. OpenAlex ↗ · Scholar ↗
- Lei Wang, Yan Wang, Deng Cai, Dongxiang Zhang, and Xiaojiang Liu. 2018a. Translating a math word problem to a expression tree. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1064–1069. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Lei Wang, Dongxiang Zhang, Lianli Gao, Jingkuan Song, Long Guo, and Heng Tao Shen. 2018b. Mathdqn: Solving arithmetic word problems via deep reinforcement learning. In Thirty-Second AAAI Conference on Artificial Intelligence, pages 5545–5552. OpenAlex ↗ · Scholar ↗
- Lei Wang, Dongxiang Zhang, Zhang Jipeng, Xing Xu, Lianli Gao, Bing Tian Dai, and Heng Tao Shen. 2019. Template-based math word problem solvers with recursive neural networks. In Thirty-Third AAAI Conference on Artificial Intelligence, pages 7144–7151. OpenAlex ↗ · Scholar ↗
- Yan Wang, Xiaojiang Liu, and Shuming Shi. 2017. Deep neural solver for math word problems. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 845–854. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Zhipeng Xie and Shichao Sun. 2019. A goal-driven tree-structured neural model for math word problems. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI-19, pages 5299–5305. International Joint Conferences on Artificial Intelligence Organization. OpenAlex ↗ · Scholar ↗
- Ma Yuhui, Zhou Ying, Cui Guangzuo, Ren Yun, and Huang Ronghuai. 2010. Frame-based calculus of solving arithmetic multi-step addition and subtraction word problems. In International Workshop on Education Technology and Computer Science, volume 2, pages 476–479. OpenAlex ↗ · Scholar ↗
- Lipu Zhou, Shuaixiang Dai, and Liwei Chen. 2015. Learn to solve algebra word problems using quadratic programming. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 817–822. Association for Computational Linguistics. our card