Eastern Washington University
Mitigating Popularity Bias in LLM-Augmented Recommendation Systems Using a Hybrid Framework with a Customized Loss Function and Structured Prompt Engineering
Abstract
dc:description.abstractLarge language models (LLMs) have emerged as powerful tools for recommendation systems as they leverage deep semantic understanding to model user preferences. However, these systems are susceptible to popularity bias. This is where they over-recommend mainstream items at the expense of relevant niche content, degrading both the user experience and provider fairness. While existing research has explored bias mitigation through prompt engineering as seen in Hamad (2025) or through algorithmic debiasing (e.g., PBiLoss, 2025; DACRec, 2025) in isolation, the integration of both strategies in a single training pipeline remains largely unexamined (see Section 2.6). This study addresses the primary research question of how popularity bias in LLM-based recommendation systems can be more effectively mitigated through a combined approach of structured prompt engineering and customized loss functions without significantly degrading recommendation relevance. This research proposes and evaluates a dual-mitigation framework built upon BLAIR (Hou et al., 2024), a RoBERTa-based sentence encoder pre-trained on the Amazon Reviews 2023 dataset. First, we design Prompt A, an offline LLM augmentation strategy that generates inclusive, stereotype-free item descriptions for training data enrichment, and Prompt B, a gentle inference-time re-ranking instruction. We then introduce a multi-objective loss function combining Inverse-Propensity-Weighted Scaled Cross-Entropy (IPW-SCE), a popularity calibration penalty, a diversity regularizer, and an augmentation consistency term, trained under a two-stage continued pre-training and supervised fine-tuning protocol. Lastly, we develop a comprehensive evaluation framework measuring accuracy, popularity bias via Log Popularity Difference (LPD), diversity, and catalog coverage.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MS) in Computer Science
- Level thesis:degree_level
- Thesis: EWU Only
- Discipline thesis:degree_discipline
- Computer Science and Electrical Engineering
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Espinoza, Jesus
- Contributors dc:contributor
-
- Dr. Sanmeet Kaur
- Dr. Abinash Borah
- Mrs. Lynnae Daniels
Subjects
dc:subject × 7Rights
dc:rights- Statement dc:rights
-
- Access restricted for 5 years to EWU users with an active EWU NetID
- Licence dc:rights.license
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://dc.ewu.edu/theses/994