Toward Efficient Inference Attacks: Shadow Model Sharing via Mixture-of-Experts
Abstract
Machine learning models are often vulnerable to inference attacks that expose sensitive information from their training data. Shadow model technique is commonly employed in such attacks, like membership inference. However, the need for a large number of shadow models leads to high computational costs, limiting their practical applicability. Such inefficiency mainly stems from the independent training and use of these shadow models. To address this issue, we present a novel shadow pool training framework SHAPOOL, which constructs multiple shared models and trains them jointly within a single process. In particular, we leverage the Mixture-of-Experts mechanism as the shadow pool to interconnect individual models, enabling them to share some sub-networks and thereby improving efficiency. To ensure the shared models closely resemble independent models and serve as effective substitutes, we introduce three novel modules: path-choice routing, pathway regularization, and pathway alignment. These modules guarantee random data allocation for pathway learning, promote diversity among shared models, and maintain consistency with target models. We evaluate SHAPOOL in the context of various membership inference attacks and show that it significantly reduces the computational cost of shadow model construction while maintaining comparable attack performance.
Cite
Text
Bai et al. "Toward Efficient Inference Attacks: Shadow Model Sharing via Mixture-of-Experts." Advances in Neural Information Processing Systems, 2025.Markdown
[Bai et al. "Toward Efficient Inference Attacks: Shadow Model Sharing via Mixture-of-Experts." Advances in Neural Information Processing Systems, 2025.](https://mlanthology.org/neurips/2025/bai2025neurips-efficient/)BibTeX
@inproceedings{bai2025neurips-efficient,
title = {{Toward Efficient Inference Attacks: Shadow Model Sharing via Mixture-of-Experts}},
author = {Bai, Li and Ye, Qingqing and Zhang, Xinwei and Zhang, Sen and Liang, Zi and Xu, Jianliang and Hu, Haibo},
booktitle = {Advances in Neural Information Processing Systems},
year = {2025},
url = {https://mlanthology.org/neurips/2025/bai2025neurips-efficient/}
}