Buffer Overflow in Mixture of Experts

Jamie Hayes, Ilia Shumailov, Itay Yona

Preprint: not peer reviewed. Results may change in later versions.

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.

Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.

Record

Archive ID
arxiv:2402.05526
Published
Feb 8, 2024
arXiv
2402.05526
Categories
cs.CR, cs.LG
Provenance
arxiv