Learning More Generalized Experts by Merging Experts in Mixture-of-Experts

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteur principal: Park, Sejik
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917670440402944
author Park, Sejik
author_facet Park, Sejik
contents We observe that incorporating a shared layer in a mixture-of-experts can lead to performance degradation. This leads us to hypothesize that learning shared features poses challenges in deep learning, potentially caused by the same feature being learned as various different features. To address this issue, we track each expert's usage frequency and merge the two most frequently selected experts. We then update the least frequently selected expert using the combination of experts. This approach, combined with the subsequent learning of the router's expert selection, allows the model to determine if the most frequently selected experts have learned the same feature differently. If they have, the combined expert can be further trained to learn a more general feature. Consequently, our algorithm enhances transfer learning and mitigates catastrophic forgetting when applied to multi-domain task incremental learning.
format Preprint
id arxiv_https___arxiv_org_abs_2405_11530
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Learning More Generalized Experts by Merging Experts in Mixture-of-Experts
Park, Sejik
Machine Learning
We observe that incorporating a shared layer in a mixture-of-experts can lead to performance degradation. This leads us to hypothesize that learning shared features poses challenges in deep learning, potentially caused by the same feature being learned as various different features. To address this issue, we track each expert's usage frequency and merge the two most frequently selected experts. We then update the least frequently selected expert using the combination of experts. This approach, combined with the subsequent learning of the router's expert selection, allows the model to determine if the most frequently selected experts have learned the same feature differently. If they have, the combined expert can be further trained to learn a more general feature. Consequently, our algorithm enhances transfer learning and mitigates catastrophic forgetting when applied to multi-domain task incremental learning.
title Learning More Generalized Experts by Merging Experts in Mixture-of-Experts
topic Machine Learning
url https://arxiv.org/abs/2405.11530