Reading 3 min
Abilities Nobody Programmed: Where a Chatbot's Skills Come From
Ask a chatbot for a limerick about tax law and you'll have one in seconds. It will rhyme, it will mostly keep the rhythm, and it will mention deductions. That's strange when you consider who built it. No engineer at any AI company wrote instructions for composing limericks. None wrote instructions about tax law either.
Most software doesn't work like this. A spreadsheet adds up a column because a programmer wrote out, step by step, how to add. If the program handles a situation, someone thought of that situation in advance. Timothy B. Lee and Sean Trott describe the difference in their explainer on language models. Conventional software is made by programmers who give computers "explicit, step-by-step instructions." A chatbot is built on a system "trained using billions of words of ordinary language" (Lee and Trott 2023).
The important word there is "trained." The chatbot's abilities weren't written down by anyone. The system picked them up from a very large number of examples. This approach is called machine learning. It's older than chatbots and much wider. It's how a photo app finds pictures of your dog, how a phone turns your speech into text, and how a streaming service picks what to recommend (Royal Society 2017, chap. 1).
Three things follow from building software this way.
- Nobody can point to the place where a skill is stored. There's no line of code for limericks. Lee and Trott go further and say that "no one on Earth fully understands the inner workings" of these systems (Lee and Trott 2023).
- What the system can do depends on what its examples contained. Abilities that were well represented in the examples tend to be strong, and abilities that were rare or absent tend to be weak or missing.
- The system fails differently from ordinary software. A spreadsheet either adds correctly or shows an error. A learned system can be nearly right, right for the wrong reason, or wrong in a way nobody predicted.
This changes the question you should ask when a system surprises you. With ordinary software, the useful question is "What was it told to do?" Somewhere there's an instruction that explains the behavior, and a programmer can find it and change it.
With a learned system, that question has no good answer. The more useful one is "What was it trained on?" If a photo app finds every dog in your library and also labels a fox as a dog, no rule about foxes went wrong. The app's examples probably taught it a pattern that fits dogs and happens to fit foxes too.
You can put that question to any AI tool you use, whether or not its maker tells you the answer. It also explains why two AI products can look alike on the surface and behave very differently underneath.
References
- Lee, Timothy B., and Sean Trott. 2023. "Large Language Models, Explained with a Minimum of Math and Jargon." Understanding AI, July 27, 2023.
- Free: Understanding AI
- Royal Society. 2017. Machine Learning: The Power and Promise of Computers That Learn by Example. London: The Royal Society.