Quantifying Positional Biases in Text Embedding Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lee, Reagan J., Goel, Samarth, Ramchandran, Kannan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915700128350208
author Lee, Reagan J.
Goel, Samarth
Ramchandran, Kannan
author_facet Lee, Reagan J.
Goel, Samarth
Ramchandran, Kannan
contents Embedding models are crucial for tasks in Information Retrieval (IR) and semantic similarity measurement, yet their handling of longer texts and associated positional biases remains underexplored. In this study, we investigate the impact of content position and input size on text embeddings. Our experiments reveal that embedding models, irrespective of their positional encoding mechanisms, disproportionately prioritize the beginning of an input. Ablation studies demonstrate that insertion of irrelevant text or removal at the start of a document reduces cosine similarity between altered and original embeddings by up to 12.3% more than ablations at the end. Regression analysis further confirms this bias, with sentence importance declining as position moves further from the start, even with with content-agnosticity. We hypothesize that this effect arises from pre-processing strategies and chosen positional encoding techniques. These findings quantify the sensitivity of retrieval systems and suggest a new lens towards embedding model robustness.
format Preprint
id arxiv_https___arxiv_org_abs_2412_15241
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Quantifying Positional Biases in Text Embedding Models
Lee, Reagan J.
Goel, Samarth
Ramchandran, Kannan
Computation and Language
Artificial Intelligence
Information Retrieval
Embedding models are crucial for tasks in Information Retrieval (IR) and semantic similarity measurement, yet their handling of longer texts and associated positional biases remains underexplored. In this study, we investigate the impact of content position and input size on text embeddings. Our experiments reveal that embedding models, irrespective of their positional encoding mechanisms, disproportionately prioritize the beginning of an input. Ablation studies demonstrate that insertion of irrelevant text or removal at the start of a document reduces cosine similarity between altered and original embeddings by up to 12.3% more than ablations at the end. Regression analysis further confirms this bias, with sentence importance declining as position moves further from the start, even with with content-agnosticity. We hypothesize that this effect arises from pre-processing strategies and chosen positional encoding techniques. These findings quantify the sensitivity of retrieval systems and suggest a new lens towards embedding model robustness.
title Quantifying Positional Biases in Text Embedding Models
topic Computation and Language
Artificial Intelligence
Information Retrieval
url https://arxiv.org/abs/2412.15241