Experiences from Integrating Large Language Model Chatbots into the Classroom

Arto Hellas, Juho Leinonen, Leo LeppänenarXiv 2024

TL;DR

Researchers integrated an unfiltered GPT-4 chatbot into three computer science courses to see if the "worst fears" of educators—total student over-reliance—would come true. Instead, they found that usage was highly skewed: a few "superusers" accounted for the majority of interactions, while most students barely touched the tool, even when it was provided for free.

What Problem Does This Paper Address?

The rapid rise of Large Language Models (LLMs) like ChatGPT has sparked a polarized debate in academia. Some call for total bans to prevent plagiarism and "cognitive offloading," while others argue that LLMs are the "new normal" and must be integrated into the curriculum.

However, much of the existing research relies on expert evaluations of LLM outputs or controlled, single-shot experiments. There is a lack of empirical data on how students actually use these tools when given unrestricted, "unfiltered" access within their actual course materials. This paper seeks to fill that gap by observing real-world usage patterns across different types of CS courses.

Methods

The researchers integrated a GPT-4 powered chatbot directly into the online learning platform used at Aalto University. Key aspects of the implementation included:

  • Unfiltered Access: Unlike many educational "tutors," this chatbot had no special prompt engineering or "guardrails" to prevent it from giving direct answers. It was designed to mimic the experience of using ChatGPT.
  • Integration: The chat interface was available on every course material page.
  • Usage Limits: To manage costs, students were limited to 5 messages per minute and 100 messages per day.
  • Course Variety: The study spanned three courses: (1) Software Engineering with LLMs (industry-focused), (2) Device-Agnostic Design (MSc level), and (3) Web Software Development (BSc level).

Datasets

The study analyzed data from 214 students who used the chatbot and provided research consent. The data consisted of:

  • Interaction Logs: Timestamps and message counts for all chatbot dialogues.
  • Background Surveys: Self-reported data on prior programming experience and prior LLM experience.
  • Usefulness Ratings: Voluntary 1-to-5 star ratings provided by students after each dialogue session.

Key Insights and Ideas

  • The "Superuser" Phenomenon: Chatbot usage followed a roughly Zipfian distribution. A tiny minority of students (less than 10%) produced over 50% of the total messages. For most students, the "threat" of over-reliance never materialized because they simply didn't use the tool much.
Figure 1: Student chatbot usage distribution per course.
  • The Experience Paradox: Interestingly, there was a moderate negative correlation ($\rho = -0.41$) between prior LLM experience and usage of the course chatbot. The authors hypothesize that experienced users might already have their own preferred tools (like a paid ChatGPT Plus account or GitHub Copilot) or that inexperienced users were "testing the fences" to see what the model could do.
Table 5: Correlation coefficients between chatbot usage and student experience variables. Data contains only those stu- dents who responded to the experience survey. Bolded values have 𝑝< 0.001.
  • Context is King: Usage was significantly higher in the course specifically about LLMs (98% usage) compared to the general CS courses (~23% usage). This suggests that unless prompted or required, many students do not yet see LLMs as a default "must-use" study aid.
  • The Knowledge Cutoff Wall: In the Web Software Development course, students were using Svelte 5 alpha—a technology released after GPT-4's training cutoff. Consequently, the chatbot provided deprecated or incorrect advice, leading to low usefulness ratings for those specific chapters.

Key Results

The quantitative data highlights a massive disparity in engagement between the courses:

Table 1: Descriptive statistics of the chatbot usage per course.
  • Engagement: In the LLM-focused course, users averaged 100 messages each. In the other two courses, the average dropped to between 4 and 8 messages per user.
  • Perceived Value: Despite the low usage in some courses, those who did use the tool generally liked it. The median usefulness rating was 4 out of 5 stars across all three courses.
  • Cost-Effectiveness: Providing GPT-4 access to hundreds of students for an entire semester cost less than $200 in API fees, suggesting that "leveling the playing field" by providing premium LLM access is financially feasible for departments.

Limitations and Future Work

The authors acknowledge several limitations:

  • Self-Selection Bias: Usefulness ratings likely skew high because students who found the tool useless stopped using it (and thus stopped rating it).
  • The "Chat" Bottleneck: Students noted that a web-based chat interface is poorly suited for debugging large, multi-file projects. Future work should look toward IDE integrations.
  • Static Knowledge: To solve the "knowledge cutoff" problem, the authors suggest implementing Retrieval-Augmented Generation (RAG), allowing the LLM to "read" the specific course textbooks and documentation before answering.
  • Plagiarism Detection: While no spike in plagiarism was observed, the authors admit that detecting sophisticated LLM-generated code remains an ongoing challenge for the field.

Summary updated

BibTeX
@misc{hellas2024experiences,
  author = {Arto Hellas and Juho Leinonen and Leo Leppänen},
  title = {{Experiences from Integrating Large Language Model Chatbots into the Classroom}},
  year = {2024},
  eprint = {2406.04817},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.04817},
}
Figure