Johns Hopkins University
IMPROVING THE FAIRNESS IN LANGUAGE MODELS FOR DECISION-MAKING
Abstract
dc:description.abstractMethods that seek to improve the fairness of language models for prediction tasks involve collecting annotated data with specific demographic attributes and applying loss functions designed to ensure equitable predictions. While these approaches provide a foundation, they often fall short in addressing the intricate realities of data distributions in the wild and their consequences. As a motivating example of the nuances of biases in the performance of language models, we consider the use of language models in the mental health space to aid practitioners in the diagnosis of depression. We find that models trained on social media data for depression diagnosis are unfair towards gender and racial underrepresented groups (Men and African American/Hispanic groups.) We dive into the data and investigate how the fairness, protected attributes and the depression diagnosis task have complex relationships underscoring the need for more robust fairness methods. Current fairness methods typically involve training models on annotated data using objectives that utilize demographic labels. This requirement is often impractical or not possible due to, e.g. privacy concerns in healthcare. We are inspired by task adaptation methods and develop a multi-task method to improve the fairness of models when demographics are not available. Exploring more recent frameworks for prediction systems, we focus on large language models (LLMs) for predictive tasks. This represents a different paradigm for traditional fairness methods as they rely on updating model parameters, which is impractical due to the large size of LLMs or impossible as they are more often proprietary. We investigate the use of demonstrations for LLMs via In-Context Learning (ICL), finding that the choice of demonstrations matters, but concernedly, there is not a single method that is consistently better across models and datasets. Further, as prediction models are applied to increasingly complex tasks, how fairness is conceptualized and implemented must also be updated. We propose that fairness definitions and objectives should account for underlying relationships between protected attributes and the predicted label or text inputs. We show that applying fairness methods while failing to take these relationships into account may result in models that are less fair and perform worse than if no fairness objective was applied. Improving the fairness of prediction models for language is an ongoing challenge that requires assessing the data and model predictions in practical scenarios, addressing challenges that arise in practice and in applying new frameworks, while considering the relationship of fairness definitions, protected attributes and the task at hand. This thesis contributes to the improvement of equity and effectiveness of language models as prediction systems.
Degree
thesis:*- Name thesis:degree_name
- Ph.D.
- Level thesis:degree_level
- Doctoral
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor dc:publisher
- Johns Hopkins University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Aguirre, Carlos
- Advisor dc:contributor.advisor
-
- Dredze, Mark
- Committee members dc:contributor.committeemember
-
- Field, Anjalie
- Resnik, Philip
- ORCID person:identifier.orcid
Subjects
dc:subject × 2Rights
- Language dc:language.iso
- en_US
Identifiers
dc:identifier.*- Repository record dc:identifier.uri
- https://jscholarship.library.jhu.edu/handle/1774.2/70674