Partner: K. Król


Prace konferencyjne
1.Ludziejewski J., Krajewski J., Adamczewski K., Pióro M., Krutul M., Antoniak S., Ciebiera K., Król K., Odrzygoźdź T., Sankowski P., Cygan M., Jaszczur S., Scaling Laws for Fine-Grained Mixture of Experts, ICML, The Forty-First International Conference on Machine Learning, 2024-07-21/07-27, Wiedeń (AT), pp.33270-33288, 2024

Streszczenie:

Mixture of Experts (MoE) models have emerged as a primary solution for reducing the computational cost of Large Language Models. In this work, we analyze their scaling properties, highlighting certain arbitrary assumptions present in the existing literature. In particular, we introduce a new hyperparameter, granularity, the modification of which allows for the optimal adjustment of the size of experts. Subsequently, we present scaling laws for fine-grained MoE, taking into account the number of training tokens, model size, and granularity. Using these scaling laws, we derive the optimal training configuration for a given computational budget. Furthermore, in contrast with previous works, we demonstrate that the gap in efficiency between dense and MoE models grows as we scale up the model size and training budget.

Afiliacje autorów:

Ludziejewski J.-other affiliation
Krajewski J.-other affiliation
Adamczewski K.-other affiliation
Pióro M.-IPPT PAN
Krutul M.-other affiliation
Antoniak S.-other affiliation
Ciebiera K.-other affiliation
Król K.-other affiliation
Odrzygoźdź T.-other affiliation
Sankowski P.-other affiliation
Cygan M.-other affiliation
Jaszczur S.-other affiliation
2.Antoniak S., Krutul M., Pióro M., Krajewski J., Ludziejewski J., Ciebiera K., Król K., Odrzygóźdź T., Cygan M., Jaszczur S., Mixture of Tokens: Continuous MoE through Cross-Example Aggregation, NeurIPS, The Thirty-Eighth Annual Conference on Neural Information Processing Systems, 2024-12-10/12-15, Vancouver (CA), pp.1, 2024

Streszczenie:

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 3× 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.

Afiliacje autorów:

Antoniak S.-other affiliation
Krutul M.-other affiliation
Pióro M.-IPPT PAN
Krajewski J.-other affiliation
Ludziejewski J.-other affiliation
Ciebiera K.-other affiliation
Król K.-other affiliation
Odrzygóźdź T.-other affiliation
Cygan M.-other affiliation
Jaszczur S.-other affiliation
3.Pióro M., Ciebiera K., Król K., Ludziejewski J., Krutul M., Krajewski J., Antoniak S., Miłoś P., Cygan M., Jaszczur S., MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts, Next Generation of Sequence Modeling Architectures Workshop at International Conference on Machine Learning 2024, 2024-07-26/07-26, Wiedeń (AT), pp.1-4, 2024

Streszczenie:

State Space Models (SSMs) have become serious contenders in the field of sequential modeling, challenging the dominance of Transformers. At the same time, Mixture of Experts (MoE) has significantly improved Transformer-based Large Language Models, including recent state-of-the-art open models. We propose that to unlock the potential of SSMs for scaling, they should be combined with MoE. We showcase this on Mamba, a recent SSM-based model that achieves remarkable performance. Our model, MoE-Mamba, outperforms Mamba and matches the performance of Transformer-MoE. In particular, MoE-Mamba reaches the same performance as Mamba in 2.35x fewer training steps while preserving the inference performance gains of Mamba against Transformer.

Afiliacje autorów:

Pióro M.-IPPT PAN
Ciebiera K.-other affiliation
Król K.-other affiliation
Ludziejewski J.-other affiliation
Krutul M.-other affiliation
Krajewski J.-other affiliation
Antoniak S.-other affiliation
Miłoś P.-other affiliation
Cygan M.-other affiliation
Jaszczur S.-other affiliation