Go to Map Courses Lab Glossary How it works Troubleshooting Start →
ITEN
← Course 01 · The Basics (Lesson 01.01 · 12 minutes · No sensor · For everyone)

Where AI does its thinking.

When you ask an app something, the answer can come from a computer hundreds of kilometers away, or from the chip in your pocket. Here you'll follow a photo on both trips, and see when the second one is the better choice.

What you learn
  1. The difference between cloud and edge
  2. Why latency decides what you can do
  3. The five reasons behind the acronym BLERP
  4. When staying in the cloud is the right choice

(You don't need to know anything first, this is where it starts)

How do you want to follow it
Preparing the scene…
  1. 01 The question

    A photo and an answer.

    You point your phone at a plant and ask what species it is. To answer, it needs a model, a program that learned to recognize plants by looking at thousands of photos. The question of this lesson is simple. Where does that model run?

    In practice. Every time an app gives you a smart answer, a model somewhere is doing the math. It can live in a data center, or inside the phone.

01 / 07
(Go deeper)

A few more numbers.


(01)

What it really costs to send a photo

A 12-megapixel photo compressed as a JPEG weighs about 3 MB. If a thousand people send ten a day to a server, that's 30 GB a day to receive, process and pay for. With the model on the phone that traffic goes away, and so does the server bill.

Then there's the battery. The phone's radio uses a lot of power when it transmits, and it stays on for a few more seconds after the last packet. For a small model, doing the math on the spot often takes less energy than sending the data.

  • 33 msper frame at 30 fps
  • 30-150 msround trip on a mobile network
  • 3 MBa 12-megapixel photo
(02)

Edge means more than phones

Between the data center and your phone there's a whole ladder. There are servers next to the cell towers, small computers in factories and cars, phones and watches. At the bottom are microcontrollers, chips that cost a few euros and have 256 KB of memory, running models of a few tens of kilobytes on a coin cell battery. That part of the ladder is called TinyML.

In this course we work on the phone because it's already in your pocket and has everything you need. A camera, a microphone, motion sensors and a chip built just for neural networks.

(03)

What already runs on your phone

Since 2017, Pixel phones have recognized the songs playing around them with no connection, using a database of tens of thousands of tracks stored on the phone. Face ID compares your face with data that never leaves the iPhone. Since 2023, some Android phones have Gemini Nano, a language model that summarizes and suggests replies without a network. Since 2024, Apple also runs a model of about 3 billion parameters on the device.

None of these is an experiment. They're features that hundreds of millions of people use every day, and they're the reason phone makers put chips made for AI inside their phones.

(Try it on your phone)

The airplane mode test


Put your phone in airplane mode and try these features. Mark the ones that still answer. The ones that work run on the phone, the others need the cloud.

  1. (01) Search for "beach" or "dog" in your photos app
  2. (02) Dictate a message with the keyboard microphone
  3. (03) Select the text inside a photo
  4. (04) Translate a sentence with your translation app
  5. (05) Ask the voice assistant a question
  6. (06) Lock the phone and open it again with your face or fingerprint

The result changes from phone to phone, and with your settings too. For example, translation works offline only if you've downloaded the language. At the end you have a list of what runs on your phone.

(Quiz)

4 questions to close the lesson.

When you have answered them all, the lesson counts as done and its stone on the map turns yellow. Answering is what counts, not the score.


  1. (01)

    What does edge mean in Edge AI?

  2. (02)

    An app has to follow a hand 30 times a second, and the round trip to the server takes 150 ms. What happens?

  3. (03)

    What's the price of the edge?

  4. (04)

    When does it make sense to stay in the cloud?

To close the lesson, answer the quiz

Back to the map
(Next lesson · 01.02) What's inside your phone