Modular Language Computation: From Multi-Mesh Models to External Memory and Skills

Community Article
Published October 8, 2026

The engineering trajectory behind FEM-ASM: interacting neural fields, independently constructed document memories, and executable results connected to a shared model.

Updated overview. This article traces the implemented prototypes and their main experiments. The accompanying paper provides the architecture, algorithms, evaluation protocols, and engineering details.

What changes when a language model’s contextual computation, document memory, and exact execution can be constructed and updated separately?

This project explores that question through working implementations:

  • an attention-free Multi-Mesh language model, trained from scratch on 28.6 billion prediction targets;
  • a separate roughly half-billion-parameter modular core;
  • document memories constructed by independent workers under a frozen codec;
  • a deterministic integer virtual machine;
  • a common interface through which memory and execution observations affect neural computation.

The system is called FEM-ASM, after its inspiration from finite-element methods and residual assembly.

The organizing principle is:

Build components according to their own requirements. Give their contributions an explicit interface to shared computation.

Conceptual overview of the FEM-ASM research program.

The Multi-Mesh language model and the later modular core are distinct implementations. The diagram connects their architectural ideas rather than depicting one model’s forward pass.

Paper and artifacts

1. The starting point: a stable input interface

The earlier experiments studied language modeling with fixed token representations.

A token needs an identity. Its useful interpretation can be learned by the computation acting on that identity.

For a vocabulary fitting within 16 bits, Binary16 supplies distinct fixed token codes. The input coordinates remain unchanged while shared neural parameters learn how to use them.

This suggested a broader architectural question:

Which other parts of a language-model system can have explicit interfaces and independent update procedures?

The fixed-input work supplied the motivation. Memory and execution required their own implementations and experiments.

2. Multi-Mesh: several interacting views of a causal prefix

The first prototype organizes language computation through several fields:

Field Role
Fine token field Token-level computation from Binary16 inputs
Structured Binary Tiles Packing completed token spans into spatial observations
Glyph observations Fixed information about token appearance
Coarse history hierarchy Completed-span representations at larger granularities
Scratch field Additional state updated during repeated computation

The fields exchange information through restriction and prolongation operators. Local convolutional operators update them.

A block of 64 token identities contains:

64×16=1024=32×32 64\times16=1024=32\times32

bits.

Those identity bits can be packed exactly into a tile. Learned operators then transform the tile into continuous states.

Completed-span information is made available to later positions. The resulting model supports autoregressive language generation.

The finite-element inspiration is architectural: local objects, explicit supports, transfer operators, and assembled contributions.

Released checkpoint

Quantity Value
Optimizer updates 109,200
Processed prediction targets 28,626,124,800
Parameter values, excluding fixed buffers 1,675,064,832
Fixed-buffer values 51,904,512

The model was trained from scratch on the FineWeb-Edu component of SmolLM-Corpus. SmolLM2 supplies tokenizer artifacts.

It obtains 53.37% ARC-Easy accuracy, 62.95% PIQA accuracy, and 30.77% normalized HellaSwag accuracy. These evaluations accompany the released generation model.

Standalone benchmarks and the Transformer reference

AB-EXT Learned is a conventional 1.812B-parameter Transformer from the same research program, trained on the same data source with approximately 100B prediction targets.

Metric Multi-Mesh AB-EXT Learned
HellaSwag, accuracy 29.00% 44.21%
HellaSwag, normalized accuracy 30.77% 57.79%
ARC-Easy, accuracy 53.37% 71.63%
ARC-Challenge, accuracy 21.59% 35.92%
PIQA, accuracy 62.95% 72.69%
WinoGrande, accuracy 49.33% 58.56%
MMLU, zero-shot accuracy 23.95% 25.32%
LAMBADA, accuracy 4.87% 47.72%
WikiText, word perplexity ↓ 65.02 16.50

This comparison characterizes attained checkpoint quality. Architectures and training budgets differ. The Transformer obtains stronger standalone results on most tasks.

The modular memory and execution experiments use a separate core. They are not evaluations of this standalone Multi-Mesh checkpoint.

Model cards and evaluation records provide scoring details and reported evaluation errors.

3. From interacting fields to independently constructed elements

The next implementation separates three roles.

Document-state construction

A frozen shared codec produces initial document-block cells. A worker optimizes document-specific residuals and publishes the resulting states.

The worker changes the document state while leaving the codec and consuming core fixed.

Exact execution

A bounded integer VM executes programs and returns typed results, traces, and replay checksums.

In the arithmetic protocol, the model selects one of five operations. Operand parsing and compilation are deterministic.

Neural consumption

Shared adapters map memory and execution observations into the core’s hidden-state space. Explicit supports determine which token positions receive them.

There is one adapter per supported type, rather than a separate adapter for each document.

The components have different production procedures but a common destination in neural computation.

4. Memory as prepared neural state

The memory cell is a representation prepared for a neural consumer.

Its lifecycle is:

document → local adaptation → published artifact → selected readout → neural observation.

The production run published 52,809 active element versions near a budget of 1.7 billion stored floating-point values. Each element can contain several block cells.

A selected-cache audit reconstructed 74.97% of source tokens across 2,910 evidence blocks.

This representation is useful to study as a materialized neural state: document-specific computation happens during construction, and its output can later be supplied to a shared core.

Its practical evaluation involves both preparation and consumption—much as a materialized database view is evaluated by more than its size relative to the source table.

Memory fidelity and resource accounting

The audited cache contained 2,910 blocks from 98 elements, with 139,468 exactly reconstructed tokens out of 186,031 valid source tokens. One complete block was recovered exactly.

A local 768-value BF16 cell occupies 1,536 bytes. The 64 uint16 source-token IDs occupy 128 bytes. Decoder-slot caching adds further state: a 64-by-768 BF16 slot tensor occupies 98,304 bytes.

These quantities describe different representations. A complete comparison includes source or cell storage, construction, indexing, loading, readout, contextual computation, and task quality.

5. Position-specific readout connects information to output

Finding a memory element and making its content usable are separate operations.

The project compares a repeated cell vector with observations that expose individual source or decoder slots:

Memory interface Target-token NLL ↓ Token accuracy
Repeated dense cell 6.6331 12.15%
Source positional observations 5.5522 30.32%
Codec positional states 4.4729 48.60%
Oracle answer buffer 4.2934 55.41%

The codec-slot interface improves likelihood and token accuracy relative to the repeated cell.

Wrong-content and slot-permutation interventions show that the positional model responds to both the supplied information and its organization.

These are controlled readout diagnostics. Their support mappings and target alignment are specified in the paper.

The readout performs a translation between a component’s internal representation and the observations its consumer can use.

6. Execution results use the same interface

Consider the request to add 17 and 25.

The controller selects addition. The compiler loads the operands into registers, the VM computes 42, and a renderer converts the result into position-specific observations.

Those observations enter the neural core through the VM adapter and residual assembly.

The experiment compares return interfaces:

VM return interface In-range numeric exact match Wider-range numeric exact match
Repeated global vector 8.59% 6.25%
Character positional 88.28% 35.94%
Tokenizer-aware positional 100.00% 85.94%
Token + character positional 100.00% 88.28%

The result identifies the return interface as an important part of tool integration.

The executor supplies an exact value. The neural system must still adopt and serialize it.

Protocol: 128 generation examples per range; token-aware buffers contain the rendered token identities and declare the output length. Numeric exact match extracts the first signed integer. The wider interval includes the training interval.

7. Evidence attachment with an unchanged core

The downloadable demonstration evaluates 417 examples and 2,396 target tokens with fixed core weights:

Evidence condition Coverage Target-token NLL ↓ Token accuracy
Required evidence absent 0% 6.5716 12.10%
Required evidence available 100% 2.8073 58.72%

Attaching the selected evidence reduces NLL by 3.7643 nats per target token.

The package supplies the selected evidence, rather than loading the complete originating stores.

This experiment separates two operations:

  • training the core changes its learned coordination;
  • attaching an element changes the evidence available through that coordination.

8. Residual assembly in one equation

At token position ii, the current hidden vector is ZiZ_i. An external observation supplies a proposal zez_e with weight wew_e.

The assembled residual is:

Ri=∑e→iwe(ze−Zi)ϵ+∑e→iwe. R_i= \frac{\sum_{e\rightarrow i}w_e(z_e-Z_i)} {\epsilon+\sum_{e\rightarrow i}w_e}.

A consistency substep moves the state toward the weighted proposal mean. A learned recurrent correction then combines external observations with local contextual computation.

For fixed proposals, an appropriately bounded consistency step reduces or preserves quadratic disagreement in exact arithmetic. The learned correction serves the language objective.

The paper specifies the implemented numerical acceptance rule and the conditions for causal operation.

9. What the project makes inspectable

The code and paper expose the system at its boundaries:

  • what each worker optimizes;
  • what each artifact contains;
  • which versions a snapshot selects;
  • what a readout supplies;
  • where an observation is attached;
  • how execution returns to neural processing;
  • how changes affect likelihood and generation.

The experiments also separate storage, addressability, readout, and rendering. Detailed failure analyses and controls are retained in the paper and appendices.

The project’s progression is therefore more than a sequence of model variants:

fixed input coordinates → interacting neural fields → independently constructed external elements → shared neural consumption.

Conclusion

FEM-ASM connects document-state construction, deterministic execution, and contextual neural processing through explicit interfaces.

The Multi-Mesh prototype explores interacting causal fields. The modular core consumes independently prepared memory and execution observations. Positional readout improves the tested interfaces, and selected evidence changes predictions without changing core weights.

The common theme is architectural separation with computational integration.

The released artifacts provide concrete implementations through which that organization can be inspected and extended.

Acknowledgments

Thanks to the contributors to Hugging Face, SmolLM2, SmolLM-Corpus, FineWeb-Edu, and EleutherAI’s Language Model Evaluation Harness.

SmolLM2 supplies tokenizer artifacts and evaluation references. The models described here were trained from scratch rather than initialized from SmolLM2 weights.

Citation

@misc{bochkov2026parametermonolithreconstructivememories,
      title={Beyond the Parameter Monolith: Reconstructive Memories, Executable Skills, and Residual Assembly for Language Models}, 
      author={A. Bochkov},
      year={2026},
      eprint={2610.04012},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2610.04012}, 
}
Related fixed-input research
@article{bochkov2025emergent,
  title   = {Emergent Semantics Beyond Token Embeddings:
             Transformer {LM}s with Frozen Visual Unicode
             Representations},
  author  = {Bochkov, Andrey},
  journal = {Transactions on Machine Learning Research},
  year    = {2025},
  issn    = {2835-8856},
  url     = {https://openreview.net/forum?id=Odh8IynO1o}
}
@misc{bochkov2026languagemodelstrainableinput,
      title={Language Models Without a Trainable Input Embedding Table: Learning from Fixed Minimal Binary Token Codes}, 
      author={A. Bochkov},
      year={2026},
      eprint={2605.09751},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2605.09751}, 
}
@misc{bochkov2026languagemodelsneedtrainable,
      title={Do Language Models Need a Trainable Input Embedding Table? Fixed Minimal Token Codes at 1.7B-Class Scale}, 
      author={A. Bochkov},
      year={2026},
      eprint={2610.04002},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2610.04002}, 
}

Community

Sign up or log in to comment