Running summarizing tools on a new article

Check the paper below, then start its synthesis.


Causal2Vec: Improving Decoder-only LLMs as Embedding Models through a Contextual Token

Ailiang Lin (Institute of Science Tokyo), Zhuoyun Li (Tencent (China)), Yusong Wang (Institute of Science Tokyo), Kotaro Funakoshi (Institute of Science Tokyo), Manabu Okumura (Institute of Science Tokyo)

Proceedings of the conference - Association for Computational Linguistics. Meeting
DOI: 10.48550/arxiv.2507.23386 (Computer Science)
License: CC BY

Abstract: Decoder-only large language models (LLMs) have been increasingly adopted to build embedding models for diverse tasks. To overcome the inherent limitations of causal attention in representation learning, many existing methods modify the attention mechanism to be bidirectional, potentially undermining LLMs’ ability to extract semantic information acquired during pre-training. Meanwhile, leading unidirectional approaches often rely on extra input text to generate contextualized embeddings, inevitably increasing computational costs. In this work, we propose Causal2Vec, a general-purpose embedding model tailored to enhance the performance of decoder-only LLMs without altering their original architectures or introducing significant computational overhead. Specifically, we first employ a lightweight BERT-style model to pre-encode the input text into a single Contextual token, which is then prepended to the LLM’s input sequence, allowing each token to capture contextualized information even without attending to future tokens. Furthermore, to mitigate the recency bias introduced by last-token pooling, we concatenate the last hidden states of Contextual and EOS tokens as the final text embedding. In practice, Causal2Vec achieves a new state-of-the-art performance on the MTEB benchmark among models trained solely on publicly available retrieval datasets.

Published on 01 Jan. 2026