Skip to content
Language modelsPrototype

Verace V9

A language model layer built from Riemannian geodesic flow, non-abelian gauge transport, p-adic ultrametric mixing and a Hodge-basis bottleneck.

Verace Research
  1. Norm preservation: Each transport is orthogonal, so value length is kept
  2. Value before transport: A token's value in the gauge space
  3. Cayley holonomy transport: Cayley transform of a skew matrix gives the rotation
  4. Transported value: Weighted by causal key-key attention after rotation
Figure 1. Norm-preserving gauge transport of values in Verace V9. Schematic: a value vector is rotated by a pair-specific orthogonal transport, so its length stays fixed. Verace V9 is a prototype with tested code and no recorded training run or results.
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 V9 is a version of the lab's Verace V series language models. It replaces the standard attention and MLP blocks of a transformer with a chain of operators named after constructions in differential geometry, gauge theory and number theory. It asks whether a causal language model layer can be assembled from four parts: a per-token metric and geodesic step, norm-preserving pairwise transport of values, a position kernel based on p-adic distance, and a low-rank projection onto a learned basis. It also accepts image patches through a vision encoder.

Each layer applies five residual modules in sequence, each of the form x+RMSNorm(f(x))x + \mathrm{RMSNorm}(f(x)): Dynamic Riemannian Geodesic Flow (RGF), Non-Abelian Yang-Mills Gauge Holography (NYMGH), the Content-Adaptive Transfinite p-adic Hilbert Operator (TPHO), the Calabi-Yau Holomorphic Projector (CYHP), then a SiLU. Training minimises next-token cross-entropy plus a curvature penalty, with an optimizer called Supersymmetric Muon (S-Muon). S-Muon follows Muon, an optimizer by other authors, and re-orthogonalises every 2D weight after each step. The vision encoder follows MoonViT and the reasoning block adapts the XTML chat template, both components of a technical report by the Kimi Team.

The model, tokenizer, vision encoder, optimizer, training step, generator and evaluator are implemented in PyTorch, with a test suite. The tests check norm preservation of the gauge transport, orthogonality after the optimizer step, 19 distinct projector channels, content adaptivity of the p-adic kernel and an end-to-end pipeline. The evaluator computes perplexity and token accuracy on 3 fixed prompts plus a transport norm error, but no evaluation figures are recorded. The lab's code review also shows that the geodesic correction cancels algebraically, so the metric has no effect, and that the projector computes no Calabi-Yau geometry.

Status: Verace V9 is a prototype. The architecture, training step and evaluator exist as code and pass their unit and end-to-end tests. No training run and no benchmark result is recorded. The technical reference describes a Softplus metric with Christoffel symbols and claims 100% content adaptivity. The code instead builds the metric as AA⊤+0.1IAA^\top + 0.1I and reduces the geodesic step to a fixed scaling, and the content-adaptivity claim is not backed by any measurement. The configured scale of 256 layers and hidden size 65536 is a configuration only. Whether the architecture can learn language at all remains open.

Status

Prototype. The model, optimizer, training step and evaluator are implemented and covered by unit and end-to-end tests, but no training run or evaluation result is recorded.

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. Dynamic Riemannian Geodesic Flow

    Builds a per-token 16 by 16 symmetric positive definite metric and a velocity vector, applies a correction labelled as a Christoffel force, and projects the result back to the hidden size as a residual.

  2. Non-Abelian Gauge Holography

    Projects tokens to keys and values in a gauge space, rotates each value by a pair-specific orthogonal transport, and mixes the rotated values with causal attention weights built from key-key similarity.

  3. p-adic Hilbert Operator

    Mixes tokens through a causal kernel that combines the 2-adic distance between positions with a learned sigmoid content affinity.

  4. Calabi-Yau Holomorphic Projector

    Compresses the hidden state to 6 dimensions, applies 19 learned symmetric 6 by 6 maps, and projects the 114 resulting values back to the hidden size as a residual.

  5. Supersymmetric Muon optimizer

    A Nesterov momentum optimizer, derived from Muon by other authors, that replaces every 2D weight after each step with the orthogonal polar factor of its singular value decomposition.

  6. Vision encoder

    A pre-norm vision transformer following the MoonViT encoder from the Kimi Team report, whose patch tokens are spliced into the text sequence at placeholder positions.

  7. Holographic think template

    A chat format, adapted from the XTML template of the Kimi Team report, that wraps generated reasoning in a block carrying curvature, prime and chi attributes.

  8. Generator and evaluator

    A temperature sampler without a key-value cache, and an evaluator for perplexity, token accuracy and the transport norm error.

Implementation

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

Transfinite holographic layer stack
Each layer is a chain of residual blocks x+RMSNorm(f(x))x + \mathrm{RMSNorm}(f(x)) in the order RGF, NYMGH, TPHO, CYHP, SiLU. There is no standard attention or MLP block. Embedding and output head weights are tied, and Verace V10 prepends a further operator to the same chain.
Cayley holonomy transport
Each token gets a skew connection Ai=0.02(kivi⊤−viki⊤)A_i = 0.02(k_i v_i^\top - v_i k_i^\top). For each pair, M=(Ai−Aj)+(AiAj−AjAi)M = (A_i - A_j) + (A_i A_j - A_j A_i) and Fij=12(M−M⊤)F_{ij} = \frac{1}{2}(M - M^\top) give the transport Uij=(I−12Fij)−1(I+12Fij)U_{ij} = (I - \frac{1}{2}F_{ij})^{-1}(I + \frac{1}{2}F_{ij}). As the Cayley transform of a skew matrix, UijU_{ij} is orthogonal, so ∥Uijv∥=∥v∥\|U_{ij} v\| = \|v\|. The file named for Triton kernels computes this in plain PyTorch.
Gauge-transported attention
Value vjv_j is rotated by UijU_{ij} before weighting. The weights are softmax(kk⊤/d)\mathrm{softmax}(k k^\top / \sqrt{d}) with a causal mask and no queries. The curvature regulariser is the mean of Fij2F_{ij}^2, and memory grows as O(s2d2)O(s^2 d^2) in sequence length ss and gauge width dd.
Dynamic metric geodesic step
The metric g=AA⊤+0.1Ig = AA^\top + 0.1I is positive definite by construction. The force term g−1(gv)g^{-1}(g v) equals vv algebraically, so the step reduces to 0.95v0.95v up to numerical error, and the metric has no influence on the output.
p-adic ultrametric position distance
The distance between positions is dp(i,j)=p−vp(∣i−j∣)d_p(i,j) = p^{-v_p(|i-j|)}, where vpv_p counts the factors of pp dividing ∣i−j∣|i-j|, with p=2p = 2 by default and the count capped at 20. The diagonal is 0, and the distance satisfies the ultrametric inequality.
Content-adaptive ultrametric kernel
The kernel is K(i,j)=exp⁡(−dp(i,j) σ(qi⋅kj/d/4))K(i,j) = \exp(-d_p(i,j)\,\sigma(q_i \cdot k_j / \sqrt{d/4})), with queries and keys of size one quarter of the hidden size. It is masked to be lower triangular, row-normalised with epsilon 1e-6, and applied to the projected input as attention-like weights.
Hodge basis projection
This is a low-rank bottleneck: hidden to 6 dimensions, then 19 parallel symmetric 6 by 6 linear maps with normalised initialisation, concatenated to 114 values and projected back to the hidden size. No Calabi-Yau geometry is computed.
Curvature-regularised language model loss
The loss is L=CE+λ∑ℓmean(Fij2)\mathcal{L} = \mathrm{CE} + \lambda \sum_{\ell} \mathrm{mean}(F_{ij}^2) with λ=0.001\lambda = 0.001. It uses shifted next-token cross-entropy that ignores label -100 and penalises the gauge field strength, so transports stay near flat.
SVD polar Stiefel retraction
After a Nesterov momentum step with momentum 0.99 and learning rate 0.05, each 2D weight is replaced by W=UV⊤W = UV^\top from its singular value decomposition, so all singular values become 1. This includes the tied embedding and output head. Parameters that are not 2D take a plain momentum step.
Byte offset tokenisation
A token id is the UTF-8 byte value plus 100, which reserves ids 0 to 99 for special tokens, and id 1000 marks an image placeholder. Only 256 ids of the configured vocabulary of 1048576 are ever produced from text.
Media placeholder splicing
In each batch row, embeddings at positions whose input id is 1000 are replaced in order by vision patch tokens. The number replaced is the smaller of the placeholder count and the patch count.
Pre-norm ViT patch encoder
Patches come from a Conv2d with stride 14, followed by RMSNorm pre-norm blocks with multi-head attention and a 4x SiLU MLP, and no position encoding. Defaults are 1536 dimensions, 36 layers and 16 heads, while the model configuration uses 2 layers and 4 heads.
Holonomy norm preservation metric
The evaluator reports the mean absolute difference between ∥Uijvj∥\|U_{ij} v_j\| and ∥vj∥\|v_j\| over all pairs and layers. It is expected to be near zero because each UijU_{ij} is orthogonal.
Perplexity and accuracy evaluation
The evaluator computes average cross-entropy capped at 20 to obtain perplexity, along with argmax next-token accuracy on 3 fixed prompts.

Results

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

  1. No training or evaluation results recorded

    The evaluator for perplexity, token accuracy and transport norm error exists and runs in the test suite, but the lab's records hold no training run and no measured figures.

  2. Geodesic correction cancels to a constant scaling

    The lab's code review found that the force g−1(gv)g^{-1}(g v) equals vv, so the RGF step is 0.95v0.95v and the per-token metric has no effect. This contradicts the technical reference, which describes Christoffel symbols and a Softplus metric.

  3. Projector computes no Calabi-Yau geometry

    The lab's code review found that the CYHP module is a low-rank bottleneck of 19 symmetric 6 by 6 maps. The Hodge terminology in the technical reference names the parts but describes no computation the code performs.

  4. Transport norm preservation holds by construction

    The test suite verifies that the Cayley transports preserve vector norms, which follows from the orthogonality of the Cayley transform of a skew matrix rather than from learning.

  5. Tokeniser uses a small fraction of the vocabulary

    Byte-offset tokenisation produces only 256 ids from text out of the configured vocabulary of 1048576.

  6. Gauge attention memory grows quadratically in two dimensions

    Pairwise transport matrices make the NYMGH module's memory O(s2d2)O(s^2 d^2), and the module named for Triton kernels runs in plain PyTorch.

Concepts

Metric tensor
A symmetric positive definite matrix gg that defines lengths and angles at a point. In this model, each token has its own 16 by 16 metric.
Geodesic equation
The equation x¨μ+Γαβμx˙αx˙β=0\ddot{x}^\mu + \Gamma^\mu_{\alpha\beta} \dot{x}^\alpha \dot{x}^\beta = 0 describes straightest paths on a curved space, where Γ\Gamma are the Christoffel symbols. The technical reference describes integrating it, but the code reduces the step to a constant scaling.
Gauge connection and holonomy
A connection AiA_i attaches a matrix to each token, and the holonomy UijU_{ij} is the transformation that carries a vector from token jj to token ii. Here it rotates values before they are mixed.
Field strength
A curvature quantity, here Fij=(Ai−Aj)+[Ai,Aj]F_{ij} = (A_i - A_j) + [A_i, A_j] made skew-symmetric. It measures how far the transport is from flat and is penalised in the training loss.
Cayley transform
The map U=(I−12F)−1(I+12F)U = (I - \frac{1}{2}F)^{-1}(I + \frac{1}{2}F) turns a skew-symmetric matrix into an orthogonal one, which guarantees that transported vectors keep their norm.
p-adic valuation
For an integer nn, vp(n)v_p(n) counts how many times the prime pp divides nn. Positions whose difference is divisible by a high power of 2 are treated as close.
Ultrametric
A distance that satisfies d(x,z)≤max⁡(d(x,y),d(y,z))d(x,z) \le \max(d(x,y), d(y,z)), which gives the positions a tree-like hierarchy rather than a line.
Hodge number
The value h1,1h^{1,1} counts a class of harmonic forms on a complex manifold. The projector uses 19 learned matrices named after it, but they are ordinary symmetric linear maps.
Stiefel manifold
The set of matrices with orthonormal columns, W⊤W=IW^\top W = I. The optimizer projects weights onto it after every step.
Polar decomposition
Any matrix factors as W=UV⊤W = UV^\top times a positive part. Keeping only UV⊤UV^\top gives the nearest orthogonal matrix and sets all singular values to 1.
Muon
An optimizer by other authors that orthogonalises momentum updates of matrix parameters. S-Muon is the lab's variant, which orthogonalises the weights themselves instead.
MoonViT
The vision encoder described in the Kimi Team technical report. Verace V9 contains the lab's pre-norm implementation of it, without position encodings.
XTML chat template
The chat format from the Kimi Team technical report. Verace V9 adds a holographic think block with curvature, prime and chi attributes, where chi defaults to -6 and prime to 2.
Media placeholder
A reserved token id, 1000, inserted once per image patch so that vision tokens can replace the matching text embeddings.

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.