GW-MoE: Resolving Uncertainty in MoE Router with Global Workspace Theory

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wu, Haoze, Qiu, Zihan, Wang, Zili, Zhao, Hang, Fu, Jie
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917696622297088
author Wu, Haoze
Qiu, Zihan
Wang, Zili
Zhao, Hang
Fu, Jie
author_facet Wu, Haoze
Qiu, Zihan
Wang, Zili
Zhao, Hang
Fu, Jie
contents Mixture-of-Experts (MoE) has been demonstrated as an efficient method to scale up models. By dynamically and sparsely selecting activated experts, MoE can effectively reduce computational costs. Despite the success, we observe that many tokens in the MoE models have uncertain routing results. These tokens have nearly equal scores for choosing each expert, and we demonstrate that this uncertainty can lead to incorrect selections. Inspired by the Global Workspace Theory (GWT), we propose a new fine-tuning method, GW-MoE, to address this issue. The core idea is to broadcast the uncertain tokens across experts during fine-tuning. Therefore, these tokens can acquire the necessary knowledge from any expert during inference and become less sensitive to the choice. GW-MoE does not introduce additional inference overhead. We validate that GW can mitigate the uncertain problem and consistently improve in different tasks (text classification, question answering, summarization, code generation, and mathematical problem solving) and model sizes (650M and 8B parameters).
format Preprint
id arxiv_https___arxiv_org_abs_2406_12375
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle GW-MoE: Resolving Uncertainty in MoE Router with Global Workspace Theory
Wu, Haoze
Qiu, Zihan
Wang, Zili
Zhao, Hang
Fu, Jie
Machine Learning
Artificial Intelligence
Mixture-of-Experts (MoE) has been demonstrated as an efficient method to scale up models. By dynamically and sparsely selecting activated experts, MoE can effectively reduce computational costs. Despite the success, we observe that many tokens in the MoE models have uncertain routing results. These tokens have nearly equal scores for choosing each expert, and we demonstrate that this uncertainty can lead to incorrect selections. Inspired by the Global Workspace Theory (GWT), we propose a new fine-tuning method, GW-MoE, to address this issue. The core idea is to broadcast the uncertain tokens across experts during fine-tuning. Therefore, these tokens can acquire the necessary knowledge from any expert during inference and become less sensitive to the choice. GW-MoE does not introduce additional inference overhead. We validate that GW can mitigate the uncertain problem and consistently improve in different tasks (text classification, question answering, summarization, code generation, and mathematical problem solving) and model sizes (650M and 8B parameters).
title GW-MoE: Resolving Uncertainty in MoE Router with Global Workspace Theory
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2406.12375