LM2 Compiling a Language Model into Another Model Weights
Not on the map. Why?
Abstract (arXiv)
Deploying a conversational model and a specialist together could avoid maintaining a separate specialist service. We present LM2, which embeds a trained story generator into a larger conversational model. The larger model handles the conversation and invokes the generator for story requests. We constrain the generator arithmetic during training so its calculations can be compiled directly into added model layers. We compare this approach with QwenPU, which executes the stories260K language model on an embedded processor. LM2 requires one host token per generated character, compared with approximately 25,000 for QwenPU. However, its story generator predicts held out text less well, i.e. 1.145 bits per character versus 0.894 for stories260K, where lower is better. The Qwen3.5, 0.8B implementation occupies 18.1 GB and generates the same characters as a standalone integer implementation of the inner model in the tested runs. These results illustrate a tradeoff between host-token cost and text-prediction performance.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 19 of its 25 references that are in the map. Submitted 22 Nov 2026, announced 24 Nov 2026.
Builds on
19 of 25 references.
References · 19
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,168
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,244
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,231
- 2022In-context Learning and Induction Headscited by 1,085
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 835
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 497
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 337
- 2023Looped Transformers as Programmable Computerscited by 283
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 269
- 2023BitNet: Scaling 1-bit Transformers for Large Language Modelscited by 206
7 more
- 2021Thinking Like Transformerscited by 201
- 2024Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokenscited by 172
- 2014A* Samplingcited by 165
- 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 125
- 2016Improving Neural Language Models with a Continuous Cachecited by 89
- 2022Deep Differentiable Logic Gate Networkscited by 73
- 2023Learning Transformer Programscited by 48
Built on by
Not cited yet.