Official code for "Theoretical Insights in Model Inversion Robustness and Conditional Entropy Maximization for Collaborative Inference Systems" in CVPR 2025.
pip install -r requirements.txt
For convenience, we put the dataset utilized in our experiment in this link. Please put the four folders in the root folder.
1. CIFAR10
2. CIFAR100
3. Facescrub
4. TinyImagenet
Download our trained models: please download our trained models via this link
- Train the classifier and run decoing-based MIA attack (for inference only, please comment the training part)
bash run_exp.sh - Run the GAN-based MIA attack
python run_gan_attack.py
- arch:
vgg11_bn_sgm(this for CIFAR10, 100, and facescrub, bn means batchnorm and sgm means Sigmoid activation) andresnet20(for Tinyimagenet) - cutlayer_list: which layer to split the encoder and decoder;
- AT_regularization: The defense method for split learning;
gan_advfor adversarial training,dropoutfor dropout defense,topkprunefor topkpruning,pruningfor PATROL. For example,gan_adv_step1_pruning180means using adversarial training with PATROL pruning at 180 epochs. - AT_regularization_strength: The weight for the defense method
- dataset_list: dataset for experiment:
cifar10, cifar100, facescrub and Tinyimagenet - regularization:
Gaussianmeans adding the noise corruption mentioned in CEM - regularization_strength_list: the variance of the noise corruption, can be a list like:
"0.01 0.025 0.05 0.1 0.15" - lambd_list: weight for CEM regularization strength (default 8 or 16); 0 without using CEM
- log_entropy: for log optimization in the loss function.
- bottleneck_option_list means adding the bottleneck layer after the encoder
@inproceedings{xia2025theoretical,
title={Theoretical Insights in Model Inversion Robustness and Conditional Entropy Maximization for Collaborative Inference Systems},
author={Xia, Song and Yu, Yi and Yang, Wenhan and Ding, Meiwen and Chen, Zhuo and Duan, Ling-Yu and Kot, Alex C and Jiang, Xudong},
booktitle={Proceedings of the Computer Vision and Pattern Recognition Conference},
pages={8753--8763},
year={2025}
}