Objective
The researchers wanted to find out if giving students access to an AI chatbot would affect how well they perform on data science programming problems. With the growing use of artificial intelligence in education, many hope that AI tools can help students learn complex skills like programming. However, there is little direct evidence on whether AI assistance actually improves student outcomes in data science programming, especially for different types of problems. The main question was: Do students who solve data science problems in the DaTu platform with access to an AI chatbot perform differently from those who do not have access to the chatbot? The study focused on three different classification problems, each with its own level of complexity. The AI tool used was a chatbot based on the "gpt-3.5-turbo" model, integrated into the DaTu intelligent tutoring platform. The goal was to see if AI support helps, hinders, or has no effect on student performance in this context.
Methods
This was a quantitative, experimental study using a between-subjects design. The researchers recruited 89 undergraduate students (68 males and 21 females, average age 21.44 years, SD = 2.64) from a North American university. All participants had basic knowledge of Python and data science concepts. Recruitment was done through department mailing lists and student societies. Each participant completed a consent form and a demographics questionnaire before the study session. Participants were randomly assigned to one of two groups: 45 students used the DaTu platform with AI chatbot assistance, and 44 students used DaTu without the chatbot. Both groups worked independently to solve the same three data science programming problems. These problems included two multiple-choice classification tasks (one binary, one multi-class) and one open-ended binary classification task. The AI chatbot, powered by the "gpt-3.5-turbo" model, was available only to the AI group and could answer questions and provide feedback. The DaTu platform logged all student actions, and performance on each problem was measured using these logs. The researchers also collected prior knowledge scores and demographic data. The main outcome was the students' scores on each of the three problems. The analysis used a multivariate analysis of covariance (MANCOVA), which compares group means on several outcomes while controlling for prior knowledge. The study received ethics approval from the university's Institutional Review Board. Participants were paid $60 for their time. The paper does not state the duration of each study session or the exact time spent on each problem.
Key Findings
The main finding is that access to an AI chatbot did not consistently improve student performance on data science programming problems. The results differed by problem type and are described below:
Overall group differences
- Students without AI assistance had higher average scores across all three problems, but the difference was only statistically meaningful for the second problem.
Problem 1: Binary classification (multiple choice)
- Average score with AI: 9.62 (adjusted mean, SE = 0.49)
- Average score without AI: 10.30 (adjusted mean, SE = 0.50)
- The difference was not statistically significant (F(1, 86) = 0.921, p = .340, partial η2 = 0.011).
- This problem had missing values and did not require feature selection.
Problem 2: Multi-class classification (fill in the blanks, requires feature selection)
- Average score with AI: 6.64 (adjusted mean, SE = 0.56)
- Average score without AI: 8.83 (adjusted mean, SE = 0.57)
- The difference was statistically significant (F(1, 86) = 7.442, p < .0167, partial η2 = 0.08). Students without AI scored about 2.2 points higher on average (mean difference 2.194, 95% CI [0.595, 3.792], p < .05).
- This was the only problem where the difference reached statistical significance after adjusting for multiple comparisons. This problem was more complex, involving multi-class classification and feature selection.
Problem 3: Binary classification (open-ended, imbalanced data)
- Average score with AI: 5.99 (adjusted mean, SE = 0.85)
- Average score without AI: 8.26 (adjusted mean, SE = 0.86)
- The difference was not statistically significant (F(1, 86) = 3.464, p = .066, partial η2 = 0.039).
- This problem required feature selection and had imbalanced data.
Interpretation of findings
- AI assistance did not help students outperform their peers on any of the three problems.
- For the more complex multi-class classification task (problem 2), students without AI help did better.
- There was no meaningful difference for the two binary classification tasks (problems 1 and 3).
- The results suggest that the effect of AI assistance may depend on the type and complexity of the task.
- The authors suggest that students may not engage deeply with AI feedback, may over-rely on it, or may not know how to use it effectively, especially for harder tasks.
- Task complexity and the way students seek information may affect how useful AI assistance is. For complex tasks, the AI chatbot may not have provided enough support to meet learners' needs.
Implications
For teachers and instructors: The results suggest that simply adding an AI chatbot to a programming platform does not guarantee better student performance. In fact, for more complex tasks, students without AI support may do better. Teachers should consider providing guidance on how to use AI tools effectively and help students develop skills to critically evaluate AI feedback. It may also be helpful to match the type of AI support to the complexity of the task.
For school and university leaders: The findings highlight the need for careful planning before adopting AI tools in programming and data science courses. Not all AI assistance leads to better outcomes, and its benefits may depend on the task and how students interact with the tool. Leaders should support training for both students and instructors on effective use of AI in learning environments.
For policymakers: The study shows that AI tools are not a one-size-fits-all solution for improving learning outcomes. Policies should encourage research and evaluation of AI tools in real classroom settings and support ethical, transparent, and fair use of AI in education.
For students: Students should be aware that AI chatbots can be helpful, but relying on them too much or using them without critical thinking may not always lead to better results, especially on complex problems.
For developers and researchers: The results suggest that AI chatbots need to be carefully designed and tailored to specific tasks and learner needs. Simply providing access to a general-purpose chatbot may not be enough. There is a need to study how students use AI feedback and how to design tools that truly support learning.
Our reading (not the authors' recommendation): Educators and platform designers should consider pairing AI tools with human guidance, especially for complex tasks, and provide explicit instruction on how to use AI assistance effectively.
Limitations
The authors note several limitations. The study used a specific sample of 89 undergraduate students from one North American university, most of whom were male and had some prior experience with Python and data science. This limits how widely the results can be applied to other groups or settings. Only three programming tasks were used, so it is unclear if the findings would hold for other types of problems or in different contexts. The study did not examine how students interacted with the AI chatbot, how they used its feedback, or the quality of the chatbot's responses. The AI chatbot was not specifically designed for data science programming, which may have affected its usefulness. The paper does not mention, but the short-term, one-session design means we do not know the long-term effects of AI assistance on learning. The study did not look at students' learning strategies, self-regulation, or attitudes toward AI, which could influence results. The findings may not apply to students with different backgrounds or in other educational systems.
Future Directions
The authors suggest several areas for future research. First, more work is needed to understand how AI chatbots influence student performance and learning processes in data science programming. Future studies could examine how students use and respond to AI feedback, and whether the quality of AI responses affects outcomes. Research should also look at how prior programming experience, self-efficacy, and learning strategies interact with AI assistance. It would be valuable to test AI assistance with a wider range of tasks and with more diverse groups of students. Studies could explore the long-term effects of AI support on skill development, and how best to present AI assistance to learners. Finally, researchers should investigate the ethical and practical challenges of using AI in education, including fairness, transparency, and data privacy.
The bottom line: Giving undergraduate students access to an AI chatbot in a data science programming platform did not lead to higher scores, and for a complex multi-class classification problem, students without AI help actually performed better. The evidence comes from a controlled experiment with 89 students solving three programming problems. The results suggest that AI assistance is not always helpful and may even hinder performance on harder tasks if not used thoughtfully. Educators and developers should be cautious about assuming AI tools will automatically improve learning, and should focus on how, when, and for whom these tools are most effective.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary each morning, a weekly digest, or a monthly report. You choose, and you can unsubscribe in one click.