Your Prompt Should Do More: Effects of Retrieval Instructions in Embedding Models

Amanda Myntti, Jenna Kanerva, Veronika Laippala, Filip GinterarXiv 2026

TL;DR

Current prompted embedding models are often "lazy" instruction followers, relying on raw semantic similarity rather than truly adapting to task-specific prompts. By introducing query-side distractors—paraphrases of the query that do not satisfy the task—the authors reveal a major robustness gap and demonstrate that fine-tuning with these hard negatives significantly improves instruction following without sacrificing general performance.

What Problem Does This Paper Address?

Modern text embedding models use natural language instructions (e.g., "Retrieve the answer to this question") to adapt a single model to diverse tasks. However, these models are typically evaluated on benchmarks like MTEB where tasks are isolated. In a standard QA evaluation, the candidate pool contains only potential answers; it rarely contains other questions that are semantically similar to the query but irrelevant to the task.

The authors argue that this "siloed" evaluation creates a false sense of security. If a model can't distinguish between a relevant target (an answer) and a semantically similar distractor (a paraphrase of the question), it isn't truly following the instruction—it’s just performing basic semantic matching. This paper investigates the geometric mechanisms of how instructions shift embeddings and identifies why current models fail when the retrieval pool gets "crowded" with semantically related but task-irrelevant text.

Methods

The researchers employed a three-pronged approach:

  1. Structural Metrics: To diagnose how instructions affect embeddings, they introduced three measures:
  2. Similarity Improvement: Does the instruction actually make the query more similar to the target?
  3. Displacement: How much does the instruction move the query embedding in vector space?
  4. Angulation: Is the movement actually directed toward the target?
  5. Distractor Generation: They used GPT-5.4-mini to generate paraphrases for every query in their datasets. These paraphrases act as "query-side distractors"—text that is semantically identical to the query but should not be retrieved when the instruction asks for an answer or a translation.
  6. Distractor Fine-Tuning: They fine-tuned a baseline model (Qwen-0.6B) using the SWIFT framework. Crucially, they modified the contrastive training setup: 50% of training examples included a query-side distractor as a hard negative, forcing the model to use the instruction to "push" the query embedding away from its paraphrase and toward the actual target.

Datasets

The study utilized several key benchmarks:

  • Tatoeba: A bitext-mining dataset covering 8 diverse languages (Arabic, Chinese, Finnish, etc.) to test translation retrieval.
  • ARCChallenge: A scientific QA dataset used to evaluate retrieval in a complex domain.
  • SQuAD v1.1: Used specifically for the fine-tuning experiments.
  • MTEB (Massive Text Embedding Benchmark): Used to ensure that the proposed fine-tuning didn't degrade performance on standard, out-of-domain tasks.

Key Insights and Ideas

  • Instructions are surprisingly weak: In standard evaluations, even "keysmash" instructions (random strings like asdfjkl) can result in high performance. This suggests models often ignore the prompt and rely on the query's inherent semantics.
  • The "Lazy" Embedding Shift: Figure 1 illustrates that for many models, relevant instructions don't necessarily move the query closer to the target more than irrelevant ones do. In ARCChallenge, displacement is often low for high-performing instructions, meaning the model succeeds despite the prompt, not because of it.
Scatter plots showing the relationship between structural metrics and performance on ARCChallenge and Tatoeba.
  • The Distractor Collapse: When query-side distractors are added to the retrieval pool, the performance of most state-of-the-art models collapses. They retrieve the paraphrase of the question instead of the answer because the semantic similarity of the paraphrase is simply too strong for the weak instruction-following mechanism to overcome.
  • Query-Side Negatives are the Missing Link: Standard contrastive training focuses on document-side negatives (other documents in the corpus). The authors show that explicitly training with query-side negatives is essential for robust instruction following.

Key Results

  • Baseline Failure: On the ARCChallenge dataset, adding distractors "completely destroys" the performance of all tested models, with Recall@1 dropping to near zero in many cases (see Table 5 in the paper).
  • Fine-Tuning Success: Fine-tuning with distractors led to massive gains. For the Qwen-0.6B model on SQuAD, Recall@1 in the presence of paraphrase distractors jumped from 0.014 to 0.470.
  • Generalization: Importantly, this specialized training did not hurt general performance. Figure 5 shows that the absolute difference in MTEB scores across various categories (Classification, Clustering, etc.) remained negligible after distractor fine-tuning.
MTEB benchmark results showing that fine-tuning for distractors has minimal negative impact on general tasks.

Limitations and Future Work

  • Task Variety: The study focused primarily on QA and bitext mining. The authors acknowledge that other tasks, like clustering or summarization, were not explored in depth.
  • Model Scaling: While they tested 8 models up to 8B parameters, they did not ablate the effects of even larger models due to computational constraints.
  • Synthetic Data Bias: Distractors were generated using a single LLM (GPT-5.4-mini). Future work could investigate if the choice of the generator model impacts the robustness of the fine-tuned embedding model.
  • Future Direction: The authors suggest a shift in the evaluation paradigm for the entire field: moving away from isolated task benchmarks toward "multi-task retrieval challenges" where the candidate pool is shared across different instruction types.

Summary updated

BibTeX
@misc{myntti2026your,
  author = {Amanda Myntti and Jenna Kanerva and Veronika Laippala and Filip Ginter},
  title = {{Your Prompt Should Do More: Effects of Retrieval Instructions in Embedding Models}},
  year = {2026},
  eprint = {2610.10508},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.10508},
}
Figure