Research map / Large language models / Retrieval and knowledge
Answer is All You Need: Instruction-following Text Embedding via Answering the Question
Letian Peng, Yuwei Zhang, Zilong Wang, Jayanth Srinivasa, Gaowen Liu, Zihan Wang, Jingbo Shang
University of California, San Diego · Cisco
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Fine-tune llama-2-7b on answer-only QA data (InBedder) instead of using llama-2-7b-chat with re-encoding | llama-2-7b · instruction awareness tests (average) | average: 41.76 -> 58.80 | Improved |
| Fine-tune roberta-large with InBedder instead of Alpaca | roberta-large · instruction awareness tests (average) | average: 40.12 -> 52.35 | Improved |
| Fine-tune opt-1.3b with InBedder instead of Alpaca | opt-1.3b · instruction awareness tests (average) | average: 27.53 -> 50.19 | Improved |
| Add answer pre-processing (stopword removal for short answers) (ablation) | llama-2-7b InBedder · instruction awareness tests (average) | average: 52.49 -> 58.80 | Improved |
| Use hidden states of generated answers (avg-gen) instead of prompt hidden states (avg-ppt) (ablation) | llama-2-7b-chat · instruction awareness tests | average | Improved |
| Re-encode generated answers with e5-large-v2 and sample more answers (ablation) | LLM embedders · instruction awareness tests | average | Improved |
| Average all hidden states (avg-all) instead of generation only (ablation) | llama-2-7b-chat · instruction awareness tests | average | No clear effect |
| Filter hidden states of uninformative tokens when computing avg-gen (ablation) | three LLMs · instruction awareness tests | average: marginal | Improved |
| Use 1st-gen hidden states in InBedder (ablation) | InBedder · instruction awareness tests | average | Improved |
| InBedder (llama-2-7b) vs instructor-large on generic embedding tasks | llama-2-7b-InBedder · MTEB subset average | average: 62.33 -> 59.51 | Hurt |
| Use llama-2-7b-InBedder vs instructor-large for InstructSTSB | InstructSTSB · InstructSTSB | Spearman correlation: -15.02 -> 22.07 | Improved |
| Instruction robustness: InBedder vs instructor-large and llama-2-7b-chat | InBedder · clustering with correct/implicit/incorrect instructions | delta_ci and delta_ii | Improved |
Open problems in explanatory and multiple-choice QA benchmarks
Which retrieval and QA methods hold up beyond English, small models and LLM judges, and what do they cost?
- Multi-step retrieval and reasoning adds latency and LLM cost. · 26 papers state it
- Only English questions were tested, so other languages are open. · 21 papers state it
- Scores depend on LLM judges that may be biased or noisy. · 15 papers state it
Closest papers by meaning
- Instruction Embedding: Latent Representations of Instructions Towards Task Identification (NeurIPS 2024 · similarity 0.88)
- A General Framework for Producing Interpretable Semantic Text Embeddings (ICLR 2025 · similarity 0.87)
- Repurposing Language Models into Embedding Models: Finding the Compute-Optimal Recipe (NeurIPS 2024 · similarity 0.87)
- Making Text Embedders Few-Shot Learners (ICLR 2025 · similarity 0.86)
- Beyond Content Relevance: Evaluating Instruction Following in Retrieval Models (ICLR 2025 · similarity 0.85)
- NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models (ICLR 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.