Research map / Large language models / Language, safety and interpretability
Causal2Vec: Improving Decoder-only LLMs as Embedding Models through a Contextual Token
Ailiang Lin, Zhuoyun Li, Yusong Wang, Kotaro Funakoshi, Manabu Okumura
Institute of Science Tokyo · Tencent
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 |
|---|---|---|---|
| add the Contextual token to LLM input (ablation) | Mistral-7B embedding · MTEB-MINI (30 datasets) | average score: 64.84 -> 65.44 | Improved |
| add the Contextual token to LLM input (ablation) | S-LLaMA-1.3B embedding · MTEB-MINI (30 datasets) | average score: 61.81 -> 62.19 | Improved |
| concatenate last hidden states of Contextual and EOS tokens (ablation) | Causal2Vec Mistral-7B · MTEB-MINI (30 datasets) | average score: 65.44 -> 65.85 | Improved |
| concatenate last hidden states of Contextual and EOS tokens (ablation) | Causal2Vec S-LLaMA-1.3B · MTEB-MINI (30 datasets) | average score: 62.19 -> 62.83 | Improved |
| use Causal2Vec instead of directly concatenating LLM and bidirectional encoder embeddings (ablation) | Mistral-7B · MTEB-MINI (30 datasets) | average score: 65.02 -> 65.85 | Improved |
| use more Contextual tokens (2, 4, 8) instead of one (ablation) | Causal2Vec · MTEB-MINI (30 datasets) | average score: 65.85 -> 65.76 (2), 65.72 (4), 65.68 (8) on Mistral-7B | Hurt |
| use larger or different bidirectional encoder (E5-large-v2, GTE-small) instead of E5-base-v2 (ablation) | Causal2Vec · MTEB-MINI (30 datasets) | average score: Mistral-7B 65.85 -> 65.71 (E5-large-v2), 65.45 (GTE-small) | No clear effect |
| add the Contextual token from a bidirectional encoder (any tested encoder) vs none (ablation) | Mistral-7B · MTEB-MINI (30 datasets) | average score: 64.84 (w/o Bi-Encoder) -> 65.41-65.85 | Improved |
| use Contextual token instead of TP (prepending EOS per layer) (ablation) | Mistral-7B · MTEB-MINI (30 datasets) | average score: 64.93 -> 65.85 | Improved |
| use Causal2Vec representation under appended noise text (ablation) | Mistral-7B retrieval (6 datasets) · MTEB-MINI retrieval (6 datasets) | average score: drop -5.42 (Mistral-7B) vs -3.25 (Causal2Vec) | Improved |
| use Causal2Vec representation under appended noise text (ablation) | Mistral-7B · MTEB-MINI (30 datasets) | average score: drop 6.15 vs 4.90 | Improved |
| add in-context examples (ICL) to Causal2Vec | Causal2Vec Mistral-7B · MTEB (56 datasets) | average score: 66.10 -> 66.85 | Improved |
Open problems this paper states
- “Experiments cover only four LLMs with fewer than 7B parameters, leaving larger and more diverse models unvalidated.” → Larger models than the ones studied are left untested. (an open problem in pruning and circuits in LLMs)
- “Evaluated only on English benchmarks, with multilingual text embedding performance not yet explored.” → Evaluated on English only, so other languages are untested. (an open problem in pruning and circuits in LLMs)
Open problems in pruning and circuits in LLMs
Can circuit and interpretability findings be shown to be causal, and to hold on larger and closed models?
- Larger models than the ones studied are left untested. · 17 papers state it
- Evaluated on English only, so other languages are untested. · 11 papers state it
- Findings are correlational, with no causal test of what the model uses. · 8 papers state it
Closest papers by meaning
- NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models (ICLR 2025 · similarity 0.91)
- Making Text Embedders Few-Shot Learners (ICLR 2025 · similarity 0.89)
- Rep2Text: Decoding Full Text from a Single LLM Token Representation (NeurIPS 2026 · similarity 0.89)
- A Comprehensive Study of Decoder-Only LLMs for Text-to-Image Generation (CVPR 2025 · similarity 0.89)
- EmbedLLM: Learning Compact Representations of Large Language Models (ICLR 2025 · similarity 0.88)
- Repurposing Language Models into Embedding Models: Finding the Compute-Optimal Recipe (NeurIPS 2024 · similarity 0.88)
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.