@inproceedings{
antoniak2024mixture,
title={Mixture of Tokens: Continuous MoE through Cross-Example Aggregation},
author={Szymon Antoniak and Micha{\l} Krutul and Maciej Pi{\'o}ro and Jakub Krajewski and Jan Ludziejewski and Kamil Ciebiera and Krystian Kr{\'o}l and Tomasz Odrzyg{\'o}{\'z}d{\'z} and Marek Cygan and Sebastian Jaszczur},
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
year={2024},
url={https://openreview.net/forum?id=0zFVhMBZHJ}
}
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*.
Mixture of Tokens: Continuous MoE through Cross-Example Aggregation
Szymon Antoniak Michał Krutul Maciej Pióro Jakub Krajewski Jan Ludziejewski Kamil Ciebiera Krystian Król Tomasz Odrzygóźdź Marek Cygan Sebastian Jaszczur