scimeatlas

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

ACL 2024Large language models › Retrieval and knowledgeapproach: Explanatory and multiple-choice QA benchmarksopen problems in this approach47 citations (OpenAlex)

University of California, San Diego · Cisco

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
10improved
1no clear effect
1hurt

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 changedWhereMeasuredEffect
Fine-tune llama-2-7b on answer-only QA data (InBedder) instead of using llama-2-7b-chat with re-encodingllama-2-7b · instruction awareness tests (average)average: 41.76 -> 58.80Improved
Fine-tune roberta-large with InBedder instead of Alpacaroberta-large · instruction awareness tests (average)average: 40.12 -> 52.35Improved
Fine-tune opt-1.3b with InBedder instead of Alpacaopt-1.3b · instruction awareness tests (average)average: 27.53 -> 50.19Improved
Add answer pre-processing (stopword removal for short answers) (ablation)llama-2-7b InBedder · instruction awareness tests (average)average: 52.49 -> 58.80Improved
Use hidden states of generated answers (avg-gen) instead of prompt hidden states (avg-ppt) (ablation)llama-2-7b-chat · instruction awareness testsaverageImproved
Re-encode generated answers with e5-large-v2 and sample more answers (ablation)LLM embedders · instruction awareness testsaverageImproved
Average all hidden states (avg-all) instead of generation only (ablation)llama-2-7b-chat · instruction awareness testsaverageNo clear effect
Filter hidden states of uninformative tokens when computing avg-gen (ablation)three LLMs · instruction awareness testsaverage: marginalImproved
Use 1st-gen hidden states in InBedder (ablation)InBedder · instruction awareness testsaverageImproved
InBedder (llama-2-7b) vs instructor-large on generic embedding tasksllama-2-7b-InBedder · MTEB subset averageaverage: 62.33 -> 59.51Hurt
Use llama-2-7b-InBedder vs instructor-large for InstructSTSBInstructSTSB · InstructSTSBSpearman correlation: -15.02 -> 22.07Improved
Instruction robustness: InBedder vs instructor-large and llama-2-7b-chatInBedder · clustering with correct/implicit/incorrect instructionsdelta_ci and delta_iiImproved

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy