Cognithesis — an instrument for curiosity

cognithesis.← Return to the engine
← Origin

ORIGIN / 04

This Theory Is Not Incorrect

I trained a network by mostly telling it what it wasn't. It learned better, faster. Then I pulled the geometry back out.

In this entry

Everything below was run and measured in early 2026. One experiment is solid; two instruments got built halfway and I’m going to show you exactly where the floor gives out. The title is doing more work than titles usually do — hold onto it.

The claim

Train a classifier by predominantly telling it what things are not, with only occasional hints about what they are, and it learns better than standard supervision — in one epoch.

The standard reaction to this claim is: “negative examples are obviously less informative than positive ones.” A negative example tells you one thing out of nine it isn’t; a positive example tells you the one thing it is. Information-theoretically, negatives look like the cheap seats.

So the experiment: MNIST, ten independent binary heads — one per class, each trained to fire on “this is NOT a k” — and a loss that is overwhelmingly avoidance:

  • Primary signal: binary cross-entropy on all ten “not-k” heads. Target 1 for every wrong class, 0 for the true class. Ninety-five percent of the training signal is “this image is not a 2, not a 3, not an 8…”
  • Hinge margin on the hardest wrong class, so the network can’t be lazily negative — it has to be confidently negative about the most confusable alternative.
  • Occasional hint: every 200 steps, a cross-entropy nudge toward the correct class at 5% weight. A snap-to-correct, applied 1 step in 200.
  • Inference: argmin over the “not-k” scores. The class the network is least sure it isn’t — that’s the prediction.

Result: 98.37% test accuracy after one epoch. It keeps improving from there. For calibration: standard supervised training on this architecture lands around 97–98% after one epoch. The avoidance-dominated network is not handicapped. It’s ahead.

What the title means

When 95% of your training signal is “avoid these” and 5% is “approach that,” the thing your network is actually learning is boundaries, not centers. It is not building a prototype of what a 7 looks like — it is carving the space around where 7s live, pushing against every neighboring class at once.

This is the double-negative reading of the title, and I want to be precise about it: networks learn primarily by eliminating what’s wrong. The positive signal isn’t carrying the training. It’s a stabilizer.

If that’s true, it changes what a trained network is. Not a function approximating targets, but a system of learned constraints — a decision procedure made of inequalities. And ReLU-family networks have a well-known geometric identity: their activation patterns partition input space into convex polytopes. If a network is fundamentally a constraint system, then the polytope structure isn’t a side effect of training. It’s the primary object.

That’s the theory. Now the receipts — and the audit of the receipts.

The instrument: extracting the constraints

If a network is made of inequalities, you should be able to read them out. Each neuron in a linear layer followed by a nonlinearity contributes exactly one:

neuron i fires  ⟺  wᵢ·x + bᵢ > 0

So I built the extraction: walk the trained notix model, pull every linear unit, and emit its half-space constraint. The model that hit 98.37% has a Linear(6272 → 512) trunk and ten single-logit heads. That’s 512 + 10 = 522 inequality constraints, each a hyperplane in the space the previous layer hands it.

This part is real, boring, and load-bearing: any trained network of this shape has an exact, readable constraint structure. Extract it, and you have the network expressed as its inequalities rather than as its weights. Same object, different representation. The extraction is the instrument that lets you ask constraint-flavored questions instead of function-flavored ones.

The first question: does the constraint form compute the same answers?

Where I have to stop the tape

Here is the honest ledger, because the experiment stands or falls on what’s actually demonstrated:

Demonstrated — the training result. 98.37%, one epoch, avoidance-dominant. That number is the wall this post is built on, and it’s repeatable.

Demonstrated — extraction. All 522 constraints read out of the trained model, each one a genuine inequality the inference actually evaluates.

Demonstrated — head-level diagnostics. On real misclassifications, the constraint view tells you which not-k head failed and by how much. A 4 that got called a 9: the not-4 logit was −2.29 while the not-9 logit sat at −3.07 — the network was more sure the 4 wasn’t a 4 than that it wasn’t a 9. “Decrease the not-4 logit” is a more actionable sentence than “your loss is 0.031.” That’s real diagnostic information, and it came from thinking in constraints.

Not demonstrated — inference equivalence. I built the polytope-form inference check and ran it: 100% agreement with the forward pass, 1024 samples. Then I read my own code again, and I’m not going to let this blog put that number in a headline. The polytope-form forward pass, in the version I actually wrote, calls the same model and returns the same tensor. The check is circular. The equivalence it “verified” is a tautology. The real version — recompute the output from extracted constraints alone, no original weights, early termination and all — is specified, partially scaffolded, and not finished. The 100% is a placeholder wearing a lab coat.

Not demonstrated — the speedup. The pitch is that constraint checking enables early termination: a bad configuration should violate some inequality in the first hundred checks, letting you skip the remaining thousands of operations. Plausible, appealing, and in this codebase it exists only as a stub with a projection attached (“10–100×”). No wall-clock measurement exists. I’m not going to pretend one does.

One more caveat I almost shipped without: the notix network uses SiLU, not ReLU. The clean polytope identity — exact linear regions, tropical geometry, the literature I’d cite — is ReLU-specific. SiLU is smooth; its boundaries are soft, zones rather than hyperplanes. So even when the real equivalence check runs, “the network IS its polytopes” will be an approximation here, not an identity. I find this caveat more interesting than embarrassing: the constraint lens survived contact with an architecture it has no right to describe exactly, and the experiment that matters is quantifying how approximate it is. If the constraint view survives SiLU — if the extracted inequalities still predict behavior — that’s stronger evidence for the lens than a ReLU network would ever give.

Why I still believe the direction

Strip away the two unproven cells and the core finding stands on its own: avoidance is not the cheap seats. It might be the main event. A network that barely gets told what anything is still reaches 98.37% in one epoch. Whatever gradient descent is doing with that signal, it is not memorizing prototypes.

And the constraint view keeps paying out small dividends even in its half-built state. The diagnostics are genuinely better than scalar loss. The extraction is genuinely exact. Those two facts plus the training result are enough to justify the next experiments, which I’m writing down here so future-me can’t weasel out of them:

  1. Real equivalence. Recompute inference from extracted constraints only. Measure agreement honestly, on the SiLU network and on a ReLU twin built for exactly this purpose.
  2. Early-termination rate. Corrupt weights, count how many constraints a bad configuration violates before the hundredth check. Either the 10–100× projection is real or it isn’t, and a day of measurement settles it.
  3. The hallucination connection — the speculative end, flagged as such. We train language models almost exclusively on correct text. If networks learn boundaries from negatives, then a model that has never been shown what’s wrong has no carved boundary around plausible-but-false statements. The Eiffel Tower is in Paris; nothing in the training signal ever said it is not in London. Hallucination as an un-carved constraint gap is a hypothesis, not a result. But it’s the reason I care about any of this: if it’s even partly right, it says something about what to add to training data, not just how to post-process outputs.

The meta-point

The title’s double negative is the whole argument compressed: this theory is not incorrect, because the network’s own way of knowing is not incorrect — it’s not-k. Ten heads, each one a professional skeptic of a single class, and the prediction is the skeptic with the least to say.

The constraint view will either be validated by the three experiments above, or it’ll be another lens that felt right and measured wrong. The training result, though — that one’s already banked. Something learns at full speed in the dark, mostly by being told what it isn’t.

That something is most of what a trained network is.

← Back to origin