Skip to content
Language modelsExperiments

Verace Resonator

A rotation-equivariant geometric dynamical cell with attractor pondering and associative memory, proposed as a replacement for the MLP neuron.

Verace Research·September 10 to September 11, 2026
  1. Invariant norms: Gates read only rotation-invariant features
  2. Cl(2,0) multivector: Scalar, two vector blades and a bivector
  3. Rotor sandwich: Rotations act on the state through a rotor
  4. Equivariant output: The layer commutes with rotation
Figure 1. Rotor rotation of a multivector state in Verace Resonator. Schematic: a multivector state of the Resonant Operator Cell turned by a rotor across a sphere. Rotation equivariance is the one property the lab's own audit treats as well supported by measurement.
Open the simulator on its own pageA state that turns instead of growing: an interactive toy model of the principle. You can also try it below

Overview

Verace Resonator is the lab's research line on a replacement for the classical scalar neuron σ(w⊤x+b)\sigma(w^\top x + b) and the feedforward MLP block. In the lab's papers and code it is called the Resonant Operator Primitive (ROP). It asks whether a single cell can do three things a static layer cannot: carry rotation-equivariant geometric signals, spend a variable number of iterations per input by relaxing toward an attractor, and hold associative memory. It is tested against a plain MLP on MNIST and as the feedforward sublayer of a transformer.

The cell lifts its input to multivectors [s,e1,e2,e12][s, e_1, e_2, e_{12}] of the Clifford algebra Cl(2,0)Cl(2,0). It applies an even-subalgebra Clifford linear layer and a Chebyshev KAN activation (Kolmogorov-Arnold style learnable functions in place of a fixed nonlinearity). It then runs a chain of switchable stages: Kuramoto phase oscillators, sheaf diffusion, a GENERIC thermodynamic integrator, Hamiltonian leapfrog flow, a contractive causal model and a modern Hopfield memory. Each stage reads rotation-invariant features and writes back through small scalar gains, which preserves equivariance. An attractor ponder engine with PonderNet-style halting finishes the cell.

The line has five parts. The research implementation holds the image classifier, the transformer FFN variant, the benchmarks and the audits. The second implementation is an earlier, smaller version with 98 passing unit tests. The Resonant Transformer is a separate language-model codebase with algorithmic reasoning tasks. The settling-time experiment tests the pondering claim with a minimal recurrent MLP. A plain MLP baseline reaches 97.84% on MNIST. In the lab's benchmark the cell keeps 83.72% at 90 degrees of rotation, where the baseline MLP falls to 13.54%. The lab's own audits found that pondering ran at fixed depth and that most physics stages barely change the output.

All five parts are implemented and tested, and recorded runs exist for the classifier, the transformer FFN, the settling experiment and the baseline. Rotation equivariance is the one property the lab's audit treats as well supported by measurement. The audits found that the claimed adaptive compute, fast-weight plasticity, contraction guarantee and several physics stages are not delivered as described, and that some benchmark figures came from subsets of the test set. The algorithmic extrapolation results of the Resonant Transformer are recorded in its documentation only. Higher-dimensional algebras Cl(3,0)Cl(3,0) and Cl(3,1)Cl(3,1) appear in the roadmap, with Cl(3,0)Cl(3,0) layers partly implemented.

Status

Experiments. Implementations with large test suites and recorded benchmark runs exist, and two rounds of the lab's own flaw audit corrected several of the headline claims.

Simulator

A state of length 1 is updated again and again by the same small step, in two ways. Switch between rotating it and adding to it, and watch its length.

  • the circle: every state of length 1
Length of the state at the end
1.000
Drift from length 1
0.0%
Turned in all
248°
Updates
24
How the state is updated

Switch between the two methods with the same step size. Adding the step leaves the circle; rotating cannot.

This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.

Architecture

  1. Resonant Operator Cell

    The core module ResonantOperatorCell. It chains a Clifford equivariant layer, normalisation and KAN, then the switchable physics stages, then attractor pondering on Cl(2,0)Cl(2,0) multivectors.

  2. Resonant Operator Network classifier

    ResonantOperatorNetwork composes a spatial gauge encoder, the cell and an invariant Clifford readout to classify MNIST digits. Sheaf obstruction can optionally scale the logit temperature and trigger abstention.

  3. Clifford algebra layers

    Exact geometric products, learnable rotors, even-subalgebra linear maps, invariant norms and invariant readouts for Cl(2,0)Cl(2,0). The research implementation adds Cl(3,0)Cl(3,0) and SE(3) point-cloud blocks.

  4. Chebyshev KAN basis

    A learnable activation expanded in Chebyshev polynomials of tanh⁡(x)\tanh(x) plus a SiLU base path, gated by rotation-invariant norms.

  5. Neural sheaf attention

    A dynamic cellular sheaf over module nodes, with attention-weighted edges, orthogonal restriction maps, gated Laplacian diffusion and a holonomy curvature penalty. Its obstruction energy serves as a consensus and uncertainty signal.

  6. Physics stages

    A Kuramoto oscillator bank, a GENERIC integrator z˙=L∇H+M∇S\dot z = L\nabla H + M\nabla S, a symplectic Hamiltonian leapfrog flow and a contractive dynamic causal model with do-interventions.

  7. Modern Hopfield memory

    A persistent prototype bank and an episodic FIFO buffer queried by softmax retrieval on the unit sphere, with a Hebbian fast-weight trace.

  8. Attractor ponder engine

    Relaxes the state on an input-conditioned Lyapunov energy with a descent-guaranteed update and halts per sample by convergence and a learned halting distribution.

  9. Resonant Transformer

    A causal transformer whose SwiGLU FFN is replaced by ResonantOperatorFFN. Tokens are lifted to multivectors, run through the cell, and read back out. It adds Clifford rotary position embedding and a chiral wedge term in attention.

  10. Settling-time experiment

    PonderMLP, a weight-tied recurrent MLP iterated toward equilibrium on MNIST. It tests whether settling time tracks difficulty, using hypotheses fixed before the analysis.

  11. Classical MLP baseline

    A 784-256-128-10 MLP with ReLU, dropout 0.25, log-softmax output, NLL loss and Adam. It follows two public tutorials and has 235,146 parameters.

  12. Claim verification registry

    claims.py re-measures headline claims and compares them with a stored baseline under per-claim relative tolerances, so that drift in reported figures is detected.

Implementation

Mechanisms as they are implemented in the source code, with the constants the code uses.

Rotor sandwich equivariance
Rotations act as x↦RxR~x \mapsto R x \tilde{R}. Since R(xW)R~=(RxR~)(RWR~)R(xW)\tilde{R} = (Rx\tilde{R})(RW\tilde{R}), a layer commutes with rotation exactly when W∈span{1,e12}W \in \mathrm{span}\{1, e_{12}\}, so odd-grade weight components are masked to zero. Gates are computed only from invariants: scalar, bivector and ∣v∣|v|.
Invariant read, equivariant write coupling
Non-equivariant stages read multivector_invariants through inv_proj and write back with gain 0.05 (0.1 and 0.05 for Hopfield). The write is additive on ss and bb, a scale 1+0.05tanh⁡(⋅)1 + 0.05\tanh(\cdot) on the vector norm, and a small rotor rotation of the vectors.
Adjacent-channel chiral invariants
Channel cc is paired with c+1c+1, and the dot and wedge of their vector blades, vcvc+1=κc+χce12v_c v_{c+1} = \kappa_c + \chi_c e_{12}, resolve relative angle. Each invariant is mapped by z/∣z∣+0.01z/\sqrt{|z| + 0.01} for smooth gradients.
Radial ring gauge lift
Image differential forms are pooled over CC Gaussian rings wc(r)=exp⁡(−(r−rc)2/2σ2)w_c(r) = \exp(-(r - r_c)^2 / 2\sigma^2) with rc∈[0.1,0.85]r_c \in [0.1, 0.85] and σ=1/(C+1)\sigma = 1/(C+1). The lift uses reflect padding, Sobel and Laplacian kernels, and a bivector x ∂yI−y ∂xIx\,\partial_y I - y\,\partial_x I.
Chebyshev KAN activation
Φ(x)=Wbase SiLU(x)+∑kckTk(tanh⁡(x/s))\Phi(x) = W_{base}\,\mathrm{SiLU}(x) + \sum_k c_k T_k(\tanh(x/s)) with learnable scale s=exp⁡(log⁡s)s = \exp(\log s). Default degree is 4, with coefficients initialised at 1/I(K+1)1/\sqrt{I(K+1)}. The Resonant Transformer subtracts Tk(0)T_k(0) so the function is exactly zero at the origin.
Obstruction-gated sheaf diffusion
Each edge computes δe=Fvxv−Fuxu\delta_e = F_v x_v - F_u x_u and a Cauchy gate 1/(1+∥δe∥2/τ2)1/(1 + \|\delta_e\|^2/\tau^2) with τ=2.0\tau = 2.0, multiplied by attention. Nodes update by x←x−0.10⋅lapx \leftarrow x - 0.10 \cdot \mathrm{lap} for 3 steps by default.
Orthogonal restriction maps
Restriction maps are exp⁡(A−A⊤)\exp(A - A^\top) or the Cayley map (I−A/2)−1(I+A/2)(I - A/2)^{-1}(I + A/2), both exactly in SO(D). A low-rank variant uses A=UV⊤−VU⊤A = UV^\top - VU^\top with rank r≤D/2r \le D/2 and Woodbury inversion.
Yang-Mills holonomy curvature
Transport is Ti→j=Fj⊤FiT_{i \to j} = F_j^\top F_i. Curvature on each triangle is ∥TwuTvwTuv−I∥F2/D\|T_{wu}T_{vw}T_{uv} - I\|_F^2 / D, averaged with edge-weight products so that pruned loops are ignored.
GENERIC degeneracy projection
L∇S=0L\nabla S = 0 is enforced by sandwiching JJ between PS=I−∇S∇S⊤/∥∇S∥2P_S = I - \nabla S \nabla S^\top / \|\nabla S\|^2, and M∇H=0M\nabla H = 0 by setting M=γPHM = \gamma P_H. Defaults are γ=0.2\gamma = 0.2, dt 0.05 and 3 steps.
Energy isosurface projection
After each midpoint step the state is Newton-projected back onto H(z)=H0H(z) = H_0 by z←z−H(z)−H0∥∇H∥2+10−8∇Hz \leftarrow z - \frac{H(z) - H_0}{\|\nabla H\|^2 + 10^{-8}} \nabla H. Two iterations run by default, removing discrete Hamiltonian drift.
Reversible leapfrog backpropagation
Only the final (q,p)(q, p) is stored. In the backward pass each earlier state is rebuilt by leapfrog with −dt-dt and re-run with gradients, so memory is O(1)O(1) in the number of steps. The second implementation notes about 1e-6 error in float32.
Contractive causal model with clamping
Spectral normalisation enforces ∥A∥2<0.85γmin\|A\|_2 < 0.85\gamma_{min} and Lip(g)≤0.10γmin\mathrm{Lip}(g) \le 0.10\gamma_{min}, for a total bound of 0.95γmin0.95\gamma_{min}. do(Xk=x∗)do(X_k = x^*) fixes node kk and zeroes dxk/dtdx_k/dt at each RK2 stage. The lab's audit found this bound limits the wrong quantity.
Spherical modern Hopfield retrieval
Keys and query are L2-normalised and scores scaled by β\beta (default 2.0) for recall r=∑isoftmaxivir = \sum_i \mathrm{softmax}_i v_i. With tie_weights the query reuses to_k and the output uses the transpose of to_v. Untied projections were recorded to give near-zero recall.
Hebbian fast-weight trace
Wtotal=Wslow+A(t)W_{total} = W_{slow} + A(t) with A←decay⋅A+η (v⊗k)A \leftarrow \mathrm{decay} \cdot A + \eta\,(v \otimes k), decay 0.9 and η=0.15\eta = 0.15 in the configuration. The retrieval gain is initialised at 0.1 rather than 0 so that the trace receives gradient.
CCCP attractor relaxation
The energy is E(z;x)=12∥z∥2−1βlse(βMz)−⟨u(x),z⟩E(z;x) = \frac{1}{2}\|z\|^2 - \frac{1}{\beta}\mathrm{lse}(\beta M z) - \langle u(x), z\rangle with u=tanh⁡(Linear(x))u = \tanh(\mathrm{Linear}(x)). The step zt+1=(1−dt)zt+dt(M⊤softmax(βMzt)+u)z_{t+1} = (1 - dt) z_t + dt(M^\top \mathrm{softmax}(\beta M z_t) + u) is energy non-increasing for dt∈(0,1]dt \in (0, 1], default 0.5.
Hybrid PonderNet halting
λ=0.5 σ(head(z))+0.5 σ((tol−δ)/0.05)\lambda = 0.5\,\sigma(\mathrm{head}(z)) + 0.5\,\sigma((\mathrm{tol} - \delta)/0.05), where a sample is frozen once δ=∥Δz∥/(1+∥z∥)≤\delta = \|\Delta z\|/(1 + \|z\|) \le 1e-3. The halting distribution is regularised by KL(p∥λp(1−λp)s)KL(p \| \lambda_p(1 - \lambda_p)^s) with λp=0.5\lambda_p = 0.5.
Kuramoto theta-gamma coupling
Natural frequencies sit near 2π⋅0.402\pi \cdot 0.40 (normalised gamma) with a theta carrier at 2π⋅0.062\pi \cdot 0.06. Synchrony is the PLV r=∣mean eiθ∣r = |\mathrm{mean}\, e^{i\theta}|, and each channel is rotated by a rotor with angle θc=PLV⋅phasec\theta_c = \mathrm{PLV} \cdot \mathrm{phase}_c.
Multi-objective loss with PCGrad
Total loss is task plus ponder, energy, sheaf obstruction, holonomy and Hopfield terms with weights 0.01, 0.005, 0.005, 0.001 and 0.005. Auxiliary gradients that conflict with the task gradient are projected: gaux−gaux⋅gtask∥gtask∥2gtaskg_{aux} - \frac{g_{aux} \cdot g_{task}}{\|g_{task}\|^2} g_{task}.

Results

From the lab's own experiments and records. They have not been independently replicated.

  1. Rotation equivariance holds where MLPs collapse

    The lab's benchmark reports 83.72% for the cell at both 0 and 90 degrees, against 13.54% for the classical MLP at 90 degrees. Another record gives 81.81% versus 13.25%, and a full test-set evaluation gives 86.10%. The audit calls this the one pillar with genuine measured support.

  2. Lower upright accuracy with fewer parameters

    On upright MNIST the benchmark's classical MLP with 235k parameters scores 94.92% and the cell 83.72%. The research implementation records 75,555 parameters and the second implementation 70,946, against 235,146 for the MLP.

  3. Pondering ran at fixed depth, Pareto result fabricated

    The Round 12 audit found that halting ran all 16 steps, the tolerance was never read, and depth did not correlate with difficulty (corr -0.082). The same audit found the accuracy-versus-compute Pareto result fabricated, in its own word. After repair, the adaptive engine saved only 5.3% of FLOPs against a static 16 steps at mean depth 12.29.

  4. Accuracy fell with more pondering

    Forced depth of one step gave 0.8288 accuracy against 0.8203 at 16 steps. The audit attributes this to trajectory averaging toward prototypes.

  5. Most physics stages are near-identity

    The GENERIC, Hamiltonian, causal and sheaf stages changed the output by only 1.9 to 6.0%, while the oscillator stage changed it by 70.8%. The contraction proof for the causal model bounds the sup-norm of gg rather than its Jacobian, and was violated 8x at 5x weight scaling.

  6. No fast weights change at inference

    The audit found that zero parameters change at inference and that the Hopfield buffer holds 256 scalars discarded each batch. Tying the Hopfield projections lifted trained recall from 0.0030 to 0.5751, above the 0.5404 noisy-cue floor but below the 0.7989 linear autoencoder.

  7. Function fitting and causal consistency

    The Chebyshev KAN fit reached MSE 0.001356 against 0.008947 for the MLP, 84.8% lower at the model's own degree 4. An earlier 92.1% figure used degree 6, which the model does not run. The counterfactual consistency error is recorded at 1.19×10−71.19 \times 10^{-7}.

  8. Measurement and scaling defects corrected

    Test accuracy, the rotation table and the invariance maximum had been measured on 2,048 examples, 1,600 examples and one batch respectively. Three benchmarks rebuilt their own module copies with drifted flags, and the out-of-distribution advantage (29.14% versus 35.47% on noise) holds only with calibrate_ood=True. Dense sheaf cost grows cubically, with time ratios of 10x to 33x across widths 32 to 128.

  9. Resonant Transformer extrapolation claims

    The Resonant Transformer's documentation reports 100% on parity up to length 256 and about 98% on Dyck-2 and modular addition, while the baseline falls to chance, with ponder depth constant at 1.28. The research implementation's audit records that the cell as FFN loses to SwiGLU.

  10. Settling time predicts per-example errors

    PonderMLP reached 97.65% against the baseline's 97.84%. Misclassified examples took about 2.3 more steps to settle (23.80 versus 21.47, Welch t = 16.26), but class-level difficulty was not tracked (r = 0.49, p = 0.15). Settling steps correlate with ink mass at r = -0.62, and digit 1 took the most steps at 24.8.

Concepts

Clifford algebra Cl(2,0)
A four-dimensional algebra with basis {1,e1,e2,e12}\{1, e_1, e_2, e_{12}\} in which rotations act by rotors. It lets a layer represent oriented geometric quantities rather than single scalars.
SO(2) equivariance
A layer is equivariant when rotating its input rotates its output in the same way. The architecture achieves this exactly by restricting weights to the even subalgebra and gating only on invariants.
Invariant coupling bridge
Modules that are not equivariant act only on rotation-invariant features and modulate the multivector grades by scalars, so the cell as a whole stays equivariant.
Kolmogorov-Arnold activation
An activation function learned per input-output edge as a weighted sum of basis functions, here Chebyshev polynomials, in place of a fixed ReLU or GELU.
Cellular sheaf obstruction
Each module is a node whose state is compared with its neighbours through restriction maps. The coboundary energy ∥δx∥2\|\delta x\|^2 measures disagreement and is used as a consensus penalty and as an out-of-distribution score.
GENERIC dynamics
A formalism that combines reversible Hamiltonian flow and irreversible entropy production. The degeneracy conditions M∇H=0M\nabla H = 0 and L∇S=0L\nabla S = 0 keep the two parts from interfering.
Symplectic leapfrog flow
A volume-preserving, time-reversible integrator (det⁡J=1\det J = 1). Its reversibility allows activations to be recomputed in the backward pass instead of stored.
Dynamic causal model
A continuous-time recurrent causal system where interventions are applied by clamping a node. Counterfactuals use abduction, action and prediction with additive noise.
Modern continuous Hopfield memory
An associative memory that retrieves a stored pattern by softmax attention over keys. The design cites exponential capacity results for this class of networks.
Attractor pondering
Computing by iterating a state until it settles. The number of iterations can then vary with the input, which is the cell's mechanism for adaptive compute.
PonderNet halting
A geometric distribution over halting steps that makes expected depth differentiable. It is regularised toward a geometric prior with λ=0.5\lambda = 0.5.
Resonant Transformer
A transformer in which the feedforward sublayer is replaced by the cell. It gives per-token variable compute and a Hopfield memory, with Clifford rotary positions and a chiral wedge attention term.
Algorithmic extrapolation tasks
Cumulative parity, Dyck-2 bracket matching and modular addition are used to test length generalisation beyond the training window. The Hopfield memory is described as acting like a pushdown stack for brackets.
Settling time as error signal
The idea that a recurrent network's own time to reach equilibrium indicates whether its answer is likely wrong. The settling-time experiment tests this directly.
Ink-density confound
In the settling experiment, settling steps correlate with the amount of ink in a digit. Thin digits settle slowly for reasons unrelated to difficulty.
Config fingerprint guard
Stage flags and scalar hyperparameters are packed into a _config_fingerprint buffer checked on load. A strict state load cannot otherwise detect changes that alter no tensor shape.
Claim drift registry
A test mechanism that re-measures each headline figure and flags it when it moves beyond a stated tolerance from the recorded baseline.
Flaw audits
The lab ran rounds of self-audit comparing claims with measured code behaviour. Round 13 lists 16 implementation flaws and 10 goal gaps.
Cl(2,0) single-generator gap
Cl(2,0)Cl(2,0) has one abelian rotation generator, so SO(3) and SE(3) goals require Cl(3,0)Cl(3,0) or Cl(3,0,1)Cl(3,0,1). The research implementation includes Cl(3,0)Cl(3,0) layers for this reason.

About this page

Written from the lab's own documents and source code. Figures and results are the lab's measurements as it recorded them at the time, and have not been independently replicated.

Published under the PolyForm Noncommercial License 1.0.0: free for noncommercial use.