Skip to main content
QUICK REVIEW

[Paper Review] How Easily do Irrelevant Inputs Skew the Responses of Large Language Models?

Siye Wu, Jian Xie|arXiv (Cornell University)|Apr 4, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper investigates how easily large language models (LLMs) are misled by semantically related irrelevant information retrieved from external knowledge sources. It proposes a framework to generate high-quality irrelevant passages—ranging from unrelated to highly related—and demonstrates that LLMs are significantly distracted by such content, especially in multiple-choice QA formats, despite existing mitigation strategies offering only marginal or harmful improvements in robustness.

ABSTRACT

By leveraging the retrieval of information from external knowledge databases, Large Language Models (LLMs) exhibit enhanced capabilities for accomplishing many knowledge-intensive tasks. However, due to the inherent flaws of current retrieval systems, there might exist irrelevant information within those retrieving top-ranked passages. In this work, we present a comprehensive investigation into the robustness of LLMs to different types of irrelevant information under various conditions. We initially introduce a framework to construct high-quality irrelevant information that ranges from semantically unrelated, partially related, and related to questions. Furthermore, our analysis demonstrates that the constructed irrelevant information not only scores highly on similarity metrics, being highly retrieved by existing systems, but also bears semantic connections to the context. Our investigation reveals that current LLMs still face challenges in discriminating highly semantically related information and can be easily distracted by these irrelevant yet misleading content. Besides, we also find that current solutions for handling irrelevant information have limitations in improving the robustness of LLMs to such distractions. All the resources are available on GitHub at https://github.com/Di-viner/LLM-Robustness-to-Irrelevant-Information.

Motivation & Objective

  • To investigate the robustness of LLMs when exposed to irrelevant information retrieved from external knowledge bases.
  • To develop a systematic framework for generating high-quality irrelevant information that is semantically related yet factually misleading.
  • To evaluate how different types and quantities of irrelevant information affect LLM performance across various question formats.
  • To assess the effectiveness of existing mitigation strategies—such as chain-of-thought prompting, instruction injection, and in-context learning—in improving LLM robustness to irrelevant inputs.
  • To highlight the limitations of current approaches in handling complex, realistic retrieval scenarios with multiple irrelevant passages.

Proposed method

  • Design a framework to generate three types of irrelevant information: semantically unrelated, partially related, and highly related to the question.
  • Ensure generated irrelevant content achieves high similarity scores (comparable to Wikipedia passages) to mimic realistic retrieval system outputs.
  • Evaluate LLMs on question-answering tasks under controlled conditions with varying combinations of relevant and irrelevant information.
  • Test three mitigation strategies: chain-of-thought prompting, explicit instruction to ignore irrelevant content, and in-context learning with labeled examples.
  • Use GPT-3.5 Turbo as the primary model for evaluation across multiple question formats (multiple-choice, boolean, free-form).
  • Analyze model behavior through qualitative case studies and quantitative metrics like misrepresentation ratios and accuracy drops.

Experimental results

Research questions

  • RQ1How does the semantic relatedness of irrelevant information affect LLMs’ susceptibility to distraction?
  • RQ2How does the quantity of irrelevant information influence LLMs’ ability to identify and disregard misleading content?
  • RQ3How do different question formats (multiple-choice, boolean, free-form) impact the robustness of LLMs to irrelevant inputs?
  • RQ4To what extent do current mitigation strategies—chain-of-thought, instruction injection, in-context learning—improve LLM robustness in complex retrieval scenarios?
  • RQ5Why do some mitigation strategies, such as example-based guidance, sometimes worsen model performance?

Key findings

  • LLMs are more easily misled by semantically related irrelevant information than by unrelated or partially related content, even when similarity scores are high.
  • As the number of irrelevant passages increases, LLMs show a significant decline in identifying the correct answer, with performance dropping notably in multiple-choice QA formats.
  • Free-form question formats exhibit the highest robustness, while multiple-choice formats are most vulnerable to distraction due to the presence of plausible but incorrect options.
  • Chain-of-thought prompting can exacerbate over-reasoning when misleading information is present, reducing model accuracy.
  • Instruction-based filtering (e.g., 'feel free to ignore irrelevant information') results in only marginal improvements and fails to consistently suppress distractions.
  • In-context learning with labeled examples can backfire, increasing the misrepresentation ratio, suggesting LLMs struggle to generalize from such examples in complex settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.