English

Buffer Overflow in Mixture of Experts

Cryptography and Security 2024-02-09 v1 Machine Learning

Abstract

Mixture of Experts (MoE) has become a key ingredient for scaling large foundation models while keeping inference costs steady. We show that expert routing strategies that have cross-batch dependencies are vulnerable to attacks. Malicious queries can be sent to a model and can affect a model's output on other benign queries if they are grouped in the same batch. We demonstrate this via a proof-of-concept attack in a toy experimental setting.

Keywords

Cite

@article{arxiv.2402.05526,
  title  = {Buffer Overflow in Mixture of Experts},
  author = {Jamie Hayes and Ilia Shumailov and Itay Yona},
  journal= {arXiv preprint arXiv:2402.05526},
  year   = {2024}
}
R2 v1 2026-06-28T14:42:40.152Z