Verace Soliton
A tokenizer-free byte-level language model with a constant-size soliton memory ring and Fréchet barycenter averaging on the hypersphere.
- Soliton memory ring: Fixed bank of slots; size does not grow with context
- Raw bytes, 8 per stalk: Glued into stalks, no tokenizer needed
- Soliton key-value slot: Learnable key and value, read by similarity
- In-situ slot injection: Training fit writes barycenter, without backpropagation
Overview
Verace Soliton is the lab's byte-level foundation model line. It replaces tokens, the growing key-value cache of attention and flat gradient descent with three ideas from geometry and physics: raw bytes glued into continuous vectors called stalks, a fixed-size memory of soliton-shaped key-value slots, and averaging of representations on a hypersphere through the Fréchet (Karcher) mean. The question it addresses is whether a language model can work without a tokenizer and with memory that stays constant as context grows, at a size that fits a 6 GB laptop GPU. The core model has 3,024,493 parameters.
The forward pipeline runs in a fixed order. A transducer groups 8 raw bytes into one stalk, a stack of soliton layers mixes the sequence with a differential pair of state-space scans and reads a constant-size memory ring, and an instanton engine sets a variable reasoning depth. A spherical barycenter then summarises the stalks, and decoder heads emit 8 bytes per frame, audio samples or small images. Four parts make up the line: the research implementation, a packaged release with a C++20 inference engine and serving layers, and two variant prototypes that recombine the same parts with differential attention, adaptive halting and agent tools.
The research implementation trains the model on TinyStories, a public dataset by others, with AdamW plus Čech-defect and Fréchet-variance regularisers. A second script fits it without backpropagation: barycenters are written into memory slots and the byte head is solved by ridge regression. In the lab's sequence-length experiment, training at length 4096 reached 4.2x lower loss than length 128 (0.0404 against 0.1700) but trained 32x slower, with identical inference memory. The lab's streaming record reports 100M words processed at a constant 101.23 MB of GPU memory. The evaluation records also report perfect scores on many benchmarks, but the lab's own reading of the benchmark script found those scores written in as constants.
The model, its optimiser, training scripts, serving layers, agent tool server and both variants are implemented. The sequence-length and streaming runs are recorded. The benchmark tables, the reported 0% hallucination and the GRPO reinforcement stage are not supported by the code: the benchmark script returns fixed values, the GRPO stage is not implemented as described, and the per-domain C++ tools of the packaged release are templated copies with generic numerics. Hardware co-design, distributed parallelism and Raft-synchronised memory exist only in the twelve-part design specification. No independent evaluation of language quality is recorded.
Status
Experiments. The model and training code exist and two runs are recorded (sequence length 128 against 4096, and a 100M-word streaming test), while the lab's audit of the code found the benchmark scores hardcoded and the reinforcement stage not implemented as described.
Simulator
A row of tokens is read two ways at once: the newest token looks back at every earlier one, and every token is also written into one memory of fixed size that fades.
- looking back: one arc for every earlier token
- fixed memory: how much of each token it still holds
- newest token at the right
- Looking back, this token
- 23 comparisons
- Looking back, whole sequence
- 276 comparisons
- State kept: looking back / fixed
- 24 tokens / 1 state
- Fixed memory: a token is half faded after
- 4.3 tokens
Lengthen the sequence: the arcs multiply, the fixed memory stays one state. Lower the decay and it forgets sooner.
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
Tokenizer-free byte transducer
Maps each raw byte (an alphabet of 256 values) to a learned vector and glues 8 consecutive bytes into one stalk, so no vocabulary table is needed. Audio and images enter through a learned one-level wavelet filter bank, and an 8-way classifier labels the input format.
Continuous soliton layer
A pre-norm residual block that combines a differential dual state-space scan, a sech²-weighted key-value memory ring and an MLP. It stands in for attention and the key-value cache.
Soliton memory ring
A fixed bank of learnable key and value slots, 64 solitons in the design specification and 128 in the larger configuration, read by similarity. Its size does not grow with context length.
Instanton reasoning engine
A routing stage that sets how many reasoning steps to spend on an input. The design specification derives the depth from a bounce action; the variants implement it as learned adaptive halting.
Spherical barycenter stage
Computes the Fréchet mean of the stalks on the unit hypersphere and feeds it, after LayerNorm, to the decoders. The geodesic variance around this mean is also used as a training regulariser.
Riemannian Fréchet optimizer
A custom PyTorch optimizer, an Adam variant that removes the radial part of each matrix gradient so the update moves along the sphere of the weight's Frobenius norm. After each step the weight is rescaled to its original norm.
Omnimodal decoder heads
Heads that turn latent stalks into byte logits (8 bytes per frame), tanh audio samples and sigmoid RGB images. They make the same backbone produce text, sound and pictures.
Staged training curriculum
Scripts that run supervised fine-tuning, chain-of-thought, program-of-thought and a stage labelled GRPO over byte-level JSONL curricula, saving a checkpoint after each stage.
Agent tool and MCP server
A Model Context Protocol server over standard input and output that exposes 8 engine tools, including a symbolic prover, C++ compile and fuzz checks, a Petri-net state machine and workspace inspection.
Serving layer and CLI
A server speaking the OpenAI Chat and Anthropic Messages protocols, an interactive terminal chat that builds ChatML byte prompts, and a Python SDK.
Packaged release
A standalone edition with a 16M-parameter configuration, a C++20 inference engine that reads safetensors checkpoints, a FastAPI server with a web chat interface, and a physics-themed operating-system kernel with a large set of generated tool headers. Its documents describe a 40-layer architecture, while its model configuration has 8 layers.
Two variant prototypes
A post-LLM variant that pairs transformer blocks using differential attention with the soliton ring, a ponder core and continuous web-harvesting trainers, and a smaller humanoid assistant variant with voice output and a web chat. The humanoid variant's goal planner maps goal keywords to fixed step lists and its swarm scheduler is a thread pool running trivial tasks, while the post-LLM variant's knowledge engine returns canned keyword responses.
Implementation
Mechanisms as they are implemented in the source code, with the constants the code uses.
- Byte-frame gluing without a tokenizer
- Each byte is embedded as a vector of size .
frame_size=8 consecutive embeddings are concatenated into dimensions and an MLP maps them to one -dimensional stalk, an 8x compression of sequence length. - Differential dual state-space scan
- Per channel two scans run with and , , step and decay . The state updates as with readout . The layer outputs with initialised at 0.5, a subtractive noise cancellation in the style of differential attention.
- Sech² soliton memory read
- Queries are compared with the learnable
soliton_keysby cosine distance, weighted by a -shaped kernel with scale 5, then normalised by softmax over thesoliton_vals. The bank has shape num_solitons by , so memory cost is constant. - Spherical Karcher mean iteration
- Riemannian gradient descent with unit step on , using the exponential map and the matching log map. Defaults are
max_iter=10 andtol=1e-6. The Fréchet variance is . - Norm-preserving Riemannian Adam
- The gradient is replaced by its tangent part , with moments and . After the bias-corrected Adam step the weight is rescaled to its original norm . Defaults are lr 2e-3, betas (0.9, 0.999), weight decay 1e-4, eps 1e-8.
- Omnimodal training loss
VeraceOmnimodalModelminimises shifted byte cross-entropy plus 0.05 times the Fréchet variance of the stalks. The TinyStories trainer adds a Čech cocycle defect term as a further regulariser.- In-situ soliton slot injection
- At each step, for each sample , a slot index is computed from the barycenter , where is the number of solitons. The barycenter is written into the keys and values of that slot in every layer under no_grad, outside the optimizer.
- Closed-form ridge byte head
- Features from the deconvolution render head (64 dimensions per byte) and one-hot byte targets give with = 1e-2. The result is copied into
byte_headwith no gradient training. - Byte sampling with repetition penalty
- The input is padded to a multiple of 8 and byte 0 is masked. Logits of bytes seen in a recent window are reduced by a penalty (1.0, 1.2 or 1.5 depending on the script), the next byte is sampled from with = 0.35, and generation stops on byte 0 or 255.
- Omnimodal decoder outputs
- Latent stalks are decoded to byte logits for 8 bytes per frame, 32 tanh audio samples per frame, and sigmoid 8×8 RGB images from mean-pooled stalks.
- Differential attention in the variants
- The post-LLM and humanoid variants use attention of the form , subtracting a second attention map to cancel common-mode noise.
- Symplectic soliton memory update
- In the post-LLM variant the memory holds position and momentum states parameterised by learnable soliton parameters and advanced by a Verlet-style integrator, with a gated readout into the hidden states. The humanoid variant uses orthogonal and maps with an Euler-style update instead.
- PonderNet adaptive halting
- Learned per-step halting probabilities define a distribution over reasoning depth. Training adds a KL divergence from that distribution to a geometric prior, so the expected number of steps varies with the input.
- Multi-objective physics loss
- The variant trainers minimise , combining the language-model loss with Fréchet, Čech, pondering and symplectic terms.
- Online RL labelled GRPO
- The conversational RL engine of the post-LLM variant is labelled GRPO but implements a REINFORCE-like policy update against a fixed baseline of 0.65, with no group-relative normalisation.
- Verified data ingestion with hash ring
- Harvested documents pass a
DataVerificationEnginegate that cleans text, filters by entropy and removes duplicates. Deduplication keeps a bounded set and queue of SHA-256 hashes and evicts the oldest entries. - MCP stdio JSON-RPC protocol
mcp_server.pyreads newline-delimited JSON-RPC 2.0 messages from standard input and implements initialize, tools/list (a tool specification with input schemas) and tools/call, which returns text content blocks.- Templated per-domain tool headers
- In the packaged release every domain header defines three
IToolclasses (analytics, simulation, optimization) with identical numerical bodies, such as a sine integral, a pseudo-random walk and a gradient descent, and only the domain names and labels differ. The domain content itself is not modelled.
Results
From the lab's own experiments and records. They have not been independently replicated.
Longer training sequences lowered loss but slowed training
In the lab's experiment, training at sequence length 4096 reached a loss of 0.0404 against 0.1700 at length 128, 4.2x lower, but trained 32x slower. Inference memory was identical, and the lab suggests 512 to 1024 as the practical range.
Constant memory over a 100M-word stream
The lab's streaming record reports 100M words (about 550 MB) processed on an RTX 4050 at a constant 101.23 MB of GPU memory, with net phase drift of -0.000173.
C++20 synthesis timing shows no real reinforcement stage
The lab's records report that the four-stage C++20 code synthesis training converged in 46.19 s. The figure comes from the same four-stage pipeline whose reinforcement stage is not implemented and prints fabricated reward and pass figures, so it shows no convergence of a real reinforcement stage. The records do not show how output quality was measured beyond compile checks.
Codeforces sandbox runs recorded
The evaluation records report 5 of 5 introductory Codeforces problems accepted, with 83.57 ms average latency and 35.68 MB of GPU memory. The records do not separate the model's contribution from that of the executing sandbox.
Benchmark tables are not real evaluations
The evaluation records report 100% on many agentic, coding and physics benchmarks against models of 230B to 1.6T parameters. The lab's own reading of the benchmark script found almost all scores written as constants, with a few switching between two constants on simple engine checks.
GRPO stage not implemented as described
In the four-stage fine-tuning script every stage is the same byte-level cross-entropy fine-tuning with a different learning rate. The stage labelled GRPO only scales the loss by 0.95 and prints reward and pass figures that the code does not compute.
Variant reinforcement learning uses a fixed baseline
The post-LLM variant's online RL engine, labelled GRPO, implements a REINFORCE-like update with a fixed baseline of 0.65.
Barycenter convergence figures disagree
The design specification claims convergence in about 3 to 10 geodesic steps, the post-LLM variant's scorecard reports 15 iterations on , and the humanoid variant's scorecard reports 2 iterations on the same sphere.
Packaged domain tools are templated copies
The lab's reading of the packaged release found that its per-domain C++ tool headers share identical generic numerics and differ only in names and labels, so they do not model their stated domains.
Several agent parts are rule-based
The lab's reading of the code found that the humanoid variant's goal planner maps goal keywords to one of three fixed lists of plan steps and its swarm scheduler is a thread pool benchmarked on 1000 trivial tasks, against a scorecard claim of 1,000 concurrent agents. The post-LLM variant's knowledge engine is a keyword responder that returns canned markdown.
Concepts
- Post-token paradigm
- The lab's term for replacing discrete tokens, quadratic attention and AdamW with continuous byte stalks, soliton memory and Fréchet averaging. It is the organising idea of the whole line.
- Concept stalk
- A continuous vector that summarises a short window of raw bytes, 8 bytes per stalk in the code. The name comes from sheaf theory, where a stalk is the local data attached to a point.
- Universal Algorithmic Topos Sheaves
- The design specification's framework that treats a task as one global section of a sheaf, a single vector that glues all local pieces. The specification claims this collapses sequence length to ; the code implements an 8x byte compression.
- KdV soliton
- A solitary wave of the Korteweg-de Vries equation that keeps its shape after collisions. The design uses solitons as the metaphor and parameterisation for memory slots that store context without decay.
- KV-cache wall
- The design specification's name for the linear growth of transformer key-value memory with context length, reaching tens to hundreds of GB at 128k to 1M tokens. The soliton ring is the proposed answer.
- Fréchet (Karcher) mean
- The point on a curved space that minimises the average squared geodesic distance to a set of points, the curved-space analogue of an average. The model computes it on the unit hypersphere to summarise stalks.
- Geodesic variance
- Half the mean squared geodesic distance of points from their Fréchet mean. The training losses penalise it to keep representations from scattering, and the packaged release describes the term as an anti-collapse dispersion penalty.
- Čech cocycle defect
- A measure of how far local pieces fail to agree where they overlap, taken from Čech cohomology; a vanishing coboundary means local deductions glue without contradiction. The model adds this defect as a loss term.
- Lax isospectral conservation
- For the KdV equation the eigenvalues of the associated Lax operator stay constant in time. The design specification uses this to argue that memory content is conserved and claims a 96.8% non-hallucination rate; no measurement of that figure is recorded.
- Dual-tier Lax pinning
- A designed drift correction: fine pinning every 1024 steps resets state to its invariant eigenvalues, and coarse pinning every 8192 steps recomputes a global barycenter. It treats the soliton part as signal and floating-point drift as noise to be removed.
- Instanton reasoning depth
- The design specification borrows the Coleman-De Luccia bounce from quantum field theory to set reasoning depth from an action , written in the variants. Easy inputs take a fast path and hard inputs a deeper one.
- Differential attention
- An attention variant that subtracts a second softmax map, scaled by a learned , from the first so that noise shared by both cancels. The research implementation applies the same subtraction to two state-space scans.
- Program-of-thought sandbox
- Reasoning that writes code and runs it instead of computing in text. The design specification describes an in-process, AST-filtered Python executor whose output feeds the memory ring.
- Agentic tool forge
- A designed capability in which the model writes, compiles with g++ and registers its own Python or C++20 tools when it reaches an impasse. The variants implement compile-and-run with a differential fuzzing method.
- Critic-free GRPO
- Group Relative Policy Optimization, a published method credited to DeepSeek-R1, normalises rewards across a group of sampled answers, G=4 in the design, so no value network is needed. The design specification pairs it with a step-level process reward model ; a
ProcessRewardModelclass is present in the code but no evaluation of it is recorded, and the lab's GRPO stage is not implemented as described. - Abductive jump
- The ability to propose a new axiom that explains observations. The design documents claim the model's four engines provide it and cite a position paper arguing token models cannot; the supporting experiments are records of the lab's, not established results.
- Kimi K3 decoder
- A block-sparse mixture-of-experts decoder described in the Kimi Team's technical report. The packaged release includes a document describing that outside model; it is not part of the lab's design.
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.