Quantifying Positional Biases in Text Embedding Models
Goel, Samarth, Lee, Reagan J., Ramchandran, Kannan
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jan-1-2025
- Country:
- Oceania > Australia
- North America > United States
- California > Alameda County > Berkeley (0.14)
- Asia
- Nepal (0.04)
- Japan > Honshū
- Tōhoku > Iwate Prefecture
- Morioka (0.04)
- Chūbu > Toyama Prefecture
- Toyama (0.04)
- Tōhoku > Iwate Prefecture
- Genre:
- Research Report
- New Finding (1.00)
- Experimental Study (0.89)
- Research Report
- Technology: