Walker / HISTORY.md
Papatpong's picture
Upload 3 files
7e7b0ca verified
|
Raw History Blame Contribute Delete
5.61 kB

The Road to Walker: How the Designs Evolved

Twelve designs, lettered A to L, led to the Walk architecture and the Walker model. The idea that survived is motion, not objects: the model keeps the velocity of its residual stream instead of storing concepts.

Cladogram of the designs that led to Walker

Read left to right. Each branch is a different answer to the question what should the model store or compute? Dashed red designs were falsified. The green line survived. The pivot is between I and J: before it, the question was which object or relation to store; after it, how the representation moves.

The grouping into branches is our own reading of the archive (inferred). The order comes from file dates and docstrings, and no rename memo exists.

Design by design

Design Core idea Verdict
A Slot-Memory Controller with Gated Logit Modulation Frozen language model plus trainable memory slots that shift the output logits Earliest design. The whole stored-object class was later falsified
B Differential Impact Mechanism A kinetic mapping: how strongly an input perturbs the system, via an analytic derivative Without a cross-token channel it stalls near bag-of-characters. The slot form wins on training loss only, with more parameters. Seeds the difference idea
C Learnable Interaction Operator A gate picks the pairwise primitive (dot product, squared distance, bilinear, small network) No verdict recorded
D Differential Flow Graph Self-organising graph trained by local objectives No verdict recorded
E Relational Latent Tensor Condense tokens, route through relational lenses, expand Loses to a causal Transformer, even at zero information loss and 75Γ— compute
F Meaning-Routed Attention A pairwise relation that is deliberately not similarity Loses to standard attention
G Spectral-Gated Adaptive Depth Curvature-gated depth per example Direct ancestor of the Walk's curvature gate
H Generative Pretrained Cognitor No slots, no self-attention; token trajectories A plain confidence router captures nearly all the signal. Geometry adds about 0.12 Pearson, and the edge decays by 5000 steps
I Adaptive-Path Transformer with Concept-as-Object Form discrete concepts, decode coarse to fine Segmentation is cross-entropy-irrelevant: "capacity, not concepts"
J Multi-Scale Velocity-Field Adapter (the Walk) Add velocity, turn and curvature of the residual stream Survivor (see below)
K Attention + Trajectory Walk mixing across dimensions, global dynamics, attention in every fourth block Each step improved loss
L Walker Public model: about 0.95 B parameters, width 2048, 16 layers, context 16 384 Released

Design J: the surviving mechanism

Let x₁, …, x_T be the residual stream. The Walk adds a gated combination of its multi-scale differences back into the stream:

dt(1)=xtβˆ’xtβˆ’1,Ο„t=dt(1)βˆ’dtβˆ’1(1),dt(2)=dt(1)+dtβˆ’1(1),dt(4)=dt(2)+dtβˆ’2(2) d^{(1)}_t = x_t - x_{t-1},\qquad \tau_t = d^{(1)}_t - d^{(1)}_{t-1},\qquad d^{(2)}_t = d^{(1)}_t + d^{(1)}_{t-1},\qquad d^{(4)}_t = d^{(2)}_t + d^{(2)}_{t-2}

ΞΊt=1βˆ’cos⁑ ⁣(dt(1), dtβˆ’1(1)) \kappa_t = 1-\cos\!\big(d^{(1)}_t,\, d^{(1)}_{t-1}\big)

Ξ”xt=[βˆ‘k∈{1,2,4}tanh⁑(wk)βŠ™dt(k)+tanh⁑(wΟ„)βŠ™Ο„t]βŠ™(1+tanh⁑(Ξ³) κt),xt←xt+Ξ”xt \Delta x_t = \Big[\sum_{k\in\{1,2,4\}}\tanh(w_k)\odot d^{(k)}_t + \tanh(w_\tau)\odot\tau_t\Big]\odot\big(1+\tanh(\gamma)\,\kappa_t\big), \qquad x_t \leftarrow x_t + \Delta x_t

Two permanent decisions:

  1. Zero initialisation is an exact no-op. The model starts as an ordinary Transformer and learns how much trajectory to use.
  2. The adapter has its own learning rate, three times the backbone's. It was the only optimisation knob that consistently helped.

Variants of J

Variant Change Result
J1 Local, curvature-gated Base champion; the gap grows with context
J2 Plus coarse chunk trajectory (stride 8) Only confirmed structural addition (3 seeds, length 1024)
J3 Frenet-frame features Best at length 256, null at 1024
J4 Multi-head learnable scales Null
J5 Manifold transport Worst result
J6, J7 Gluing, Joining Neutral; the topology half closes
J8 Learned latent dynamics Worse (+0.34); capacity is not the bottleneck
J9 Token-level recursion Null; the token field is chaotic
J10 Coarse recursion Untested at length

Two further kills: latent-velocity recursion (+0.345 at 0.13 B parameters) and a trajectory-smoothness prior (+0.05; "the chaos is signal").

Why it won

  • The gap persists after convergence and grows with scale (βˆ’0.10 at width 64, βˆ’0.64 at 0.13 B). Every object or relation mechanism was a wash or worse.
  • It is load-bearing. Zeroing the adapter at inference costs 2.9 to 4.6 in validation loss and collapses generation into repetition.
  • It helps most on long context and chain-of-thought traces, where averaging under-serves and difference structure compounds.

Design K: productisation steps

Step Gain
Full cross-dimension Walk mixing βˆ’0.10
Global dynamics (cumulative displacement, moving average, long strides, path energy, total turning) βˆ’0.11
Parameter-neutral swap: attention in every fourth block, Walk elsewhere βˆ’0.12, about 4Γ— faster

Caveats

The name "Walk" is dated to roughly 2026-08-13 to 08-16 because a build dated 08-13 has no Walk-named classes (an inference from file contents). Dates are file timestamps and may lag the work. Loss differences are validation cross-entropy deltas at the scales named above.