Using generative AI for large‐scale qualitative analysis of social media posts to understand why people leave computer science
Open Access
- 30 September 2025
- journal article
- Published by Wiley in Journal of Engineering Education
- Vol. 114 (4)
Abstract
Background: Computer science faces a persistent attrition problem, with people leaving the field at a rate that exceeds new entrants. Given the increasing demand for computing jobs, it is essential to focus on reducing the number of individuals exiting the field. Purpose: This study investigates why individuals leave the computer science field across various stages and contexts, addressing two questions: (1) What are the reasons for leaving? (2) What external factors influence these decisions? Method: This large‐scale qualitative study collected over 10,000 Reddit posts using keyword‐based scraping. Using generative AI, we refined the dataset, filtering it down to 263 relevant posts. Generative AI was then used for thematic analysis on this subset of posts, utilizing the established GATOS method. We extend this approach by integrating a human‐in‐the‐loop process to contextualize the identified themes within social cognitive career theory. Results: Findings reveal diverse reasons for leaving, including job dissatisfaction, interests in other fields, psychological factors, academic challenges, health concerns, and industry issues. Influential factors include background, transition requirements, alternative field characteristics, and personal circumstances. Although the extent varied, all of these reasons and factors were observed at every departure stage. Conclusions: These findings provide important insights that can help inform industry and academic policies and practices. Additionally, we contribute to the development of more efficient, scalable workflows for future qualitative research using generative AI.Keywords
Funding Information
- Division of Engineering Education and Centers (2107008)
This publication has 67 references indexed in Scilit:
- STEMming the tide: New perspectives on careers and turnoverJournal of Organizational Behavior, 2024
- The Tech Trajectory: Examining the Role of College Environments in Shaping Students’ Interest in Computing CareersResearch in Higher Education, 2022
- Female computer science students: A qualitative exploration of women’s experiences studying computer science at university in the UKEducation and Information Technologies, 2021
- Weed-Out Classes and Their Consequences2019
- Analysis of social media forums to elicit narratives of graduate engineering student attritionJournal of Engineering Education, 2019
- Counterspaces for women of color in STEM higher education: Marginal and central spaces for persistence and successJournal of Research in Science Teaching, 2017
- Understanding student retention in computer science education: The role of environment, gains, barriers and usefulnessEducation and Information Technologies, 2016
- The Stereotypical Computer Scientist: Gendered Media Representations as a Barrier to Inclusion for WomenSex Roles, 2013
- The combined effect of self-efficacy and academic integration on higher education students studying IT majors in TaiwanEducation and Information Technologies, 2009
- Toward a Unifying Social Cognitive Theory of Career and Academic Interest, Choice, and PerformanceJournal of Vocational Behavior, 1994