Architecture proposal
The φ3 algebra
The object
This note proposes a tensor architecture grammar with seven generators and eighteen relations. In circuit complexity NC² specifies polynomial-size, bounded-fan-in circuits of depth O(log² n). Mapping the grammar to that class requires a choice of arithmetic model and an input-size analysis.
The seven generators, informally:
| Generator | Operation | Depth cost |
|---|---|---|
| M | matrix multiplication | +1 |
| boson / fermion | commutative / anticommutative bilinears | 0 |
| … | (four more) | … |
The Hilbert series
The algebra's Hilbert series has a closed form:
with asymptotic growth rate φ3 = 2 + √5 ≈ 4.236, where φ is the golden ratio.
This is the unique point in the one-parameter family
where the characteristic gap equation factors through u² + u − 1 = 0 (the golden ratio equation).
Symbol composition in the asymptotic regime:
- fmatmul = 2/5
- fboson = φ² / 40
- ffermion = (7 − φ) / 40
These fractions are derived from the algebra, not fitted.
The compression result
The algebra yields a practical differentiable closure operator:
The original account reported the following pilot measurements. Corpus partition, baseline flags and the serialized decoder are needed to interpret the coding comparison.
| Task | Result | Reference |
|---|---|---|
| enwik8 (Wikipedia 100MB) | 2.66 bpb | gzip: 5.0, bzip2: 4.0 |
| Pointer chasing, n ≤ 32 nodes | 100% accuracy | baseline MLP: <50% |
The reported model-description field occupies 72 bits. A complete description-length comparison also specifies the shared decoder, learned weights, exact test bytes and coded stream. The 2.66 figure is retained as a historical report.
The pointer-chasing experiment reported 100% on its tested instances with at most 32 nodes. Finite accuracy does not prove correctness on every graph. Directed reachability is NL-complete and has an NC² upper bound.
What the algebra actually does
Neural architecture design is empirical today: choose an architecture by intuition, validate by benchmark. This program asks whether architecture can be made deductive.
The grammar determines the programs available to search; the proposed Hilbert series counts graded algebra dimensions. Beam search ranks visited candidates using its cost function.
For a specified target, the beam returns a candidate program. Establishing minimality would require a complete search or a matching lower bound.
Why the golden ratio
The honest answer is: we don't know. The Hilbert series is what it is — the characteristic polynomial factors through φ. Golden-ratio growth rates appear in enough combinatorial contexts (Fibonacci, Hamiltonian paths in certain graphs, entropy of some shift spaces) that the appearance here need not be deep. It could just be where the relations happened to land.
What would be deep: if the φ3 growth rate predicted something about achievable compression or depth trade-offs that wasn't already known. The compression numbers above are consistent with but don't prove this. The algebraic structure generates the architecture family; the benchmark results tell us the family is useful. The φ3 is a computed constant, not a load-bearing claim.
The Poisson layer structure
Beyond the Hilbert series, the algebra admits a layer decomposition with renormalization corrections. The NC tower diverges as αk ≈ (2/3)k, which sets a natural cutoff. This is where the theoretical derivation becomes speculative — the compression result does not depend on it.
What the figures support
The stated generating function has its positive pole at t=√5−2, giving reciprocal growth 2+√5. Identifying it as the Hilbert series of the complete presentation requires a normal-form argument. The pilot results motivate testing the search procedure with a reproducible encoder, decoder and matched baselines.
Cite this page
Richard Hoekstra. The φ 3 algebra. https://richardhoekstra.nl/papers/phi-cubed-algebra.html