Please enable JavaScript to use CodeHS

How Babies and LLMs Learn

What is input?

Before you can learn, something has to come in. Babies soak up the world through their bodies and senses. LLMs soak up text through their training data. The shape of that input shapes everything that follows.

Cognitive Science + AI ~10 min Middle / High School
Human

A baby’s input

A newborn does not arrive with language, but it does arrive ready to learn. From the first moments, babies receive a flood of sensory information:

  • Vision: faces, light, motion, colors, depth.
  • Hearing: speech, music, tones, environmental sounds.
  • Touch: warmth, texture, pressure, pain, balance.
  • Smell and taste: food, caregivers, safety signals.
  • Proprioception: the sense of where their body is in space.

Crucially, babies do not just passively receive input. They act: they cry, kick, grasp, crawl, and look around. Each action creates new input. When a baby drops a spoon and hears it clatter, that is a lesson in physics and sound.

Babies also receive social input. Caregivers respond. A smile encourages a sound; a frown discourages behavior. Language is learned in the context of attention, emotion, and shared goals.

Machine

An LLM’s input

An LLM’s input is text. Lots of it. During training, the model sees passages from books, websites, code repositories, forums, articles, and more. It has no eyes, ears, or hands. It does not know that the word “apple” refers to a round fruit that can be tasted and thrown.

Instead, the model sees strings of tokens. A token might be a whole word, part of a word, or a punctuation mark. The sentence “The cat sat” might become [“The”, “ cat”, “ sat”] or similar chunks depending on the tokenizer.

Because LLMs only see text, they can learn enormous amounts of language. But they also miss what words are connected to in the physical world: texture, weight, smell, consequence, and social intent.

Comparison

From words to tokens

Both babies and LLMs need language to be broken into manageable pieces. For a baby, the boundaries between words are learned over time. At first, speech sounds like one long stream. Gradually, the baby notices pauses, repeated sounds, and patterns. “Doggy!” gets connected to the animal.

For an LLM, tokenization is done by an algorithm. The model never has to discover word boundaries; they are given to it as numbers. This makes LLMs fast and scalable, but it also means they never experience the gradual “figuring it out” process that human infants go through.

Key idea: Babies learn from a rich, active, embodied stream of experience. LLMs learn from a flat, static, massive stream of text. The difference in input creates huge differences in what each learner understands.

Interactive

Collect experiences

Choose the kinds of input each learner can collect. Notice how many channels the baby has compared to the LLM.

👶 Baby’s senses

👁️ Sight
🔊 Sound
🖐️ Touch
👃 Smell
👅 Taste
🫂 Social

Click senses to add experiences.

🤖 LLM’s input

Check Yourself

Quick quiz

1. What is the main difference between a baby’s input and an LLM’s input?

2. Why is a baby’s physical action important for learning?

3. What is a token in an LLM?

Keep learning

Once input comes in, both learners start to find patterns. Next, compare how babies and LLMs discover structure in what they see and read.

Part of the “How Babies and LLMs Learn” series.