[Paper Review] NBIAS: A Natural Language Processing Framework for Bias Identification in Text
NBIAS is a novel NLP framework that detects bias in text using a transformer-based token classification model with a dedicated BIAS entity type. It achieves 1–8% accuracy improvements over baselines through semi-autonomous labeling and a four-layer pipeline encompassing data collection, corpus construction, model development, and comprehensive evaluation across diverse domains like healthcare, social media, and job hiring.
Bias in textual data can lead to skewed interpretations and outcomes when the data is used. These biases could perpetuate stereotypes, discrimination, or other forms of unfair treatment. An algorithm trained on biased data may end up making decisions that disproportionately impact a certain group of people. Therefore, it is crucial to detect and remove these biases to ensure the fair and ethical use of data. To this end, we develop a comprehensive and robust framework NBIAS that consists of four main layers: data, corpus construction, model development and an evaluation layer. The dataset is constructed by collecting diverse data from various domains, including social media, healthcare, and job hiring portals. As such, we applied a transformer-based token classification model that is able to identify bias words/ phrases through a unique named entity BIAS. In the evaluation procedure, we incorporate a blend of quantitative and qualitative measures to gauge the effectiveness of our models. We achieve accuracy improvements ranging from 1% to 8% compared to baselines. We are also able to generate a robust understanding of the model functioning. The proposed approach is applicable to a variety of biases and contributes to the fair and ethical use of textual data.
Motivation & Objective
- Address the critical gap in bias detection within NLP by developing a generalizable, domain-agnostic framework for identifying both explicit and implicit biases in textual data.
- Overcome the limitations of existing NLP models that fail to treat bias as a distinct named entity, leading to poor detection of discriminatory language.
- Create a scalable and efficient annotation pipeline using semi-autonomous labeling to reduce reliance on time-intensive manual labeling.
- Develop a comprehensive evaluation strategy combining quantitative metrics and qualitative analysis to validate model performance and robustness.
- Contribute to the ethical use of AI by enabling fairer text-based systems in high-stakes domains such as healthcare, recruitment, and social media.
Proposed method
- Construct a multi-domain dataset from social media, healthcare records, and job hiring portals to ensure diversity and real-world relevance.
- Introduce a new named entity type, BIAS, to specifically identify biased words and phrases during token classification using a transformer-based model.
- Implement a semi-autonomous labeling strategy that combines pre-trained language models with human-in-the-loop validation to accelerate and improve annotation quality.
- Train and fine-tune a BERT-based sequence labeling model to classify tokens as BIAS or non-BIAS, leveraging transfer learning for improved generalization.
- Apply a hybrid evaluation framework using precision, recall, F1-score, and qualitative error analysis to assess model performance across diverse contexts.
- Incorporate feedback loops and iterative refinement to reduce false positives and false negatives, enhancing model reliability over time.

Experimental results
Research questions
- RQ1How can a unified NLP framework effectively detect both explicit and implicit biases across diverse textual domains such as healthcare, social media, and job hiring?
- RQ2To what extent does introducing a dedicated BIAS entity type improve the precision and recall of bias detection compared to standard NER approaches?
- RQ3Can semi-autonomous labeling significantly reduce annotation time while maintaining high-quality bias annotations in low-resource settings?
- RQ4How does the NBIAS framework perform in comparison to state-of-the-art baselines in terms of accuracy and robustness across multiple domains?
- RQ5What are the primary sources of error in bias detection, and how can feedback-driven iterative learning reduce false positives and false negatives?
Key findings
- The NBIAS framework achieves a 1% to 8% improvement in F1-score over existing baselines, demonstrating superior performance in bias detection across diverse domains.
- The introduction of the BIAS entity type significantly enhances the model’s ability to identify contextually biased language, including subtle forms of implicit bias.
- Semi-autonomous labeling reduces annotation time by up to 50% compared to full manual labeling, without compromising annotation quality.
- The framework exhibits strong generalization across domains, with consistent performance on social media, healthcare, and job posting texts.
- Qualitative analysis reveals that the model effectively captures discriminatory language, such as gendered stereotypes and racial slurs, with high precision.
- Despite improvements, the model still faces challenges with context-dependent biases, resulting in occasional false positives and false negatives, especially in nuanced or metaphorical language.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.