Research Article
Examining university students' interest in AI, computer science, and STEM
Synthesis: Bewersdorff and colleagues asked 397 university students in Germany and the United States how interested they are in AI, in computer science, and in STEM, then tested whether those three are one thing wearing three labels. They are not: three correlated factors fit the data far better than any merged model, and the structure held in both national subsamples. What makes AI different is how loosely it is tied to who students already are. Background in the form of age, gender and field explained less of interest in AI than of interest in CS or STEM; the gender gap was smaller than the CS gap; and what students believed their family, peers and teachers expected of them added less again. AI interest behaves less like a branch of computer science than like a separate door into technical learning, one that students from outside the usual pipeline can walk through.
Interest is the disposition research on STEM education leans on hardest, because it predicts what students choose to do with their own time and which courses they keep taking. It is also the disposition AI education has the least evidence about: the field has measured whether students use AI tools, whether instruction with them raises scores, and how AI literacy can be taught, but rarely whether "AI" works as an object of interest at all, in the sense that physics or biology does.
That question is not bookkeeping. If AI interest is a subdomain of computer science education — the way, say, operating systems is — then a curriculum that recruits through coding finds the students who would have been interested anyway, and one built around AI's ethical and societal side has no separate claim to make. If AI interest is its own construct with its own demographic profile, it can do different work: reach students who have opted out of the technical pipeline. The authors situate the question in the person–object theory of interest and Hidi and Renninger's model of interest development, both of which treat the object of interest as constitutive rather than incidental.
Key Findings
- Three factors, not one. AI, CS and STEM interest measured as separate latent constructs fit the data far better than a single general-interest factor or either two-factor merge, and the difference was decisive rather than marginal.
- The structure replicated. Measurement invariance tests across the German and US subsamples held at the level of factor loadings, intercepts and residual variances, so the same scales measured the same three constructs in both groups.
- The three interests correlate moderately. AI–CS and AI–STEM associations sit in the moderate range, well below the threshold at which constructs are judged the same thing under another name.
- Demographics explain less of AI interest. Age, gender and discipline together accounted for roughly half as much variance in AI interest as in CS interest, and noticeably less than in STEM interest.
- The gender gap is real but smaller. Men reported higher interest in all three domains; the gap was largest for CS and clearly smaller for AI, and the ordering held after controlling for discipline.
- Discipline predicts AI interest less sharply. Engineering and natural-science students were more interested in all three domains than humanities and arts students, but the engineering advantage was less than half as large for AI as for CS, and social-science students did not differ from the humanities reference group in any domain.
- Social expectations add little. Perceived expectations from parents, peers and educators predicted all three interests, but they added far less unique variance for AI than for CS or STEM.
- Age is a small positive predictor, against the authors' hypothesis that interest would be stable by university age; they read it as a cohort effect, not a developmental one.
How the study was run
Data were collected in October and November 2025 from 397 university students: 181 in Germany (162 recruited through Prolific, 19 on site at one university) and 216 in the United States (all through Prolific). Two attention checks screened out careless responses, and the final sample averaged 30.7 years old (SD = 10.1, range 18–68), with the US subsample older on average (M = 34.9, SD = 11.2) than the German one (M = 25.7, SD = 5.4). Gender was nearly balanced at 48.2% female and 47.9% male, with 2.8% reporting non-binary or another gender and 1.0% preferring not to disclose. Engineering and technology was the largest disciplinary group at 31.9%, followed by social sciences (25.6%) and humanities and arts (16.2%), with medicine and natural sciences together making up the rest.
Each interest was measured with five items adapted from the PISA 2015 Science Interest Scale, asking agreement with statements such as "I am interested in learning new things about AI," on a five-point scale; all three scales were highly reliable (α = .90–.96). Subjective norm was measured with parallel items about what parents, peers and educators expect. Analyses proceeded in three steps: confirmatory factor analyses comparing one-, two- and three-factor models plus measurement invariance testing across subsamples, then multiple regression of each interest on age, gender and discipline (N = 382 after listwise exclusion of missing data), then a hierarchical regression adding subjective norm to show its incremental contribution.
What the three-factor result does and does not say
The three-factor model fit at CFI = .964, TLI = .957 and RMSEA = .084, and beat the one-factor model by a wide margin, Δχ²(3) = 2721.70, p < .001. The alternatives were not merely worse but poor: CFI = .564 and RMSEA = .288 for one factor, CFI = .787 and .738 with RMSEA = .202 and .224 for the two-factor merges. Loadings ranged from .79 to .95 in both subsamples.
The correlations say the same thing more carefully. Latent factor correlations were AI–CS r = .55, AI–STEM r = .44 and CS–STEM r = .63, and heterotrait–monotrait ratios stayed below the .85 discriminant threshold (AI–CS = .56, AI–STEM = .45, CS–STEM = .63). AI sits closer to CS than to STEM as a whole, which is what one would expect of a field whose tools and concepts are computational, but it is not subsumed by it — and the CS–STEM correlation being the strongest of the three means the hierarchy STEM → CS → AI is not the ordering the data support. The authors' reading is that AI occupies "a neighboring branch" that carries content and value components CS does not: Ethics, societal impact, and the everyday visibility of the tools.
Measurement invariance held: constraining loadings (Δχ²(12) = 19.93, p = .068, ΔCFI = −0.001), intercepts (Δχ²(12) = 29.59, p = .003, ΔCFI = −0.003) and residual variances (Δχ²(15) = 8.28, p = .912) did not meaningfully degrade fit. Scalar invariance produced a significant χ² difference, but with small and diffuse modification indices rather than one offending item.
The weaker demographic footprint
Multiple regression put the adjusted R² at .12 for AI interest, .25 for CS interest and .18 for STEM interest. Age carried small positive coefficients across all three (B = 0.02 for AI, 0.03 for CS, 0.01 for STEM, p < .01), which contradicted the hypothesis of no age effect.
Gender differences followed the familiar shape but at different magnitudes: men's interest exceeded women's by B = 0.69 in CS, B = 0.44 in AI and B = 0.38 in STEM, all p < .001. So AI's gender gap is clearly smaller than CS's and roughly the size of STEM's — a result the authors are careful not to overstate, since a smaller gap than CS is not a smaller gap than everything.
Discipline showed the same pattern with a larger contrast. Relative to humanities and arts students, engineering and technology students reported B = 0.89 higher CS interest and B = 0.69 higher STEM interest, but only B = 0.41 higher AI interest; natural-science students were higher in all three (0.45, 0.42, 0.81), medicine and health students higher in AI and STEM (0.45, 0.51) but not CS, and social-science students did not differ significantly in any domain.
Why social expectation predicts so little
Adding subjective norm to the demographic model lifted explained variance by .11 for CS interest and .09 for STEM interest, but only .05 for AI interest, with standardized coefficients of .35, .32 and .24 respectively. An age × subjective-norm interaction on AI interest was not significant (β = −0.010, p = .828).
The authors offer two readings and settle neither. The first is that AI interest is more self-determined: students are drawn in by the fascination and apprehension the domain provokes rather than by what others expect. The second is that norms around AI have not consolidated yet — parents and teachers may have no formed expectations about whether a student should be interested, where CS and STEM expectations have had decades to harden into career pathways. If the second is right, what they measured is the absence of pressure, not the presence of intrinsic motivation, and it should shrink as AI becomes institutionally embedded.
What the measure can and cannot carry
Interest here is content-oriented self-report: agreement with wanting to learn about the domain. The authors acknowledge that a student who mainly wants to use AI tools may answer the content items from that orientation — a larger problem for AI than for chemistry, because the tools are so visible — and propose a multidimensional instrument separating interest in how systems work, in using them, and in the ethical questions.
The cross-sectional design cannot separate triggered situational interest from maintained individual interest, which is the distinction the interest-development model turns on. Reported AI interest may be a recent response to first contact with chatbots rather than a stable disposition, and the authors say so.
What this means for practice
- Course designers. Do not build an AI course as a technical appendage of the CS sequence. The interest structure supports what the recruitment argument needs: ethical, creative and societal content is not decoration around the technical core, it is a distinct route into the domain.
- Instructors recruiting students. Reach students in social sciences, humanities and arts with AI content that leads with bias, design, governance or societal impact, then move toward technical depth. The data do not prove that route works, but they show AI interest is least constrained by exactly the background variables that make CS recruitment narrow.
- Program leaders reading their own numbers. Expect AI interest to look flatter across disciplines and genders than CS interest does, and do not read that flatness as an inclusive program: the authors' own caution is that accessibility and novelty could produce the same pattern, and only longitudinal evidence would tell the two apart.
- Researchers. Do not treat an AI-interest score as a general technology-interest score. If a study needs interest as a control or a mediator, measure it separately, and prefer instruments that separate wanting to understand the systems from wanting to use them.
Limitations
- Cross-sectional self-report throughout: no claim about whether interest develops, decays or consolidates, and no behavioral measure of what students do with it.
- Both subsamples were recruited mostly through Prolific, whose participants skew more technology-literate and research-experienced than the student population, so baseline interest may be inflated.
- "STEM" is not the same object in two languages: German MINT excludes the life and health sciences US usage often includes, so some cross-subsample difference is construal, not country.
- Student status (undergraduate, graduate, continuing education) and enrollment type were not collected, and with a sample spanning 18 to 68 years age may be confounded with those; sensitivity analyses across two age bands reproduced the main patterns.
- The subjective-norm measure captures interpersonal expectation only, not ambient cultural exposure or media saturation, so the "AI hype" explanation is weakened rather than excluded.
- Interest was measured with one operationalization adapted from PISA; interest as a construct has a long debate about exactly this.
Citation
Bewersdorff, A., Zhai, X., Hornberger, M., & Nerdel, C. (2026). Examining university students' interest in AI, computer science, and STEM. International Journal of STEM Education, 13, Article 70.