Dwell in the Beginning: How Language Models Embed Long Documents for Dense Retrieval
<|reference_start|>Dwell in the Beginning: How Language Models Embed Long Documents for Dense Retrieval: 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.<|reference_end|>
@article{coelho2024dwell,
    title={Dwell in the Beginning: How Language Models Embed Long Documents for
  Dense Retrieval},
    author={Jo~ao Coelho, Bruno Martins, Jo~ao Magalh~aes, Jamie Callan,
  Chenyan Xiong},
    journal={arXiv preprint arXiv:2404.04163},
    year={2024},
    archivePrefix={arXiv},
    eprint={2404.04163},
    primaryClass={cs.IR cs.CL}
}