Mixture of Tokens: Continuous MoE through Cross-Example Aggregation

Szymon Antoniak, Michal Krutul, Maciej Pi'oro, Jakub Krajewski, Jan Ludziejewski +5 more
2/12/2026

Official code: llm-random/llm-random (212 stars, Apache-2.0, last commit 2026-01-14).

Abstract

Mixture of Experts (MoE) models based on Transformer architecture are pushing the boundaries of language and vision tasks. The allure of these models lies in their ability to substantially increase the parameter count without a corresponding increase in FLOPs. Most widely adopted MoE models are discontinuous with respect to their parameters - often referred to as sparse. At the same time, existing continuous MoE designs either lag behind their sparse counterparts or are incompatible with autoregressive decoding. Motivated by the observation that the adaptation of fully continuous methods has been an overarching trend in deep learning, we develop Mixture of Tokens (MoT), a simple, continuous architecture that is capable of scaling the number of parameters similarly to sparse MoE models. Unlike conventional methods, MoT assigns mixtures of tokens from different examples to each expert. This architecture is fully compatible with autoregressive training and generation. Our best models not only achieve a 3x increase in training speed over dense Transformer models in language pretraining but also match the performance of state-of-the-art MoE architectures. Additionally, a close connection between MoT and MoE is demonstrated through a novel technique we call transition tuning.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
21222Shell, PythonJan 17, 20229 months agoApache-2.0

Similar Papers

Cite this paper

@article{antoniak2026mixture,
  title  = {Mixture of Tokens: Continuous MoE through Cross-Example Aggregation},
  author = {Szymon Antoniak and Michal Krutul and Maciej Pi'oro and Jakub Krajewski and Jan Ludziejewski and Kamil Ciebiera and Krystian Kr'ol and Tomasz Odrzyg'o'zd'z and Marek Cygan and Sebastian Jaszczur},
  year   = {2026},
  eprint = {2310.15961},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.15961},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.15961.svg)](https://codeofpaper.com/paper/2310.15961)

Discussion