Abstract
Large language models (LLMs) have rapidly gained popularity and are being embedded into professional applications due to their capabilities in generating human-like content. However, unquestioned reliance on their outputs and recommendations can be problematic as LLMs can reinforce societal biases and stereotypes. This study investigates how LLMs, specifically OpenAI's GPT-4 and Microsoft Copilot, can reinforce gender and racial stereotypes within the software engineering (SE) profession through both textual and graphical outputs. We used each LLM to generate 300 profiles, consisting of 100 gender-based and 50 gender-neutral profiles, for a recruitment scenario in SE roles. Recommendations were generated for each profile and evaluated against the job requirements for four distinct SE positions. Each LLM was asked to select the top 5 candidates and subsequently the best candidate for each role. Each LLM was also asked to generate images for the top 5 candidates, providing a dataset for analysing potential biases in both text-based selections and visual representations. Our analysis reveals that both models preferred male and Caucasian profiles, particularly for senior roles, and favoured images featuring traits such as lighter skin tones, slimmer body types, and younger appearances. These findings highlight underlying societal biases influence the outputs of LLMs, contributing to narrow, exclusionary stereotypes that can further limit diversity and perpetuate inequities in the SE field. As LLMs are increasingly adopted within SE research and professional practices, awareness of these biases is crucial to prevent the reinforcement of discriminatory norms and to ensure that AI tools are leveraged to promote an inclusive and equitable engineering culture rather than hinder it.
| Original language | English |
|---|---|
| Title of host publication | Proceedings - 2025 IEEE/ACM 47th International Conference on Software Engineering |
| Subtitle of host publication | Software Engineering in Society, ICSE-SEIS 2025 |
| Editors | Ghizlane El Boussaidi, Paola Inverardi |
| Place of Publication | Piscataway NJ USA |
| Publisher | IEEE, Institute of Electrical and Electronics Engineers |
| Pages | 173-184 |
| Number of pages | 12 |
| ISBN (Electronic) | 9798331537074 |
| ISBN (Print) | 9798331537081 |
| DOIs | |
| Publication status | Published - 2025 |
| Event | International Conference on Software Engineering 2025 - Ottawa, Canada Duration: 27 Apr 2025 → 3 May 2025 Conference number: 47th https://conf.researchr.org/home/icse-2025 (Website) https://conf.researchr.org/info/icse-2025/proceedings https://www.computer.org/csdl/proceedings/icse/2025/215aVCUIQmY https://ieeexplore.ieee.org/xpl/conhome/11121614/proceeding (ICSE-SEIP 2025 Proceedings) https://ieeexplore.ieee.org/xpl/conhome/11023939/proceeding (ICSE-NIER 2025 Proceedings) https://ieeexplore.ieee.org/xpl/conhome/11023850/proceeding (ICSE-SEIS 2025 Proceedings) |
Publication series
| Name | Proceedings - International Conference on Software Engineering |
|---|---|
| Publisher | IEEE, Institute of Electrical and Electronics Engineers |
| ISSN (Print) | 0270-5257 |
| ISSN (Electronic) | 2832-7616 |
Conference
| Conference | International Conference on Software Engineering 2025 |
|---|---|
| Abbreviated title | ICSE 2025 |
| Country/Territory | Canada |
| City | Ottawa |
| Period | 27/04/25 → 3/05/25 |
| Internet address |
|
Keywords
- Copilot
- Diversity
- Gender Bias
- Generative AI
- GPT-4
- Image Generation
- Large Language Models
- Racial Bias
- Text Generation
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver