Nigerian Software Engineer or American Data Scientist? GitHub Profile Recruitment Bias in Large Language Models
<|reference_start|>Nigerian Software Engineer or American Data Scientist? GitHub Profile Recruitment Bias in Large Language Models: Large Language Models (LLMs) have taken the world by storm, demonstrating their ability not only to automate tedious tasks, but also to show some degree of proficiency in completing software engineering tasks. A key concern with LLMs is their "black-box" nature, which obscures their internal workings and could lead to societal biases in their outputs. In the software engineering context, in this early results paper, we empirically explore how well LLMs can automate recruitment tasks for a geographically diverse software team. We use OpenAI's ChatGPT to conduct an initial set of experiments using GitHub User Profiles from four regions to recruit a six-person software development team, analyzing a total of 3,657 profiles over a five-year period (2019-2023). Results indicate that ChatGPT shows preference for some regions over others, even when swapping the location strings of two profiles (counterfactuals). Furthermore, ChatGPT was more likely to assign certain developer roles to users from a specific country, revealing an implicit bias. Overall, this study reveals insights into the inner workings of LLMs and has implications for mitigating such societal biases in these models.<|reference_end|>
@article{nakano2024nigerian,
    title={Nigerian Software Engineer or American Data Scientist? GitHub Profile
  Recruitment Bias in Large Language Models},
    author={Takashi Nakano, Kazumasa Shimari, Raula Gaikovina Kula, Christoph
  Treude, Marc Cheong, Kenichi Matsumoto},
    journal={arXiv preprint arXiv:2409.12544},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.12544},
    primaryClass={cs.SE}
}