Technical Report: Impact of Position Bias on Language Models in Token Classification
Not on the map. Why?
Abstract (arXiv)
Language Models (LMs) have shown state-of-the-art performance in Natural Language Processing (NLP) tasks. Downstream tasks such as Named Entity Recognition (NER) or Part-of-Speech (POS) tagging are known to suffer from data imbalance issues, particularly regarding the ratio of positive to negative examples and class disparities. This paper investigates an often-overlooked issue of encoder models, specifically the position bias of positive examples in token classification tasks. For completeness, we also include decoders in the evaluation. We evaluate the impact of position bias using different position embedding techniques, focusing on BERT with Absolute Position Embedding (APE), Relative Position Embedding (RPE), and Rotary Position Embedding (RoPE). Therefore, we conduct an in-depth evaluation of the impact of position bias on the performance of LMs when fine-tuned on token classification benchmarks. Our study includes CoNLL03 and OntoNote5.0 for NER, English Tree Bank UDen, and TweeBank for POS tagging. We propose an evaluation approach to investigate position bias in transformer models. We show that LMs can suffer from this bias with an average drop ranging from 3% to 9% in their performance. To mitigate this effect, we propose two methods: Random Position Shifting and Context Perturbation, that we apply on batches during the training process. The results show an improvement of ≈ 2% in the performance of the model on CoNLL03, UDen, and TweeBank.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 20 of its 26 references that are in the map. First posted on arXiv 26 Apr 2023.
Builds on
20 of 26 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2017Convolutional Sequence to Sequence Learningcited by 550
- 2015Bidirectional LSTM-CRF Models for Sequence Taggingcited by 544
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 525
- 2015Named Entity Recognition with Bidirectional LSTM-CNNscited by 201
- 2019Dice Loss for Data-imbalanced NLP Taskscited by 180
- 2017Semi-supervised sequence tagging with bidirectional language modelscited by 86
8 more
- 2020Look at the First Sentence: Position Bias in Question Answeringcited by 83
- 2020Improve Transformer Models with Better Relative Position Embeddingscited by 73
- 2020What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encodingcited by 52
- 2021Learning from Noisy Labels for Entity-Centric Information Extractioncited by 34
- 2018Parsing Tweets into Universal Dependenciescited by 19
- 2021Mitigating the Position Bias of Transformer Models in Passage Re-Rankingcited by 10
- 2021Exploiting Position Bias for Robust Aspect Sentiment Classificationcited by 9
- 2020Adaptive Name Entity Recognition under Highly Unbalanced Datacited by 4
Built on by
Citing papers per year: 2024: 1.
1 paper.