PreprintCited by 167Topic ModelingNatural Language Processing TechniquesMultimodal Machine Learning Applications

Large Language Models Can Be Easily Distracted by Irrelevant Context

Open access
Shi, Freda, Chen, Xinyun, Misra, Kanishka, Scales, Nathan, Dohan, David, Chi, Ed, Schärli, Nathanael, Zhou, Denny·2023·arXiv

Abstract

Large language models have achieved impressive performance on various natural language processing tasks. However, so far they have been evaluated primarily on benchmarks where all information in the input context is relevant for solving the task. In this work, we investigate the distractibility of large language models, i.e., how the model problem-solving accuracy can be influenced by irrelevant context. In particular, we introduce Grade-School Math with Irrelevant Context (GSM-IC), an arithmetic reasoning dataset with irrelevant information in the problem description. We use this benchmark to measure the distractibility of cutting-edge prompting techniques for large language models, and find that the model performance is dramatically decreased when irrelevant information is included. We also identify several approaches for mitigating this deficiency, such as decoding with self-consistency and adding to the prompt an instruction that tells the language model to ignore the irrelevant information.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2302.00093

Cites

51 of 57 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • By disclosing task intent at the input side and relying on surface-form matching at the output side, the evaluation increasingly reflects models' adaptation to task prompts and generation styles rather than their ability to retain and apply conversational context.

    “By disclosing task intent at the input side and relying on surface-form matching at the output side, the evaluation increasingly reflects models' adaptation to task prompts and generation styles rather than their ability to retain and apply conversational context.”

    From Locomo-Plus: Beyond-Factual Cognitive Memory Evaluation Framework for LLM Agents (2026) · cites this paper as Shi et al., 2023

    Split into 2 atoms — 0 confirmed, 2 partially supported, 0 disputed, 0 misattributed, 0 unverifiable. Expand the claim to see per-atom verdicts.

    Experimental — accuracy not yet measured
  • Longer prompts introduce irrelevant and redundant information, which can weaken LLMs' performance.

    “Longer prompts introduce irrelevant and redundant information, which can weaken LLMs' performance (Shi et al., 2023), as illustrated in Figure 1a.”

    From LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression (2024) · cites this paper as Shi et al., 2023

    The Introduction reports that adding irrelevant information to a problem description can disrupt LLM predictions. Section 5.4 finds that a longer, four-exemplar prompt was less robust to irrelevant context than a one-exemplar prompt. The paper does not establish that longer prompts inherently introduce irrelevant or redundant information; it also reports that the four-exemplar prompt performed better on the original benchmark. (LLM, conf=0.85)

    Experimental — accuracy not yet measured
  • Indiscriminately retrieving and incorporating a fixed number of retrieved passages, regardless of whether retrieval is necessary or passages are relevant, diminishes LM versatility or can lead to unhelpful response generation.

    “However, indiscriminately retrieving and incorporating a fixed number of retrieved passages, regardless of whether retrieval is necessary, or passages are relevant, diminishes LM versatility or can lead to unhelpful response generation.”

    From CareerX: A Retrieval-Augmented Generation Framework for Personalized AI-Driven Career Guidance (2023) · cites this paper as Shi et al., 2023

    The Introduction (page unavailable) reports that adding irrelevant information to a problem description distracts language models and produces inconsistent predictions. This supports the concern about unhelpful responses from irrelevant context, but the paper does not examine fixed-number passage retrieval, whether retrieval is necessary, or diminished LM versatility. (LLM, conf=0.86)

    Experimental — accuracy not yet measured
  • Prompting approaches can reduce the sensitivity of CoT explanations to input perturbations and stereotypes, which our findings on prompting for debiasing corroborate.

    “Prompting approaches can reduce the sensitivity of CoT explanations to input perturbations and stereotypes (Shaikh et al., 2022;Ganguli et al., 2023;Shi et al., 2023), which our findings on prompting for debiasing corroborate.”

    From Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting (2023) · cites this paper as Shi et al., 2023

    Section 5.3 reports that instructed prompting and exemplars containing distractors improve the robustness of CoT-based problem solving to irrelevant context. That supports the input-perturbation part in this specific setting, but the paper does not establish reduced sensitivity of CoT explanations to stereotypes or evaluate debiasing. (LLM, conf=0.86)

    Experimental — accuracy not yet measured
  • Existing agents struggle with the capability to perform self-reflection, tending to take all information/feedback and not filter out or correct irrelevant, incorrect, or misleading information.

    “Existing agents struggle with the capability to perform self-reflection [69, 41]. That is to say they tend to take all information/feedback and do not know how to filter out or correct irrelevant, incorrect, or misleading information [84, 107].”

    From Agentless: Demystifying LLM-based Software Engineering Agents (2024) · cites this paper as [84]

    The Introduction and §5.1 show that large language models can be distracted by irrelevant information in problem descriptions and sometimes use it to produce wrong answers. The paper does not establish that agents generally accept all feedback or fail to correct incorrect or misleading information. Section 5.3 also finds that instructions can improve models’ ability to ignore irrelevant context. The self-reflection sentence is attached to other citations, not this source. (LLM, conf=0.86)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

6 of the 63 references couldn’t be matched to a known paper.

Cited by

Sorted by citations

Authors
Shi, F., Chen, X., Misra, K., Scales, N., Dohan, D., Chi, E., Schärli, N., & Zhou, D.
Affiliations
  • Toyota Technological Institute at Chicago (US)
  • Purdue University West Lafayette (US)
Venue
arXiv
Publisher
arXiv
Published
2023
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4319049323
Cited by
134
References
63
Citations by year
2026: 7 · 2025: 43 · 2024: 55 · 2023: 29
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • arXiv (Cornell University) (cc-by)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Multimodal Machine Learning Applications
Keywords
large language models, distractibility, arithmetic reasoning, prompting techniques, instruction following, problem-solving accuracy

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review