Article · 2026-11-13

Nexus Core: A CPU-Native Hybrid Architecture for Language Modeling

A language model built for a laptop CPU, whose memory of the past stays a fixed size however long the text runs. First measured results at 25M parameters.

-24.0%
validation perplexity, 5k to 20k steps (247.63 to 189.20)
6.67 tok/s
decode speed on one CPU, flat while quality improved
3.97x
smaller linear weights at 8-bit, perplexity change only -0.028
25.24M
parameters in the flagship model, trained on a laptop CPU

Most language models are built for accelerators and then squeezed onto a CPU afterwards. A transformer keeps a cache of everything it has read, and that cache grows with the length of the text. Its arithmetic is also heavy, which is why whole runtimes exist just to make it fit. For on-device, offline and privacy-sensitive work, the CPU is the one processor guaranteed to be there.

Nexus Core is designed the other way round. Every part of the model that touches history does so through a state of fixed size. The flagship pattern uses five selective state-space layers to carry the flow of the text. A bank of 64 memory slots holds episodic recall. One linear-attention layer gives a global view, and one softmax attention layer looks only at a 64-token window. The paper reports the state at about 0.90 MiB, flat in context length.

The architecture came from four generations of experiments, and the paper shows the failures as well as the wins. An early memory design diverged because noisy writes fed back on themselves. Tightening the write gate fixed it, and the lesson is that in memory-augmented models a write gate is a stability mechanism, not a tuning knob.

The measured result is a 25.24M-parameter model trained on a laptop CPU on WikiText-2. Validation perplexity fell from 247.63 to 189.20 between 5,000 and 20,000 steps, a drop of 24.0%. Perplexity is how surprised the model is by held-out text, so lower is better. Decode speed and memory stayed flat while it improved. Packing the weights to 8-bit made them 3.97 times smaller at almost no loss in quality.

The paper is plain about the limits. A perplexity of 189 is far from the quality frontier, and a 15M-parameter C transformer decodes about an order of magnitude faster at similar size. The 8-bit version was slower and used more memory, because the code has no integer kernels yet. Every figure comes from single runs with no seed spread. The projection of about 121 at 100,000 steps is an extrapolation, not a measurement.

The paper also reports a first run at a much larger scale, split across many sectors on one Apple M4 chip. It says throughput, routing quality and perplexity at that scale are not yet measured, and that parameter count is not capability.

Open questions

What it did not settle.

Each of these is a limitation the paper states plainly. They are here because they are what the next piece of work is about, and because a method that only ever works is a method nobody has tested.

  1. Does the quality gap close with more training?

    The projection of about 121 perplexity at 100,000 steps assumes the 5k to 20k trend continues without saturating. A longer corpus such as WikiText-103 is needed to test that. Perplexity on an 8,000-word vocabulary also cannot be compared directly with published figures that use other vocabularies.

  2. Can the speed gap to mature CPU runtimes be closed?

    At 6.67 tokens per second in eager mode, the model is far slower than hand-tuned CPU code at similar size. The 8-bit export made this worse, because dequantising costs time when no integer kernels exist. The paper names kernel maturity as the main axis where incumbents still win.

  3. What does the sector-scale run show about quality?

    The first-margin run on an Apple M4 shows the bounded-state pattern can be executed at far larger scale. It does not show the result is good. Throughput, routing between sectors and perplexity are unmeasured, and the right comparison is quality per active sector against a matched dense model.

  4. Do the results hold across seeds and against head-to-head baselines?

    Single-run values carry no uncertainty estimate, and repeated numbers across project documents are the same experiment re-reported. The paper closes with a pre-registered plan to test its claims against published CPU models.

The source

Read it, or run it.