Withdrawn evaluation
What happens when a predictor sees its target?
A next-byte predictor may consume bytes through position t when scoring t+1. An indexing error let this model consume its target first. The resulting scores were withdrawn. The tables below preserve what went wrong and describe the routing mechanism that can still be tested.
The architecture
logits = V ht+1 + gate
Three components:
- Rb: de Bruijn routing tables (fixed, symbolic shift-and-append)
- H Hᵀ: low-rank mixing of the routed state. It is an orthogonal projector when the columns of H are orthonormal.
- V, gate: learned readout
The prototype combines symbolic routing, low-rank mixing and a learned readout.
Withdrawn score series
The April 14 audit found that the predictor could read the byte it was scored on. The original six runs yielded 4.95, 3.14, 2.08, 2.84, 3.46 and 4.06 bits per byte, respectively. These values document the failed evaluation. They cannot rank the models, establish a capacity limit or support a comparison with PPM-C.
The corrected protocol consumes xₜ and predicts xₜ₊₁. An interim run was reported at approximately 3.7 bpb at epoch 10. This is a training checkpoint. A comparable held-out result would also identify the split, evaluation code, byte count and baseline.
Original score tables and run settings
The first, fourth and fifth tables retain withdrawn values for diagnosis. The two earlier small-scale comparisons have no separate verified target-alignment record here. Times and parameter counts are the original run metadata.
| Model | enwik8 bpb | Params | Key innovation |
|---|---|---|---|
| D=2 only (single depth) | 4.95 | 673K | Low-rank mixing enabled |
| D=1+D=2 (multi-depth v1) | 3.14 | 764K | Cross-depth interfacial dynamics |
| D=1+D=2+D=3 v2 | 2.08 | 1.96M | State-dep gate + 50M data + 8K verts |
| D=1+D=2+D=3 v3 | 2.84 | 2.0M | + Cross-wave coupling |
| D=1+D=2+D=3 v4 | 3.46 | 2.0M | + Exact/harmonic split + N²≈0 |
| D=1+D=2+D=3 v5 | 4.06 | 2.0M | + Explicit (W,B,C,P) blocks |
| Dataset | Test bpb | Params | Train time |
|---|---|---|---|
| English dictionary (200KB) | 1.87 | 94K | 3 min (CPU) |
| enwik8 (500K subset) | 4.84 | 1.45M | 65s (GPU) |
| D=2 model | Without wave projector | With wave projector |
|---|---|---|
| State distribution | One-hot (collapsed) | Distributed (K active particles + wave modes) |
| Gradient flow | Ultra-sparse (2% of V touched) | Dense (wave modes touch all of V) |
| Test bpb (dict/words) | 4.54 (no learning) | 1.87 |
| Head variant (D=2 only) | Test bpb |
|---|---|
| Linear V⁀h + gate | 4.96 |
| Suffix-based particle score | 4.95 |
| MLP head (particle features) | 4.95 |
| Per-byte routing score | 4.95 |
| State-dependent gate αb(h) | 4.95 |
| Model | Epoch 1 | Epoch 5 | Epoch 25 | Innovation |
|---|---|---|---|---|
| v1 (D=1+D=2, static gate) | 4.86 | 4.65 | 3.83 | Cross-depth transport |
| v2 (state-dep gate, 50M) | 4.67 | 4.00 | 2.16 | + Adaptive connection |
| v3 (cross-wave) | 4.58 | 3.85 | — | + Wave-wave coupling |
| v4 (exact/harm split) | 4.38 | 3.46 | — | + Hodge readout + N²≈0 |
| v5 (explicit blocks) | 4.37 | — | — | + (W,B,C,P) channels |
What the mixing operator does
A full fixed D-byte suffix determines a single de Bruijn vertex after D shift-and-append operations. The low-rank term H(Hᵀh) mixes state across vertices. Its effect on held-out next-byte loss requires a causally aligned ablation.
| D=2 model | Without wave projector | With wave projector |
|---|---|---|
| State distribution | One-hot (collapsed) | Distributed (K active particles + wave modes) |
| Gradient flow | Ultra-sparse (2% of V touched) | Dense (wave modes touch all of V) |
| Predictive performance | Earlier scores lack a verified causal comparison. | |
Which questions remain?
Across five earlier single-depth readouts the old loss clustered near 4.95. With a leaked target, this cannot identify a ceiling on information at depth two. A causal ablation would compare the same readout and training budget with and without cross-depth transport and the wave projector.
Connection to the theory
The predictor is a direct instantiation of the wave–particle de Bruijn system:
| Theory | Predictor realization |
|---|---|
| Backbone (shared structure) | De Bruijn routing tables Rb |
| Defect (virtual structure) | Harmonic wave modes H |
| N² ≈ 0 (approximate nilpotency) | Depth-transport between wave subspaces |
| Wave sector | H(HT h) projection (prevents collapse) |
| Particle sector | Sparse active vertices (top-K support) |
| Block transport (W,B,C,P) | Wave→particle localization dominates (C ≈ 58%) |
| B = 0 (flat connection) | Confirmed: suffix projection creates no backscatter |
| Curvature → B > 0 | Weighted connections create 1.6% particle→wave emission |
Engineering details
- Routing: Gather-based indexed transport (not sparse matmul). 240K bytes/sec on GPU.
- Wave basis: Random orthogonal initialization, learned during training. No eigendecomposition needed.
- Batching: 128–256 independent sequences in parallel on CUDA.
- Training: Adam optimizer, cosine LR schedule, gradient clipping at 1.0.
- State update: Detached per-step (truncated BPTT to 1 step).
Architecture evolution
Versions v1–v7 explored cross-depth coupling, adaptive gates, wave coupling, an exact/harmonic readout, explicit transport blocks, state-dependent block weights and an additional context depth. The contribution here is the sequence of design choices and their computational implementation.
What remains to be built
- Full three-way Hodge decomposition (exact + harmonic + coexact) as computational channels
- Vertex maintenance as energy minimization (promotion, eviction, merging)
- State-dependent connection beyond scalar gating (matrix-valued transport correction)
- Proper GPU compilation (Triton kernels, torch.compile) for 10x throughput
Cite this page
Richard Hoekstra. What happens when a predictor sees its target?. https://richardhoekstra.nl/papers/quiver-predictor.html