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.
- Hidden state after the layers: Enters the optional symplectic flow
- Position and momentum halves: The two halves of the hidden state
- Symplectic Euler kick-drift: A momentum kick, then a position drift, over 10 steps
- Phase-space volume: Each sub-step is a shear, so volume is kept
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
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
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.
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.
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.
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.
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.
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.
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.
Hamiltonian pre-training step
A training step that combines causal cross-entropy with a weighted regression of the symplectic flow output onto token embeddings.
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 of size , with and . The score is for and otherwise, and the output is with . Because the score grows with , more distant past tokens receive larger scores.
- Delta-rule fast-weight update
- For each sequence, starts as a zero matrix of size , and keys and values are linear projections of to dimensions. At each step the module reads before writing, then updates with given by
meta_lr, 0.001. The technical reference writes this as . - Residual MLP mind block
HyperReflectiveMindEnginecomputes 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 , and two separate learned MLPs stand for and . Each step computes , then , with 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 to with , the projection onto . Momentum SGD with decoupled weight decay follows. There is no orthogonalization step. - Noise-to-embedding endpoint regression
- Noise with the shape of the hidden states is passed through all 10 steps of the symplectic flow, and the output is regressed onto 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
SymplecticSiTUGLUis a variant of the SiTU-GLU activation from the Kimi Team report. It computes the gate and the up branch , and outputs their product, with , 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_flowenabled and samples from with . 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 . 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.
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.
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.
Interval score favours distant past tokens
Because the attention score is , it increases with temporal distance. Older tokens therefore receive more weight unless the spatial term offsets the difference.
Optimizer omits orthogonalization
Despite its name, the optimizer performs no orthogonalization. It projects gradients onto the symplectic Lie algebra and applies momentum SGD.
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 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 , 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 exactly at every step, unlike generic ODE solvers.
- Hamiltonian dynamics
- Motion of position and momentum determined by the partial derivatives of an energy function . In the flow block, learned networks stand in for those derivatives.
- Symplectic Lie algebra
- The set of matrices for which 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.