arXiv:2610.08590cs.CROct 2026

Manuscript Offprint

arXiv:2610.08590

TwinViT-DeepJSCC: Adversarially Robust Semantic Image Communication

Maedeh Fallahreyhani, Paeiz Azmi, Nader Mokari, M. Reza Abedi, Melike Erol-Kantarci, Eduard A. Jorswieck

Maedeh Fallahreyhani, Student Member, IEEE, Paeiz Azmi, Senior Member, IEEE, Nader Mokari, Senior Member, IEEE, M. Reza Abedi, Member, IEEE, Melike Erol-Kantarci, Fellow, IEEE, and Eduard A. Jorswieck, Fellow, IEEE

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

Abstract—Learning-based semantic communication is vulnerable to adversarial perturbations introduced before semantic encoding or over wireless channels. This paper proposes TwinViT-DeepJSCC, a preventive-corrective semantic image transceiver operating under a fixed channel-use budget. Two Vision Transformer (ViT)-based deep joint source-channel coding (DeepJSCC) branches learn complementary latent representations protected by sensitivity-aware masking. At the receiver, confidence-aware fusion, blind corruption-severity estimation, and signal-to-noise ratio (SNR)-severity-conditioned denoising diffusion implicit model (DDIM) purification mitigate residual corruption without requiring attack metadata. Experiments on the Canadian Institute for Advanced Research 100-class (CIFAR-100) dataset consider fast gradient sign method (FGSM), projected gradient descent (PGD), natural evolution strategies (NES), and Carlini-Wagner (CW) source-domain attacks, as well as random jamming and channel-aware adversarial waveforms over additive white Gaussian noise (AWGN) and block-flat Rayleigh fading. Under matched channel-use and attack budgets, TwinViT-DeepJSCC achieves maximum peak signal-to-noise ratio (PSNR) gains of approximately 9.5 dB under 20-step PGD and 10.8 dB under channel-aware waveform attacks over block-flat Rayleigh fading. Under PGD, it also improves Top-1 accuracy by up to approximately 38 percentage points over the undefended baseline and 13 percentage points over the strongest competing defense. Ablation results confirm the complementary contributions of the proposed transmitter- and receiver-side mechanisms.

Index Terms—Semantic communications, DeepJSCC, Vision Transformer, adversarial robustness, latent-space protection, diffusion purification.

I. INTRODUCTION

Semantic communication shifts the communication objective from exact bit recovery toward reliable delivery of task-relevant meaning [1]-[4]. Realizing this objective is challenging with conventional communication architectures because task-relevant semantic features, source statistics, channel conditions, and downstream inference objectives are generally coupled in a highly nonlinear manner. This motivates learning-based transceivers that can jointly optimize semantic representation, channel mapping, and reconstruction according to the end-to-end communication objective. Deep joint source-channel coding (DeepJSCC) realizes this paradigm through end-to-end learning of source representation, compression, channel protection, and reconstruction, thereby providing graceful degradation under bandwidth constraints, channel mismatch, and low signal-to-noise ratio (SNR) conditions [5], [7], [8]. Recent extensions based on attention mechanisms, Transformers, orthogonal frequency-division multiplexing (OFDM), and multiple-input multiple-output (MIMO) transmission have further improved rate-distortion performance and channel adaptation [9]-[13]; task-oriented DeepJSCC has also been developed to jointly support image recovery and classification [38]. However, robustness to stochastic channel impairments does not necessarily imply robustness to deliberately optimized adversarial perturbations.

Learning-based semantic transceivers are vulnerable to source-domain perturbations introduced before semantic encoding and channel-domain attacks that manipulate transmitted latent symbols or receiver observations [14]–[16]. This work focuses on active integrity attacks that alter the semantic information delivered to the legitimate receiver; confidentiality-, privacy-, model-inversion-, and poisoning-oriented threats are outside its scope. Here, semantic robustness denotes preservation of both reconstruction fidelity and downstream task performance under bounded adversarial perturbations, stochastic channel impairments, and an unchanged total channel-use budget. Since high pixel fidelity does not necessarily preserve class-discriminative information, robustness is assessed using both peak signal-to-noise ratio (PSNR) and Top-1 classification accuracy.

Existing defenses protect semantic links through robust latent coding and feature selection [17], [18], adversarial training [19], [20], or receiver-side filtering, ensembling, and diffusion purification [21]–[23]. However, these methods typically address a specific attack surface or defense location and do not jointly combine transmitter-side latent protection, reliability-aware fusion, blind corruption-severity estimation, and adaptive purification under a fixed channel-use budget. Moreover, inherent robustness to stochastic channel noise should be distinguished from explicit protection against adaptive adversarial attacks [24].

M. Fallahreyhani, P. Azmi, N. Mokari, and M. R. Abedi are with the Department of Electrical Engineering, Tarbiat Modares University, Tehran, Iran (e-mail: m.fallahreyhani@modares.ac.ir; pazmi@modares.ac.ir; nader.mokari@modares.ac.ir; mohammadreza_abedi@modares.ac.ir).

M. Erol-Kantarci is with the School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, Canada (e-mail: merolka2@uottawa.ca).

E. A. Jorswieck is with the Institute for Communications Technology, Technische Universität Braunschweig, Braunschweig, Germany (e-mail: e.jorswieck@tu-braunschweig.de).

Motivated by these limitations, we propose TwinViT-

DeepJSCC, a preventive-corrective framework for adversarially robust semantic image communication. Under a fixed aggregate channel-use budget, two Vision Transformer (ViT)-based DeepJSCC branches learn aligned yet redundancy-reduced latent representations, while sample-adaptive masking suppresses adversarially sensitive components before transmission without requiring attack information at inference. At the receiver, confidence-aware fusion combines the equalized branch observations, and a calibrated blind estimator predicts corruption severity from receiver-observable interbranch discrepancy, fusion uncertainty, and channel SNR. The estimated severity and SNR then control the starting depth of conditional denoising diffusion implicit model (DDIM) purification, enabling stronger correction for severe corruption while avoiding unnecessarily deep denoising under benign or mild conditions.

The main contributions of this work are summarized as follows:

• We formulate a unified source–channel adversarial setting for semantic image communication and develop a preventive–corrective transceiver that protects both transmitted latent representations and reconstructed semantic content under a fixed total channel-use budget.

• We introduce twin ViT-based DeepJSCC branches with semantic-alignment and redundancy-reduction objectives, together with sample-adaptive masking that suppresses adversarially sensitive latent components without requiring attack information or gradients at inference.

• We design an attack-agnostic receiver comprising confidence-aware fusion, calibrated blind corruption-severity estimation, and SNR–severity-conditioned DDIM purification with an adaptive denoising depth.

• We evaluate reconstruction and task-level robustness on the Canadian Institute for Advanced Research 100-class (CIFAR-100) dataset under fast gradient sign method (FGSM), projected gradient descent (PGD), natural evolution strategies (NES), and Carlini–Wagner (CW) source-domain attacks, random and channel-aware interference, additive white Gaussian noise (AWGN), block-flat Rayleigh fading, and multiple perturbation budgets. Module-level and architectural ablations quantify the contributions of the proposed components.

The remainder of this paper is organized as follows. Section II reviews related work, Section III presents the system and threat models, Section IV details TwinViT-DeepJSCC, Section V reports the numerical results, and Section VI concludes the paper.

References (42)