{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/87549"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/87549","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"Debiasing Language Models using Distributionally Robust Optimization","abstract":"It has been shown that pretrained language models exhibit biases and social stereotypes. Prior work on debiasing these language models has largely focussed on modifying embedding spaces in pretraining, which is not scalable for large models. Since pretrained models are typically fine-tuned on task-specific datasets for various downstream tasks, language model performance can be degraded and biases present in finetuning datasets may be amplified. We focus on the fine-tuning phase of language models rather than the computationally expensive pretraining. While training language models using traditional optimization approaches such as Empirical Risk Minimization has proven beneficial for downstream tasks, we often observe the social biases in these language models being amplified during the fine-tuning phase of the pretrained models. To counter this, we propose RobustDebias, a novel mechanism that adapts Distributionally Robust Optimization (DRO) methods for debiasing large language models in the fine-tuning phase. In this work, we focus on debiasing a model across multiple demographics while it is fine-tuned on the Masked Language Modeling (MLM) task. Our method can be used to finetune a pretrained model on any dataset and for any task. We perform extensive experiments on various language models. The results show that our method significantly mitigates bias while the impact on the language model performance is minimized.","abstract_html":"It has been shown that pretrained language models exhibit biases and social stereotypes. Prior work on debiasing these language models has largely focussed on modifying embedding spaces in pretraining, which is not scalable for large models. Since pretrained models are typically fine-tuned on task-specific datasets for various downstream tasks, language model performance can be degraded and biases present in finetuning datasets may be amplified. We focus on the fine-tuning phase of language models rather than the computationally expensive pretraining. While training language models using traditional optimization approaches such as Empirical Risk Minimization has proven beneficial for downstream tasks, we often observe the social biases in these language models being amplified during the fine-tuning phase of the pretrained models. To counter this, we propose RobustDebias, a novel mechanism that adapts Distributionally Robust Optimization (DRO) methods for debiasing large language models in the fine-tuning phase. In this work, we focus on debiasing a model across multiple demographics while it is fine-tuned on the Masked Language Modeling (MLM) task. Our method can be used to finetune a pretrained model on any dataset and for any task. We perform extensive experiments on various language models. The results show that our method significantly mitigates bias while the impact on the language model performance is minimized.","abstract_has_math":false,"creators":["Gandhi, Deep Rajesh"],"institution":"University of Alberta","degree_name":"Master of Science","degree_level":"Master's","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Hegde, Nidhi (Computing Science)"],"committee_chairs":[],"committee_members":[],"year":2024,"date_issued":"2024-11","date_published":"2024-11","updated_at":"2026-11-26T20:56:24Z","subjects":["Natural Language Processing","Fairness in ML","Machine Learning","Language Models","Bias in Language Models","DRO","Optimization"],"languages":["en"],"rights":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.7939/r3-85ft-dz66","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/r3-85ft-dz66","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aalberta%3Aoai%3Aualberta.scholaris.ca%3A123456789%2F87549","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F87549","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Hegde, Nidhi (Computing Science)"]},{"key":"dc:creator","label":"Author","values":["Gandhi, Deep Rajesh"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-05-29T06:59:47Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-05-29T06:59:47Z"]},{"key":"dc:date.issued","label":"Date","values":["2024-11"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master's"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Alberta"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Natural Language Processing","Fairness in ML","Machine Learning","Language Models","Bias in Language Models","DRO","Optimization"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7939/r3-85ft-dz66"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["It has been shown that pretrained language models exhibit biases and social stereotypes. Prior work on debiasing these language models has largely focussed on modifying embedding spaces in pretraining, which is not scalable for large models. Since pretrained models are typically fine-tuned on task-specific datasets for various downstream tasks, language model performance can be degraded and biases present in finetuning datasets may be amplified. We focus on the fine-tuning phase of language models rather than the computationally expensive pretraining. While training language models using traditional optimization approaches such as Empirical Risk Minimization has proven beneficial for downstream tasks, we often observe the social biases in these language models being amplified during the fine-tuning phase of the pretrained models. To counter this, we propose RobustDebias, a novel mechanism that adapts Distributionally Robust Optimization (DRO) methods for debiasing large language models in the fine-tuning phase. In this work, we focus on debiasing a model across multiple demographics while it is fine-tuned on the Masked Language Modeling (MLM) task. Our method can be used to finetune a pretrained model on any dataset and for any task. We perform extensive experiments on various language models. The results show that our method significantly mitigates bias while the impact on the language model performance is minimized."]},{"key":"dc:title","label":"Title","values":["Debiasing Language Models using Distributionally Robust Optimization"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Hegde, Nidhi (Computing Science)"],"dc:creator":["Gandhi, Deep Rajesh"],"dc:date.accessioned":["2025-05-29T06:59:47Z"],"dc:date.available":["2025-05-29T06:59:47Z"],"dc:date.issued":["2024-11"],"dc:description.abstract":["It has been shown that pretrained language models exhibit biases and social stereotypes. Prior work on debiasing these language models has largely focussed on modifying embedding spaces in pretraining, which is not scalable for large models. Since pretrained models are typically fine-tuned on task-specific datasets for various downstream tasks, language model performance can be degraded and biases present in finetuning datasets may be amplified. We focus on the fine-tuning phase of language models rather than the computationally expensive pretraining. While training language models using traditional optimization approaches such as Empirical Risk Minimization has proven beneficial for downstream tasks, we often observe the social biases in these language models being amplified during the fine-tuning phase of the pretrained models. To counter this, we propose RobustDebias, a novel mechanism that adapts Distributionally Robust Optimization (DRO) methods for debiasing large language models in the fine-tuning phase. In this work, we focus on debiasing a model across multiple demographics while it is fine-tuned on the Masked Language Modeling (MLM) task. Our method can be used to finetune a pretrained model on any dataset and for any task. We perform extensive experiments on various language models. The results show that our method significantly mitigates bias while the impact on the language model performance is minimized."],"dc:identifier.doi":["https://doi.org/10.7939/r3-85ft-dz66"],"dc:language.iso":["en"],"dc:rights":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"dc:subject":["Natural Language Processing","Fairness in ML","Machine Learning","Language Models","Bias in Language Models","DRO","Optimization"],"dc:title":["Debiasing Language Models using Distributionally Robust Optimization"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["Master's"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T20:56:24Z"}