Which tokens does a hybrid model predict better?
- company Stripe
- lab Olmo
- model Claude Sonnet
- model GPT-4o
- model Gemini 2.5 Pro
- model Olmo 3
- model Olmo Hybrid
- person Sam Altman
A new analysis from the Allen Institute for AI finds that hybrid language models outperform standard transformers most clearly on content-rich tokens such as nouns, verbs, and adjectives, while the advantage nearly vanishes on tokens that repeat earlier input verbatim. The findings, published on the Hugging Face blog, draw on head-to-head comparisons between the institute’s 7B-parameter Olmo 3 transformer and its Olmo Hybrid counterpart [1]. Because the two models share the same data, tokenizer, and training recipe, the researchers attribute performance differences primarily to architecture [1]. Large language models are typically built on transformer architectures that use attention mechanisms to weigh every earlier token when making a prediction [2]. Attention excels at recalling specific tokens from far back in a sequence but struggles to track information that evolves sequentially [1]. Hybrid models retain a few attention layers and replace the rest with recurrent layers, which process tokens left to right and maintain a compressed, fixed-size memory [1]. That design keeps computational cost flat as input length grows and is well-suited to maintaining a running account of changing context [1]. The team scored both models on how well they predicted each token in passages drawn from articles, books, scientific papers, and structured text such as Python and HTML [1]. They then computed a loss gap—the difference in prediction error between the two models—for every token. A positive gap indicates the hybrid predicted the real next token better; a negative gap favors the transformer [1]. Across prose, the hybrid’s advantage was largest on content words. The loss gap on meaning-bearing nouns, verbs, and adjectives measured around 0.5, compared with roughly 0.1 on function words like “the” and “of” [1]. The pattern held especially for adverbs and adjectives, while some function-word categories, such as existential constructions, also showed a notable hybrid advantage [1]. By contrast, the hybrid’s edge all but disappeared in two specific contexts. The first was closing braces in code and markup, where attention alone can handle bracket matching [1]. The second was tokens that complete a repeated n-gram—a word or phrase that appeared verbatim earlier in the passage. The longer the repeated run, the smaller the hybrid’s lead, until it approached zero [1]. The researchers extended their analysis to three 1B-parameter models—a transformer, a hybrid, and a pure recurrent model with no attention—and found that filtered token losses revealed architectural differences early in training that a single overall loss obscured [1]. On meaning-bearing tokens that were not repeats, both the hybrid and the pure recurrent model overtook the transformer, with the hybrid performing best. On repeated tokens, the pure recurrent model fell behind both the hybrid and the transformer [1]. The work suggests that evaluating models on targeted token categories, rather than on aggregate loss alone, can surface key architectural strengths and weaknesses [1]. The institute said it is incorporating the findings into its ongoing hybrid-modeling efforts [1].
research-paperapplicationmodel-release
Background sources we checked (9)
- en.wikipedia.org ↗ A large language model (LLM) is a neural network trained on a vast amount of text for natural language processing tasks, especially language generation. LLMs can typically generate, summarize, translate, and analyze text in many contexts, and are a foundational technology behind …
- en.wikipedia.org ↗ A world model in artificial intelligence is a machine learning system that builds an internal representation of an environment. The model predicts how that environment changes over time in response to actions. Researchers design world models to help agents plan, reason, and act w…
- en.wikipedia.org ↗ Hangzhou DeepSeek Artificial Intelligence Basic Technology Research Co., Ltd., doing business as DeepSeek, is a Chinese artificial intelligence (AI) company that develops large language models (LLMs). Based in Hangzhou, Zhejiang, DeepSeek is owned and funded by High-Flyer, a Chin…
- en.wikipedia.org ↗ Lustre is a type of parallel distributed file system, generally used for large-scale cluster computing. The name Lustre is a portmanteau word derived from Linux and cluster. Lustre file system software is available under the GNU General Public License (version 2 only) and provide…
- en.wikipedia.org ↗ The ZX81 is a home computer developed by Sinclair Research and manufactured in Dundee, Scotland, by Timex Corporation. It was launched in the United Kingdom in March 1981 as the successor to Sinclair's ZX80 and designed to be a low-cost introduction to home computing for the gene…
- en.wikipedia.org ↗ The Beatles were an English rock band formed in Liverpool in 1960. The band comprised John Lennon, Paul McCartney, George Harrison and Ringo Starr. They are regarded as the most influential band in popular music and were integral to the development of 1960s counterculture and the…
- en.wikipedia.org ↗ Over 7,500 cultivars of the culinary or eating apple (Malus domestica) are known. Some are extremely important economically as commercial products, though the vast majority are not suitable for mass production. In the following list, use for "eating" means that the fruit is consu…
- en.wikipedia.org ↗ Hill Street Blues is an American serial police drama that aired on NBC in primetime from 1981 to 1987 for a total of 146 episodes. The show chronicled the lives of the staff of a single police station located on the fictional Hill Street, in an unnamed large city, with "blues" be…
- en.wikipedia.org ↗ The 2025–26 Futbol Club Barcelona season was the club's 126th season in existence and their 95th consecutive season in the top flight. In addition to the domestic league, Barcelona participated in this season's editions of the UEFA Champions League (entering for the 22nd consecut…
Sources
- huggingface.co — Which tokens does a hybrid model predict better? ↗