Reported experiments
The Hecke-node architecture
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:
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
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:
- Pick a current champion from
positive_results.md. - Propose a small architectural modification (new head, different gate, wider router, energy term, etc.).
- Train for a fixed budget (~5 minutes on a GB10).
- If
val_bpbimproves, append topositive_results.mdand make it the new champion. Otherwise, record innegative_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.161 | branch-aware sign-flip router |
| 3.596 | −0.082 | state-energy larger branch-aware sign-flip router ★ |
| 3.568 | −0.028 | pair-alignment readout |
| 3.455 | −0.114 | branch-product readout ★ |
| 3.447 | −0.008 | weaker pair-transport |
| 3.419 | −0.028 | pair-correlation router ★ |
| 3.405 | −0.014 | throughput-optimized |
| 3.388 | −0.017 | wider router-192 |
| 3.374 | −0.010 | router-224 |
| 3.247 | −0.127 | bottleneck-readout ★ |
| 3.217 | −0.031 | readout-192 |
| 3.165 | −0.052 | split-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
- TorchScript — crashes on GB10 Blackwell (NVRTC arch error). Multiple failures, stopped retrying.
- Longer sequences (>128) — halves throughput, always worse metric.
- Heavy-handed pair-transport — destroys defect memory.
- Replacing the router entirely — zero-initialized additive corrections work; replacement always regresses.
The autoresearch infrastructure
The program ships its own autoresearch tooling:
autoresearch_loop.sh— single-worker variant discovery.autoresearch_parallel_loop.sh— parallel workers picking fromhypotheses.md.shepherd_loop.sh— curation & merging of variants into the canonical lineage.merge_round.py— combines near-hit features that haven’t been stacked yet.results.tsv— tabulated experiments (commit, val_bpb, memory, status, description).best/,artifacts/— the current champion and historical snapshots.
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.
Cite this page
Richard Hoekstra. The Hecke-node architecture. https://richardhoekstra.nl/papers/hecke-node-architecture.html