# Comparing Transformers and Hybrid Models at the Token Level

*Yanhong Li, Will Merrill*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154270) · [OpenReview](https://openreview.net/forum?id=F41cmFncG0) · [Open on the map](../papers.html#p154270)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Transformer Length and Memory Scaling](../pgroup/429.md) · Type: empirical study · Keywords: transformer models, hybrid language models, token-level analysis, attention vs recurrence, semantic prediction

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Language Model Architectures › Attention Interactions

## Summary
The paper conducts a token-level analysis of hybrid language models (mixing attention and recurrent layers) versus pure transformers, revealing that hybrids excel on open-class content words and semantically conditioned predictions while attention suffices for copying and syntactic tokens.

## Explained to a 5-year-old
Some computer programs read words using a fast look-up method and others also keep a memory of what came before. The researchers compared these two kinds of programs by looking at each tiny piece of text they wrote. They found that the program with both methods was better at understanding important words that carry meaning. It was not as good at simple tasks like copying the same words or handling symbols like brackets. The study helps people decide how to build smarter reading programs in the future.

## Explained to a 5-year-old, longer
Computers can read words using two different ways: one looks at each word quickly, and the other also keeps a memory of what it has seen before. The researchers wanted to know which way works better for different kinds of words. They used two ready-made computer models, one that only uses the quick look-up method and one that mixes it with a memory method. They looked at every tiny piece of text the models wrote, called tokens, and compared how often each got the right answer. The model that mixes both methods was generally better at guessing the right words. However, this advantage only showed up for big, meaningful words that tell us something about the story. Simple words that just connect sentences, like “the” or “and,” were not much different between the two models. When the text had symbols like opening or closing brackets, the models performed similarly, except the hybrid model was a bit worse on closing brackets. If the same word or phrase appeared many times in a row, both models did equally well, and the hybrid’s advantage disappeared. The researchers also saw that the hybrid model helped with understanding the overall meaning of the text, not just the exact words. This information can help engineers build better reading tools for the future.

## For a technical reader
We compared pure transformer models with hybrid models that combine attention and recurrent layers at the token level. Using the open-source Olmo 3 and Olmo Hybrid checkpoints, we measured prediction errors across different token types and found hybrids excel on semantically rich content words while attention handles copying and syntax. The advantage vanished for closed-class words, repeated n-grams, and closing brackets, suggesting attention is key for hierarchical structure. These insights can refine model design and pretraining evaluation.

## Problem
It remains unclear which data or capabilities drive the observed advantages of hybrid models over pure transformers, and to what extent these gains reflect the theoretical benefits such as improved state tracking.

## Method
The authors perform a token-level analysis using the publicly available Olmo 3 and Olmo Hybrid models, comparing predictions of hybrids and pure transformers across open-class and closed-class tokens, brackets, and repeated n-grams to isolate the sources of performance differences.

## Results
Hybrids outperform pure transformers on open-class content words and semantically conditioned tokens, while the advantage disappears for closed-class function words, repeated n-grams, and closing brackets, indicating that attention handles copying and syntax.

## Contributions
The paper provides a token-level dissection of hybrid model advantages, identifying that the gains are concentrated on semantically rich content words and discourse-state representations, and clarifying the role of attention versus recurrent layers in hierarchical processing.

## Practical relevance
These findings can guide the design of more efficient hybrid language models and improve pretraining evaluation protocols.

## Research questions this paper is counted under

- [Which transformer components drive performance on reasoning tasks?](../q/447.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154270)
