Lesson 1 of 5 · Open
What AI is
Input in, output out: what an AI system does, and what it does not.
Your phone unlocks as soon as it sees your face. Your inbox moves ads into the spam folder. The navigation app says: arrival 18:40. Behind all of this is what people today call AI. But what exactly makes these things AI, and why does a calculator not count as AI?
All three take something in: a camera image, an email, the start and end of a trip. That is the input. Out comes an answer: unlock or not, spam or not spam, 18:40. That is the output.
What matters happens in between. Nobody told the spam filter in advance whether your email from today is spam. It works out the answer itself, from what it knows about similar emails. A program that derives an output from an input in this way is called an AI system.
Artificial intelligence, or AI for short, is the umbrella term for such systems and for the field that builds them. Early AI systems consisted of many rules that experts had written down by hand, and drew conclusions from them for each single case. Most of today's systems learn from data. The next lesson shows how that works.
Classify, predict, generate
What an AI system puts out usually belongs to one of three tasks:
- Classify: the input goes into one of a fixed set of groups. Spam or not spam, your face or someone else's.
- Predict: the system gives a number or an event that is not settled yet. Arrival at 18:40, tomorrow's electricity use.
- Generate: something new is made. A translation, a chatbot's answer, a picture.
New terms
- input and output
- what a system receives, and what it delivers from it as an answer
- AI system
- a program that derives an output from an input, without anyone having given it the answer for each case
- artificial intelligence (AI)
- the umbrella term for AI systems and the field behind them
- classify
- assign the input to one of a fixed set of groups
- predict
- give a number or an event that is not settled yet
- generate
- make something new, such as a text or a picture
| System | Input | Output | Task |
|---|---|---|---|
| spam filter | spam or not | classify | |
| face unlock | camera image | unlock or not | classify |
| navigation app | start, end, traffic | arrival 18:40 | predict |
| translator | German text | English text | generate |
| chatbot | question | answer as text | generate |
Quick check
An AI system states how much electricity a house will use next week. Which task is that?
AI or not?
Example
Example: the arrival time
Many navigation apps predict when you will arrive. The answer is not fixed anywhere in the program.
- Input: start, destination, time of day, and the traffic right now
- The system estimates from data on earlier trips how fast traffic moves on each stretch.
- Output: arrival 18:40
- Task: predict. Whether you will really arrive at 18:40 is not settled yet.
Example
Counterexample: the calculator
A calculator gets 23 · 4 and puts out 92. It has an input and an output too. But it works nothing out: it carries out exactly the steps of calculation that people laid down completely, and 92 is the only right answer. An egg timer and a traffic light on a fixed cycle work the same way. They are not AI systems.
Quick check
An alarm clock rings every day at 6:30. Is it an AI system?
Typical mistake
Assuming that an AI system understands like a person and is therefore right when it sounds certain. That cannot be right: chatbots sometimes name a book or a court ruling as a source that does not exist at all, in the same confident tone as always. The output is derived, not checked. So you check for yourself whatever matters to you.
Remember
Tasks
Task 1 · Sorting
AI system or not? Sort each case.
6 cards left
Task 2 · Fill in
A banking app checks payments. Fill in the words.
The app receives a new payment as its . From it, the app derives an : suspicious or not. So the payment goes into one of two fixed groups. The task is to .
Task 3 · Several right
Which statements about AI systems are true?
Go deeper
Task 4 · Pairs · optional
What fits which case?
Task 5 · Choice · optional
A chatbot names a book as its source in a confident tone. What do you do?
Task 6 · Choice · optional