GraphRectify: Graph-Based Transfer of Adversarial Example Detectors Across Neural Networks
This study addresses the limited cross-model reusability of existing adversarial example detectors caused by their dependence on specific classification backbones. We propose a graph-based universal detection framework that leverages graph neural networks to transform intermediate-layer features into structured representations. By introducing a cross-backbone representation alignment technique, our approach overcomes the bottleneck of ineffective transfer of detection knowledge across heterogeneous architectures, enabling direct detector reuse without training from scratch. Extensive evaluations across multiple datasets and adaptive attack scenarios demonstrate that the proposed method achieves significantly superior aggregated ROC-AUC compared to both from-scratch training and existing transfer baselines. This work establishes a novel paradigm for constructing plug-and-play, highly generalizable adversarial defense systems.