Richard Hoekstra

Reported experiments

The Hecke-node architecture

An algebraic prior for byte-level models at level 163
Richard Hoekstra · 2026

The hypothesis

A specific conjecture: that the singular 3-adic Hecke node at level 163 provides a better inductive bias for sequence modeling than conventional architectures. The structure being tested is:

η2 = 3η

Two branches glued at one residue point, plus one free branch. Three indecomposable modules. A singularity category with period 2. A conductor of length 1.

The pair factor R = ℤ₃[η]/(η²−3η) reduces to the two-dimensional algebra F₃[ε]/(ε²). Including the smooth rank-one factor gives the three-dimensional algebra F₃ × F₃[ε]/(ε²), with the relations

E2 = E,   N2 = 0,   EN = NE = 0

That algebra is encoded as a neural architecture, and an autoresearch loop searches for variants that push BPC downward.

The research program

The math gives a starting point, not a prison. The loop works like this:

  1. Pick a current champion from positive_results.md.
  2. Propose a small architectural modification (new head, different gate, wider router, energy term, etc.).
  3. Train for a fixed budget (~5 minutes on a GB10).
  4. If val_bpb improves, append to positive_results.md and make it the new champion. Otherwise, record in negative_results.md.

Variants accumulate as a linear lineage: each winner is “previous + one modifier.” After 145 experiments, the current champion’s description is a seven-modifier stack:

split-state x7-64 pair-88 readout-208 readout-192 bottleneck-readout router-224 router-192 state-energy pair-correlation branch-product weak-transport weak-defect

3.165 BPC at ~0.08 GB memory.

The descent

The search log records the validation score after each selected change. Several iterations changed both model structure and training conditions.

val_bpbΔWinning modification
3.930—pair-defect sign-flip oscillator (seed)
3.769−0.161branch-aware sign-flip router
3.596−0.082state-energy larger branch-aware sign-flip router ★
3.568−0.028pair-alignment readout
3.455−0.114branch-product readout ★
3.447−0.008weaker pair-transport
3.419−0.028pair-correlation router ★
3.405−0.014throughput-optimized
3.388−0.017wider router-192
3.374−0.010router-224
3.247−0.127bottleneck-readout ★
3.217−0.031readout-192
3.165−0.052split-state

The four starred rows are the big discoveries. The rest are tuning.

Mechanistic findings

State energy (run 14, −0.082 BPC)

Adding a scalar energy term to the state update was the first big jump. Before: the router operated on raw state. After: the router sees an energy landscape. The model benefits from a scalar summary of state magnitude guiding routing — a signal the raw state does not provide directly.

Branch-product readout (run 24, −0.114 BPC)

A branch-product readout exposes multiplicative interactions directly to the next layer. Concatenation supplies the branch features to that layer; learnability then depends on the readout. A matched comparison would isolate the effect of this choice.

Weak pair-transport beats strong (runs 51–65)

A sweep of transport strengths showed monotonically that weaker is better. Hypothesis: strong pair-transport overwrites useful information in the pair sector. The defect coordinate is fragile — heavy-handed updates destroy its memory.

Pair-correlation router (run 67, −0.028 BPC)

The router benefits from a quadratic interaction term between the two pair coordinates. It needs to see how they relate, not just their individual values.

Bottleneck readout (run 84, −0.127 BPC)

The second biggest single jump. Reducing the readout rank forces a tighter information bottleneck that the model exploits. Overparameterized readouts waste capacity here.

Split state (run 130+, −0.052 BPC)

The prototype splits the state into branch-specific features inspired by the arithmetic example. Applying the same training budget and readout to another partition would test the contribution of that choice.

Hardware underutilization

An important mid-program observation: the DGX Spark GB10 has 128 GB unified memory and 20 CPU cores, but training uses only ~100 MB (0.08%) and 44% GPU. The model runs batch_size=32, seq_len=128 — far below hardware capacity.

Throughput optimization (run 69) already proved that more steps in the same wall-clock budget = better metrics. Scaling batch size, sequence length, and model size are probably the highest-ROI next steps. The architectural improvements above were discovered on a tiny model; they may compound at larger scale.

Dead ends

The autoresearch infrastructure

The program ships its own autoresearch tooling:

The research program document (program.md) describes each modifier in the lineage with mechanistic justification, so the trail of why each change helps is legible, not just the scores.

Why it matters

This is a case study in algebraic inductive bias. Most neural architectures treat themselves as generic universal approximators. Here we start from a specific algebraic structure — the mod-3 shadow of a singular local Hecke node — and ask whether that structure is a useful prior.

Across the reported validation search, the seed scored 3.93 BPC and the selected variant scored 3.17 BPC. The comparison includes the accumulated architecture and tuning changes. A matched baseline and a test set withheld from selection would test the specific benefit of the algebraic starting point.

The lineage records the score after each accepted modification. Later modifications were selected using earlier validation outcomes, so these differences describe a search trajectory.
Cite this page

Richard Hoekstra. The Hecke-node architecture. https://richardhoekstra.nl/papers/hecke-node-architecture.html