Please enable JavaScript to use CodeHS

How Babies and LLMs Learn

Generalization & differences

Both babies and LLMs can take what they learned in one situation and apply it to another. But generalization is where their differences become most obvious. This final tutorial compares how they transfer knowledge and what that means for understanding the world.

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

How babies generalize

Human generalization is remarkable. A toddler who has only seen a few dogs can recognize a new breed on the street. A child who learns that “pouring water into a tall glass” does not change the amount of water can reason about conservation. A teenager who learns algebra can transfer that abstract skill to physics, finance, and music.

Babies generalize because their concepts are grounded in a world model. They know that objects continue to exist when hidden. They know that people have intentions. They can imitate, experiment, and reason about cause and effect.

Humans also generalize from very few examples. A baby might learn the word “ball” after seeing just a few balls. This is called few-shot learning, and it is something AI struggles to match. Human learning is sample-efficient because it uses prior knowledge, embodiment, and social context.

Machine

How LLMs generalize

LLMs generalize too. A model trained on English can sometimes translate to Spanish, write poetry, summarize text, and answer coding questions, even though it was not explicitly trained on all of those tasks. This is called emergent capability: abilities that appear without being directly programmed.

But LLMs generalize differently. They do not have a world model. They generalize by finding patterns in the training data and applying those patterns to new inputs. Sometimes this works beautifully. Sometimes it fails in surprising ways: an LLM may confidently give a wrong answer because it sounds plausible.

LLMs also need much more data than humans. They are not few-shot learners in the same sense; they are trained on enormous datasets and can then be prompted with a few examples. The few-shot behavior is impressive, but it is not the same as a child learning from just a few examples in a rich world.

Comparison

Comparing the two

Feature👶 Baby🤖 LLM
InputSenses, body, social worldText tokens
PatternsChunks experiences into conceptsFinds statistical token patterns
RepresentationsEmbodied world modelsVectors and neural weights
FeedbackCaregivers, emotions, consequencesLoss functions, human ratings
Data neededVery few examplesBillions of examples
UnderstandingModels goals, objects, causesModels language patterns
IntentWants food, comfort, playNo needs or desires
ConsciousnessLikely has some form of experienceNot conscious; no experience

Key idea: Babies are world-learners with bodies, goals, and social connections. LLMs are language-pattern learners with massive data and no body, no needs, and no consciousness. Generalization in babies is grounded; generalization in LLMs is statistical.

Interactive

Who handles it better?

Click each scenario to see how a baby and an LLM might respond, and why one might handle it better than the other.

Scenario 1: A child sees one glass of water poured into a taller, thinner glass and says it now has “more water.”

The baby/toddler will get this wrong at first — then learn conservation through experience. An LLM might answer based on text patterns and say “the amount is the same,” but it does not actually understand volume unless that fact was in its training data.

Scenario 2: Translate a sentence into 20 different languages instantly.

The LLM can do this from statistical training. A baby cannot. The LLM generalizes across languages it has seen during training, even if it has no lived experience in those languages.

Scenario 3: Figure out that a toy placed under a blanket still exists.Babies develop object permanence: they know the toy is still there. An LLM has no physical world model. It can state the concept but does not experience or test it.

Scenario 4: Generate a 500-word story in the style of Shakespeare.The LLM can imitate the style from patterns in its training data. A baby cannot. This is where statistical learning shines.

Check Yourself

Quick quiz

1. Why can babies learn from fewer examples than LLMs?

2. What is one common failure mode for LLM generalization?

3. Which statement best captures the difference between babies and LLMs?

Keep learning

You have compared how two very different learners make sense of the world. You can explore more about AI, agents, and the future of learning.

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