Objective

This study set out to closely examine how K-12 students and teachers use generative AI in real classrooms by sorting their interactions into content themes and task types. The researchers wanted to connect theory with what actually happens in schools. They looked at over 17,000 anonymized messages to find patterns, new uses, and give evidence-based advice for educators, policymakers, and researchers about how GenAI is really used in education.

Methods

The study employed a novel hierarchical topic modeling approach using state-of-the-art large language models (LLMs) to analyze interaction data from a pilot program across multiple schools in a German-speaking European country spanning 11 months (August 2024 to June 2025). The dataset comprised 17,294 individual messages from 1,339 conversations across various subjects including mathematics, literature, and science. Researchers used ChatGPT-4o accessed through specialized educational software rather than the standard web interface. The methodology involved two-dimensional categorization: content analysis focused on the 400 most common nouns to identify discussion topics, while task analysis examined initial prompts from 1,014 unique conversations after removing duplicates. The researchers employed LLMs (ChatGPT 4.5 and o3-pro) for topic modeling with explicit instructions for hierarchical structuring, which proved superior to classical computational approaches like Latent Dirichlet Allocation (LDA). All data were anonymized to protect student privacy and translated to English using ChatGPT for presentation purposes.

Key Findings

The analysis found seven main content categories: Education & Learning, Nature & Environment, Family & Relationships, Arts & Entertainment, Career & Professional Development, Health & Wellbeing, and Culture & Society. Task sorting showed eight main areas: Creative Content Generation (such as poetry, storytelling, and songwriting), Language Learning & Grammar Support, Lesson & Curriculum Planning, Assessment & Feedback Support, Reflective & Experiential Writing, Factual & Explanatory Support, Visual & Multimedia Content Generation, and Motivational & Emotional Support. Most conversations (91%) had 30 or fewer messages, with students using GenAI almost only during school hours. The study found that while some categories like Education & Learning and Arts & Entertainment match well-studied areas, others like Career & Professional Development, Family & Relationships, and Health & Wellbeing are new uses with possible big impact. Creative tasks stood out, showing GenAI's part in helping creativity and imaginative thinking. The research also showed that modern LLMs did much better than older topic modeling methods, giving better sorting and results that match what people would expect.

Implications

This research gives strong real-world evidence for AI in education by showing how people actually use it instead of relying on guesses. The findings help teachers understand what students care about and adjust resources, and they help curriculum designers see where more support or enrichment is needed. Sorting by content lets us see what topics students talk about most, which shows what they are really interested in. The task sorting confirms known GenAI uses and finds new ones that have not been written about in research yet. The study shows GenAI can support academic learning, personal growth, and social-emotional development, especially in areas like career guidance, health awareness, and emotional support. For policymakers, the research points to the need for clear rules about GenAI use in sensitive personal topics and making sure everyone can use these tools fairly. The findings also show that using LLMs for topic modeling can help researchers study large text collections more effectively.

Limitations

The study acknowledges several important constraints that affect generalizability and interpretation. The dataset, while substantial, comes from schools within a single German-speaking European country under one school authority, limiting geographic and cultural diversity. The focus on classroom interactions during school hours excludes potential out-of-school usage patterns that might reveal different applications or disparities in access. The anonymization requirements, while necessary for ethical reasons, prevented the provision of raw data for reproducibility and follow-up research, despite sophisticated deanonymization risks. The study lacks quantitative assessment metrics and coding reliability measures that would enhance scientific rigor. The translation process from German to English, while validated on a sample, may have introduced subtle changes in meaning or eliminated regional linguistic characteristics. Additionally, the research does not address long-term educational outcomes or the sustained impact of GenAI usage on learning achievement, focusing instead on usage patterns and categorization.

Future Directions

The researchers suggest several key areas for future study to build on these results. Similar research should be done in other countries and school systems to find more uses and check if the results hold up in different cultures and languages. Future work should use numbers and long-term studies to see how GenAI affects learning and outcomes. Studies should look at how to build strong digital literacy and critical thinking skills so students can judge AI-generated content, especially with worries about mistakes and false information. Research is needed on ethical rules and safe use, especially for sensitive uses like health, emotional support, and career help. Future work should look at fairness in GenAI access, checking if differences in access outside of school make educational gaps worse. The methods using LLM-based topic modeling should be tested with bigger datasets and in other fields. Last, research should look at how GenAI use changes as students get older by splitting K-12 data into different age groups.

The bottom line: Analysis of 17,294 student messages from schools in one country suggests students mostly use generative AI for creative writing and language help. This preprint shows what students do, not whether it helps, and covers one school authority.