TY - EJOU AU - Li, Jiaying AU - Wang, Xiujuan AU - Han, Shuhan AU - Xu, Liya AU - Wang, Changxing TI - Adversarial Defense Method Based on Dual Mode Pixel Transformation and Multi-Objective Spatial Optimization T2 - Computers, Materials \& Continua PY - VL - IS - SN - 1546-2226 AB - Deep neural networks are widely applied in computer vision tasks but remain highly vulnerable to adversarial attacks. Tiny and imperceptible perturbations can cause severe model misclassification. Most existing defense methods improve robustness but significantly reduce model accuracy on clean examples. To address this issue, we propose a defense framework combining pixel value transformation and spatial transformation. The proposed method divides the input image into two complementary regions. Feature compression is applied to one region to reduce model sensitivity to subtle perturbations. Intense reversible pixel transformation is applied to the other region to disrupt the spatial distribution of the perturbations. Furthermore, a spatial transformation module is introduced to enhance defense capabilities against strong attacks. This module adjusts the spatial structure of the image, increases nonlinear relationships among pixels, and suppresses perturbation transfer effects. A Multiple Objective Particle Swarm Optimization (MOPSO) is employed to adaptively search for optimal transformation parameters, achieving a balance between robustness and accuracy. An inverse transformation mechanism is proposed to restore attacked examples back to a form recognizable to human eyes, which effectively destroys the imperceptible nature of adversarial examples. Experimental results demonstrate that the proposed method successfully resists various adversarial attacks while maintaining high recognition accuracy on clean images. The proposed reversible defense framework demonstrates theoretical universality and scalability, providing an effective new approach for adversarial defense. KW - Adversarial examples; adversarial defense; pixel-wise transformation; model security DO - 10.32604/cmc.2026.082631