Neural networks
7 minYou'll be able to explain in 60 seconds, with no maths, how a neural network learns and what that means for the screens you design.
Lesson video
Tastebud · 7:00 · Captions on screen
A network learns by nudging millions of numbers to match labelled examples, so it's only reliable on cases like them.
- Why. Nobody writes its rules. Training measures how wrong each guess was and moves every weight a little to shrink the error, over and over. Nothing covers cases it never saw.
- Real example. When no species scores clearly ahead, iNaturalist says 'The AI is not confident. It may be one of the IDs below.' Its model learns from community-identified observations. (iNaturalist, Nov 2026)
- When to break it. Healthify's Snap logs meals from gallery photos without asking. Healthify says people who log by photo log about twice as often. That's fair when a wrong log costs one edit.
- Common mistake. Showing one name as a fact, with no edit. A photo unlike the examples, like a thali by candlelight, can score the wrong name high, and the person is stuck.
Our take. A network has no rules anyone can edit, so nobody can patch a wrong answer. The levers are its examples and the screen around its guess: show doubt when scores are close, and turn corrections into new examples.
Learning means guess, check, nudge, repeat
Training starts from random weights. A loop then runs over a huge number of photos people labelled with the right answer. Healthify's Snap, which names dishes in meal photos, launched in 2023 trained to recognise 150,000 Indian food items.
Learning is a loop that nudges every weight
- Guess. It scores every dish for one training photo. At the start the scores are close to random.
- Check against the label. Each training photo carries the right answer, added by a person.
- Measure how wrong. The gap between guess and label becomes one number.
- Nudge every weight. Each weight moves a tiny amount in the direction that shrinks that number. You did this by hand in the toy.
- Next photo. Repeat a huge number of times, and the weights settle into values that work on new photos like the training ones.
Weights freeze once training ends
After training, the weights stop changing, so using the app teaches the network nothing on the spot. iNaturalist aims to ship a retrained model about once a month. If your product says it learns from you, the copy should say how.
A correction trains the next version, not the app the person is using
- Taps 'Not this dish'. The person picks the right name. The weights don't change on the spot, so 'Our AI learns from every photo you take' promises something that isn't happening.
- App says thanks. 'Thanks. Corrections like yours help train the next version.' It says what happens to the correction and promises no instant change.
- Correction joins the examples. Saved with the right name as its label, ready for the next training run.
- Team trains the next version. iNaturalist aims to ship a retrained model about once a month.
- New version ships. Only now can a photo like it get a better name. 'The AI will remember this next time' promises this step happens at once.
A network can be sure and still wrong
A network is most reliable on photos like its training ones. iNaturalist learned insects from wild phone photos, so a pinned insect probably won't match well. When scores are close, show two or three names, and let one tap correct any name.
Analyzing for the best identification...
It might be one of these
Recreated from iNaturalist, Nov 2026. The species and scores are an example.
Try it
Drag the weights until both photos are right
A toy network with made-up numbers. It scores two photos for 'masala dosa'. Both show a long fold, only the dosa is golden and only the pesarattu is green. It's calling the pesarattu a dosa. Drag the weights until the pesarattu is low and the dosa stays high.
Quick check
Your dish-naming feature names North Indian food well but keeps getting Bengali sweets wrong. What is most likely to fix it?
Watch next
Watch it for How input, hidden and output layers pass a decision along, and how weights change what counts.
Watch it for How wrongness becomes one number, and how every weight gets nudged to shrink it. Follow the pictures and skip the formulas.
Case study: Seek by iNaturalist, naming only as far as it is sure
Connects to: 2.3 Visualising with AI · 9.4 The data a feature needs · 12.2 Explaining AI decisions · 12.4 Designing for AI errors
Sources · checked Nov 2026
- iNaturalist app, English interface strings (strings.ftl, last changed 25 Nov 2026)The match screen wording: 'Analyzing for the best identification...', 'The AI is not confident. It may be one of the IDs below.', 'It might be one of these', '% confidence', 'ADD LOCATION FOR BETTER IDS', and 'iNaturalist's identification suggestions are based on observations and identifications made by the iNaturalist community'.
- iNaturalist Help: Which taxa are included in the computer vision suggestions?A species needs at least 100 photos and 60 observations; observations with a Community ID are prioritised; the team tries to release a new model about once a month.
- iNaturalist Help: Why can't computer vision identify my photo correctly?The model is trained to recognise typical iNaturalist photos, which are mostly phone photos, and its insect photos are mostly of insects in the wild, so pinned insects probably won't work well.
- TechCrunch: HealthifyMe introduces AI-powered image recognition for Indian food (21 Sep 2023)Snap was trained to recognise 150,000 Indian food items; human reviewers corrected false recognitions and users could tag wrongly recognised photos to improve the model.
- App Store (India): Healthify: AI Calorie Tracker, version 12.0.5Snap is live and logs meals from a photo, including automatically from the phone's gallery ('Just connect it to your gallery').
- Inc42: AI-powered photo tool has doubled food tracking engagement, says Healthify CTO (9 Apr 2025)People who track by photo log about twice as often as people who log manually (the company's own figure).
- Google Machine Learning Crash Course: Gradient descentTraining starts from random weights, measures the loss, moves each weight a small amount in the direction that reduces it, and repeats.
- Google Machine Learning Crash Course: Activation functionsA unit's value is sigmoid(weights times inputs, plus bias), with sigmoid giving a number between 0 and 1; the slider uses this formula.
- Google Machine Learning Crash Course: Static versus dynamic trainingA statically trained model is trained once and the same model is served for a while, so using it doesn't change it.
- Keras Applications: available modelsCommon photo networks have millions of weights: ResNet50 has 25.6 million parameters.
- OpenAI: Aligning language models to follow instructions (27 Jan 2022)The video's 'millions or billions' of weights: GPT-3 has 175 billion parameters.