Autonomy-of-Experts Models

Ang Lv, Ruobing Xie, Yining Qian, Songhao Wu, Xingwu Sun, Zhanhui Kang, Di Wang, Rui Yan · OpenReview

TL;DR

This paper introduces Autonomy-of-Experts (AoE), a novel Mixture-of-Experts (MoE) model architecture that allows experts to autonomously decide whether to process an input, addressing the critical separation between router decision-making and expert execution in traditional MoE. AoE achieves comparable efficiency and improved downstream performance by enabling experts to self-evaluate their capabilities based on internal activation norms.

What Problem Does This Paper Address?

Mixture-of-Experts (MoE) models have become a popular choice for scaling large language models (LLMs) due to their efficiency and ability to combine diverse expert knowledge. However, a fundamental challenge in MoE lies in the separation between the "router" (which decides which experts process an input) and the "experts" themselves. The router makes its decision without direct knowledge of an expert's true capabilities for a given input. This can lead to suboptimal expert selection, where an expert might be chosen for a task it's ill-suited for, resulting in increased training loss and wasted training steps as the model tries to compensate. The authors argue this separation is a critical, overlooked issue hindering effective MoE training and performance.

Methods

The core innovation is the Autonomy-of-Experts (AoE) paradigm. Instead of a router, AoE enables each expert to pre-compute its internal activations for an input. These experts are then ranked based on the norm of their activations. Only the top-ranked experts proceed with the forward pass, while others "abort" processing. This self-evaluation mechanism aims to ensure that experts best equipped to handle the input are selected.

To maintain efficiency, AoE employs a low-rank weight factorization for the expert's weights. Specifically, the weight matrix $W_g$ is decomposed into two low-rank matrices, $W_{down}$ and $W_{up}$. This compresses the input into a low-dimensional activation cache ($C$), reducing memory usage and computational overhead for unselected experts. The authors also explore using an auxiliary loss ($L_{aux}$) to further encourage balanced expert load, similar to some traditional MoE approaches.

Datasets

The paper uses standard benchmarks for evaluation, including:

  • MMLU (5-shot)
  • ARC-E (5-shot)
  • PIQA
  • SIQA
  • WINO
  • HELLA
  • MNLI
  • QNLI
  • SST2

For training, they mention using 100 billion tokens from RedPajama (Computer, 2023) for smaller models and a similar scale for larger models.

Key Insights and Ideas

  • Experts "Know" What They Know: The central hypothesis is that an expert's internal activation scale reflects its ability to process a given token. This insight, inspired by prior work on transformer feed-forward layers as key-value memories, is the foundation of AoE.
  • Self-Selection is More Effective: By allowing experts to self-select based on their internal activation norms, AoE achieves better expert selection than a router that lacks this direct insight.
  • Reduced Router Overhead: Eliminating the router simplifies the architecture and removes a potential bottleneck.
  • Efficiency Through Low-Rank Factorization: The proposed weight factorization is crucial for making the self-selection mechanism computationally feasible, preventing excessive memory and computation costs.
  • AoE Naturally Balances Load: While an auxiliary loss can further improve load balancing, AoE models tend to exhibit more balanced expert loads even without it, especially in complex scenarios.
  • Confidence in Selection: AoE models show stronger confidence in their expert selections, with confidence increasing from shallow to deep layers, suggesting a more intuitive inductive bias.

Key Results

  • Performance Improvement: AoE models consistently outperform traditional MoE models across various benchmarks, achieving up to 97% of the throughput of traditional MoE models while delivering superior downstream performance. For 4B parameter models, AoE shows a notable improvement in average accuracy.
  • Efficiency: AoE achieves comparable efficiency to traditional MoE, with throughput reductions of only a few percent. The memory overhead is a trade-off that can be managed by tuning parameters like $d_{low}$.
  • Load Balancing: AoE models exhibit more balanced load distributions compared to traditional MoE, especially when using the auxiliary loss.
  • Expert Specialization: Preliminary toy experiments suggest that AoE fosters more specialized experts, unlike traditional MoE where expertise can be more distributed.
  • Robustness: AoE demonstrates generality across different expert-selection strategies (e.g., Top-P, expert-choice).

Limitations and Future Work

  • Parameter Tuning: The efficiency of AoE is influenced by the choice of $d_{low}$ and $d_{wide}$, requiring careful tuning to balance performance and computational cost. The optimal $d_{low}$ was found to be around one-third of $d_{model}$.
  • Efficiency Optimization: The authors acknowledge that they are actively working on further optimizing AoE's efficiency, particularly as the number of experts increases and sparsity decreases.
  • Pre-trained Model Adaptation: While preliminary experiments showed promising results by simply removing routers from pre-trained MoE models, the main contribution focuses on training AoE models from scratch.
  • Future Work: The authors aim to inspire the community to develop more powerful MoE-like models, suggesting that AoE is a promising direction for advancing MoE-based LLMs. They also mention ongoing work on further optimizing efficiency.

Summary updated

BibTeX
@inproceedings{lv2025autonomy,
  author = {Ang Lv and Ruobing Xie and Yining Qian and Songhao Wu and Xingwu Sun and Zhanhui Kang and Di Wang and Rui Yan},
  title = {{Autonomy-of-Experts Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=8BIDrYWCeg},
}
Figure