Why Models Learn Better After They Stop Memorizing

Mark Erdmann

Hatched by Mark Erdmann

Jun 03, 2026

9 min read

84%

0

The strangest thing about intelligence: it often improves after it already looks finished

What if the moment a model seems to have fully learned a task is not the end of learning, but the beginning of something more interesting? That is the unsettling idea hiding behind both image generation and grokking: the best results often come after simple fit gives way to deeper structure.

In one setting, a captioning model turns an image into language, and a diffusion model turns that language back into an image. In another, a transformer keeps training long after it has already driven training loss close to zero, only to suddenly discover a more robust form of reasoning. At first glance, these are separate stories. One is about multimodal creativity, the other about mechanistic reasoning. But both point toward the same deeper tension: surface success is not the same thing as internal understanding.

That tension matters because most of our intuitions about machine learning, and frankly about learning in general, are backwards. We tend to think the goal is to memorize enough examples, then stop. But these examples suggest a more surprising thesis: learning becomes powerful when the system stops treating outputs as final answers and starts building reusable internal representations.


The real divide is not accuracy, it is structure

A captioner that describes an image and a generator that turns text into an image can be chained together into a kind of creative loop. This is not just a neat demo. It is a clue about how intelligence works when one representation can be translated into another and then back again. The caption is not the image, and the image is not the caption. Each is a compressed, partial view of the same underlying reality.

That same idea shows up in grokking. A model can memorize the training set and still be useless on new cases. But when it keeps training, something unusual can happen: it begins to form a circuit that captures the task’s actual structure, not just its examples. In other words, it moves from storing answers to storing relationships.

This is the central distinction:

Memorization answers the question, “What happened before?”
Structure answers the question, “What stays true across cases?”

A caption, a generated image, a reasoning step, a comparison between objects, these are all different manifestations of structure. They are not just outputs. They are evidence that a model has internalized a mapping that can be reused.

Consider a child learning the concept of “dog.” At first, they may memorize a few visual examples. Then they start to understand that dogs can be small or large, fluffy or short-haired, brown or black, sitting or running. The concept becomes portable. That portability is what grokking is beginning to reveal in transformers, and what multimodal systems exploit when one model interprets another model’s output.

Intelligence is not the ability to produce a correct answer once. It is the ability to build a representation that can survive translation, transformation, and novel context.


Why some models need to keep training long after they seem done

The grokking phenomenon is counterintuitive because it violates a very human instinct: once a system has fit the training data, we assume continued training mainly invites overfitting. Yet here, extended training beyond the point of apparent completion leads to better generalization. That means the model is not merely polishing answers. It is reorganizing itself.

Think of it like a student who has memorized every practice problem for a math exam. They can ace the worksheet, but stumble on slightly altered questions. If they keep studying, something changes. They stop recalling procedures case by case and start recognizing the underlying rule. The student has not learned more facts. They have learned the shape of the problem.

The distinction between memorizing circuits and generalizing circuits is crucial here. A memorizing circuit is efficient at reproducing seen examples. A generalizing circuit is efficient at expressing a rule compactly enough to handle new ones. The former is like keeping a photo album. The latter is like understanding grammar.

The comparison between reasoning tasks makes the point even sharper. Some tasks allow the transformer to form a parallel structure, where atomic facts are held together in a way that supports systematic generalization. Other tasks force a sequential structure, where facts are stored layer by layer and thus become brittle out of distribution. This is not a small technical detail. It reveals that how information is organized internally determines whether intelligence scales beyond the training set.

That insight connects directly to multimodal systems. When a captioner produces a textual representation of an image, it is not just translating pixels into words. It is selecting the structure that matters. When a generator reads that caption, it does not need the original pixels. It needs enough of the latent structure to recreate an image that shares the same semantic skeleton. The quality of the loop depends on whether the representation preserves relationships, not raw detail.

A blurry caption can still be useful if it captures structure. A perfect memory of irrelevant detail can still fail if it does not.


The hidden pattern: intelligence is recursive compression

One way to unify these ideas is to think of intelligence as recursive compression.

Compression is not just making things smaller. Good compression removes what is redundant while preserving what is predictive. A great caption compresses an image into language without losing the features that matter. A robust reasoning circuit compresses many training cases into a rule that survives new inputs. A strong internal model compresses experience into patterns that can be recombined.

This is why grokking is so interesting. It suggests that a model can first learn the cheap, shallow compression, the one that simply stores examples, and then later discover a deeper compression that explains the same data with fewer moving parts. The late stage of training is not about squeezing performance from the same representation. It is about discovering a more elegant one.

Here is a useful mental model:

  1. Stage one: Capture. The system learns to reproduce outputs on familiar examples.
  2. Stage two: Distill. The system begins to discard accidental detail and retain only stable relations.
  3. Stage three: Transfer. The distilled structure works on inputs it never saw before.
  4. Stage four: Translate. The same structure can move across modalities or formats, such as image to text, text to image, or facts to reasoning.

That sequence helps explain why some systems look brilliant in demos but brittle in the wild. They have capture, but not distillation. They can mirror, but not generalize. They can answer, but not reason.

It also explains why the captioning and generation loop is so compelling. The caption is a compression of the image. The generated image is a reconstruction from that compression. If the caption contains the right structure, the reconstruction can be surprisingly faithful or creatively plausible. If the caption merely lists fragments, the generator will produce a shallow echo.

The same principle governs reasoning. A model that has compressed “comparison” into an efficient parallel circuit can apply that compression to new cases. A model that has compressed “composition” into sequential storage may remain trapped in brittle reenactment. The challenge is not just learning more, but learning the right compression scheme.

The deepest forms of learning are not storage problems. They are representation problems.


What this means for building, evaluating, and using AI

If this thesis is right, then the way we judge models may be too focused on visible performance and not enough on internal organization. Two models can get the same benchmark score while learning in radically different ways. One may have a robust, reusable structure. The other may be a clever patchwork of correlations.

This has practical consequences.

First, do not confuse fluent output with durable understanding. A caption or answer that sounds right can still be fragile. The relevant question is whether the system can preserve meaning when the input is perturbed, reframed, or translated into another modality.

Second, training longer can be a feature, not a bug, if the goal is structural learning. The grokking story suggests that what looks like stagnation may actually be reorganization. In creative workflows, this is familiar: the first draft is often the least interesting, and the real work begins when you keep refining the structure after the obvious solution is already there.

Third, cross-layer memory matters. If a model stores atomic facts in ways that are too isolated, it may be able to recite them but not coordinate them. Systems that encourage memory sharing, recurrence, or better integration across layers are not just engineering tweaks. They are attempts to make representation more reusable.

Fourth, multimodal loops are tests of understanding. When you convert an image into text and back again, or a thought into a diagram and back again, you are asking whether the system can preserve essence across translation. That is a harder test than single-shot generation because it reveals whether the model knows what is essential.

A good example is the difference between describing a photograph of a crowded train station and merely listing objects. “A woman in a red coat stands near a departure board while commuters rush past” preserves a scene. “Person, coat, board, people” does not. The former gives a generator enough structure to recreate a plausible station. The latter gives only fragments.

For humans, the same test applies. If you can explain a concept in a new metaphor, or draw it, or convert it into a diagram, you probably understand it. If you can only repeat the original wording, you may have memorized it, but not internalized it.


Key Takeaways

  • Accuracy is not understanding. A model can be right on familiar cases while still lacking the structure needed for new ones.
  • Late training can produce better generalization. When a system groks, it often reorganizes itself around a more compact, reusable representation.
  • Translation is a test of intelligence. If a concept survives movement between image, text, and reasoning, it is probably grounded in structure rather than surface form.
  • Compare memorizing circuits to generalizing circuits. The first stores examples, the second stores relations. Robust intelligence depends on the second.
  • Ask whether learning is compressing or merely copying. The best systems distill the world into representations that can be reused across tasks and contexts.

The deeper lesson: intelligence is not the final answer, but the right internal map

The most important thing these examples suggest is that intelligence is not a collection of outputs. It is a map of relationships that can be carried forward. A caption is valuable because it maps an image into language without losing the structure that matters. A grokked transformer is powerful because it maps examples into a rule that survives novelty.

That is why the really interesting question is not whether a model can answer, generate, or classify. It is whether it can build an internal map that remains valid when the terrain changes. The model that memorizes gives you a snapshot. The model that groks gives you a compass.

And perhaps that is the broader lesson for anyone building or using AI systems. The future does not belong to models that merely know more facts. It belongs to models that discover better abstractions, preserve them across translation, and keep improving after the point where shallow success would have tempted us to stop.

In that sense, the end of overfitting is not the end of learning. It is the moment when learning finally starts to become intelligent.

Sources

← Back to Library

Hatch New Ideas with Glasp AI 🐣

Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)

Start Hatching 🐣