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.

Input in, output out. What happens in between was not laid down by anyone for each single case.

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
SystemInputOutputTask
spam filteremailspam or notclassify
face unlockcamera imageunlock or notclassify
navigation appstart, end, trafficarrival 18:40predict
translatorGerman textEnglish textgenerate
chatbotquestionanswer as textgenerate

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.

  1. Input: start, destination, time of day, and the traffic right now
  2. The system estimates from data on earlier trips how fast traffic moves on each stretch.
  3. Output: arrival 18:40
  4. 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

An AI system derives an output from an input: it classifies, predicts, or generates something new. It can be wrong, even when the answer sounds certain.

Tasks

Three tasks complete the lesson. The order does not matter, the text above stays where it is.

Task 1 · Sorting

AI system or not? Sort each case.

Drag every card into its group, or tap the group.

6 cards left

Checkout adds up the prices of the shopping

Task 2 · Fill in

A banking app checks payments. Fill in the words.

Tap a word, it goes into the marked gap.

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?

Several answers are right. Pick all of them.

Go deeper

Three more tasks, optional. They do not count for completing the lesson.

Task 4 · Pairs · optional

What fits which case?

Drag every card to its place, or tap it and then the place.

  • Checkout adds up prices
  • Camera recognizes your face
  • App estimates traffic at 17:00
  • Chatbot writes a poem

Task 5 · Choice · optional

A chatbot names a book as its source in a confident tone. What do you do?

One answer is right.

Task 6 · Choice · optional

Which heating control is an AI system?

One answer is right.

Back to the chapter