On the Vulnerability of Skip Connections to Model Inversion Attacks
Jun Hao Koh, Sy-Tuyen Ho, Ngoc-Bao Nguyen, Ngai-man Cheung
TL;DR
This work investigates how skip connections in DNN architectures influence Model Inversion (MI) attacks, revealing that skip connections notably reinforce MI by enhancing gradient flow during inversion, with the last stage being most impactful. It shows RepVGG's inference-time removal of skips does not mitigate MI vulnerability due to equivalent gradient pathways in training and inference, and introduces MI-resilient architectural designs—Removal of Last Stage Skip-Connection (RoLSS), Skip-Connection Scaling Factor (SSF), and Two-Stage Training Scheme (TTS)—that achieve competitive MI robustness with modest accuracy trade-offs. Across 10 architectures, 4 MI attacks, and multiple private/public dataset settings, these architectural defenses outperform or complement state-of-the-art MI defenses (e.g., BiDO) and generalize to Vision Transformers as demonstrated in supplementary material. The findings establish architectural design as a practical, complementary axis for privacy protection in high-performance models, offering flexible control over the privacy-utility tradeoff and broad applicability to CNNs and ViTs.
Abstract
Skip connections are fundamental architecture designs for modern deep neural networks (DNNs) such as CNNs and ViTs. While they help improve model performance significantly, we identify a vulnerability associated with skip connections to Model Inversion (MI) attacks, a type of privacy attack that aims to reconstruct private training data through abusive exploitation of a model. In this paper, as a pioneer work to understand how DNN architectures affect MI, we study the impact of skip connections on MI. We make the following discoveries: 1) Skip connections reinforce MI attacks and compromise data privacy. 2) Skip connections in the last stage are the most critical to attack. 3) RepVGG, an approach to remove skip connections in the inference-time architectures, could not mitigate the vulnerability to MI attacks. 4) Based on our findings, we propose MI-resilient architecture designs for the first time. Without bells and whistles, we show in extensive experiments that our MI-resilient architectures can outperform state-of-the-art (SOTA) defense methods in MI robustness. Furthermore, our MI-resilient architectures are complementary to existing MI defense methods. Our project is available at https://Pillowkoh.github.io/projects/RoLSS/
