LLMs can be easily Confused by Instructional Distractions

Yerin Hwang, Yongil Kim, Jahyun Koo, Taegwan Kang, Hyunkyung Bae, Kyomin Jung

Abstract

Large Language Models (LLMs) are highly optimized to follow instructions, a trait that makes them versatile assistants but also vulnerable to "instructional distraction." This paper introduces DIM-Bench, a benchmark designed to evaluate how easily models are diverted from a primary task when the input data contains content that resembles a command. Our findings reveal that even state-of-the-art models like GPT-4o frequently prioritize solving embedded problems over executing their intended instructions.

Introduction: The Problem of Instructional Distraction

The standard interaction paradigm for LLMs involves a primary Instruction (the task) and Input Data (the content). However, intensive instruction-tuning has made models hyper-responsive to any text that looks like a directive. For instance, if a user asks a model to "Translate this math word problem into Chinese," the model may ignore the translation task and simply solve the math problem.

An example of instructional distraction: the model solves the math problem instead of translating it as requested.

This phenomenon, termed instructional distraction, poses a significant challenge for automated data pipelines where LLMs are used to process large datasets that might contain questions, code, or logic puzzles.

DIM-Bench: A Systematic Evaluation

To measure this vulnerability, the researchers developed the Distractive Instruction Misunderstanding Benchmark (DIM-Bench). The benchmark consists of 2,000 instances across 20 task combinations:

  • Primary Tasks: Rewriting, Proofreading, Translation, and Style Transfer.
  • Distractor Inputs: Reasoning, Code Generation, Mathematical Reasoning, Bias Detection, and Question Answering.

Evaluation was conducted using two methods:

  1. LLM-as-a-Judge: GPT-4o was used to determine if the target model adhered to the primary instruction.
  2. Length-Difference Analysis: For tasks like proofreading, a significant drop in output length compared to input length signaled that the model likely answered an embedded question instead of processing the text.

Key Results and Model Performance

The results across all tested models—including GPT-4o, GPT-4o-mini, and Llama-3.1—show a consistent susceptibility to distraction.

Performance table showing accuracy scores for various models on DIM-Bench tasks. Note the near-zero scores for Question Answering across most models.

Key findings include:

  • Universal Vulnerability: No model is immune. Even the most advanced models failed significantly, particularly when the distractor was a Question Answering (QA) task, where accuracy often dropped to 0%.
  • The "Helpfulness" Paradox: The training that makes LLMs helpful assistants also makes them unable to maintain a hierarchy of instructions.
  • Trigger Content: Question marks and bias detection prompts act as strong triggers, overriding the primary task weights in the model's internal processing.

Insights into Model Behavior

  • Distance Decay: Models are more likely to be distracted in longer contexts. As the distance between the primary instruction and the distractor increases, the model's "memory" of the initial goal fades.
  • Lack of Instruction Privilege: Current LLMs lack a robust concept of "instruction privilege," where system or user prompts should always take precedence over the data being processed.
  • Mitigation Limits: While techniques like Chain-of-Thought (CoT) and explicit "ignore" prompts help, they do not solve the underlying issue. The fundamental urge to respond to embedded instructions remains high.

Conclusion

Instructional distraction is a fundamental hurdle for the reliable deployment of LLMs in complex workflows. Future research must focus on developing training techniques that establish a clear instructional hierarchy, allowing models to treat input text strictly as data, regardless of its content.

Summary updated

BibTeX
@inproceedings{hwang2025llms,
  author = {Yerin Hwang and Yongil Kim and Jahyun Koo and Taegwan Kang and Hyunkyung Bae and Kyomin Jung},
  title = {{LLMs can be easily Confused by Instructional Distractions}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure