growth, layers

The Model Learns Back To Front

In a six-layer holographic lineage only the last layer computed anything: the earlier passes were exact copies of their input, so growing from four layers to six added padding and not capability.

  • 7 min read
  • 8 sections
  • 4 tables

Finding

In a holographic model grown from one layer to six, only the last layer's two passes carried information: reading every intermediate state against the vocabulary shows the earlier passes name a single token at confidence 0.9740 to 1.0000, and the four-layer and six-layer snapshots are identical to two decimal places over their last four read points.

Which pass carries information

Each block is one read point of the six-layer snapshot. Height is the number of effective candidates on a log scale, and colour says whether the state is an exact copy of its input, pinned to one token, or weighing several. Only the last layer weighs anything.

Read points of a six-layer modelfinal: confidence 0.3124, 27.14 effective candidates, weighing several tokens. 5 of 13 read points are exact copies and 2 weigh several tokens.Height is effective candidates on a log scale. Left is the input, right is the output.embL0.p0L0.p1L1.p0L1.p1L2.p0L2.p1L3.p0L3.p1L4.p0L4.p1L5.p0outexact copyone tokenweighing several
Data behind the diagram
Six-layer snapshot, read at each point
PointConfidenceEffective candidatesState
embedding1.00001.00an exact copy of its input
layer 0, pass 01.00001.00an exact copy of its input
layer 0, pass 11.00001.00an exact copy of its input
layer 1, pass 01.00001.00an exact copy of its input
layer 1, pass 11.00001.00an exact copy of its input
layer 2, pass 00.99921.00pinned to a single token
layer 2, pass 10.99991.00pinned to a single token
layer 3, pass 00.99521.02pinned to a single token
layer 3, pass 10.99161.03pinned to a single token
layer 4, pass 00.97401.11pinned to a single token
layer 4, pass 10.96221.20pinned to a single token
layer 5, pass 00.478511.94weighing several tokens
final0.312427.14weighing several tokens
Last four read points
Position from the endFour-layerSix-layer
fourth from last0.9774 / 1.110.9740 / 1.11
third from last0.9592 / 1.220.9622 / 1.20
second from last0.4771 / 12.350.4785 / 11.94
final0.3135 / 27.030.3124 / 27.14
Passes that carry real information
ModelPasses doing workTotal passes
six layers212
four layers28
two layers44
Drawn from the numbers in this article: the tables below and the figures in its text. Nothing is measured on this page.

Setup

The models grow while they train. They start as a single layer and gain layers as they go, each new layer inserted at the front and initialised to be an exact no-op so it cannot disturb what already works. One lineage went from one layer to six.

Every intermediate state in this architecture can be read against the vocabulary directly, because the table that turns a state into a prediction is the same table that turns a token into a state. In a conventional transformer an intermediate activation has no privileged interpretation; here it has one, and reading it costs nothing.

Two numbers are taken at every step of the computation. Confidence is how strongly the state names a single token. At 1.0000 nothing has been computed and the state is a copy of its input. Effective candidates is two to the power of the entropy of that reading: 1 means pinned to a single token, 3 means weighing three, and several hundred means the state has fallen off the vocabulary and resolves to nothing useful. Together they separate three kinds of state: a copy, a real computation and noise.

The six-layer snapshot has thirteen read points: the raw embedding, then the state after each of its twelve passes (two passes per layer). A snapshot of the four-layer model from earlier in the same run is compared against it.

Evidence: the work sits in the last layer

Six-layer snapshot, confidence and effective candidates at each read point: embedding 1.0000 and 1.00; layer 0 pass 0, 1.0000 and 1.00; layer 0 pass 1, 1.0000 and 1.00; layer 1 pass 0, 1.0000 and 1.00; layer 1 pass 1, 1.0000 and 1.00; layer 2 pass 0, 0.9992 and 1.00; layer 2 pass 1, 0.9999 and 1.00; layer 3 pass 0, 0.9952 and 1.02; layer 3 pass 1, 0.9916 and 1.03; layer 4 pass 0, 0.9740 and 1.11; layer 4 pass 1, 0.9622 and 1.20; layer 5 pass 0, 0.4785 and 11.94; final, 0.3124 and 27.14.

Four consecutive passes sit at 1.0000 to four decimal places. That is a copy, not an approximation of one. Two entire layers and most of a third contribute nothing measurable. The last layer's two passes take the state from naming one token to weighing 27, and everything before them is padding.

Six-layer snapshot, read at each of thirteen points
PointConfidenceEffective candidates
embedding1.00001.00
layer 0, pass 01.00001.00
layer 0, pass 11.00001.00
layer 1, pass 01.00001.00
layer 1, pass 11.00001.00
layer 2, pass 00.99921.00
layer 2, pass 10.99991.00
layer 3, pass 00.99521.02
layer 3, pass 10.99161.03
layer 4, pass 00.97401.11
layer 4, pass 10.96221.20
layer 5, pass 00.478511.94
final0.312427.14

Evidence: growing added padding

The last four read points of the four-layer and six-layer snapshots, as confidence and effective candidates. Fourth from last: 0.9774 and 1.11 against 0.9740 and 1.11. Third from last: 0.9592 and 1.22 against 0.9622 and 1.20. Second from last: 0.4771 and 12.35 against 0.4785 and 11.94. Final: 0.3135 and 27.03 against 0.3124 and 27.14. The two are identical to two decimal places across all four.

Going from four layers to six did not make the model deeper in any sense that mattered. It reproduced the same working window and prepended four passes that did nothing. The part computing stayed the same size, and what grew was the number of weight matrices taking gradient, competing, and perturbing a stream they were contributing nothing to.

Passes carrying real information: the six-layer model has 2 of 12, the four-layer model has 2 of 8, and a two-layer model has 4 of 4. The two-layer model uses every pass it has, and the six-layer model used a sixth of itself. By that measure the small model is the bigger one.

Last four read points, confidence / effective candidates
Position from the endFour-layerSix-layer
fourth from last0.9774 / 1.110.9740 / 1.11
third from last0.9592 / 1.220.9622 / 1.20
second from last0.4771 / 12.350.4785 / 11.94
final0.3135 / 27.030.3124 / 27.14
Passes that carry real information
ModelPasses doing workTotal passes
six layers212
four layers28
two layers44

Evidence: the six-layer run diverged

Loss spiked into the thousands and recovered, repeatedly, for about 43,000 rounds. Then in a single step every trainable parameter became NaN: 764,288 values of 829,825. The 65,537 that survived include the frozen numeric identity band of 1024 tokens by 64 fixed dimensions, which survives because nothing writes to it.

Gradient clipping was switched on throughout and delivered the failure. Clipping computes the size of the gradient and scales it down if the size exceeds the limit. If any part of the gradient is NaN, the size is NaN, a NaN is not greater than anything, the test is false, and the gradient is applied at full strength. If the size overflows to infinity, the scale factor is the limit divided by infinity, which is zero, and an infinite gradient multiplied by zero is a new NaN that a skip-if-zero check does not catch.

Two guards close both paths. The step is refused when the gradient size is not a finite number, so a bad batch is dropped and counted instead of being fatal, and the learning-rate schedule does not respond to a loss spike by going to maximum.

The deeper cause was that half the model had never crystallised while more layers were being added.

Evidence: a front layer that carries candidates

A two-layer lineage, left alone, has a front layer unlike the front layers of the older models. Front layer, second pass: four-layer snapshot 1.0000 confidence and 1.00 candidates; six-layer snapshot 1.0000 and 1.00; two-layer model 0.8692 and 1.46. A confidence of 1.0000 is zero information, so the front layers of the two older models were absent in effect. The two-layer model's front layer carries a genuine candidate set, and it is better than the best early pass either older model had anywhere in its stack.

The value is 1.46 candidates, not twelve. It has not moved since about round 99,000, so what formed, formed early and has held since. The state is far from one where adding another layer would be justified.

This model is at 320,000 rounds with two layers and a parameter count of 369,664. It answers in complete sentences with correct punctuation and contractions, and loses the thread across more than about fifty characters. Its context reach did not move in three separate measurements.

Front layer, second pass
ModelConfidenceEffective candidates
four-layer snapshot1.00001.00
six-layer snapshot1.00001.00
two-layer model0.86921.46

Evidence: two measurements that misled

Context reach measured with 25 sample windows showed the model still improving at the edge of the window, which implies more context would help. The identical measurement with 220 windows reverses it: the model saturates at roughly 16 tokens and everything past that carries nothing measurable. The 25-window result did not look noisy and was confidently wrong.

Front-layer progress tracked by how often its output names a different token from its input more than doubled over 223,000 rounds. On the confidence and candidates measure, which separates computation from copying, it had not moved. Both are true: the front layer increasingly picks a different single token, and a single token carries no alternatives forward whichever token it is. The rate of change in the named token counts motion, not work.

What this means for a small model

Read every intermediate state against the vocabulary before adding a layer. If a pass names one token at 1.0000, it is a copy and a further layer on top of it adds nothing.

Count the passes that carry real information, not the layers. A model with fewer layers all in use can out-compute a deeper one with most layers inert.

Let a layer finish before another starts. The rule is not a round count or schedule: the front layer's candidate count has to stop climbing, then the pair has to settle together, and only then does a new front layer go in at zero.

Check that gradient clipping tests for a finite gradient size. A clip that tests only whether the size exceeds the limit passes a NaN through at full strength and turns an infinity into a NaN.

Measure context reach with hundreds of windows, not tens, and judge a front layer by candidates carried, not by how often its output differs from its input.

Limits

One lineage, with snapshots at four, six and two layers. The reading says which passes carry information, not why the front layers failed to crystallise: whether patience is enough, or whether the training data has to change before a front layer forms, is untested. The two-layer front layer sits at 1.46 candidates and has been flat since about round 99,000.