NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Joint Source-Channel and Encryption Coding: Secure Semantic Communications

Tze-Yang Tung, Deniz Gündüz

TL;DR

DeepJSCEC is the first deep-learning-based joint source-channel coding (JSCC) scheme that integrates robust encryption to protect wireless transmissions from eavesdroppers. By leveraging the "Learning With Errors" (LWE) cryptographic problem, it provides high-level security (IND-CPA) while maintaining the superior image quality and "graceful degradation" that makes deep JSCC attractive for modern wireless systems.

What Problem Does This Paper Address?

In traditional wireless communication, we separate source coding (compression) from channel coding (error correction). While this is theoretically optimal for infinite data, practical systems often use Deep Joint Source-Channel Coding (DeepJSCC), which maps source data directly to channel symbols. This approach is more efficient for short data bursts and avoids the "cliff effect"—the sudden, total loss of signal when channel conditions drop below a certain threshold.

However, DeepJSCC has a major security flaw: because it maps pixels directly to channel symbols, the transmitted signal is highly correlated with the original image. An eavesdropper (Eve) can easily intercept and reconstruct the image. Traditional encryption like AES can't be applied directly because it requires a bitstream, which would break the "analog-like" robustness of JSCC. This paper introduces DeepJSCEC to bridge the gap between high-performance semantic communication and cryptographic security.

Methods

The authors propose an end-to-end architecture consisting of a non-linear encoder, a quantization layer, an encryption module, and a non-linear decoder.

  • LWE-based Encryption: The core innovation is using the Learning With Errors (LWE) problem—a foundation of post-quantum cryptography. The quantized latent representation of the image is encrypted using a public key. This process adds "structured noise" to the data.
  • Joint Optimization: The neural network is trained to treat both the encryption-induced noise and the physical channel noise (AWGN) as a single compound noise source. This allows the decoder to learn how to "see through" the encryption given the correct secret key.
  • Differentiable Training: Since quantization and encryption are non-differentiable, the authors use "soft" quantization and gradient-skipping techniques to allow the model to train via backpropagation.
  • Task Agnosticism: The authors demonstrate that this framework isn't just for image reconstruction; it can be applied to other "semantic" tasks like remote classification.

Datasets

The model was evaluated on two standard computer vision benchmarks:

  • CIFAR10: 60,000 32x32 color images across 10 classes.
  • Tiny ImageNet: A subset of ImageNet containing 100,000 64x64 images across 200 classes.

Key Insights and Ideas

  • Encryption as "Structured Noise": The "aha moment" is realizing that encryption in a JSCC context can be modeled as a specific type of noise. Because DeepJSCC is inherently robust to noise, the network can be optimized to handle cryptographic "noise" just as easily as channel interference.
  • Security Without Channel Assumptions: Unlike "wiretap" coding, which assumes the eavesdropper has a worse physical channel than the intended recipient, DeepJSCEC is secure even if the eavesdropper has a perfect, noise-free intercept of the signal.
  • IND-CPA Security: The scheme meets the rigorous "ciphertext indistinguishability under chosen-plaintext attack" standard. This means that even if an attacker knows the encryption algorithm and has access to many example pairs, they cannot extract meaningful information from the ciphertext in a reasonable amount of time.

Key Results

  • Superior Performance: DeepJSCEC achieves better image quality (measured by PSNR and MS-SSIM) than traditional digital baselines (BPG compression + AES encryption + LDPC channel coding) across most Signal-to-Noise Ratio (SNR) regimes.
  • Graceful Degradation: While the digital baseline suffers from a "cliff effect" (failing completely at low SNR), DeepJSCEC's performance degrades slowly, maintaining usable image quality even in poor conditions.
  • Eavesdropper Neutralization: In a "chosen-plaintext attack" where an attacker trains a dedicated neural network to crack the code, the attacker's reconstruction was no better than a random average of the dataset.
  • Classification Security: For remote classification, the intended recipient (Bob) achieved ~75% accuracy, while the eavesdropper (Eve) was stuck at ~9%—essentially a random guess.

Limitations and Future Work

  • Overhead: The scheme requires transmitting two small "seeds" to generate the public key and error terms, which adds a slight overhead compared to unencrypted JSCC.
  • Parameter Sensitivity: The performance and security level are tied to specific LWE parameters ($n_1, n_2, \sigma_s$). Finding the optimal balance between cryptographic strength and reconstruction quality remains a complex task.
  • Constellation Constraints: Due to the non-differentiable nature of the encryption step, the authors could not train a custom signal constellation and instead relied on standard 4096-QAM. Future work could explore more flexible modulation schemes.

Summary updated

BibTeX
@inproceedings{tung2023deep,
  author = {Tze-Yang Tung and Deniz Gündüz},
  title = {{Deep Joint Source-Channel and Encryption Coding: Secure Semantic Communications}},
  booktitle = {ICC},
  year = {2023},
  doi = {10.1109/icc45041.2023.10278612},
}
Figure