Instructing Large Language Models to Identify and Ignore Irrelevant Conditions
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Math word problem (MWP) solving requires generating a reasoning path based on a given problem description that often contains irrelevant conditions. Existing chain-of-thought (CoT) prompting methods elicited multi-step reasoning abilities of large language models (LLMs) to solve MWPs. However, they were seriously confused by the irrelevant conditions, resulting in low accuracy. In this paper, we propose a novel approach named I3C that instructs LLMs to identify and ignore irrelevant conditions. It identifies a set of irrelevant condition candidates that have a weak semantic relevance with the question. Then it prompts LLMs to verify the irrelevant conditions. Lastly it instructs the LLMs with the verification on relevant and irrelevant conditions to avoid confusion and improve reasoning paths. Moreover, we propose to select (problem, reasoning paths) pairs as demonstrations to enhance I3C with few-shot reasoning. We develop I3C-Select that selects the most confusing problems based on the semantic relevance measurement. We conduct extensive experiments on eight MWP datasets. I3C can be combined with any CoT prompting methods to improve the performance of solving MWPs. Notably, with GPT-3.5-Turbo and I3C-Select, we achieve an accuracy of 96.0 and 94.1 on GSM-IC2-1K and GSM-ICM-1K, respectively, significantly outperforming the state-of-the-art few-shot prompting method Complex-CoT by +11.7 and +11.1. Our implementation is made publicly available at https://wzy6642.github.io/I3C.github.io/.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. First posted on arXiv 19 Mar 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 3; 2025: 4.
7 papers.
- 2024How Easily do Irrelevant Inputs Skew the Responses of Large Language Models?cited by 44
- 2024EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generationcited by 17
- 2025Adaptive Distraction: Probing LLM Contextual Robustness with Automated Tree Searchcited by 10
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retentioncited by 7
- 2024DSLR: Document Refinement with Sentence-Level Re-ranking and Reconstruction to Enhance Retrieval-Augmented Generationcited by 5
- 2025Solving Math Word Problems Using Estimation Verification and Equation Generationcited by 0
- 2025Automatic Prompt Generation via Adaptive Selection of Prompting Techniquescited by 0
- 2025Automatic Prompt Generation via Adaptive Selection of Prompting Techniques20 Oct 2025
- 2025Solving Math Word Problems Using Estimation Verification and Equation Generation23 Sep 2025
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention21 May 2025
- 2025Adaptive Distraction: Probing LLM Contextual Robustness with Automated Tree Search3 Feb 2025
- 2024EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generation17 Dec 2024
- 2024DSLR: Document Refinement with Sentence-Level Re-ranking and Reconstruction to Enhance Retrieval-Augmented Generation4 Jul 2024
- 2024How Easily do Irrelevant Inputs Skew the Responses of Large Language Models?4 Apr 2024
Similar, not cited
Close in wording, no citation either way
- 2024Logic Contrastive Reasoning with Lightweight Large Language Model for Math Word Problems
- 2025Iterative LLM-Based Generation and Refinement of Distracting Conditions in Math Word Problems
- 2024Learning by Analogy: Enhancing Few-Shot Prompting for Math Word Problem Solving with Computational Graph-Based Retrieval
- 2023Reasoning in Large Language Models Through Symbolic Math Word Problems
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Context
- 2024Large Language Models Struggle with Unreasonability in Math Problems
- 2025A Survey on Large Language Models for Mathematical Reasoning
- 2025Large Language Models and Mathematical Reasoning Failures