atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Repetition Improves Language Model Embeddings

ICLR 2025 · Vision-language and multimodal › CLIP and zero-shot · approach: Language models for zero-shot reasoning · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes echo embeddings, which repeat the input in a prompt and pool embeddings from the second copy, letting causal LMs produce strong text embeddings without architectural changes or fine-tuning.

Problem

Causal (autoregressive) LMs produce weak text embeddings because early tokens cannot attend to later tokens; prior fixes either require bidirectional attention modification with extra MLM training or large synthetic data.

Approach

Prompt the LM to repeat/rewrite the input so the second occurrence can attend to the whole input under causal attention; pool mean token embeddings from the second copy, enabling bidirectional-like information without changing the architecture.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Repeat the input and pool the second occurrenceMistral-7B-Instruct-v0.1 embeddings · MTEB (56 datasets), zero-shotaverage: 42.38 -> 48.64Helped
Repeat a halved-length input and pool the second occurrenceMistral-7B-Instruct-v0.1 embeddings · MTEB (56 datasets), zero-shotaverage: 42.38 -> 49.02Helped
Use compute-matched rather than full-compute echo embeddings (ablation)Mistral-7B-Instruct-v0.1 embeddings · MTEB (56 datasets), zero-shotaverage: 48.64 -> 49.02No clear effect
Replace mean pooling with last-token pooling (ablation)Echo embeddings · MTEB (56 datasets), zero-shotaverage: 48.64 -> 31.55Hurt
Replace mean pooling with last-token pooling (ablation)Classical embeddings · MTEB (56 datasets), zero-shotaverage: 42.38 -> 31.94Hurt
Repeat the input and pool the second occurrenceLLaMA-2-7B-Instruct embeddings · MTEB (56 datasets), zero-shotaverage: 40.29 -> 45.84Helped
Repeat the input and pool the second occurrenceS-LLaMA-1.3B embeddings · MTEB (56 datasets), zero-shotaverage: 34.31 -> 40.45Helped
Repeat the input and pool the second occurrenceMistral-7B embeddings · MTEB-MINI (28 datasets), zero-shotaverage: 49.03 -> 59.78Helped
Cast causal attention to bidirectional attention (ablation)Classical LLaMA-2-7B embeddings · MTEB-MINI (28 datasets), zero-shotaverage: 47.27 -> 43.03Hurt
Cast causal attention to bidirectional attention (ablation)Classical S-LLaMA-1.3B embeddings · MTEB-MINI (28 datasets), zero-shotaverage: 40.14 -> 35.77Hurt
Cast causal attention to bidirectional attention (ablation)Classical Mistral-7B embeddings · MTEB-MINI (28 datasets), zero-shotaverage: 49.03 -> 58.24No clear effect
Repeat the input and pool the second occurrenceMistral-7B embeddings · MTEB (56 datasets), fine-tunedaverage: 63.98 -> 64.68Helped

Surprising findings

Limitations

Experimental setup

Datasets: MTEB English (56 datasets) MTEB-MINI (28 datasets) Publicly available embedding training datasets GPT-4-generated toy dataset STSBenchmark

Benchmarks: MTEB MTEB-MINI

Metrics: average MTEB score accuracy on toy dataset

Baselines: Classical embeddings PromptEOL BERT RoBERTa LLM2Vec-unsupervised LLM2Vec-supervised GritLM-7B Classical + bidirectional attention

Builds on: LLM2Vec PromptEOL SimCSE GradCache Sentence-BERT

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