Training Methods Intermediate

Self-Supervised Learning

Learning by having the data make its own problems and answers

Key points
  • Self-supervised learning hides a piece of the data on purpose and makes the model guess it. The hidden piece becomes the answer.
  • Nobody writes an answer down, yet grading still works. The answer key is already sitting inside the data.
  • That means data with no answer attached — the text and photos piled up across the internet — can be used whole. Most of today's large models build their foundation this way.
  • What it produces isn't a specific skill but a feel for how the data hangs together. The actual job gets tuned in afterward, with a much smaller amount of answered data.
  • Unlike unsupervised learning, which has no answer at all, self-supervised learning manufactures an answer from the data and then grades against it, the same way supervised learning does.
Contents

1The analogy

Someone learning to repair watches doesn't wait for a teacher to grade their work. They open up a watch that's running fine, quietly pull out one gear, and close the case back up. Then, looking only at what's left, they work out what size gear with how many teeth ought to sit in that empty spot. Checking the answer is instant — just take the gear they pulled out and hold it up to the gap. There's no separate answer key to build. The watch itself was the answer. Repeat this with a few thousand watches, and eventually, even a watch they've never opened before starts to feel predictable. Self-supervised learning is this: hide a piece of the material and treat the hidden piece itself as the answer.

2In detail

The answer key lives inside the data

The most expensive part of supervised learning is writing down an answer for every piece of data. Self-supervised learning skips that step entirely. Instead of manufacturing a new answer, it splits data that already exists in two — one half becomes the problem, the other half becomes the answer.

It's the same moment as pulling out the gear: the problem and the answer appear together. Delete one word from a sentence and the empty spot becomes the problem, the missing word becomes the answer. Cover a corner of a photo and the covered part becomes the answer.

So as long as there's data, problems are limitless. The same sentence produces a different problem depending on which word gets hidden.

What gets hidden decides what gets learned

What you learn depends on how you hide things. Blank out scattered spots in the middle of a sentence and let the model see both sides, and it picks up tight relationships between words. Cut a sentence at some point, hide everything after, and make it continue writing, and it picks up the direction language flows in. The two approaches serve different goals and end up good at different things.

Hide too little and there's nothing to learn — cover just one particle in a sentence and the surrounding words give it away instantly. Hide too much and no clues survive, so no amount of looking gets it right. It's the same as pulling out more than half a watch's gears — the original shape becomes impossible to guess. Landing on just the right amount of difficulty is the trick of this method.

The answerless pile can be swallowed whole

The text, books, code, and photos piled up online carry no answers at all. Attaching answers to all of it by hand would take more than a lifetime. Self-supervised learning swallows that pile as-is.

This is what let large language models improve so visibly in such a short time. The data available for training expanded from whatever a person could label to whatever the world has accumulated. The scale of data in play grew by several orders of magnitude.

What's learned is a feel, not a skill

Someone who's opened up thousands of watches can't immediately fix a customer's watch. All they've gained is a feel for how a watch is put together. The actual repair job — talking to customers, ordering parts — has to be learned separately, on top of that feel.

Self-supervised learning is the same. Hiding and guessing builds a feel for how the data hangs together, not a specific job. That's why this stage is called pretraining, and it's followed by a stage where a small amount of answered data tunes the model to an actual task. Build a broad feel first, and the amount of answered data needed downstream drops sharply.

It works beyond text, too

With photos, a square patch gets covered and the model restores what's inside, or two crops of the same photo with different colors get treated as the same thing. With sound, a short stretch gets erased and filled back in from what surrounds it. With video, the next few seconds get hidden and the model guesses how the scene continues.

The methods differ, but the skeleton is the same: split the data in two, hide one half, and treat the hidden half as the answer. Nobody writing down an answer is the one thing every case shares.

3More precisely

Self-supervised learning is a training method that runs supervised-style grading using a proxy problem manufactured from the data itself, with no human-assigned target value. Its two main axes are reconstructing what's been hidden, and pulling two pieces drawn from the same data closer together in a contrastive way.

The analogy breaks down in places. A gear stays in the repairer's hand once pulled out, but the hidden portion of a model's data doesn't disappear — it's kept aside as a separate value, brought out only for grading, then folded right back in for the next round. And a watchmaker is trying to understand one watch, while a model isn't trying to understand one piece of data — it's accumulating rules that run in common across countless pieces of data, none of which it ever "understands" the way a person understands a mechanism. What's learned this way also inherits whatever properties were in the training data as-is. If the data leans one way, that lean becomes part of the feel too, quietly and without anyone deciding it should. No amount of skillful hiding and guessing can teach a story that was never in the data to begin with.

4Try it yourself

5Common misconceptions

  • It's easy to think no human hand goes into this at all, but actually deciding what and how to hide, and curating the data, still takes a fair amount of human effort.

  • It's easy to think this is just another name for unsupervised learning, but actually the difference is that an answer to grade against gets manufactured from the data. Right or wrong comes out clearly, every single time.

  • It's easy to think this alone makes a usable service, but actually it's a stage for building a feel, and a stage that tunes it toward a purpose has to follow before it does real work.

7One-line summary

In shortSelf-supervised learning hides a piece of the data and treats the hidden piece as the answer, manufacturing endless problems to learn from without anyone ever writing an answer down.

Spotted an error or have a better analogy? Suggest an edit · Last updated2026-09-02