Objective
Computational thinking means breaking a problem into steps that a computer could carry out. Many countries now teach it in school. Past research has found that, on average, girls report less interest and confidence in it than boys, and boys often score higher on tests. Most of that work relied on questionnaires and test scores, which show the result of learning but not what students actually do while they learn.
This paper looks at the learning process itself. The researchers used an immersive virtual reality (VR) classroom, where students wear a headset and sit in a simulated room with a virtual teacher and virtual classmates. The headset had a built-in eye tracker, which records where a person looks. The idea is that eye movements are an objective, non-intrusive record of attention that does not depend on what students say about themselves.
The team asked a main question: do eye and head movements during a VR lesson carry enough information for a computer to tell girls from boys? They also asked which kinds of movements matter most for that decision, and what these might say about how girls and boys pay attention in a lesson. The authors describe this as a proof of concept. Gender here means the gender that students reported, and the models were used only to find patterns in behavior.
Methods
This was a data analysis study using machine learning. Machine learning means computer programs that learn patterns from examples. It can show whether a pattern exists in the data, but it cannot show why it exists.
Who took part
Data came from 381 sixth-grade volunteers (179 girls and 202 boys, average age 11.5). The study was approved by an ethics board, and students and their guardians gave consent. After removing students with poor eye-tracking quality (less than 90% of the signal recorded) or incomplete lessons, 280 students remained: 140 girls and 140 boys. The paper does not name the country or schools.
The VR lesson
Students wore an HTC Vive Pro Eye headset. They sat in a virtual classroom and heard an approximately 15-minute lesson from a virtual teacher called "Understanding how computers think." It had four parts: an introduction with questions, explanations of "loop" and "sequence," two practice exercises, and a short summary. The summary part was left out of the analysis. Each full session, including a paper pre-test and post-test, took about 45 minutes. The classroom varied in avatar style, seat position and how many virtual classmates raised their hands. The authors ignored these differences and pooled all the data.
Measures and models
For each student, the team cut the recording (about 13 minutes on average) into time windows and computed 43 features per window. These covered head movement, fixations (steady looks), saccades (fast jumps between looks), and pupil size. Many features measured looking at the teacher, the screen, or classmates. They tried window lengths from 10 to 100 seconds.
They trained five types of model to predict gender: Support Vector Machine, Logistic Regression, Random Forest, XGBoost and LightGBM. To be fair to unseen students, all windows from one student stayed together in either training or testing. They repeated a five-part split 10 times, for 50 training rounds in total. Chance level was about 50%.
Finally, they used SHAP, a method that scores how much each feature pushed a model toward one answer. They used it to drop the least useful features one at a time, and to explain the final model.
Key Findings
Overall, eye and head movements carried a modest but real signal about gender. The best model was right about 7 times in 10, clearly above the 50% chance level but far from perfect.
How well the models predicted gender
- All five models beat chance at every window length. A 60-second window worked best, so the paper reports results for that length.
- Using all 43 features, LightGBM did best with an average accuracy of 65.5%. The support vector machine reached 63.8% and XGBoost 63.5%.
- After SHAP was used to keep only the most useful features, every model improved. LightGBM rose by over 5 points, from 65.5% to 70.8%, using the top 24 features. The support vector machine gained about 3 points using its top 26 features.
- The authors say this is similar to earlier eye-tracking studies on simpler tasks, such as picture viewing (about 70%), reading in VR (about 70%) and reading by children aged 9 to 10 (63.8% and 60.7% for two groups).
Which behaviors mattered most
- The most informative feature was how often the head moved. The next most informative were the average time spent in each look at the teacher and the longest look at the screen, followed by the number of virtual classmates a student looked at and the total time spent looking at classmates.
- Head-movement and fixation features mattered more than saccade and pupil features. Many top features were about the teacher, the screen or classmates.
- The authors also checked how the 24 chosen features clustered together, to see whether some of them repeated the same information.
What the patterns suggest
- More head movement pointed toward the boys' class. The authors read this as more exploring of the room.
- Longer and more frequent looks at the teacher and screen pointed toward the girls' class. The authors read this as girls giving more attention to the lesson content.
- Looking at more classmates, and for longer, pointed toward the boys' class.
In plain terms, the model did not find one behavior that separates girls from boys. It combined many small differences in where students looked, how long they looked, and how much they moved their heads, and each of these differed only on average.
These are group tendencies learned by a model, not rules about any one child. The authors also note that the findings describe broad attention across the whole lesson, not reactions to specific moments in it.
Implications
For teachers and school leaders
The most practical message is cautious. The authors suggest that girls and boys may spread their attention differently in a VR lesson, so one design may not suit everyone. They propose that clear teacher guidance may help girls, who looked more at the teacher and screen, and that girls may need more help exploring a VR room. They also argue that girls' interest and confidence in computational thinking may need to be actively encouraged. These are the authors' interpretations; the study did not test whether any such change helps learning.
For developers of VR classrooms and tutoring systems
The authors suggest that virtual classmates acting as tutors might not draw the same attention from every student, since boys looked at classmates more. They also suggest that on-screen instructions may need different support for different groups. A sensible reading is that designers could check attention patterns when testing a new VR lesson, and could build in adjustable support.
For researchers
The study offers a method: extract eye and head features in time windows, train models, and use SHAP to find out which features matter. The authors say it could be applied to other subjects and other VR lessons.
What to watch out for
Accuracy of about 7 in 10 means roughly 3 in 10 students were guessed wrong. Nobody should use eye tracking to label or sort individual students by gender or to decide what a student can do. The authors themselves note that gender information is considered protected and should be kept private in commercial applications. The evidence is too thin to support any specific change to how students are taught.
Limitations
First, this study shows that a pattern can be found, not that gender causes the pattern. Models learn whatever separates the groups, including things the authors did not measure, such as prior experience with VR, gaming or interest in the topic.
Second, accuracy peaked at 70.8% on the best setup. That is above chance but leaves many errors, so the patterns are weak guides for any one child. Choosing the best number of features and the window length also used the same data, which can make results look somewhat better than they would on new groups.
Third, the data came from sixth graders watching one 15-minute lesson on one topic, in one kind of VR classroom. The results may not hold for other ages, subjects, or real classrooms. The authors also pooled several classroom setups, such as avatar style and seat position, without analyzing their effects here.
Fourth, Many of the 381 students were left out for data quality reasons, so the final group of 280 may not represent everyone.
The paper does not mention, but gender was treated as two groups, based on a reported answer, so it leaves out students who do not fit those two groups. The paper does not mention, but the study did not link the eye patterns to test scores or learning gains, so we do not know whether any difference in attention helps or hurts learning. Finally, the authors read the patterns through earlier research on interest and confidence, but they did not measure interest or confidence here, so those explanations remain guesses.
Future Directions
The authors say this work is a starting point. They describe several next steps.
- Can researchers look at specific moments in a lesson, such as when a question is asked or an exercise begins, instead of the lesson as a whole? The authors say this would give more detailed advice on design.
- Do the same differences appear in other subjects, particularly those where gender gaps are usually found, and in other VR settings?
- Can the findings guide the design of learning environments and teaching support that fit different groups, such as tailoring the instructional content and the virtual classmates shown in the room?
- Could the approach support adaptive tutoring systems, especially in STEM subjects such as computational thinking, where gender gaps remain?
The study also leaves some open questions. It does not test whether changing a VR lesson based on these patterns helps students learn, and it does not connect attention to learning results. The authors do not discuss how to use such tools without invading students' privacy.
The bottom line: In a VR lesson on computational thinking, models trained on the eye and head movements of 280 sixth graders could tell girls from boys about 7 times in 10, well above the 50% chance level but still wrong about 3 times in 10. The patterns suggest girls looked more at the teacher and screen, while boys moved their heads more and looked at classmates more. This is a single-lesson, pattern-finding study, so it cannot show why the differences exist or how to teach better. Treat it as an early idea for designing VR lessons, and not as a way to judge or sort individual students.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary, daily at 8:00 AM Eastern (or weekly if you prefer). Unsubscribe in one click.