1. What people mean when they say 'AI'
- What people mean when they say 'AI'
- How an LLM is trained
- Tokens and next-word prediction
- Why LLMs hallucinate
- Narrow AI vs AGI
- Real capabilities and honest limits
"AI" is not one thing. It is a label we paste onto any software that does something that used to feel like it needed a human mind: recognising a face, suggesting a route, finishing your sentence, beating a chess champion, or writing an essay. Because the label is so broad, two people can both say "AI" and mean completely different machines.
For most of computing history, getting a machine to act "smart" meant writing rules by hand: if the email contains this word, then mark it spam. This works for tidy problems but falls apart in the messy real world, where there are too many exceptions to ever list. The big shift was machine learning: instead of writing the rules, we show the program thousands or millions of examples and let it discover the patterns itself.
The tool that powers today's wave is the neural network — a large grid of simple math units connected together. Each connection has a number (a "weight"). Learning just means nudging those numbers until the network's outputs match the examples. A modern large language model is a neural network with billions of these numbers, trained on text. Nothing magical is added; it is scale, data, and patient tuning.
| Old way (hand-written rules) | Modern way (machine learning) |
|---|---|
| A human lists every rule | The machine finds patterns from examples |
| Breaks on unusual cases | Handles fuzzy, messy input better |
| Easy to read and explain | Hard to inspect; works as a black box |
Keep this in mind for the rest of the course: an LLM is a pattern machine, not a knowing mind. That single idea explains most of its strengths and almost all of its failures.