# Learning with AI Without Outsourcing Your Thinking by [kirupa](https://www.kirupa.com/me/index.htm) | filed under [Teams & Leadership](https://www.kirupa.com/teams_and_leadership/index.htm) **TL;DR:** A chatbot can hand us a finished answer, or it can check our own attempt and give hints while we do the thinking. The first way uses AI as an answer machine, and the second uses it as a tutor. Answers feel like learning, but the tutor way builds skills that stay once the chat closes. - In a study of nearly 1,000 high school math students, a ChatGPT-style helper raised practice scores 48%, but those students did 17% worse on the exam without it. Students whose tutor gave hints instead of answers did about as well as students with no AI. - Anthropic saw the same with developers learning a new library: the AI group averaged 50% on a quiz versus 67% for hand-coders, and people who asked the AI for explanations scored highest. - Predict first. Trying an answer yourself before you ask, even a wrong one, helps you learn more from the answer when it arrives, which is called the pretesting effect. - Paste a tutor setup that asks for hints instead of answers, explain the fix back in your own words, and redo a similar problem from memory a few days later with the chat closed. One morning, between batches of sourdough, Crumb & Co.'s owner texted Wren a question: which pastries get the most orders before noon? Wren has been learning SQL to answer questions like this, and about 40 seconds later, there was an answer. A week later, Wren couldn't write a query like it, and the answer turned out to be wrong. This happens to a lot of us now that a chatbot is always a few seconds away. In this article, we are going to look at why getting an answer from AI can feel like learning when it isn't, and at a routine that keeps the learning in our own heads. Onwards! ## Forty Seconds to an Answer Our bakery's orders live in a table called `orders`, and each row has an `item`, a `placed_at` time, and a `status` that says whether the order was filled or cancelled. Wren pasted the owner's question into a chatbot: [![An AI assistant chat. Wren writes: Which pastries get the most orders before noon? The table is orders (item, placed_at, status). Write the SQL. The assistant replies, Here you go!, with a finished query: SELECT item, COUNT(*) AS orders FROM orders WHERE EXTRACT(HOUR FROM placed_at) < 12 GROUP BY item ORDER BY orders DESC LIMIT 5. A stopwatch beside the chat reads 0:40.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_ask.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_ask.png?v=0d56a366f179) Wren ran the query that came back and sent the top five pastries to the owner: [![Wren sends the owner a message titled Top 5 before noon: Cinnamon roll 212, Croissant 187, Morning bun 140, Scone 96, and Almond croissant 71. The owner replies: Let's bake more cinnamon rolls!](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_sent.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_sent.png?v=9951f198e4cf) It worked! A minute earlier, Wren didn't have this query, and now Wren had one that ran. It's like the scene in The Matrix where Neo gets kung fu uploaded into his head and says ***"I know kung fu."*** Here is our version: [![A gag based on the movie The Matrix. Wren, wearing dark sunglasses, says: I know SQL. Next to Wren, a progress window reads Uploading SQL skills, with a full bar at 100% and, underneath, 0 KB transferred.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_matrix.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_matrix.png?v=9b34aa34967f) The progress bar says 100%. As we will see in a moment, nothing actually got uploaded. ## A Week Later A week later, the owner looked at our numbers again: [![The owner asks: 212 cinnamon roll orders? Doesn't Rosa cancel the ones we can't fill? Below, bars compare what Wren sent with the counts after leaving out cancelled orders. Cinnamon roll: 212 sent, 151 without cancelled orders. Croissant: 187 and 181. Morning bun: 140 and 136. A callout points at the cinnamon roll bars: 61 were cancelled. Croissants are really the top seller.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_recount.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_recount.png?v=1e031d52492f) Our query counted every row, including the cancelled ones. On busy mornings, the cinnamon rolls sold out, and Rosa (our shift lead) cancelled the online orders we couldn't fill. Once we leave out the cancelled orders (**61** of them were cinnamon rolls), croissants were our real top seller. Our chatbot didn't know that cancelled orders shouldn't count, and Wren couldn't read the query well enough to notice. Then the owner asked about Saturday afternoons, and that query went right back into the chatbot too. We'll see how to catch that in a bit. ## Two Ways to Use the Same Chatbot Nothing about our chatbot was broken. The problem was how Wren used it. We can use the same chatbot in two very different ways. In the first way, we hand it our question, and it hands back a finished answer for us to copy. In the second way, we try the problem first. The chatbot checks our attempt, points at what's off with a hint or a question, and has us explain things back, a lot like a good teacher who never grabs our pencil. When we use a chatbot the first way, we are using it as an **answer machine**. The second way uses it as a **tutor**. Here is what each one looks like for Wren's query: [![Two columns, one for each way of using the same chatbot. Answer machine: Wren asks for the query, the AI writes the whole query, and Wren copies it. Tutor: Wren writes an attempt first, the AI points at one problem with a hint, Wren fixes it, and Wren explains it back. At the bottom, who did the thinking: the AI on the answer machine side, and Wren on the tutor side.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_two_ways.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_two_ways.png?v=4531a9de9800) With the answer machine, the AI did the thinking. With the tutor, Wren did the thinking, and the AI kept Wren from getting stuck. When we let the AI do the part of the work that would have built the skill in our own heads, we are **outsourcing our thinking**, and the rest of this article will be about how not to do that. ## Great Practice Scores, Worse Exam Scores Does it matter which way we use it, as long as we get the right answer? In the fall of 2023, Hamsa Bastani and her colleagues [tested this](https://www.pnas.org/doi/10.1073/pnas.2422633122) with nearly **1,000** high school math students in Turkey: [![Three groups of high school math students. During practice, one group had its textbook and notes, one had GPT Base, a ChatGPT-style chat, and one had GPT Tutor, which was told to give hints instead of answers. Arrows lead every group to the same exam on similar problems, taken alone with no AI and no notes.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_study.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_study.png?v=89c4c96b2d8c) GPT Base was a chat window built on GPT-4 that worked a lot like ChatGPT. GPT Tutor was the same window, told to give the teachers' hints instead of answers. Here is how both AI groups did compared to the textbook group, which will be our zero line: [![Two charts compared with the textbook-only group, drawn as the zero line. Practice, with AI: GPT Base scored 48% higher and GPT Tutor 127% higher. Exam, without AI: GPT Base scored 17% lower, and GPT Tutor did about the same as the textbook group. A callout on the GPT Base exam bar says worse than no AI at all.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_flip.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_flip.png?v=6376711fb06b) During practice, both AI groups crushed it, scoring **48%** and **127%** higher. On the exam, once the AI was gone, the GPT Base students scored **17%** lower than students who never had AI at all, and the GPT Tutor students ended up about even with them. What were the GPT Base students doing? Their most common message was some version of ***"What is the answer?"*** Most of them were asking for solutions and copying them down. Two more details from the study surprised me: - GPT Base got the practice problems right only **51%** of the time, so a lot of what got copied down was wrong. - The GPT Base students didn't think they had learned any less. In other words, getting the answer felt exactly like learning it. Only the exam scores showed that it wasn't. ## The Same Thing Happens with Code Anthropic saw the same pattern with software developers. In [a randomized trial](https://www.anthropic.com/research/AI-assistance-coding-skills) (which I wrote about in [Vibe Coding + Expertise](https://www.kirupa.com/ai/vibe_coding_expertise_win.htm)), 52 mostly junior developers learned a Python library called Trio. The AI group averaged **50%** on a quiz afterward, versus **67%** for those who coded by hand, with the biggest gap on debugging. How they used the AI mattered a lot: [![Quiz scores for six ways developers used the AI assistant in Anthropic's study. Asked for explanations: code, then follow-up questions, 86%; code plus explanations, 68%; conceptual questions only, 65%. Handed the work over: handed off all of the coding, 39%; slowly handed it all off, 35%; had the AI debug for them, 24%.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_modes.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_modes.png?v=3e3095087a39) The best scores came from people who asked the AI to explain things, and the worst came from people who handed over the coding or the debugging. These groups were small (2 to 7 people each), and Anthropic says this part doesn't prove cause and effect. It still matches the math classroom really well. ## Why the Struggle Matters I talked about this with Elisa Cundiff, who teaches computer science at Colorado State University, in [our podcast conversation](https://www.kirupa.com/podcast/elisa_ai.htm). When I brought up learning to do push-ups, she put it like this: > What AI gives you, in some ways, is like attaching a machine to both your arms. You still get the output of having done 10 push-ups, but you don't get the other benefits of how you got from point A to point B. You're not actually stronger. > > [Elisa Cundiff, CompSci, AI, and the Classroom](https://www.kirupa.com/podcast/elisa_ai.htm) A gym has a much better kind of help, though. A spotter stands next to us while we lift and only steps in if the bar stops moving: [![Two gym scenes with Wren. Left, machine on both arms: two mechanical arms do the lifting. Ten reps done, the machine did the lifting, and Wren is not stronger next week. Right, a spotter: a spotter stands by while Wren lifts. Ten reps done, Wren did the lifting, and Wren is stronger next week.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_pushups.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_pushups.png?v=1622921b532e) Both versions of Wren finish 10 reps, and only the one with the spotter will be stronger next week. An answer machine is the machine on our arms. A tutor is our spotter. So, what is the lifting when we are learning? A big part of it is trying to come up with the answer before anyone tells us, even when we get it wrong. In [a 2009 study](https://doi.org/10.1037/a0016496), Lindsey Richland, Nate Kornell, and Liche Sean Kao had college students read an essay about vision, and some of them tried to answer questions about it before reading: [![Two groups in the 2009 pretesting study. Read longer: read the essay about vision, keep reading, then take the final test. Guess first: try to answer questions about the essay (most guesses wrong), read the essay, then take the final test, and this group did better. A callout says: even on questions they missed!](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_pretest.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_pretest.png?v=4bb49c67455a) The guess-first group did better on the final test in all five experiments, even on the questions they had missed. This is called the **pretesting effect**. It is a cousin of the [generation effect](https://doi.org/10.1037/0278-7393.4.6.592) Slamecka and Graf described in 1978, where words we come up with ourselves (like cold, from the clue hot and the letter c) stick better than words we just read. When we paste our question into a chatbot first, we skip this whole part of our workout. ## Turning Our Chatbot into a Tutor Here is the routine we will follow with Wren, and the AI helps with two of its four steps: [![A loop of four steps. 1, predict first: write your own guess. 2, ask for a check and a hint. 3, explain it back in your own words. 4, close the chat and redo it later, which leads back to step 1. Steps 2 and 3 have the AI assistant's robot icon on them; steps 1 and 4 happen with the chat closed.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_routine.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_routine.png?v=fb5c8dff23c4) Steps 1 and 4 happen with the chat closed, and that is where most of our lifting happens. In steps 2 and 3, the AI is our spotter. We'll walk through all four with the owner's morning pastry question. ### Step 1: Predict First Before opening our chat, Wren writes a guess at the query in a scratch file: [![Wren's guess at the query in a scratch file named guess.sql: SELECT item, COUNT(*) FROM orders WHERE placed_at < '12:00' GROUP BY item. A callout next to the WHERE line says: not sure about this one.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_guess.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_guess.png?v=e04826896ea9) Wren knows our query has to count orders per pastry and keep only the morning ones. The `WHERE` line has a bug that Wren can't see yet. That's fine! These four minutes of guessing are our own little pretest. ### Step 2: Ask for a Check and a Hint Next, Wren starts a new chat and pastes in a short setup that you can copy too (swap SQL for whatever you are learning): ```text I'm learning SQL, and I want to get better at it myself. Please be my tutor instead of giving me answers: 1. Don't write the full answer for me, even if I ask, unless I type "show me". 2. When I share an attempt, tell me what I got right, then point at one problem at a time with a hint or a question. 3. If I'm still stuck after two hints, give me a smaller, similar problem to try first. 4. When I get it working, ask me to explain it back in my own words, and correct anything I get wrong. 5. If you aren't sure something is right, say so. ``` With our setup in place, Wren pastes in the guess: [![An AI assistant chat. Wren writes: Here's my attempt, followed by Wren's query with WHERE placed_at < '12:00'. The assistant replies: You've got GROUP BY and COUNT(*) right! Now look at your WHERE line. It compares the whole date and time to '12:00'. Which part of placed_at do you care about?](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_hint.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_hint.png?v=a9f92b620658) Our tutor pointed at one problem with a question, so Wren still has to do the fixing. A quick search turns up `EXTRACT`, which pulls the hour out of a timestamp. The second hint is a question too, ***"Should every row count as a sale?"*** That one sends Wren over to the `status` column: [![Wren's query after two hints: SELECT item, COUNT(*) AS orders FROM orders WHERE EXTRACT(HOUR FROM placed_at) < 12 AND status <> 'cancelled' GROUP BY item ORDER BY orders DESC. The WHERE line and the new status line are highlighted and numbered 1 and 2. Callouts: 1, just the hour; 2, skip cancelled orders.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_fixed.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_fixed.png?v=0c7bc0baa0c9) That second fix is the bug the answer machine missed a week ago. Wren caught it this time because the hint made Wren think about which rows should count. ### Step 3: Explain It Back Once the query works, our tutor asks Wren to explain it: [![An AI assistant chat. The assistant asks: It works! Now explain each part back to me in your own words. Wren writes: WHERE drops the afternoon and cancelled orders. GROUP BY sorts the pastries, and COUNT(*) counts them. The assistant replies: Close! GROUP BY makes one pile per pastry, and COUNT(*) counts each pile. ORDER BY is what sorts them.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_explain.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_explain.png?v=eb9a7caa6681) Wren thought `GROUP BY` was the part that sorts things. Nope. `GROUP BY` makes one pile per pastry, `COUNT(*)` counts each pile, and `ORDER BY` sorts the piles. Without this step, Wren could have carried that fuzzy idea around for months, because our query works either way. ### Step 4: Close the Chat and Redo It Later Three days later, the owner wants the Saturday afternoon numbers redone, since they had the same cancelled-order bug. This time, Wren keeps the chat closed and writes the query from memory, which is the retrieval practice we covered in [Learning How to Learn](https://www.kirupa.com/teams_and_leadership/learning_how_to_learn.htm): [![Three days later, the owner asks: Can you redo the Saturday afternoon numbers? With the chat closed, Wren writes the query in a file named saturday.sql: SELECT item, COUNT(*) AS orders FROM orders WHERE EXTRACT(DOW FROM placed_at) = 6 AND EXTRACT(HOUR FROM placed_at) >= 14 AND status <> 'cancelled' GROUP BY item ORDER BY orders DESC. Every line has a check mark for from memory except the day of the week line, which has a magnifying glass for looked up.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_from_memory.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_from_memory.png?v=f9c337c1c08b) Wren only had to look up how to get the day of the week (in PostgreSQL, Saturday is **6**). Everything else came out of Wren's own head, and pulling it out like that is what will make it stick. ## Slower Now, Better Later Here are our two versions of Wren side by side: [![A table comparing answer-machine Wren with tutor Wren. Time to the first answer: 0:40 vs. 25:00. Caught the cancelled orders: no vs. yes. Later, with the chat closed: stuck vs. wrote it.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_side_by_side.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_side_by_side.png?v=2323563bd546) Tutor Wren was way slower, and on a busy day, **25 minutes** for one query is going to feel ridiculous. It is the same flip we saw in the math classroom. With the chat open, the answer machine looks like the clear winner. A week later, with the chat closed, the only skills we have are the ones that made it into our heads. ## When It's Fine to Just Take the Answer Not every question needs a tutoring session, and here is how Wren decides which ones do: [![A question at the top: Will Wren need to judge, debug, or review this later? No leads to Just take the answer: a one-time spreadsheet cleanup, the date format for a receipt, and a keyboard shortcut. Yes leads to Make it a lesson: SQL for the owner's questions, reviewing an agent's code, and how Ready texts get sent.](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_sort.png)](https://www.kirupa.com/teams_and_leadership/images/learning_with_ai_sort.png?v=253935c250fd) A one-time spreadsheet cleanup is not a skill Wren needs to own. SQL is, because soon an agent will be writing queries that Wren has to review. People tend to stop checking an AI that is usually right (this is called [automation bias](https://www.kirupa.com/human_behavior/automation_bias.htm)), and if we can't read the query, our cancelled cinnamon rolls slip right through. > **Note: Tutors Get Things Wrong Too** > > GPT Tutor rarely made mistakes because its instructions included the correct solutions. Our homemade tutor has no answer key, and GPT Base got only about half of the practice problems right without one. So, we run the query, check a few rows by hand, and treat every hint as a suggestion that might be wrong. ## Try It This Week Pick one thing you're learning that you'll need to judge, debug, or review later, and try the routine on one real problem: 1. Before you open a chat, write your own answer or best guess, even if you're pretty sure it's wrong. 2. Paste the tutor setup from this article into a new chat, then paste your guess and ask for a hint. 3. Once it works, explain it back in your own words and ask what you got wrong. 4. A few days later, solve a similar problem from memory with the chat closed. ## Frequently Asked Questions **How Do You Use AI to Learn Without Becoming Dependent on It?** Use it as a tutor instead of an answer machine. Write your own answer or guess first, ask the AI to check it and give a hint instead of the fix, explain the result back in your own words, and a few days later redo a similar problem from memory with the chat closed. **Does Using ChatGPT Hurt Learning?** It can, depending on how it’s used. In a study of nearly 1,000 high school math students, a ChatGPT-style helper raised practice scores by 48%, but those students scored 17% lower on the exam once the AI was gone, and most of them had used it to get answers and copy them down. Students whose AI tutor gave hints instead of answers did about as well as students who never had AI. **What Is the Pretesting Effect?** It’s the finding that trying to answer a question before you’re taught the material helps you learn it, even when your guess is wrong. In a 2009 study, students who answered questions about an essay before reading it did better on a later test than students who got extra reading time, even on the questions they had missed. **How Do You Prompt an AI to Act Like a Tutor?** Before asking your question, tell it you want to learn and that it shouldn’t write the full answer unless you ask. Have it say what you got right, point at one problem at a time with a hint or a question, give you a smaller problem if you’re stuck after two hints, ask you to explain it back, and say when it isn’t sure. ## Conclusion Ok! It is time to wrap things up. When we paste a question into a chatbot and copy what comes back, we get the output without doing any of the lifting, and the lifting is what builds the skill. Using AI as a tutor puts that lifting back with us. We predict first, ask for a check and a hint, explain it back, and redo it later with the chat closed. Tutor mode is slower, it feels worse, and the tutor can be wrong, so checking is always part of the job. Still, Wren's 25 minutes paid off three days later, and they will keep paying off every time an agent hands over a query to review. Up next is [Managing Your Attention](https://www.kirupa.com/teams_and_leadership/managing_attention.htm), which is about protecting the focus this kind of learning needs. Oh, and the bakery is baking more croissants now...though not because of Wren's first answer. Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, [Managing Your Attention](https://www.kirupa.com/teams_and_leadership/managing_attention.htm), or check out some related content: - [Vibe Coding + Expertise: Don’t Outsource Your Thinking](https://www.kirupa.com/ai/vibe_coding_expertise_win.htm). Why vibe coding works best when you still know what good code looks like. - [CompSci, AI, and the Classroom: A Conversation with Elisa Cundiff 🔥](https://www.kirupa.com/podcast/elisa_ai.htm). Elisa Cundiff on productive struggle and why learning still matters in the AI era. - [Automation Bias and Vigilance: Why People Stop Checking AI](https://www.kirupa.com/human_behavior/automation_bias.htm). Why people stop checking an AI that is usually right, and what helps. 3. Stuck on something, or curious about a detail we skipped? [Ask on the forums](https://forum.kirupa.com/), and we’ll help you out. ## Test your knowledge! [Take the Learning with AI Quiz](https://www.kirupa.com/quizzes/learning_with_ai.htm). Practice with 5 multiple-choice questions and an explanation after every answer.