Model arithmetic composes language models at inference without retraining
ETH researchers describe an inference framework that combines and biases large language models through formulas, claiming finer control than prompting and prior controlled generation methods.
In plain words
A research team presents a way to steer what a language model produces by combining models mathematically at inference time, the stage when a model generates text. This avoids retraining and lets existing control techniques be written as simple formulas and extended.
What was announced
The paper, an arXiv abstract, introduces model arithmetic as a framework for composing and biasing large language models to customize vocabulary, style, and character without model retraining or highly specific datasets. The authors state it gives more precise control over generated text than direct prompting and prior controlled text generation techniques, which can be expressed within it as simple formulas and extended to new formulations.
On efficiency, the authors report that speculative sampling, an existing method for faster model sampling, carries over to their setting, so generation with multiple composed models adds only marginal overhead compared with a single model. Their empirical evaluation claims fine-grained control while outperforming the state of the art on toxicity reduction, and an open source implementation is available on GitHub.
What it does not show
- Evidence is limited to the paper's abstract, so the evaluation methods, baselines, and full results behind the performance claims cannot be checked from this excerpt.
- The toxicity-reduction comparison and efficiency figures are the authors' own reported results and are not independently confirmed here.
For security and IT teams
- Access
- The authors have released an open source implementation of the framework on GitHub.
Sources
Source-support review completed 30 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 30 Nov 2026
New to the subject? AI from the Ground Up starts from the beginning.