Mitigating Bias in Text Classification via Prompt-Based Text Transformation

Charmaine Barker, Dimitar Kazakov


Abstract
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.
Anthology ID:
2025.ranlp-1.17
Volume:
Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era
Month:
September
Year:
2025
Address:
Varna, Bulgaria
Editors:
Galia Angelova, Maria Kunilovskaya, Marie Escribe, Ruslan Mitkov
Venue:
RANLP
SIG:
Publisher:
INCOMA Ltd., Shoumen, Bulgaria
Note:
Pages:
143–149
Language:
URL:
https://aclanthology.org/2025.ranlp-1.17/
DOI:
Bibkey:
Cite (ACL):
Charmaine Barker and Dimitar Kazakov. 2025. Mitigating Bias in Text Classification via Prompt-Based Text Transformation. In Proceedings of the 15th International Conference on Recent Advances in Natural Language Processing - Natural Language Processing in the Generative AI Era, pages 143–149, Varna, Bulgaria. INCOMA Ltd., Shoumen, Bulgaria.
Cite (Informal):
Mitigating Bias in Text Classification via Prompt-Based Text Transformation (Barker & Kazakov, RANLP 2025)
Copy Citation:
PDF:
https://aclanthology.org/2025.ranlp-1.17.pdf