Share from 0:00
0:00
/

"Stealing User Prompts from Mixture of Experts"

The podcast on this paper is generated with Google's Illuminate.

Nice paper from @GoogleDeepMind

When models share work, they accidentally share your secrets too.

MoE models can leak user prompts through expert routing vulnerabilities in batched processing.

Expert-Choice-Routing and Token dropping in MoE creates a backdoor to steal user inputs

πŸ“š https://arxiv.org/abs/2410.22884

🎯 Original Problem:

Mixture-of-Experts (MoE) models, while efficient for LLMs, have a critical vulnerability in their token routing mechanism that could expose user data when queries are batched together.

-----

πŸ› οΈ Solution in this Paper:

β†’ Introduces "MoE Tiebreak Leakage" attack that exploits Expert-Choice-Routing to leak victim's prompts

β†’ Uses strategic batch crafting to manipulate expert routing and force specific token dropping

β†’ Exploits tie-handling behavior in torch.topk CUDA implementation

β†’ Requires whitebox access to model and ability to control batch placement

β†’ Implements attack in two variants: Oracle Attack (2 queries) and Leakage Attack (iterative extraction)

-----

πŸ’‘ Key Insights:

β†’ Cross-batch dependencies in MoE create exploitable side channels

β†’ Optimization for efficiency can introduce security vulnerabilities

β†’ Token dropping, meant for efficiency, becomes security risk

β†’ Need for rigorous security testing in architectural optimizations

-----

πŸ“Š Results:

β†’ Successfully extracted 996 out of 1000 secret messages

β†’ Recovered 4,833 out of 4,838 total secret tokens

β†’ Requires ~100 queries per token on average

β†’ Works optimally with padding sequence length of 40

β†’ Shows 99.9% success rate using all 8 experts

Discussion about this video

User's avatar

Ready for more?