AI2 research group adapts language models to process bytes

The Nature paper explains how the method groups bytes and reports better character understanding but weaker coding performance on a single attempt.

The Nature paper explains how the method groups bytes and reports better character understanding but weaker coding performance on a single attempt.
AI2, the research organization behind Bolmo, reports a way to convert an existing language model into one that processes the bytes used to represent text. The underlying paper, published in Nature on 7 October, explains how the conversion preserves much of the starting model’s performance while improving character understanding, with weaker coding results on single attempts.
AI2 calls the method byteifying; the paper calls the process byteification. Earlier byte-level models generally needed expensive training from scratch to compete with models that process word chunks. Byteification instead reuses an already trained model, allowing researchers to build on its existing capabilities.
Most language models first split text into subwords: word chunks selected from a fixed vocabulary. These chunks become the model’s tokens, or units of input and output. AI2 says this approach works well but can make models less flexible with spelling, unusual strings, rare words and text that does not fit those predefined chunks.
Byte-level models instead process the underlying byte sequences that computers use to represent letters, punctuation, symbols and other characters. Bytes are units of digital data, not individual characters. This representation gives the model access to finer details of text without restricting its input to a fixed vocabulary of word chunks.
In Nature’s News & Views commentary published on 7 October, Zhao Zhang and Yingfei Xiong use a familiar example: many language models say “strawberry” contains two letter r’s rather than three. The commentators explain that token-based models cannot access the individual characters inside encoded words, whereas byteified models can read those characters. Their article discusses the research; it is not the underlying research paper.
The converted model groups bytes into patches. Each patch is a continuous sequence of one or more bytes between predicted boundaries, including the byte at the ending boundary. A small input-processing component, called a local encoder, first builds a representation of each byte using nearby context. The model then combines those representations into one per patch for its large central transformer—the main language-processing component.
After the transformer processes the patches, the model expands their representations back to the byte level. A local decoder, the component that prepares the output, uses these representations to predict the next byte. This design lets the central model work with groups of bytes while the input and output components retain access to individual bytes.
During prefill—the initial processing of a supplied prompt—the boundary predictor can look ahead by up to one byte. Earlier byte-level architectures placed boundaries using only the text already processed. The researchers say that restriction creates a mismatch with ordinary subword tokenizers, which can inspect later text when deciding where a word chunk ends. One byte of lookahead was largely enough to match that behaviour in their experiments.
During decoding, when the model generates new text, the next byte is not yet available to inspect. The local decoder therefore predicts both the byte and whether a patch boundary follows it, without looking ahead. The distinction allows the model to use future context in an existing prompt without relying on unavailable future text when generating an answer.
The first training stage keeps the original model’s central transformer frozen, meaning its learned settings are not updated. Training instead changes the new local encoder, local decoder, boundary predictor and output-prediction component. The goal is to reproduce the original subword model’s behaviour. In the second stage, the researchers train the entire model so that it learns to use byte-level information; they can also encourage it to group more bytes into each patch.
The researchers report a total byteification training budget of 49.1 billion tokens, which they describe as less than 1% of a typical pretraining budget. Pretraining is the initial large-scale training that builds a language model’s capabilities. The comparison concerns the additional conversion training, not the total training already invested in the starting model.
AI2 says it introduced Bolmo last December using its open Olmo models. The Nature paper extends the same process to Qwen and Llama, showing that byteification is not limited to Bolmo’s original starting models.
| Starting model | Byte-level model |
|---|---|
| AI2’s OLMo 2 1B | Bolmo 1B |
| AI2’s Olmo 3 7B | Bolmo 7B |
| Qwen3 8B Base | Bwen 8B |
| Llama 3 8B | Blama 8B in the paper; BlamaLlama-B 8B in AI2’s announcement |
AI2 reports that the Qwen and Llama adaptations come close to matching their starting models. It also says Bwen 8B outperforms Bolmo 7B across its combined evaluation tests; the paper attributes that advantage to Bwen’s more capable starting model. These are the researchers’ evaluations, not independently established superiority.
Bolmo 7B, Bwen 8B and Blama 8B received synthetic training data designed to encourage character understanding, which the researchers say helped them acquire that skill faster. To distinguish the effect of the architecture from the effect of the data, the researchers also continued training Olmo 3 7B on the same data mixture. Against that comparison model, Bolmo 7B showed strong gains in character understanding, slight declines in multiple-choice, general question-answering and mathematics tests, and a substantial decline in single-attempt coding performance.
Across the coding evaluations, the byteified models had lower pass@1 but higher pass@16 than their source models under the same text-generation settings. Pass@1 measures success with one generated solution; pass@16 measures whether at least one of 16 generated solutions succeeds. Bolmo also showed strong pass@16 gains against the Olmo model given continued training on the same data.
The authors caution that higher pass@16 does not establish that byte-level models inherently generate more diverse answers. The generation settings or software could affect byte-level and subword models differently. Establishing that claim would require comparing output quality against diversity across settings. The researchers also describe lower energy use and deployment costs as potential benefits, not a reason to treat byteification as universally better.
AI2 says it is releasing the new adaptations and Stage 1 checkpoints on Hugging Face. Checkpoints are saved model states that researchers can use as starting points. The Stage 1 checkpoints preserve the frozen central model while supplying trained byte-level components, which AI2 says gives researchers a faster starting point for testing and extending the design.

The engine is available to Artemis customers and, Kore.ai says, can build agents from operating procedures and revise them after deployment.
2 min

A reply-writing prompt appeared on the forum, which denies using SI to write posts or replies and says the tool involved is meant to suggest titles.

Researchers report more than 3,400 victim servers identified over the campaign, not machines active at the same time.