In information theory, joint source–channel coding is the encoding of a redundant information source for transmission over a noisy channel, and the corresponding decoding, using a single code instead of the more conventional steps of source coding followed by channel coding. Joint source–channel coding has been proposed and implemented for a variety of situations, including speech and video transmission.
Background Shannon's source–channel separation theorem shows that, for a point-to-point link with a stationary memoryless source and channel, designing the source code and the channel code separately causes no loss of optimality in the limit of long block lengths. For lossy transmission with one channel use per source symbol, an average distortion D is achievable if R(D)<C and is not achievable if R(D)>C, where R(D) is the rate–distortion function of the source and C is the channel capacity of the channel. The theorem assumes arbitrarily long blocks, and therefore unbounded delay and complexity. Its optimality does not in general carry over to finite block lengths, to non-ergodic channels such as slow fading channels, or to many multi-user networks, where joint designs can perform better. A classical example is the transmission of a memoryless Gaussian source over an additive white Gaussian noise (AWGN) channel with one channel use per source sample: sending each sample uncoded, only scaled to meet the power constraint, already achieves the optimal distortion, with no coding delay.
Deep learning-based joint source–channel coding Since the late 2010s, deep learning has been used to design joint source–channel codes, an approach often called deep JSCC. The encoder and the decoder are neural networks that are trained together, with a model of the noisy channel placed between them as a non-trainable layer, so that the whole system can be viewed as an autoencoder. The encoder maps the source signal directly to channel input symbols. Unlike a conventional digital system, it uses no explicit quantization, entropy code or error-correcting code, and the channel inputs are not restricted to the points of a fixed modulation constellation.
System model A source vector 𝐬∈ℝn, such as the pixels of an image or the samples of a speech waveform, is mapped by an encoder fθ with parameters θ to k complex channel symbols under an average power constraint P: 𝐱=fθ(𝐬)∈ℂk,1k𝔼[‖𝐱‖2]≤P. The ratio k/n is called the bandwidth ratio; values below one mean that the source is transmitted with fewer channel uses than source samples. For a channel with fading coefficient h and additive noise, the received signal is 𝐲=h𝐱+𝐰,𝐰∼𝒞𝒩(𝟎,σ2𝐈k), and a decoder gϕ produces the reconstruction 𝐬̂=gϕ(𝐲). The parameters of both networks are trained jointly to minimize the expected distortion, for example the mean squared error minθ,ϕ𝔼[1n∑i=1n(si−ŝi)2], where the expectation is taken over both the source data and the channel realizations. Because the gradient of the loss is backpropagated from the decoder through the channel layer to the encoder, the channel model used in training must be differentiable.
Properties In separation-based digital systems, the reconstruction quality drops abruptly when the channel quality falls below the level for which the channel code was designed, because the channel decoder then fails and the recovered bits become unreliable. This behaviour is known as the cliff effect. Bourtsoulatze et al. reported that deep JSCC for images does not suffer from the cliff effect: its performance degrades gradually as the channel signal-to-noise ratio (SNR) moves away from the value assumed during training. Over AWGN channels, their scheme outperformed digital transmission combining JPEG or JPEG 2000 compression with a capacity-achieving channel code at low SNR and low bandwidth ratios, and over slow Rayleigh fading channels it outperformed separation-based digital transmission at all SNRs and bandwidth ratios considered. Because the channel inputs take continuous values, deep JSCC systems cannot be used directly with existing digital communication systems, which are built around bit interfaces and finite modulation constellations. Later work has studied digital variants that map the learned representation onto a finite constellation.
Applications Besides images, deep JSCC has been applied to speech. Weng and Qin proposed DeepSC-S, which they describe as a semantic communication system for speech transmission. It takes raw speech waveform samples as input instead of hand-crafted features such as the mel-frequency cepstrum, and uses convolutional neural networks with a squeeze-and-excitation attention mechanism as the encoder and decoder. The system was trained on the mean squared error of the waveform and tested over AWGN, Rayleigh and Rician fading channels, assuming perfect channel state information. Compared with a digital baseline using pulse-code modulation, a turbo code and 64-QAM, the authors reported a higher signal-to-distortion ratio and higher PESQ scores, particularly at low SNR. In their 44.1 kHz experiment over AWGN channels, however, the digital baseline achieved a higher signal-to-distortion ratio at high SNR.
References