[Paper Review] Mitigating Bias in Text Classification via Prompt-Based Text Transformation
This paper proposes using ChatGPT to simplify text as a novel method for mitigating bias in text classification by standardizing language across subgroups. By simplifying reviews from UK and US users, the study shows a 17% drop in classifier accuracy for predicting sensitive attributes, indicating reduced linguistic bias while preserving sentiment meaning.
The presence of specific linguistic signals particular to a certain sub-group can become highly salient to language models during training. In automated decision-making settings, this may lead to biased outcomes when models rely on cues that correlate with protected characteristics. We investigate whether prompting ChatGPT to rewrite text using simplification, neutralisation, localisation, and formalisation can reduce demographic signals while preserving meaning. Experimental results show a statistically significant drop in location classification accuracy across multiple models after transformation, suggesting reduced reliance on group-specific language. At the same time, sentiment analysis and rating prediction tasks confirm that the core meaning of the reviews remains greatly intact. These results suggest that prompt-based rewriting offers a practical and generalisable approach for mitigating bias in text classification.
Motivation & Objective
- To investigate whether text simplification via large language models can reduce bias in text classification by standardizing language across subgroups.
- To evaluate if simplifying text diminishes the model's ability to associate specific linguistic patterns with protected characteristics such as nationality or region.
- To maintain semantic meaning and sentiment during simplification while removing sub-group-specific language cues.
- To provide a scalable, post-processing technique for bias mitigation that does not require retraining or extensive data reweighting.
- To explore the feasibility of using LLMs like ChatGPT as a tool for fairness in NLP applications such as resume screening or social media analysis.
Proposed method
- Collecting a dataset of 300 reviews from UK and US users to represent two linguistic subgroups.
- Using ChatGPT to simplify each review while preserving the original sentiment and core meaning.
- Training two classifiers—Naïve Bayes and Random Forest—on both original and simplified text to predict the sensitive attribute (nationality).
- Applying grid search to optimize hyperparameters for both classifiers on both datasets.
- Using McNemar’s test to assess statistical significance of performance differences between original and simplified data.
- Analyzing word importance via feature attribution to identify which terms lose predictive power after simplification.
Experimental results
Research questions
- RQ1Can text simplification via ChatGPT reduce the ability of a classifier to predict a user’s sensitive attribute based on linguistic patterns?
- RQ2Does simplification preserve the sentiment and semantic meaning of the original text while removing sub-group-specific language cues?
- RQ3To what extent does simplification reduce classifier accuracy in predicting protected characteristics, indicating bias mitigation?
- RQ4Are there specific words or phrases that lose their predictive power after simplification, suggesting removal of linguistic markers?
- RQ5How does the performance of different classifiers (e.g., Naïve Bayes vs. Random Forest) compare on original versus simplified data?
Key findings
- The Random Forest classifier’s accuracy for predicting the sensitive attribute dropped from 76% on original data to 59% on simplified data, a 17% reduction.
- McNemar’s test confirmed the drop in accuracy was statistically significant (p < 0.05), supporting the hypothesis that simplification reduced bias.
- The word 'queues' dropped from 2nd most important feature in the original model to outside the top 20 in the simplified model, indicating loss of linguistic marker utility.
- Sentiment analysis confirmed that the sentiment of reviews remained consistent before and after simplification, validating semantic preservation.
- The Naïve Bayes classifier also showed a significant drop in accuracy (from 80% to 68%), reinforcing the trend across different models.
- The results suggest that simplification via ChatGPT effectively removes sub-group-specific linguistic signals without altering the core meaning of the text.
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.