Safety and Performance, Why not Both? Bi-Objective Optimized Model Compression toward AI Software Deployment
Not on the map. Why?
Abstract (arXiv)
The size of deep learning models in artificial intelligence (AI) software is increasing rapidly, which hinders the large-scale deployment on resource-restricted devices (e.g., smartphones). To mitigate this issue, AI software compression plays a crucial role, which aims to compress model size while keeping high performance. However, the intrinsic defects in the big model may be inherited by the compressed one. Such defects may be easily leveraged by attackers, since the compressed models are usually deployed in a large number of devices without adequate protection. In this paper, we try to address the safe model compression problem from a safety-performance co-optimization perspective. Specifically, inspired by the test-driven development (TDD) paradigm in software engineering, we propose a test-driven sparse training framework called SafeCompress. By simulating the attack mechanism as the safety test, SafeCompress can automatically compress a big model to a small one following the dynamic sparse training paradigm. Further, considering a representative attack, i.e., membership inference attack (MIA), we develop a concrete safe model compression mechanism, called MIA-SafeCompress. Extensive experiments are conducted to evaluate MIA-SafeCompress on five datasets for both computer vision and natural language processing tasks. The results verify the effectiveness and generalization of our method. We also discuss how to adapt SafeCompress to other attacks besides MIA, demonstrating the flexibility of SafeCompress.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 42 of its 70 references that are in the map. First posted on arXiv 11 Aug 2022.
Builds on
42 of 70 references.
References · 42
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016Deep Learning with Differential Privacycited by 2,728
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
30 more
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
- 2021Scaling Vision with Sparse Mixture of Expertscited by 747
- 2017Learning Efficient Convolutional Networks through Network Slimmingcited by 676
- 2019Rigging the Lottery: Making All Tickets Winnerscited by 495
- 2013Do Deep Nets Really Need to be Deep?cited by 474
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 464
- 2017Scalable Training of Artificial Neural Networks with Adaptive Sparse Connectivity inspired by Network Sciencecited by 328
- 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 292
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 271
- 2019Sparse Networks from Scratch: Faster Training without Losing Performancecited by 213
- 2016Ternary Weight Networkscited by 204
- 2019MemGuard: Defending against Black-Box Membership Inference Attacks via Adversarial Examplescited by 197
- 2019Parameter Efficient Training of Deep Convolutional Neural Networks by Dynamic Sparse Reparameterizationcited by 189
- 2018Machine Learning with Membership Privacy using Adversarial Regularizationcited by 186
- 2021Chasing Sparsity in Vision Transformers: An End-to-End Explorationcited by 183
- 2015Compressing Neural Networks with the Hashing Trickcited by 150
- 2021Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Trainingcited by 110
- 2021ML-Doctor: Holistic Risk Assessment of Inference Attacks Against Machine Learning Modelscited by 85
- 2021Top-KAST: Top-K Always Sparse Trainingcited by 79
- 2017NeST: A Neural Network Synthesis Tool Based on a Grow-and-Prune Paradigmcited by 60
- 2019Sparse evolutionary Deep Learning with over one million artificial neurons on commodity hardwarecited by 48
- 2020Sparse Weight Activation Trainingcited by 45
- 2022Membership Inference Attacks and Defenses in Neural Network Pruningcited by 45
- 2020Against Membership Inference Attack: Pruning is All You Needcited by 32
- 2017Moonshine: Distilling with Cheap Convolutionscited by 25
- 2021Maximum Entropy on Erroneous Predictions (MEEP): Improving model calibration for medical image segmentationcited by 13
Built on by
Citing papers per year: 2024: 4; 2025: 4.
8 papers.
- 2024MoLE: Enhancing Human-centric Text-to-image Diffusion via Mixture of Low-rank Expertscited by 15
- 2024A Unified Membership Inference Method for Visual Self-supervised Encoder via Part-aware Capabilitycited by 9
- 2024Safety and Performance, Why Not Both? Bi-Objective Optimized Model Compression against Heterogeneous Attacks Toward AI Software Deploymentcited by 4
- 2025Auditing Data Provenance in Real-world Text-to-Image Diffusion Models for Privacy and Copyright Protectioncited by 2
- 2025A Unified and Scalable Membership Inference Method for Visual Self-supervised Encoder via Part-aware Capabilitycited by 1
- 2025A Metamorphic Testing Perspective on Knowledge Distillation for Language Models of Code: Does the Student Deeply Mimic the Teacher?cited by 1
- 2024Efficient DNN-Powered Software with Fair Sparse Modelscited by 0
- 2025Optimizing Deep Neural Networks using Safety-Guided Self Compressioncited by 0
- 2025A Metamorphic Testing Perspective on Knowledge Distillation for Language Models of Code: Does the Student Deeply Mimic the Teacher?7 Nov 2025
- 2025Auditing Data Provenance in Real-world Text-to-Image Diffusion Models for Privacy and Copyright Protection13 Jun 2025
- 2025A Unified and Scalable Membership Inference Method for Visual Self-supervised Encoder via Part-aware Capability15 May 2025
- 2025Optimizing Deep Neural Networks using Safety-Guided Self Compression1 May 2025
- 2024MoLE: Enhancing Human-centric Text-to-image Diffusion via Mixture of Low-rank Experts30 Oct 2024
- 2024Efficient DNN-Powered Software with Fair Sparse Models3 Jul 2024
- 2024A Unified Membership Inference Method for Visual Self-supervised Encoder via Part-aware Capability3 Apr 2024
- 2024Safety and Performance, Why Not Both? Bi-Objective Optimized Model Compression against Heterogeneous Attacks Toward AI Software Deployment2 Jan 2024
Similar, not cited
Close in wording, no citation either way
- 2021Stealthy Backdoors as Compression Artifacts
- 2025CompLeak: Deep Learning Model Compression Exacerbates Privacy Leakage
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networks
- 2025Two is Better than One: Efficient Ensemble Defense for Robust and Compact Models
- 2026Small models, big threats: Characterizing safety challenges from low-compute AI models
- 2025When Compression Becomes an Attack Surface: Black-Box Attacks on Prompt-Compressed LLM Agents
- 2025Evaluating the Impact of Compression Techniques on the Robustness of CNNs under Natural Corruptions
- 2024Quantized Delta Weight Is Safety Keeper