Aivora
arXivAI ResearchIntermediate

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

提示詞還能做更多:探討嵌入模型中的檢索指令效應

2 min read
Your Prompt Should Do More: Effects of Retrieval Instructions in Embedding Models
The 30-second version

While prompted embedding models are designed to follow detailed instructions for retrieval, this paper reveals they often fail to follow simple instructions when query-side distractors are introduced. The authors attribute this to current training and evaluation designs, and show that fine-tuning models with added query-side distractors substantially improves instruction-following performance with minimal impact on other tasks.

Key points

01

Instruction Failure

Current embedding models struggle to follow simple retrieval instructions when query-side distractors are introduced.

02

Mechanism Analysis

The paper investigates the mechanisms of how instructions affect query representations in asymmetric retrieval tasks.

03

Training Deficiencies

This unreliable behavior is driven by the training setup and evaluation design of current embedding models.

04

Distractor Fine-Tuning

Fine-tuning embedding models with added query-side distractors leads to substantial improvements with minimal side effects.

How it works

Standard Training vs. Fine-Tuning with Distractors
標準嵌入模型 (Standard Embedding)干擾微調模型 (Distractor Fine-Tuned)
Training Data Style缺乏查詢端干擾因子 (No query-side distractors)加入查詢端干擾因子 (Includes query-side distractors)
Robust Instruction Following遇到干擾容易失效 (Fails under distractor presence)顯著提升且不易受影響 (Substantial improvement, highly robust)
Other Task Performance基準水準 (Baseline)幾乎無負面影響 (Minimal negative effect)

Why it matters

For robust RAG and semantic search, embedding models must reliably parse instruction prompts. This research exposes a critical vulnerability to query-side distractors and provides a practical, low-overhead fine-tuning solution that prevents models from being easily confused in complex retrieval tasks.

Who it affects

  • AI Developer
  • AI Researcher
  • Product Manager

How to use it

  1. 1Optimizing complex, instruction-based semantic search within RAG pipelines.
  2. 2Improving fine-tuning workflows for prompted embedding models to resist distractor queries.

Limitations & caveats

  • The study focuses specifically on asymmetric retrieval tasks; generalizability to other task types requires further validation.
  • Standard pre-trained embedding models inherently lack native defenses against query-side distractors due to baseline training limitations.

Related