Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Diffusion vs. Autoregressive Language Models: A Text Embedding Perspective

About

Large language model (LLM)-based embedding models, benefiting from large scale pre-training and post-training, have begun to surpass BERT and T5-based models on general-purpose text embedding tasks such as document retrieval. However, a fundamental limitation of LLM embeddings lies in the unidirectional attention used during autoregressive pre-training, which misaligns with the bidirectional nature of text embedding tasks. To this end, We propose adopting diffusion language models for text embeddings, motivated by their inherent bidirectional architecture and recent success in matching or surpassing LLMs especially on reasoning tasks. We present the first systematic study of the diffusion language embedding model, which outperforms the LLM-based embedding model by 20% on long-document retrieval, 8% on reasoning-intensive retrieval, 2% on instruction-following retrieval, and achieve competitive performance on traditional text embedding benchmarks. Our analysis verifies that bidirectional attention is crucial for encoding global context in long and complex text.

Siyue Zhang, Yilun Zhao, Liyuan Geng, Arman Cohan, Anh Tuan Luu, Chen Zhao• 2025

Related benchmarks

TaskDatasetResultRank
RetrievalTREC DL 2019--
83
Information RetrievalCOVID--
50
Information RetrievalTREC DL 2020--
33
Information RetrievalFiQA
NDCG@10 (Dense)0.478
21
Information RetrievalNQ
NDCG@10 (Dense)62.5
21
Information RetrievalHQA
NDCG@10 (Dense)66.8
21
Information RetrievalSciFact
NDCG@10 (Dense)73.5
21
Information RetrievalQuora
NDCG@10 (Dense)84.2
21
Information RetrievalBEIR-7 Average
NDCG@10 (Dense)63.8
21
Information RetrievalArguAna
NDCG@10 (Dense)38.7
21
Showing 10 of 11 rows

Other info

Follow for update