arXiv · 2404.04163
Dwell in the Beginning: How Language Models Embed Long Documents for Dense Retrieval
Abstract
This study investigates the existence of positional biases in Transformer-based models for text representation learning, particularly in the context of web document retrieval. We build on previous research that demonstrated loss of information in the middle of input sequences for causal language models, extending it to the domain of representation learning. We examine positional biases at various stages of training for an encoder-decoder model, including language model pre-training, contrastive pre-training, and contrastive fine-tuning. Experiments with the MS-MARCO document collection reveal that after contrastive pre-training the model already generates embeddings that better capture early contents of the input, with fine-tuning further aggravating this effect.
Explore related subjects
Keep this discovery
João Coelho, Bruno Martins, João Magalhães, Jamie Callan, Chenyan Xiong. 2024-04-05. Dwell in the Beginning: How Language Models Embed Long Documents for Dense Retrieval. https://arxiv.org/abs/2404.04163
Cite the original work for its findings. Save a collection to share your selection of sources.