Addressing Popularity Bias in Third-Party Library Recommendations Using LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Di Sipio, Claudio, Di Rocco, Juri, Di Ruscio, Davide, Bulhakov, Vladyslav
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913654953213952
author Di Sipio, Claudio
Di Rocco, Juri
Di Ruscio, Davide
Bulhakov, Vladyslav
author_facet Di Sipio, Claudio
Di Rocco, Juri
Di Ruscio, Davide
Bulhakov, Vladyslav
contents Recommender systems for software engineering (RSSE) play a crucial role in automating development tasks by providing relevant suggestions according to the developer's context. However, they suffer from the so-called popularity bias, i.e., the phenomenon of recommending popular items that might be irrelevant to the current task. In particular, the long-tail effect can hamper the system's performance in terms of accuracy, thus leading to false positives in the provided recommendations. Foundation models are the most advanced generative AI-based models that achieve relevant results in several SE tasks. This paper aims to investigate the capability of large language models (LLMs) to address the popularity bias in recommender systems of third-party libraries (TPLs). We conduct an ablation study experimenting with state-of-the-art techniques to mitigate the popularity bias, including fine-tuning and popularity penalty mechanisms. Our findings reveal that the considered LLMs cannot address the popularity bias in TPL recommenders, even though fine-tuning and post-processing penalty mechanism contributes to increasing the overall diversity of the provided recommendations. In addition, we discuss the limitations of LLMs in this context and suggest potential improvements to address the popularity bias in TPL recommenders, thus paving the way for additional experiments in this direction.
format Preprint
id arxiv_https___arxiv_org_abs_2501_10313
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Addressing Popularity Bias in Third-Party Library Recommendations Using LLMs
Di Sipio, Claudio
Di Rocco, Juri
Di Ruscio, Davide
Bulhakov, Vladyslav
Software Engineering
Recommender systems for software engineering (RSSE) play a crucial role in automating development tasks by providing relevant suggestions according to the developer's context. However, they suffer from the so-called popularity bias, i.e., the phenomenon of recommending popular items that might be irrelevant to the current task. In particular, the long-tail effect can hamper the system's performance in terms of accuracy, thus leading to false positives in the provided recommendations. Foundation models are the most advanced generative AI-based models that achieve relevant results in several SE tasks. This paper aims to investigate the capability of large language models (LLMs) to address the popularity bias in recommender systems of third-party libraries (TPLs). We conduct an ablation study experimenting with state-of-the-art techniques to mitigate the popularity bias, including fine-tuning and popularity penalty mechanisms. Our findings reveal that the considered LLMs cannot address the popularity bias in TPL recommenders, even though fine-tuning and post-processing penalty mechanism contributes to increasing the overall diversity of the provided recommendations. In addition, we discuss the limitations of LLMs in this context and suggest potential improvements to address the popularity bias in TPL recommenders, thus paving the way for additional experiments in this direction.
title Addressing Popularity Bias in Third-Party Library Recommendations Using LLMs
topic Software Engineering
url https://arxiv.org/abs/2501.10313