studentsbeginner

How AI understands words: a map of meanings

Big idea: AI turns words into numbers, so that words with similar meanings sit close together.

The story in short

On a rainy day, Happy tipped out Dadi’s 300 handmade word cards, in English, Hindi and Kannada. Sorting by colour or by first letter made no sense. Sorting by meaning worked: “mango”, “आम” and “ಮಾವಿನ ಹಣ್ಣು” ended up side by side on the floor. Kabir chachu explained that AI gives every word an address made of numbers, learned from which words fill the same blanks: “I ate a ripe, juicy ___”. Then came the arrow trick: raja − boy + girl ≈ rani. But Riya found that some old word maps put “doctor” closer to “he” than “she”.

The idea

Where you see it

Search boxes that understand what you mean, translation apps, and chatbots all use embeddings.

Remember: a word is known by the company it keeps, and so is a machine that learns from words.

Check yourself

  1. You search a shopping app for "something to keep tea hot" and it shows flasks. What makes that possible?

  2. How does an AI learn where to place "mango" on its word map?

  3. An old word map puts "nurse" near "she" and "engineer" near "he". Where did this come from?

More for you: 🎒 Students · 🧑‍🏫 Parents and teachers