Verace Resonator
A rotation-equivariant geometric dynamical cell with attractor pondering and associative memory, proposed as a replacement for the MLP neuron.
- Invariant norms: Gates read only rotation-invariant features
- Cl(2,0) multivector: Scalar, two vector blades and a bivector
- Rotor sandwich: Rotations act on the state through a rotor
- Equivariant output: The layer commutes with rotation
Overview
Verace Resonator is the lab's research line on a replacement for the classical scalar neuron 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 of the Clifford algebra . 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 and appear in the roadmap, with 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
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
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 multivectors.Resonant Operator Network classifier
ResonantOperatorNetworkcomposes 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.Clifford algebra layers
Exact geometric products, learnable rotors, even-subalgebra linear maps, invariant norms and invariant readouts for . The research implementation adds and SE(3) point-cloud blocks.
Chebyshev KAN basis
A learnable activation expanded in Chebyshev polynomials of plus a SiLU base path, gated by rotation-invariant norms.
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.
Physics stages
A Kuramoto oscillator bank, a GENERIC integrator , a symplectic Hamiltonian leapfrog flow and a contractive dynamic causal model with do-interventions.
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.
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.
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.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.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.
Claim verification registry
claims.pyre-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 . Since , a layer commutes with rotation exactly when , so odd-grade weight components are masked to zero. Gates are computed only from invariants: scalar, bivector and .
- Invariant read, equivariant write coupling
- Non-equivariant stages read
multivector_invariantsthroughinv_projand write back with gain 0.05 (0.1 and 0.05 for Hopfield). The write is additive on and , a scale on the vector norm, and a small rotor rotation of the vectors. - Adjacent-channel chiral invariants
- Channel is paired with , and the dot and wedge of their vector blades, , resolve relative angle. Each invariant is mapped by for smooth gradients.
- Radial ring gauge lift
- Image differential forms are pooled over Gaussian rings with and . The lift uses reflect padding, Sobel and Laplacian kernels, and a bivector .
- Chebyshev KAN activation
- with learnable scale . Default degree is 4, with coefficients initialised at . The Resonant Transformer subtracts so the function is exactly zero at the origin.
- Obstruction-gated sheaf diffusion
- Each edge computes and a Cauchy gate with , multiplied by attention. Nodes update by for 3 steps by default.
- Orthogonal restriction maps
- Restriction maps are or the Cayley map , both exactly in SO(D). A low-rank variant uses with rank and Woodbury inversion.
- Yang-Mills holonomy curvature
- Transport is . Curvature on each triangle is , averaged with edge-weight products so that pruned loops are ignored.
- GENERIC degeneracy projection
- is enforced by sandwiching between , and by setting . Defaults are , dt 0.05 and 3 steps.
- Energy isosurface projection
- After each midpoint step the state is Newton-projected back onto by . Two iterations run by default, removing discrete Hamiltonian drift.
- Reversible leapfrog backpropagation
- Only the final is stored. In the backward pass each earlier state is rebuilt by leapfrog with and re-run with gradients, so memory is in the number of steps. The second implementation notes about 1e-6 error in float32.
- Contractive causal model with clamping
- Spectral normalisation enforces and , for a total bound of . fixes node and zeroes 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 (default 2.0) for recall . With
tie_weightsthe query reusesto_kand the output uses the transpose ofto_v. Untied projections were recorded to give near-zero recall. - Hebbian fast-weight trace
- with , decay 0.9 and 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 with . The step is energy non-increasing for , default 0.5.
- Hybrid PonderNet halting
- , where a sample is frozen once 1e-3. The halting distribution is regularised by with .
- Kuramoto theta-gamma coupling
- Natural frequencies sit near (normalised gamma) with a theta carrier at . Synchrony is the PLV , and each channel is rotated by a rotor with angle .
- 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: .
Results
From the lab's own experiments and records. They have not been independently replicated.
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.
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.
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.
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.
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 rather than its Jacobian, and was violated 8x at 5x weight scaling.
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.
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 .
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.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.
Settling time predicts per-example errors
PonderMLPreached 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 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 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 and keep the two parts from interfering.
- Symplectic leapfrog flow
- A volume-preserving, time-reversible integrator (). 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 .
- 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_fingerprintbuffer 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
- has one abelian rotation generator, so SO(3) and SE(3) goals require or . The research implementation includes 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.