Martin Andrt CZ
Home / Insights / Learning with AI: your own attempt first, then the explanation
Teaching

Learning with AI: your own attempt first, then the explanation

Three steps side by side: your own attempt first, then an explanation from AI, then a check without AI

In an experiment with high school students, AI without guardrails did harm only once it was taken away: on a test without AI they scored 17% lower than students who never had it. A tutor that gave hints instead of answers largely removed the harm. A second study found no overall effect of AI on learning and saw differences by type of use only in exploratory analyses. I learn with AI accordingly (my own attempt first, the AI only explains, the result checked without it), and my view of teaching AI at NEWTON University in Prague builds on that.

What the studies say

Bastani and colleagues (PNAS, 2025) ran a randomized field experiment with nearly a thousand high school students in mathematics classes. The group with an ordinary GPT-4 interface scored 48% higher on practice problems. When the AI was taken away, that group scored 17% lower on the exam than students who never had it. A tutor version that gave hints instead of answers raised practice scores by 127%, and the drop on the exam was largely avoided. On the problems the authors checked, the ordinary GPT-4 answered correctly only 51% of the time on average.

Lehmann, Cornelius and Sting (arXiv, 2024, revised 2025) ran two pre-registered lab experiments in which participants learned basic Python. They found no overall effect of AI on learning, positive or negative. Only exploratory analyses and a field study suggest that what mattered was how it was used. Participants who let the AI generate exercise solutions covered more topics but understood each one less. Those who asked for explanations understood better. The gap between participants with low and high prior knowledge widened.

UNESCO’s guidance on generative AI in education (September 2023) recommends a human-centred approach and teacher training. Its age limit of 13 concerns schools. At a university the first part is the relevant one: whoever lets AI into teaching must be able to work with it.

Three rules I use

Since October 2026 I have been learning Python myself, with an AI as my teacher. The rules I gave it:

  1. Own attempt first. I write a rough version, or describe the steps in plain Czech, and only then ask the AI. I do not get a finished solution.
  2. The AI explains, I write. I ask “why does this work” and never “write it for me”.
  3. Check by predicting output. The question “do you understand?” gets the answer “yes”. The question “what will this code print?” exposes a gap that self-reflection would not reveal.

What changes for assignments

Output that used to prove a student could do something can now be produced by an AI. I draw two conclusions. They are my reading of the two studies, not a measurement from my classes. First, in my view part of the work should happen without AI, otherwise nobody knows what the student can do alone, which is exactly what the exam in the Bastani experiment measured. Second, when AI is allowed, the process should be what gets assessed: what the student asked, what they verified in the answer, and where the AI was wrong. Verification is not an extra, because a model writes just as confidently when it is wrong as when it is right.

I do not publish data from my own classes. Everything above comes from the cited studies and from how I learn myself.

Sources

FAQ

Does it make sense to ban AI in teaching?

None of the cited studies tested a ban. Bastani compared AI without guardrails, AI with hints and a group without AI. Lehmann found no overall effect of AI, so the studies themselves neither support nor refute a blanket ban.