Potential Pitfalls With Automatic Sentiment Analysis: The Example of Queerphobic Bias

Soc Sci Comput Rev. 2023 Dec;41(6):2211-2229. doi: 10.1177/08944393231152946. Epub 2023 Feb 2.

Abstract

Automated sentiment analysis can help efficiently detect trends in patients' moods, consumer preferences, political attitudes and more. Unfortunately, like many natural language processing techniques, sentiment analysis can show bias against marginalised groups. We illustrate this point by showing how six popular sentiment analysis tools respond to sentences about queer identities, expanding on existing work on gender, ethnicity and disability. We find evidence of bias against several marginalised queer identities, including in the two models from Google and Amazon that seem to have been subject to superficial debiasing. We conclude with guidance on selecting a sentiment analysis tool to minimise the risk of model bias skewing results.

Keywords: AI bias; natural language processing; queerphobia; sentiment analysis.