Detecting stigmatizing language with large language models: mind the settings.
Stigmatizing language in clinical documentation can contribute to healthcare disparities and affect patient-provider relationships. Given their strong capacity for contextual language understanding, large language models (LLMs) offer potential for detecting and reducing such language. This study evaluates the accuracy of LLMs in detecting stigmatizing language, focusing on model size, temperature settings, and the inclusion of examples.
Author(s): Xavier, Teenu, Carrington, Jane M, Lambert W, Joshua
DOI: 10.1093/jamiaopen/ooag037