In-Context Learning for Deep Joint Source-Channel Coding Over MIMO Channels

Hua Meng, Wenjing Zhang, Chenghong Bian, Denız GündüzarXiv 2025 · DOI

Abstract

Large language models have demonstrated the ability to perform in-context learning (ICL), whereby the model performs predictions by directly mapping the query and a few examples from the given task to the output variable. In this paper, we study ICL for deep joint source-channel coding (DeepJSCC) in image transmission over multiple-input multiple-output (MIMO) systems, where an ICL denoiser is employed for MIMO symbol estimation. We first study the transceiver without any hardware impairments and explore the integration of transformer-based ICL with DeepJSCC in both open-loop and closed-loop MIMO systems, depending on the availability of channel state information (CSI) at the transceiver. For both open-loop and closed-loop scenarios, we propose two MIMO transceiver architectures that leverage context information, i.e., pilot sequences and their outputs, as additional inputs, enabling the DeepJSCC encoder, DeepJSCC decoder, and the ICL denoiser to jointly learn encoding, decoding, and estimation strategies tailored to each channel realization. Next, we extend our study to a more challenging scenario where the transceiver suffers from in-phase and quadrature (IQ) imbalance, resulting in nonlinear MIMO estimation. In this case, the context information is also exploited, facilitating joint learning across the DeepJSCC encoder, decoder, and the ICL denoiser under hardware impairments and varying channel conditions. Numerical results demonstrate that the ICL denoiser for MIMO estimation significantly outperforms the conventional least-squares method, with even greater advantages under IQ imbalance. Moreover, the proposed transformer-based ICL framework, integrated with contextual information, achieves significant improvements in end-to-end image reconstruction quality under transceiver IQ imbalance.

Introduction

Next-generation (6G) wireless networks demand ultra-reliable, low-latency communication for applications like autonomous driving and immersive XR. Deep Joint Source-Channel Coding (DeepJSCC)—which uses neural networks to combine source compression and channel coding into a single step—is a promising solution. However, most DeepJSCC research assumes the receiver has perfect Channel State Information (CSI), which is highly unrealistic.

In the real world, CSI must be estimated using pilot signals. Traditional systems use a two-step approach: first, estimate the channel using techniques like Least Squares (LS), and second, detect the symbols. This causes compounded estimation errors. Furthermore, real-world transceivers suffer from hardware imperfections like In-Phase and Quadrature (IQ) imbalance, which turn the channel into a highly non-linear environment where traditional linear estimation methods fail.

Proposed Framework: ICL for MIMO Denoising

The authors replace the traditional MIMO detector with an ICL denoiser built on a decoder-only Transformer architecture. Instead of predicting text, the model predicts transmitted wireless symbols by treating pilot sequences as "context prompts."

The decoder-only Transformer architecture used for in-context learning, where pilot sequences and their outputs serve as context for querying data symbols.

The Transformer is prompted with "context information" consisting of known pilot sequences and their noisy received outputs. The "query" is the newly received data symbol, and the model must predict the original transmitted symbol. By bundling channel estimation and symbol detection into a single Transformer inference step, the ICL denoiser avoids the double-estimation error inherent in traditional methods.

System Integration and Context Representation

The framework is evaluated in both open-loop and closed-loop MIMO systems. The context isn't just used for symbol detection; it is also fed into the DeepJSCC encoder and decoder so they can adapt to current channel conditions.

Proposed ICL denoiser architectures for standard (a) and SVD-based (b) MIMO channel estimation, integrating context information into the DeepJSCC components.

The authors propose two ways to format this context:

  1. Channel Heatmap: An explicit matrix calculated using traditional LS estimation.
  2. Implicit Channel-Aware Representation (ICAR): A neural network-extracted latent feature representation of the pilots, bypassing explicit channel math entirely.

Key Insights and Results

  • Transformers Excel at Non-Linearity: While traditional LS estimation assumes a linear channel, the ICL denoiser learns the non-linear mapping caused by IQ imbalance directly from the pilot prompts. Under severe IQ imbalance at 20 dB SNR, the traditional LS method yields a Mean Squared Error (MSE) of ~13.58, while the ICL denoiser achieves an MSE of just ~0.05.
  • Implicit Representations (ICAR) vs. Explicit Heatmaps: When hardware is severely distorted, explicitly calculating a channel heatmap using LS actively harms the system. ICAR bypasses this by letting the neural network learn an implicit representation of the distortion directly from the pilots, leading to much better image reconstruction.
  • Joint Training is Crucial: Jointly optimizing the DeepJSCC encoder, decoder, and the ICL denoiser yields significantly better performance than training the components separately.
  • Robustness to Short Pilots: The ICL denoiser maintains highly accurate estimation even with very short pilot sequences (e.g., $N=11$) where traditional LS fails to converge.

Conclusion

This research demonstrates that integrating Transformer-based ICL with DeepJSCC offers a powerful shift for deep learning-based wireless communications. By leveraging contextual information, the system achieves significant improvements in end-to-end image reconstruction quality under transceiver IQ imbalance. Future work will explore scaling this to Massive MIMO systems and applying it to other modalities like video or audio.

Summary updated

BibTeX
@misc{meng2025context,
  author = {Hua Meng and Wenjing Zhang and Chenghong Bian and Denız Gündüz},
  title = {{In-Context Learning for Deep Joint Source-Channel Coding Over MIMO Channels}},
  year = {2025},
  eprint = {2512.01567},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.01567},
  howpublished = {arXiv},
}
Figure