Filtering Irrelevant Information in Math Word Problems

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 218 papers30 conceptsfrozen 2026-10-04

For a computer, solving the equation $x = 42 + 15$ is trivial. The challenge of a Math Word Problem (MWP) lies in the narrative: "In 2023, Alice had 42 apples and bought 15 more at Store No.

  1. How many does she have?" To solve this, a system must realize that "42" and "15" are functional quantities, while "2023" and "5" are merely descriptive noise.

The core difficulty in automated mathematical reasoning is not the arithmetic, but the filtering of irrelevant information. Research in this field has evolved from heuristic linguistic rules to structured graphs and deep neural filters to distinguish between numbers that belong in an equation and those that belong in the background.

The Problem of Narrative Noise

Early AI systems like HAPPINESS, developed by Jack P. Gelb, identified that natural language descriptions are filled with "linguistic noise"—filler words and descriptive details that do not contribute to the mathematical solution. As Chao-Chun Liang and colleagues noted in A Tag-Based Statistical English Math Word Problem Solver with Understanding, Reasoning and Explanation, "black-box" models often stumble when presented with complex narratives because they lack a mechanism to separate essential data from narrative distractors.

Semantic and Verb Categorization

One way to filter noise is to understand the "action" of the story. In Learning to Solve Arithmetic Word Problems with Verb Categorization, Hannaneh Hajishirzi and Mohammad Javad Hosseini demonstrated that verbs often dictate the mathematical operation (e.g., "gave" implies subtraction for the giver). By categorizing these verbs, the system can ground quantities in a semantic context, making it easier to ignore numbers associated with irrelevant actions.

Similarly, Arindam Mitra and Chitta Baral proposed semantic type filtering. Their approach, detailed in Learning To Use Formulas To Solve Simple Arithmetic Problems, involves verifying that quantities share compatible attributes. If a problem asks for the total number of "apples," a system using semantic filtering can effectively ignore a number referring to "miles" or "hours," as they belong to incompatible categories.

Structural Constraints and Unit Dependencies

Beyond simple categories, the relationship between numbers can be modeled structurally. Subhro Roy and Dan Roth introduced Unit Dependency Graphs (UDGs) in Unit Dependency Graph and its Application to Arithmetic Word Problem Solving.

The intuition behind UDGs is dimensional consistency: you cannot add a rate (miles per hour) to a static quantity (miles) without a conversion. By forcing the solver to respect these constraints, the model becomes robust against distractor numbers. If a number in the text doesn't fit into the dimensional logic of the required answer, it is discarded as irrelevant. This framework was further extended to map sentences to "declarative knowledge"—structured mathematical rules that prevent the model from simply memorizing vocabulary patterns (Mapping to Declarative Knowledge for Word Problem Solving).

Neural Filtering and Sequence Labeling

With the advent of deep learning, researchers moved toward explicit "filtering" modules within neural architectures. Yan Wang and colleagues, in their Deep Neural Solver for Math Word Problems, implemented a significant number filter. This is a binary classification module that looks at every number in the input and decides if it is "significant" (essential for the solution) or "contextual noise" (like a date) before the equation is even generated.

Other approaches treat filtering as a sequence labeling task. In Quantity Tagger: A Latent-Variable Sequence Labeling Approach to Solving Addition-Subtraction Word Problems, Yanyan Zou and Wei Lu 0011 used "latent spans" of text around numbers. By learning which words typically surround functional numbers versus distractors, the model learns to assign zero weight to background information.

Global Relevance Prediction

The most recent shift involves moving from local context to global relevance. In Math Word Problem Solving with Explicit Numerical Values, Qi Zhang and co-authors argued that standard attention mechanisms often fail to distinguish distractors because they treat numbers as abstract symbols. They proposed a global relationship prediction mechanism that predicts the likelihood of each number's inclusion in the final equation. By filtering out numbers with low relevance scores, the model prevents irrelevant numerical information from "leaking" into the decoding process, ensuring the final mathematical expression is built only from functional data.

Papers in this version

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 13 papers
  2. Version 1 · 2026-10-04 · 18 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_irrelevant_information_filtering_406d6bbe,
  title = {irrelevant information filtering},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/irrelevant-information-filtering/rdr_406d6bbe8f49468bb62d9108fdcc2de1},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_filtering_irrelevant_information_in_math_406d6bbe_v1,
  title = {Filtering Irrelevant Information in Math Word Problems},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/filtering-irrelevant-information-in-math-word-problems/rdr_406d6bbe8f49468bb62d9108fdcc2de1/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}