scimeatlas

Research map / Large language models / Language, safety and interpretability

Embedding-based In-Context Prompt Training for Enhancing LLMs as Text Encoders

Ailiang Lin, Zhuoyun Li, Keyu Mao, Kotaro Funakoshi, Manabu Okumura

ACL 2026Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach1 citations (OpenAlex)

Institute of Science Tokyo · Tencent

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

12measured effects
5improved
3no clear effect
4hurt

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
train with embedding-based in-context prompts (EPIC) and use demonstrations at inferenceMistral-7B · MTEB (56 datasets)average score: 65.33 -> 66.37Improved
train with EPIC but run without demonstrations at inferenceMistral-7B · MTEB (56 datasets)average score: 65.33 -> 66.11Improved
train with EPIC and use demonstrationsQwen2.5-7B · MTEB (56 datasets)average score: 65.05 -> 65.97Improved
replace discrete demonstrations with embeddings (EPIC) vs bge-en-iclMistral-7B · MTEB (56 datasets)average score: 66.18 -> 66.37Improved
remove the query-passage embeddings from the in-context prompt (ablation)EPIC · MTEB 26-dataset subsetaverage score: 71.50 -> 70.71Hurt
compress the instruction as well as the query-passage pair (ablation)EPIC · MTEB 26-dataset subsetaverage score: 71.50 -> 71.22Hurt
use several continuous vectors per query/passage instead of one (ablation)EPIC · MTEB 26-dataset subsetaverage score: 71.50 -> 71.30 (sample-16)No clear effect
replace demonstration embeddings with learnable tokens (ablation)EPIC · MTEB 26-dataset subsetaverage score: 71.50 -> 71.05Hurt
switch to bidirectional attention (ablation)EPIC · MTEB 26-dataset subsetaverage score: 71.50 -> 70.83 (EOS pooling)Hurt
increase training demonstrations from 5 to 8 (ablation)EPIC · MTEB 26-dataset subsetaverage score: 71.50 -> 71.43No clear effect
use EPIC instead of textual ICL for training timeMistral-7B · training timetraining time overhead: over 60% -> about 19%Improved
lower LoRA rank from 64 to 16 (ablation)EPIC · MTEB 26-dataset subsetaverage score: 71.50 -> 71.39No clear effect

Open problems this paper states

Open problems in in-context learning analysis

Which in-context learning methods hold up beyond English classification on small open models, 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