Skip to content
ClaudeClaude

What happens when you talk to AI?

An AI model writes one word at a time, but it doesn't think one word at a time. Jane from Anthropic’s user experience team breaks down the prediction process behind every AI output, and how to better interpret the responses you get back. Have a question? Let us know in the comments. Learn more at Claude Academy: http://academy.claude.com Chapters 0:00 What happens when you talk to AI? 1:07 How AI training works 2:32 How the model thinks 3:37 Four habits for better results

Janehost
Aug 5, 20264mWatch on YouTube ↗

EVERY SPOKEN WORD

  1. 0:001:07

    What happens when you talk to AI?

    1. JA

      [gentle music] When you send a message to an AI, there's a moment where it appears to be thinking, but what's actually happening? Is it reading the entire internet? Is it copying answers from a database? Is it just a fancier search engine? I'm Jane, and I work on user experience here at Anthropic, the company that makes Claude. Here's what's actually going on. AI models like Claude work by prediction. When you send a message, the model reads that message and draws on everything it learned during training to write back a response a little bit at a time. You'll see it appear word by word, and each one is chosen based on everything that came before it. Here's what surprises most people. The model writes one word at a time, but it doesn't think one word at a time. We'll come back to that in a moment. You've likely seen something like this before. When your phone's keyboard suggests Ben after you type, "How have you?" That's prediction too. The keyboard has learned which words tend to follow which. But there's a key distinction here. Your simple predictive keyboard is only looking at the last two or three words. It has no idea what you're trying to say or where the sentence is going.

  2. 1:072:32

    How AI training works

    1. JA

      An AI model goes much further than this. It's been trained on an enormous amount of text and other kinds of information. This is known as training data, and when an AI model predicts, it isn't just looking at the last two or three words the way your keyboard does. What it's actually doing turns out to be much deeper, and we'll see exactly how in a moment. Long before you ever talked to it, the model went through billions of rounds of the same exercise. See some text, guess the next word, see how close it got, adjust slightly, go again. Later, in a second stage called fine-tuning, the model's full answers are rated, sometimes by people, sometimes against a written set of guidelines, and the model is nudged toward answers that are more useful and less likely to mislead or cause harm. Both processes contribute to a model's generative capabilities. All of that takes place up to a certain date, called the training cutoff, after which the model doesn't reliably know about facts or information without leaning on other tools, such as internet search. While the model can search the internet to access information beyond the cutoff if the tool has search available, you can't assume the model has done a web search to craft its response. To be sure, you can ask it to, and when it does, it will typically share sources that you can review to confirm the output's accuracy.

  3. 2:323:37

    How the model thinks

    1. JA

      Now, back to how the model thinks. Predict the next word sounds almost mechanical, like the model is just reacting, one word, then the next, then the next. But to predict the next word well, you can't just look at the last few words. You have to work out where the sentence is going, what the paragraph is arguing, what a good answer would actually be. The model takes into account everything that came before: your uploaded documents, memory, system prompt, your prompts, your conversation history, before outputting the next word or even syllable, and then that whole process repeats for the next one, and so on, until the response is done. So why should you care about any of this? Because when you understand that an AI model is a prediction system, you are able to work with it and interpret its outputs much better. The fact that it can write you something that's never existed before makes sense once you remember it's generating, not just pulling answers from somewhere. The fact that it sometimes states something false with total confidence, same reason. It's producing what a good answer would look like, and usually, that lines up with reality. Occasionally, it doesn't, which is why your judgment still matters.

  4. 3:374:47

    Four habits for better results

    1. JA

      Knowing all that, a few habits that can get you better results. One, give it context to work with. Tell it who you are, what you're working on, and what a good result looks like. All of that becomes part of the pattern. Two, remember the cutoff. The model's knowledge stops at a certain date, so for anything recent, like prices or the news, it could be out of date unless the tool tells you it searched the web. Three, ask for options. Because it's generating, not retrieving information, there's no single stored answer, so ask for a few versions of the draft or have it try again in a different tone. We encourage you to explore. Four, and above all, double-check the AI's outputs. A confident tone or a polished-looking result is just how the output comes out. It isn't proof that the output is accurate or done well. Consider the stakes of your question and double-check facts if wrong information would cause an issue. So that's the basic shape of how AI works. Every time you send a message, you're handing it the start of a pattern, and it completes that pattern based on everything it learned in training. Different models will likely complete that pattern in different ways, so it's worth experimenting to see what works for you. We'll keep sharing our research on this topic on Anthropic's blog. [gentle music]

Episode duration: 4:47

Install uListen for AI-powered chat & search across the full episode — Get Full Transcript

Transcript of episode j1Vk6Y-23CY

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.