Skip to content
Language modelsPrototype

Verace V3

A causal language model built on Minkowski light-cone attention, delta-rule fast weights and symplectic phase-space flow, with a vision encoder.

Verace Research
  1. Hidden state after the layers: Enters the optional symplectic flow
  2. Position and momentum halves: The two halves of the hidden state
  3. Symplectic Euler kick-drift: A momentum kick, then a position drift, over 10 steps
  4. Phase-space volume: Each sub-step is a shear, so volume is kept
Figure 1. Symplectic phase-space flow on the hidden state in Verace V3. Schematic: one hidden state stepped through the optional symplectic flow, split into position and momentum and moved by learned Hamiltonian dynamics. Verace V3 is a tested prototype with no training run recorded.
Open the simulator on its own pageA pendulum stepped two ways: an interactive toy model of the principle. You can also try it below

Overview

Verace V3 is a version of the Verace V series of language models. It asks whether physical structure can serve as the inductive bias of a decoder: causality expressed as a spacetime interval, weights that keep changing during inference, and hidden-state dynamics that conserve phase-space volume. It follows Verace V2 in the series. Its technical reference names four parts: a Minkowski light-cone field, non-equilibrium meta-synapses, a hyper-reflective holographic mind and a symplectic phase-space flow. A fifth part, an optimizer that keeps gradients on the symplectic Lie algebra, goes with them.

Each of the 128 configured layers runs three modules in sequence. The first is attention scored by the negative Minkowski interval between positions, with future positions masked out. The second is a fast-weight memory updated token by token with a delta rule. The third is a residual MLP block. After the layers come an optional symplectic flow, which splits the hidden state into position and momentum halves and integrates learned Hamiltonian dynamics, and a final RMSNorm. A vision encoder following the MoonViT design from the Kimi Team technical report places image tokens at placeholder positions in the sequence. Training adds a flow regression from Gaussian noise to token embeddings to the cross-entropy loss.

The code implements all of these modules in PyTorch. It also includes the optimizer, a bracket-style thought template based on the XTML chat template from the Kimi Team report, a byte-level sampling loop, a substring-match benchmark with two built-in samples, and a Triton kernel. The technical reference records five test suites passing in 3.12 seconds. Reading the code shows several departures from the stated design. The module called a holographic mind is a plain residual MLP. The interval score increases with temporal distance, so attention favours more distant past tokens. The Triton kernel integrates a fixed harmonic oscillator, not the learned flow. The soft-capped activation is defined but not used.

The architecture, optimizer, training step, generator and evaluator are implemented and unit-tested. The configured scale is a vocabulary of 524288, hidden size 32768 and 128 layers, with learning rate 0.05. This scale is a configuration only: no training run, loss curve or benchmark result is recorded. The benchmark runner exists, but no accuracy figure was reported. It is open whether the interval-based attention, the fast-weight memory or the symplectic flow improves language modelling over a standard decoder.

Status

Prototype. The model and its training, optimizer, serving and evaluation code are implemented, and the technical reference records the unit tests passing; no training run or evaluation result is recorded.

Simulator

A pendulum moves through its phase space: angle across, momentum up. Step it with a method that can be run backwards and with one that cannot, and drag its start.

  • across: angle · up: momentum
Energy at the start
0.368
Energy at the end
0.368
Change in energy
0.000
Returns to its start run backwards
Yes
How each step is taken

Switch to Euler with the same step: the trajectory spirals off its curve and cannot be run back. Drag the ring, or tap the plane, to start elsewhere.

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. Minkowski light-cone field

    An attention module that scores token pairs by the negative spacetime interval between them, computed over a learned spatial projection, and masks out future positions.

  2. Non-equilibrium meta-synapses

    A fast-weight memory that is rewritten at every token during inference and adds what it reads back to the hidden state as a residual.

  3. Hyper-reflective holographic mind

    The third module of each layer. The technical reference calls it a self-referential reflection engine, but in the code it is a residual MLP block with RMSNorm.

  4. Symplectic phase-space flow

    An optional block after the layers. It treats the two halves of the hidden state as position and momentum and integrates learned Hamiltonian dynamics with a volume-preserving scheme.

  5. Symplectic Muon optimizer

    An optimizer named after Muon, an optimizer by other authors. It projects square, even-sized gradients onto the symplectic Lie algebra, then applies momentum SGD with decoupled weight decay.

  6. MoonViT vision encoder

    An image encoder following the MoonViT design from the Kimi Team technical report. It has 27 transformer blocks, 14 by 14 patches and a projector to the language model width.

  7. Minkowski thought template

    A chat markup derived from the XTML template of the Kimi Team report. It wraps a typed thought block and carries physics parameters as tag attributes.

  8. Hamiltonian pre-training step

    A training step that combines causal cross-entropy with a weighted regression of the symplectic flow output onto token embeddings.

  9. Generator and benchmark runner

    A byte-level sampling loop with temperature, and an evaluator that scores generations by case-insensitive substring match.

Implementation

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

Minkowski interval attention score
The input is projected to a spatial vector xs=Wspacexx_s = W_{space} x of size d/4d/4, with Δtij=i−j\Delta t_{ij} = i - j and ds2=−c2Δt2+∥xs,i−xs,j∥2ds^2 = -c^2 \Delta t^2 + \|x_{s,i} - x_{s,j}\|^2. The score is −ds2-ds^2 for j≤ij \le i and −∞-\infty otherwise, and the output is RMSNorm(softmax(score)Wvx)\mathrm{RMSNorm}(\mathrm{softmax}(\text{score}) W_v x) with c=1c = 1. Because the score grows with Δt2\Delta t^2, more distant past tokens receive larger scores.
Delta-rule fast-weight update
For each sequence, WfastW_{fast} starts as a zero matrix of size d/4×d/4d/4 \times d/4, and keys and values are linear projections of xx to d/4d/4 dimensions. At each step the module reads yt=Wfastkty_t = W_{fast} k_t before writing, then updates Wfast←Wfast+η(vt−yt)kt⊤W_{fast} \leftarrow W_{fast} + \eta (v_t - y_t) k_t^\top with η\eta given by meta_lr, 0.001. The technical reference writes this as dW/dt=−η∇WEdW/dt = -\eta \nabla_W E.
Residual MLP mind block
HyperReflectiveMindEngine computes h=x+RMSNorm(W2 SiLU(W1x))h = x + \mathrm{RMSNorm}(W_2 \,\mathrm{SiLU}(W_1 x)) with square, bias-free hidden matrices. It contains no self-referential or holographic computation.
Symplectic Euler kick-drift integration
The hidden state is split into (q,p)(q, p), and two separate learned MLPs stand for ∂H/∂q\partial H/\partial q and ∂H/∂p\partial H/\partial p. Each step computes pn+1=pn−Δt ∂H/∂q(qn)p_{n+1} = p_n - \Delta t \, \partial H/\partial q(q_n), then qn+1=qn+Δt ∂H/∂p(pn+1)q_{n+1} = q_n + \Delta t \, \partial H/\partial p(p_{n+1}), with Δt=1/10\Delta t = 1/10 over 10 steps, followed by RMSNorm. Each sub-step is a shear, so the step preserves phase-space volume.
Lie-algebra gradient projection
For square matrices of even size, symplectic_lie_algebra_projection() maps a gradient GG to P=12(G+JG⊤J)P = \frac{1}{2}(G + J G^\top J) with J=(0I−I0)J = \begin{pmatrix} 0 & I \\ -I & 0 \end{pmatrix}, the projection onto sp(2n,R)\mathfrak{sp}(2n, \mathbb{R}). Momentum SGD with decoupled weight decay follows. There is no orthogonalization step.
Noise-to-embedding endpoint regression
Noise x0∼N(0,I)x_0 \sim \mathcal{N}(0, I) with the shape of the hidden states is passed through all 10 steps of the symplectic flow, and the output is regressed onto x1=embed(tokens)x_1 = \mathrm{embed}(\text{tokens}) with MSE. The loss enters with weight 0.1 beside causal cross-entropy. This regresses the endpoint and does not match velocities.
Soft-capped gated activation
SymplecticSiTUGLU is a variant of the SiTU-GLU activation from the Kimi Team report. It computes the gate β1tanh⁡(g/β1) σ(g)\beta_1 \tanh(g/\beta_1)\,\sigma(g) and the up branch β2tanh⁡(u/β2)\beta_2 \tanh(u/\beta_2), and outputs their product, with β1=4.0\beta_1 = 4.0, β2=25.0\beta_2 = 25.0 and no bias. The backbone does not use it.
Image token splicing and patch merge
The vision grid is padded to even size, grouped into 2 by 2 neighbourhoods and concatenated, which gives four times fewer tokens. These are projected through a linear layer, GELU and a second linear layer to the hidden size. The resulting tokens overwrite embeddings at positions equal to media_placeholder_token_id (default 1000), and a ValueError is raised if images arrive without placeholders.
Byte-level temperature sampling
Prompt token ids are the prompt's UTF-8 bytes modulo the vocabulary size. Each step re-runs the full model with use_symplectic_flow enabled and samples from softmax(logits/T)\mathrm{softmax}(\text{logits}/T) with T=0.7T = 0.7. It stops on id 0 and decodes ids modulo 256. The loop is the same as the Verace V2 generator.
Harmonic oscillator Triton kernel
A fused Triton kernel performs a symplectic Euler step for the fixed Hamiltonian H=(q2+p2)/2H = (q^2 + p^2)/2. It does not use the learned flow networks, and the flow module does not call it.
Substring-match accuracy
The evaluator generates 64 tokens per prompt. A sample counts as correct if the lower-cased ground truth appears in the lower-cased output, and accuracy is correct over total times 100.

Results

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

  1. Five unit test suites pass

    The technical reference records five test suites passing in 3.12 seconds. They cover the light-cone field and causality, the meta-synapses, the mind block, the symplectic flow and the end-to-end pipeline.

  2. Mind engine is a residual MLP

    Reading the code shows that the module described as a self-referential holographic reflection engine computes a residual MLP with RMSNorm and nothing further.

  3. Interval score favours distant past tokens

    Because the attention score is c2Δt2−∥Δx∥2c^2 \Delta t^2 - \|\Delta x\|^2, it increases with temporal distance. Older tokens therefore receive more weight unless the spatial term offsets the difference.

  4. Optimizer omits orthogonalization

    Despite its name, the optimizer performs no orthogonalization. It projects gradients onto the symplectic Lie algebra and applies momentum SGD.

  5. GPU kernel unrelated to learned flow

    The Triton kernel integrates a fixed harmonic oscillator. The learned symplectic flow neither calls it nor shares its dynamics.

Concepts

Minkowski spacetime interval
The quantity ds2=−c2dt2+∥dx∥2ds^2 = -c^2 dt^2 + \|dx\|^2 from special relativity. Here it measures separation between tokens, using position difference as time and a learned projection as space.
Past light-cone masking
Causality enforced by giving every future position a score of −∞-\infty, so each token attends only to itself and earlier tokens.
Fast weights
Weights that change during the forward pass, as opposed to parameters fixed after training. They act as a short-term memory over the current sequence.
Delta rule
A learning rule that changes a linear map in proportion to the error between the target value and the map's current prediction. It is the gradient step on squared error.
Symplectic integrator
A numerical scheme for Hamiltonian systems that preserves phase-space volume dq∧dpdq \wedge dp exactly at every step, unlike generic ODE solvers.
Hamiltonian dynamics
Motion of position qq and momentum pp determined by the partial derivatives of an energy function HH. In the flow block, learned networks stand in for those derivatives.
Symplectic Lie algebra
The set sp(2n,R)\mathfrak{sp}(2n, \mathbb{R}) of matrices XX for which JXJX is symmetric. These are the infinitesimal generators of volume-preserving linear maps of phase space.
Muon
An optimizer by other authors that orthogonalizes matrix updates. The optimizer in this model takes its name and replaces orthogonalization with symplectic projection.
Endpoint flow regression
Training a flow so that its output from noise matches the data directly. Flow matching, by contrast, regresses the velocity field along a path.
Media placeholder tokens
Reserved token ids in the text sequence whose embeddings are replaced by image features, which lets one decoder read text and images together.
Typed thought block
A tagged region of model output for intermediate reasoning, whose tag attributes record parameters such as the interval and the speed of light.

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.

The Verace V series is the lab's line of language model architectures. It started from the lab's own code for the architecture described in a technical report by the Kimi Team (arXiv:2607.24653), listed here as the V0 baseline. Later versions replace the baseline's main parts with the lab's own designs and keep some of the report's components, which each page credits to the report.

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