The Hidden Cost of Letting Models Learn from the Wrong Examples

Gleb Sokolov

Hatched by Gleb Sokolov

Jun 20, 2026

10 min read

72%

0

When the small becomes the default

What if the hardest problem in AI is not making models smarter, but deciding what they are allowed to see?

That question sounds narrower than it is. In practice, every system that learns from examples faces the same invisible constraint: the learner does not just absorb knowledge, it absorbs priorities. It learns what counts as normal, what counts as useful, and what counts as worth repeating. If you feed a model a pile of examples, you are not merely training behavior. You are quietly curating a worldview.

That is why two seemingly unrelated concerns turn out to be deeply connected: teaching a model through instructions and inputs, and trying to keep a repository clean by excluding files of a certain size. Both are really about boundary design. In one case, you define the boundary of what the model should imitate. In the other, you define the boundary of what the system should carry forward. The deeper question is the same: what gets admitted into the learning loop, and what gets filtered out before it distorts the whole?

This is not a technical footnote. It is the central discipline behind building systems that remain useful as they scale.


Training is not just teaching, it is curation

An instruction paired with an input looks simple on the surface. The structure implies a contract: here is a task, here is the context, now produce the response. But beneath that structure lies a profound design choice. The examples are doing more than demonstrating output. They are establishing a pattern of attention.

A model trained on such pairs does not merely learn facts. It learns how to transform context into action. It learns which details are salient, how to respond under ambiguity, how to resolve a prompt into a useful completion. In that sense, instruction data is like a museum collection. The curator is not trying to display everything. The curator is trying to shape what the visitor can notice.

The challenge is that examples are not equal. Some are elegant and informative. Others are verbose, repetitive, or contaminated by noise. A handful of bad examples can do more damage than many good ones, because models are extraordinarily sensitive to repetition and salience. If a pattern appears often enough, it begins to feel like a rule.

That is where the analogy to file size becomes unexpectedly useful. A large file in a repository is not harmful because it exists. It is harmful because it changes the economics of the whole system. It consumes space, slows movement, and increases the chance that something bulky and unnecessary becomes part of the everyday workflow. Likewise, a large or noisy example in a training set is dangerous not because it is big in a literal sense, but because it is disproportionate. It can dominate attention, skew gradients, and occupy memory in the model's internal habits.

The real cost of bad data is not that it is wrong. The real cost is that it is memorable.

That is the first synthesis: both training data and repository contents need selective friction. If everything is admitted, nothing is curated. If nothing is curated, the system becomes generous in the short term and brittle in the long term.


Why size is never just size

At first glance, file size and model quality belong to different worlds. One is an engineering constraint, the other an intelligence problem. But both are governed by a shared principle: scale changes meaning.

A large file is not merely larger. It can alter version control performance, increase bandwidth costs, and make cloning or diffing unpleasant. The issue is not aesthetic. The issue is system behavior. Once a repository contains a few oversized artifacts, the whole development process can become more cumbersome. The file becomes a tax on every future action.

The same is true of training examples. A single giant sample can contribute far more tokens than dozens of normal ones. It can quietly take over the effective distribution of the dataset. If a data engineer thinks in terms of counts rather than weight, the dataset may appear balanced while the model experiences it as lopsided. The model does not care how many files there are. It cares how much signal each example carries.

This suggests a useful mental model: systems are governed by weighted influence, not by raw membership.

A few practical implications follow.

  1. A dataset with 10,000 examples is not necessarily diverse if 200 of them are long, repetitive, or structurally similar.
  2. A repository with 500 files is not necessarily clean if five huge binaries dominate storage and workflow.
  3. A rule that filters by quantity alone can fail, because the true problem may be dominance, not presence.

The deeper point is that both domains reward thinking in terms of pressure on the system. Which items exert the most pressure? Which items alter the shape of everything else? Those are the things worth filtering first.

This is also why naive optimization often backfires. People sometimes try to improve data quality by collecting more data, or improve repository hygiene by adding more ignore rules. But if the underlying pressure sources remain, extra volume only magnifies the issue. More examples can mean more confusion. More files can mean more clutter. The answer is not accumulation. The answer is constraint.


The paradox of useful limits

Limitations are usually treated as losses. But in learning systems, limits are often what make generalization possible.

A model trained on every possible kind of input would not become omniscient. It would become incoherent. Likewise, a repository that tracks every possible artifact would not become more complete. It would become harder to maintain, easier to break, and less trustworthy as a working environment. The system needs a boundary in order to develop a shape.

This is the paradox: exclusion can improve intelligence.

That sounds counterintuitive because we tend to equate more information with better outcomes. But information without structure is just accumulation. What matters is whether the system can turn input into stable behavior. In machine learning, this means the training set should not merely be large. It should be representative, disciplined, and intentionally biased toward useful patterns. In software hygiene, it means not every generated artifact deserves a place in version control. Some things should exist locally, temporarily, or not at all.

Consider a concrete analogy. Imagine teaching a person to summarize books by handing them every page of every book ever written, including index pages, cover scans, printing errors, and duplicate copies. The issue is not that the learner would have too little material. The issue is that the learner would have no principled way to distinguish signal from noise. Now imagine the same person tries to maintain a workshop, but every scrap of packaging, every broken tool, and every old prototype must be kept forever. The workshop becomes a memory palace of clutter, not a place where work happens.

The point is not austerity for its own sake. It is functional scarcity. A good boundary does not impoverish the system. It makes the remaining material legible.

The best systems are not the ones that let everything in. They are the ones that know what not to carry.

That is the second synthesis: curation is not a cleanup task after intelligence. Curation is part of intelligence itself.


A framework for thinking about what to keep

If both models and repositories need boundaries, how do you decide what belongs inside them?

A useful framework is to ask three questions of any candidate item, whether it is a training example or a file:

1. Does it carry unique signal?

Unique signal is information that changes understanding, not just volume. In training data, this means examples that teach a distinct pattern, edge case, or instruction-following behavior. In version control, this means files that are necessary for collaboration, reproducibility, or deployment.

If an item is merely a duplicate, a verbose variant, or a generated artifact that can be recreated, its unique signal may be near zero. Keeping it may feel safe, but it adds weight without adding meaning.

2. Does it distort the distribution?

Some items are not bad because they are incorrect. They are bad because they are too influential. A long example with repetitive structure can distort a dataset, just as a large binary file can distort the practical use of a repository. Ask not only whether the item is useful, but whether it is overpowering.

This is the hidden dimension that many teams miss. They review content for correctness but ignore leverage. Yet leverage is what changes outcomes.

3. Can it be regenerated or inferred later?

If the answer is yes, then the item may not need to be stored in the primary system at all. This is a powerful discipline for both AI and software. Keep the source of truth, not every byproduct.

For training, this might mean preferring structured instructions over noisy logs. For repositories, it might mean ignoring build artifacts, compiled outputs, or large temporary exports. The goal is to preserve what cannot be easily recovered, and discard what can.

This framework is simple, but it points to a deeper principle: systems should store leverage, not residue.


What this means for builders

Builders often obsess over architecture while underestimating hygiene. They redesign model layers, feature pipelines, and storage systems, but leave the data boundary vague. Yet boundary design is where quality begins.

If you are assembling a training dataset, ask:

  • What kinds of examples teach the model to generalize well?
  • Which examples are large in token count but small in instructional value?
  • Which patterns are we accidentally overrepresenting because they are easy to gather?

If you are maintaining a codebase, ask:

  • Which files are necessary for reproducibility and collaboration?
  • Which files are generated, duplicated, or too large to justify versioning?
  • Which artifacts make the daily experience of the repository worse, even if they seem harmless individually?

These questions are not bureaucratic. They are strategic. Systems fail less often when the boundary is explicit. Teams move faster when they do not have to continually negotiate what belongs inside the system and what should stay outside it.

There is also a cultural lesson here. Many teams reward accumulation because accumulation is visible. Bigger datasets look impressive. Full repositories look complete. But maturity shows up as restraint. A team that can say no to unnecessary examples or bulky artifacts is usually a team that understands what its system is really optimized to do.

That restraint has a second benefit: it makes debugging possible. When a model behaves strangely, a leaner, better-curated dataset is easier to reason about. When a repository becomes unwieldy, a disciplined ignore policy reduces surprises. In both cases, the path to clarity begins by removing what should never have been allowed to dominate in the first place.


Key Takeaways

  1. Think in influence, not just inclusion. The real question is not whether an item exists in the system, but how much it shapes the system.
  2. Filter for unique signal. Keep examples or files that add something non-redundant and hard to recover later.
  3. Watch for disproportionate weight. A small number of large or repetitive items can distort behavior more than many modest ones.
  4. Prefer reusable sources over residue. Store what is foundational, not what is merely produced along the way.
  5. Treat boundaries as part of design. Curation is not cleanup after the fact. It is a core mechanism of quality and scale.

The discipline of leaving things out

The deepest lesson here is not about machine learning or file management. It is about how intelligent systems survive contact with abundance.

Every system eventually faces the same temptation: to keep more because keeping more feels safer. More examples, more files, more context, more completeness. But safety is often an illusion. Excess can obscure pattern, burden the process, and weaken the structure that makes growth possible in the first place.

The mature move is not to maximize what gets in. It is to design a boundary that protects meaning. That is true whether you are training a model, maintaining a codebase, or building any other system that must learn from the world without being swallowed by it.

In the end, the question is not how much you can collect. The question is what your system becomes when every unnecessary thing is finally left out.

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 🐣