Why does face unlock take a blink and the weekly playlist take a week?
Lesson 23.1 · Right Now vs. Overnight
Owen
Face unlock: a blink. Weekly playlist: Monday. Same kind of model, different clock.
Face unlock answers before Owen finishes lifting the phone.
His weekly playlist arrives every Monday morning, built overnight from a week of listening.
Same company, same data, two completely different rhythms. Module 3 explained the rhythms. Now they have AI in them.
The short answer
Face unlock is a small model on the phone chip, answering locally in milliseconds. The playlist is a big model in a data center, run for everyone at once when it’s cheapest. Both are inference. One is streaming on the device, the other is batch in the cloud, and Module 3 already had the words for it.
Try it yourself
Sort each AI feature into the lane it runs in.
1 of 7
Face unlock
Put it in
What you just did has a name
Inference: on-device and in the cloud
Using a trained model to make a prediction is called inference.
Some inference runs on your phone, instantly and privately.
Some runs in a data center, either live when you ask or in scheduled batches.
Where it runs decides how fast it answers, what it costs, and who sees your data.
A few more things
On-device means private and fast
Face unlock, keyboard suggestions, photo tagging. Small models that fit on a phone chip. Your data stays on the phone, and there’s no waiting for a server.
Cloud means big and shared
Chatbots, feeds, translation of a whole document. Models too big for a phone, running on racks of chips in a building, serving millions of people at once. Your request travels there and back.
Batch means cheap
If the answer can wait until Monday, compute it once for everyone overnight when the chips are idle. Module 3’s bucket, with a model in it.
Go deeper
The longer version, if you want it.
Training vs. inference costs
Training a big model happens once (or occasionally) and costs an enormous amount of computing. Inference happens every time anyone uses it, so a popular model’s inference costs eventually dwarf its training. That’s why companies work hard to shrink models onto phones, to distill big models into small ones, and to batch anything that can wait.
It’s also why chatbots have usage limits and phones get “on-device AI” features every year: pushing inference to the device saves the company money and gives the user privacy, a rare case where both sides want the same thing.
Quick check
You point your phone’s camera at a menu in Spanish and the English shows up over it, with no signal at all. Where is that inference running?
Let’s take it slower
Here’s a quick test: pull the plug. If a feature keeps working in airplane mode, the model is on the phone, small and quick, and your data stays home. If it stops the moment you lose signal, the model lives somewhere else, in a building full of chips, and your request has to travel there and back. And if the answer only ever shows up on a schedule, once a day or once a week, it was probably computed in a batch for everyone at once. Same kind of model all three times. Different address.
More examples
The smart doorbell
A doorbell camera that says “person detected” the instant someone steps up is running a small model on the doorbell itself. The one that emails a “weekly activity summary” on Sunday ran a batch job in a building somewhere. Same porch, two lanes.
Asking a speaker the weather
Say the wake word and the speaker catches it locally, with a tiny model listening for just that phrase. Everything after it gets shipped to the cloud, because understanding a whole sentence takes a model far too big for a speaker. One device, two lanes, split at the wake word.
Back to the question
So why a blink and a week?
Show the answer
Face unlock is a small model on the phone chip, answering locally in milliseconds. The playlist is a big model in a data center, run for everyone at once when it’s cheapest. Both are inference. One is streaming on the device, the other is batch in the cloud, and Module 3 already had the words for it.
One last question
Why run some AI on the phone instead of in the cloud?
Talk Card
Talk Card · 23.1
Some AI runs on your phone in a blink, like face unlock. Some runs in a data center, live or overnight, like your feed and your weekly playlist. Same idea, different lane.
Data to AI · pettigrewlab.com/learn
