Skip to main navigation Skip to search Skip to main content

Leveraging Large Language Models in Detecting Anti-LGBTQIA+ User-generated Texts

  • University of Technology, Sydney
  • The University of Melbourne
  • RMIT University, Melbourne

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Anti-LGBTQIA+ texts in user-generated content pose significant risks to online safety and inclusivity. This study investigates the capabilities and limitations of five widely adopted Large Language Models (LLMs)---DeepSeek-V3, GPT-4o, GPT-4o-mini, GPT-o1-mini, and Llama3.3-70B---in detecting such harmful content. Our findings reveal that while LLMs demonstrate potential in identifying offensive language, their effectiveness varies across models and metrics, with notable shortcomings in calibration. Furthermore, linguistic analysis exposes deeply embedded patterns of discrimination, reinforcing the urgency for improved detection mechanisms for this marginalised population. In summary, this study demonstrates the significant potential of LLMs for practical application in detecting anti-LGBTQIA+ user-generated texts and provides valuable insights from text analysis that can inform topic modelling. These findings contribute to developing safer digital platforms and enhancing protection for LGBTQIA+ individuals.
Original languageEnglish
Title of host publicationProceedings of the Queer in AI Workshop
EditorsA Pranav, Alissa Valentine, Shaily Bhatt, Yanan Long, Arjun Subramonian, Amanda Bertsch, Anne Lauscher, Ankush Gupta
Place of PublicationHybrid format (in-person and virtual)
PublisherAssociation for Computational Linguistics
Pages26-34
Number of pages9
ISBN (Electronic)979-8-89176-244-2
ISBN (Print)979-8-89176-244-2
DOIs
Publication statusPublished - 1 May 2025

Fingerprint

Dive into the research topics of 'Leveraging Large Language Models in Detecting Anti-LGBTQIA+ User-generated Texts'. Together they form a unique fingerprint.

Cite this