## Goal-Oriented Semantic Communication for Wireless Image Transmission via Stable Diffusion

Nan Li, Yansha Deng Department of Engineering, King's College London. Email: { nan.3.li, yansha.deng } @kcl.ac.uk

Abstract -Efficient image transmission is essential for seamless communication and collaboration within the visually-driven digital landscape. To achieve low latency and high-quality image reconstruction over a bandwidth-constrained noisy wireless channel, we propose a stable diffusion (SD)-based goal-oriented semantic communication (GSC) framework. In this framework, we design a semantic autoencoder that effectively extracts semantic information (SI) from images to reduce the transmission data size while ensuring high-quality reconstruction. Recognizing the impact of wireless channel noise on SI transmission, we propose an SD-based denoiser for GSC (SD-GSC) conditional on an instantaneous channel gain to remove the channel noise from the received noisy SI under known channel. For scenarios with unknown channel, we further propose a parallel SD denoiser for GSC (PSD-GSC) to jointly learn the distribution of channel gains and denoise the received SI. It is shown that, with the known channel, our SD-GSC outperforms state-of-the-art ADJSCC and Latent-Diff DNSC, improving Peak Signal-to-Noise Ratio (PSNR) by 32% and 21%, and reducing Fr´ echet Inception Distance (FID) by 40% and 35%, respectively. With the unknown channel, our PSD-GSC improves PSNR by 8% and reduces FID by 17% compared to MMSE equalizer-enhanced SD-GSC.

attention mechanism to allocate varying attention weights to different features. However, the end-to-end design of sourcechannel coding in these schemes has limitations in adaptability, as end-to-end training needs to be performed for each task/goal with the lack of plug-and-play functionality of each module.

Index Terms -Goal-oriented semantic communication, stable diffusion model, generative AI, and image transmission.

## I. INTRODUCTION

The growing reliance on smart visual applications, has dramatically driven the demand for seamless, high-quality image transmission. Traditional communication systems that transmit full bit streams based on the Shannon's technical framework, are struggling to meet these demands within bandwidth constraints. Semantic communication (SC) has emerged as a promising approach to reduce redundancy and irrelevant information, leading to more efficient image transmission [1].

To better capture task-specific semantic information (SI), goal-oriented semantic communication (GSC) was introduced to incorporate both semantic and task-specific effectiveness level [2]. A joint source-channel coding (JSCC) scheme based on deep neural networks (DNN) was first developed in [3] for high-resolution image transmission over fading channels. To better evaluate the semantic importance, [4], [5] explored the

This work was supported in part by the Engineering and Physical Sciences Research Council (EPSRC), U.K., under Grant EP/W004348/1; and in part by UK Research and Innovation (UKRI) under the UK government's Horizon Europe funding guarantee (grant number 10087666), as part of the European Commission-funded collaborative project MYRTUS, under the Smart Networks and Services Joint Undertaking (SNS JU) program (grant number 101135183).

It is also important to note that the aforementioned works shared a common assumption of channel consistency between training and inference, breaking this assumption may cause significant performance degradation under dynamic conditions. To address this, [6] proposed an attention mechanismbased deep JSCC (ADJSCC) scheme that dynamically adjusts the signal-to-noise ratio (SNR) during training to adapt to fluctuated channel conditions. However, this scheme remains an end-to-end design of sourcechannel coding, limiting its flexibility and adaptation. Recent advances in generative AI, e.g., denoising diffusion probabilistic models (DDPM) [7], offer new possibilities to address the adaptive denoising challenge in image generation [8]. Inspired by DDPM, [9] proposed a novel plug-and-play module, Latent diffusion denoising SC (Latent-Diff DNSC), to characterize noisy channels and remove channel noise for image transmission. However, the uncontrollable generation process of DDPM makes this scheme challenging to perfectly reconstruct the image details like appearance, style and color [8]. Moreover, this scheme assumed perfect channel estimation, which poses challenges in practical scenarios with imperfect channel estimation.

To fill the gaps, we propose a stable diffusion (SD) modelbased GSC framework for efficient image transmission over wireless fading channels, with the goal of achieving highquality image reconstruction. Our main contributions are:

- · We propose an SD-based GSC framework with a semantic encoder at the transmitter to extract relevant SI, and a semantic denoiser and a semantic decoder at the receiver to denoise the received noisy SI and reconstruct the image, respectively.
- · For a known channel, we introduce an SD-based semantic denoiser for GSC (SD-GSC) that treats instantaneous channel gain as an input condition of SD to identify and remove noise. For an unknown channel, we propose a parallel SD-based semantic denoiser for GSC (PSD-GSC) that jointly estimates the instantaneous channel gain and denoises the received noisy SI.
- · We conduct extensive experiments to examine the Peak SNR (PSNR) and Fr´ echet Inception Distance (FID).

Fig. 1: Stable diffusion-based GSC framework for wireless image transmission

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00428v3-figure-5a8ac23d-13a8-4144-bdd2-fa32cf0cebc6.jpg)

Under known channel conditions, SD-GSC demonstrates significant improvements compared to state-of-the-art ADJSCC [6] and Latent-Diff DNSC [9], improving PSNR by 32% and 21%, and reducing FID by 40% and 35%, respectively. Under unknown channel conditions, PSD-GSC improves PSNR by 8% and reduces the FID by 17% compared to MMSE equalizer-enhanced SD-GSC.

## II. SYSTEM MODEL AND PROBLEM FORMULATION

We consider an image transmission task between a transmitter and a receiver under Rayleigh fading channels. With the communication goal of achieving high-quality image transmission, we introduce the SD-based GSC framework that comprises a semantic encoder at the transmitter, coupled with a semantic denoiser and semantic decoder at the receiver, as illustrated in Fig. 1. The semantic encoder extracts the semantic information (SI) from the input image; the semantic decoder reconstructs the image from the received SI accordingly; the semantic denoiser removes wireless channel noise from the received SI to enhance the reconstruction capacity of the semantic decoder. Specifically, for known channel conditions where the channel gain is available, we propose an SD denoiser to remove the noise while preserving the underlying SI in the latent vectors. For scenarios with unknown channel conditions, we introduce two following denoisers:

- · MMSE equalizer-enhanced SD (MSD) denoiser: An MMSE equalizer estimates the instantaneous channel gain, which is then fed into the SD denoiser.
- · Parallel SD (PSD) denoiser: Two parallel SD modules jointly learn the instantaneous channel gain and denoise the channel noise.

The details of each module are presented one by one below.

At the transmitter, the input image x ∈ R H × W C × , is first fed into the semantic encoder to extract the most critical and semantically relevant information related to the communication goal and outputs a lower-dimensional latent tensor z ∈ R d , with d ≪ H × W × C . Mathematically, we express this SI extraction process as

$$z = \mathcal { E } ( x ),$$

where E · ( ) denotes the operation of SI extraction.

The SI z is then transmitted over a wireless channel under Rayleigh fading, experiencing transmission impairments such as distortion and noise. The received noisy semantic information is mathematically represented as

$$z ^ { \prime } = h * z + n,$$

where h represents the channel gain between the transmitter and receiver, and n ∼ CN (0 , σ 2 ) is the additive white Gaussian noise (AWGN) with noise power σ 2 .

At the receiver, the received noisy SI z ′ is progressively denoised by semantic denoiser to produce the denoised SI as

$$\tilde { z } = \mathcal { F } ( z ^ { \prime } ),$$

where F · ( ) is the denosing operation of the semantic denoiser.

The denoised SI ˜ z is then fed into the semantic decoder to generate the recovered image data ˜ x ∈ R H × W C × as

$$\tilde { x } = \mathcal { D } ( \tilde { z } ),$$

where D · ( ) is the operation of the semantic encoder.

With the aim to accurately reconstruct the original image at the receiver while minimizing the distortion introduced by the wireless channel, we introduce the mean squared error (MSE) to measure the difference between the transmitted image at the transmitter and the recovered image at the receiver. The objective is to minimize the average MSE between the original images and the reconstructed images as

$$\min _ { \mathcal { P } } \frac { 1 } { N } \sum _ { x \in X } \left | \left | x - \tilde { x } \right | \right | ^ { 2 },$$

where N is the size of dataset X ; P represents the set of learnable parameters in the various modules.

## III. ARCHITECTURE OF SD-BASED GSC

In this section, we present the details of the semantic encoder and decoder, and the semantic denoisers under known and unknown channels, respectively.

## A. Semantic Encoder and Semantic Decoder

To extract the relevant SI while minimizing the transmitted data size and optimizing the quality of image reconstruction, we propose a DNN-based semantic encoder and decoder. The architecture follows a downsampling and upsampling framework similar to U-Net [10].

In the semantic encoder, the input x first passes through a convolutional layer (3 × 3 kernel , stride 2 , padding 1) , a residual block and an attention block, both operating on the RGB channels (C = 3) to capture key features. This is followed by three downsampling stages, each comprising a convolutional layer (3 × 3 kernel , stride 2 , padding 1) , a residual block, and an attention block, progressively halving the spatial dimensions while increasing the channel dimensions ( c ∈ { 64 128 256 512 , , , } ) to capture more abstract features. Batch normalization and ReLU activation are then applied, and the output is embedded into a latent representation z ∈ R d via a linear layer. The semantic decoder transforms the denoised SI ˜ z into a higher-dimensional feature space R h × × w c using a linear layer. It then performs upsampling in three stages, each with a transposed convolutional layer (3 × 3 kernel , stride 2 , padding 1) to double the spatial dimensions, followed by a residual block and an attention block to refine features and highlight important spatial details. As these stages progress, the channel dimensions reduce ( c ∈ { 512 256 128 64 , , , } ) , expanding the spatial dimensions. The final transposed convolutional layer (3 × 3 kernel , stride 1 , padding 1) and a sigmoid activation function produce the reconstructed image ˜ x ∈ R H × W C × , normalized to [0, 1], with denormalization scaling the output to [0, 255] for accurate pixel values.

## B. SD Denoiser under Known Channel

To handle the wireless channel noise during SI transmission, the uncontrolled image generation process of DDPM [11], as applied in Latent-Diff DNSC [9], potentially degrades the reconstruction quality [8]. To overcome this challenge, we propose the SD denoiser that uses the received noisy SI and instantaneous channel gain as control conditions to effectively remove channel noise, as shown in Fig. 1.

## 1) Forward Process of DDPM

The forward process (i.e., training process) is applied to the transmitted SI, z , generated by the semantic encoder. This involves iteratively adding Gaussian noise to the initial distribution z 0 ∼ p ( z ) over T time steps, gradually approaching an isotropic Gaussian distribution z T ∼ N (0 , I ) . At time step t ∈ [0 , T] , the forward process of z t is expressed as

$$z _ { t } = \sqrt { 1 - \beta _ { t } } z _ { t - 1 } + \sqrt { \beta _ { t } } \epsilon,$$

where β t ∈ (0 1) , is the noise scheduling function, typically modeled as a monotonically increasing linear function of t , and ϵ ∼ N (0 , I ) .

From the score-based perspective (i.e., the gradient of the log probability density with respect to the data z t at each noise scale β t ), the forward process can be expressed as the following linear stochastic differentiable equation (SDE)

$$\mathrm d ^ { ( f ) } z _ { t } = - \frac { \beta _ { t } } { 2 } z _ { t } \mathrm d t + \sqrt { \beta _ { t } } \mathrm d w,$$

where w is the d -dimensional Wiener process.

## 2) Reverse Process of DDPM

The reverse process (i.e., inference process) of DDPM aims to recover the original SI z from the noisy sample z T ∼ N (0 , I ) . This process mirrors the marginal distribution of the forward process p ( z t ) but with the drift direction reversed. According to (7), the reverse process of DDPM can be achieved by the corresponding reverse SDE as [7]

$$\underset { \substack { \mathfrak { s i d } \\ \mathfrak { s i d } } } { \mathfrak { s i d } } \quad \mathfrak { d } ^ { ( r ) } z _ { t } = \left [ \, - \, \frac { \beta _ { t } } { 2 } z _ { t } - \beta _ { t } \nabla _ { z _ { t } } \log p ( z _ { t } ) \right ] \mathrm d t + \sqrt { \beta _ { t } } \mathrm d \overline { w }, \quad ( 8 )$$

where d t is the reverse time step, d w t is the the standard Wiener process in reverse.

Since ∇ z t log p ( z t ) = ∇ z t log p ( z t | z 0 ) , we can approximate ∇ z t log p ( z t ) ≃ s θ ( z t , t ) for the reverse process in (8) by solving the following minimization problem during the training in the forward process [12]:

$$\underset { \ n v o l u - } { \i i s \ u p } _ { \ n v o l u - } \quad \theta ^ { * } = \underset { \theta } { \arg \min } \mathbb { E } _ { z _ { t }, z _ { 0 } } \left [ \| s _ { \theta } ( z _ { t }, t ) - \nabla _ { z _ { t } } \log p ( z _ { t } | z _ { 0 } ) \| _ { 2 } ^ { 2 } \right ], \ ( 9 )$$

where the trained score network s θ ( z t , t ) can be denoted by using Tweedie's identity [13] as

$$\text{ant} \quad s _ { \theta } \left ( z _ { t }, t \right ) = \nabla _ { z _ { t } } \log p ( z _ { t } ) = - \frac { 1 } { \sqrt { 1 - \bar { \alpha } _ { t } } } \epsilon _ { \theta } \left ( z _ { t }, t \right ), \quad \left ( 1 0 \right )$$

where α t = 1 -β t and ¯ α t = ∏ t i =1 (1 -α i ) , and the parameter ϵ θ ( z t , t ) is the learned noise estimator at time step t .

## 3) Reverse Process of Stable Diffusion

Evidently, the reverse process of DDPM from a random Gaussian sample z T cannot ensure the reconstruction quality. To allow for more controllable and guided image generation, we design an SD denoiser conditional on the received noisy SI z ′ and instantaneous channel gain h . Here, the SD denoiser follows the same forward process as DDPM [8] .

Leveraging the diffusion model as the prior, it is straightforward to modify (8) to derive the reverse process of SD from the posterior distribution as

$$\text{ively} \quad & \quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad } \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\	\text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$	\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\	 \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \hat { \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \tau \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \gefrak { \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad  \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \tt \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \cast \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \tag \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\	 \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad  \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{#\quad \text{$\quad \text{$\quad \text{$\quad \text$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text{$\quad \text$$

By discretizing the reverse process in (11), we have

$$\ e \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \ tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde{ \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \, \tilde { \eta } \\ ( 6 ) \, \tilde { \epsilon } \, \tilde { \epsilon } \, \tilde { \epsilon } \, + \, \sqrt { \beta _ { t } } \mathcal { N } ( 0, \mathbf I ),$$

where s θ ( z t , t ) is the trained score network in (10).

To solve the reverse process in (12), the main challenge lies in the posterior distribution p ( z ′ | z t , h ) . While the relationship between the received noisy SI z ′ and the transmitted SI z 0 is known, the relationship between the intermediate data z t at the t th step of the forward process and z ′ remains unknown. To tackle this issue, we express p ( z ′ | z t ) as

$$p \left ( z ^ { \prime } \, \left | \, z _ { t } \right ) = \, \int p \left ( z ^ { \prime } \, \left | \, z _ { 0 } \right ) p \left ( z _ { 0 } \, \right | \, z _ { t } \right ) \mathrm d z _ { 0 }. \quad ( 1 3 )$$

where the mean of p ( z 0 | z t ) can be approximated by a delta function as

$$p \left ( z _ { 0 } \, | \, z _ { t } \right ) \simeq \delta _ { \mathbf E [ z _ { 0 } | z _ { t } ] } ( z _ { 0 } ), \text{ \quad \ \ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{\quad } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text{ } \text$$

To estimate the E [ z 0 | z t ] , we can use the well-trained noise estimator ϵ θ ( z t , t ) in the forward process (9) to obtain the estimation E [ z 0 | z t ] = ˆ z t as

$$\hat { z } _ { t } = \frac { 1 } { \sqrt { \alpha _ { t } } } ( z _ { t } - \sqrt { 1 - \bar { \alpha } _ { t - 1 } } \epsilon _ { \theta } ( z _ { t }, t ) ). \quad ( 1 5 ) \quad \ \ \ \ h _ { t - }$$

Using (15), the approximation p ( z 0 | z t ) leads to the following formula for the gradient of the log-likelihood:

$$\nabla _ { z _ { t } } \log p ( z ^ { \prime } | z _ { t }, h ) = - \frac { 1 - \bar { \alpha } _ { t } } { \left ( 1 - \alpha _ { t } \right ) \left ( 1 - \bar { \alpha } _ { t - 1 } \right ) } \nabla _ { z _ { t } } \| z ^ { \prime } - h * z _ { t } \| ^ { 2 }. \quad \text{The p} \\ ( 1 6 ) \quad \text{trained} \\ \max \text{ $\text{sum}$}$$

## C. PSD Denoiser under Unknown Channel

Notably, the SD denoiser is only applicable when the instantaneous channel gain h is known, and hence cannot be directly used for the scenarios with imperfect estimation of h (e.g., Massive MIMO communications systems). To solve this issue, we propose a parallel SD (PSD) denoiser to jointly estimate the channel gain and remove the noise.

## 1) Forward Process

Since z and h are independent, the posterior probability is given by

$$\cdot \quad p ( z, h | z ^ { \prime } ) \in p ( z ^ { \prime } | z, h ) p ( z ) p ( h ). \quad \quad ( 1 7 )$$

Therefore, we can train two separate forward processes for z and h , respectively. Similar to (10) and (15), the score network of h and E [ h 0 | h t ] = ˆ h t can be estimated using

$$s _ { \vartheta } \left ( h _ { t }, t \right ) = \nabla _ { h _ { t } } \log p ( h _ { t } ) = - \frac { 1 } { \sqrt { 1 - \bar { \alpha } _ { t } } } \epsilon _ { \vartheta } ( h _ { t }, t ), \quad ( 1 8 )$$

and

$$\hat { h } _ { t } = \frac { 1 } { \sqrt { \alpha _ { t } } } ( h _ { t } - \sqrt { 1 - \bar { \alpha } _ { t - 1 } } \epsilon _ { \vartheta } ( z _ { t }, t ) ), \quad ( 1 9 ) \quad \text{where} \quad \text{the lat}$$

where ϵ ϑ ( h t , t ) is the learned noise estimator of channel gain with parameter θ at time step t .

## 2) Reverse Process

Similar to the reverse process in (11), the two reverse processes of PSD can be expressed as

$$\Phi ^ { ( r ) } z _ { t } = & \left [ - \frac { \beta _ { t } } { 2 } z _ { t } - \beta _ { t } ( \nabla _ { z _ { t } } \log p ( z _ { t } ) \quad & \text{entire } \bullet \\ & + \nabla _ { z _ { t } } \log p ( z ^ { \prime } | z _ { t }, h _ { t } ) ) \right ] \mathrm d t + \sqrt { \beta _ { t } } \mathrm d \overline { w }, \quad & \text{all $\mathrm \text{moc}$} \\ & \text{indeper}$$

and

$$\text{ies} \quad \text{d} ^ { ( r ) } h _ { t } = & \left [ - \frac { \beta _ { t } } { 2 } h _ { t } - \beta _ { t } ( \nabla _ { h _ { t } } \log p ( h _ { t } ) \\ \text{ip} \quad \text{$\quad } + \nabla _ { h _ { t } } \log p ( z ^ { \prime } | z _ { t }, h _ { t } ) ) \right ] \text{d} t + \sqrt { \beta _ { t } } \text{d} \overline { w }.$$

Correspondingly, the above two reverse processes can be discretized in a similar way to (12) and expressed as

$$\text{own}. \begin{array} { c } \lambda \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own}) \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own}\quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \quad & \text{own} \ \end{array}$$

$$\int \nolimits ^ { \cdot \cdot \cdot } \, \text{ and } \\ \int ( 1 4 ) \, \int \nolimits ^ { \cdot \cdot \cdot \cdot } \, + \sqrt { \beta _ { t } } \mathcal { N } ( 0, \mathbf I ).$$

Due to the sparse structure of wireless channel, we use ℓ 1 regularization to sparse the channel gain by augmenting the diffusion prior thereby better stabilize the reconstruction. The minimization strategy for the channel gain then becomes

$$h _ { t - 1 } = h _ { t - 1 } - \alpha ( | | z ^ { \prime } - h _ { t - 1 } * z _ { t - 1 } | | _ { 2 } + \phi | | h _ { t - 1 } | | ), \ ( 2 4 )$$

where ϕ is the regularization strength.

## D. Training and Implementation

The proposed SD-based GSC architecture can be effectively trained via an end-to-end approach; however, this method may suffer from slow convergence. To mitigate this issue, we employ a step-by-step training strategy that systematically trains each component of the SD-based GSC architecture.

Initially, we start by jointly training the semantic encoder and semantic decoder by incorporating MSE and KullbackLeibler (KL) divergence into the loss function to better reconstruct the image. The MSE facilitates accurate reconstruction, while the KL divergence serves as a regularization term, guiding the data distribution in the latent space towards approximating a unit Gaussian distribution. The loss function is defined as the sum of MSE and KL divergence via

$$\mathcal { L } = \frac { 1 } { N } \sum _ { x \in X } \left | \left | x - \tilde { x } \right | \right | ^ { 2 } + \lambda \mathcal { L } _ { \text{KL} }, \text{ \quad \ \ } ( 2 5 )$$

where λ controls the significance of KL divergence relative to MSE. The KL divergence is expressed as

$$\mathcal { L } _ { \text{KL} } = - \frac { 1 } { 2 } \sum _ { i = 1 } ^ { N } ( 1 + \log ( \sigma _ { i } ^ { 2 } ) - \mu _ { i } ^ { 2 } - \sigma _ { i } ^ { 2 } ), \quad ( 2 6 )$$

where µ i and σ i denote the mean and standard deviation of the latent space, respectively.

Following this, we freeze the parameters of the semantic encoder and feed the latent semantic vector z into the semantic denoiser for training the SD denoiser and PSD denoiser under both known and unknown channels. Once each component is individually trained, we finalize the process by fine-tuning the entire SD-based GSC architecture in an end-to-end manner. This fine-tuning stage optimizes the collaboration between all modules, resolving any discrepancies that may arise from independently trained components. The detailed training and implementation process is presented in Algorithm 1 .

## Algorithm 1: Training and Implementation

- Require: Training dataset X , time steps T , hyperparameters { β , · · · , β } , ζ θ , ζ ϑ , and ϕ

Ensure: Semantic denoisers ζ θ t , ζ ϑ t

- 1 T t t
- 1: Train the semantic encoder and decoder using (25).

## // Training SD denoiser

- 2: Freeze parameters of semantic extraction module E · ( ) .
- 3: repeat
- 4: Sample a latent representation z 0 ∼ p ( z ) .
- 5: t ∼ Uniform ( { 1 2 , , . . . , T } ) , ϵ ∼ N (0 , I ) .
- 6: Take gradient descent step on ∇ ∥ θ ϵ θ ( z t , t ) - ∥ ϵ 2 2 .
- 7: until Converged
- // Denoising of SD denoiser
- 8: Sample z T ∼ N (0 , I )
- 9: for denoising step t = T, . . . , 1 do
- 10: ˆ ϵ ← ϵ ( z t , t ) .
- 11: Estimate ˆ z t using (15).
- 12: g ←∇ z t log p ( z ′ | z t , h ) .
- 13: Compute the conditional score s ← ζ θ t g -1 √ 1 -¯ α t ˆ ϵ .
- 14: Sample φ ∼ N (0 , I ) .
- 15: Compute z t -1 = 1 √ α t ( z t + β t s ) + √ β φ t .
- 16: end for
- // Training PSD denoiser
- 17: Train denoising estimators ϵ θ and ϵ ϑ for z and h following steps 3-7, respectively.
- // Denoising of PSD denoiser
- 18: Sample z T , h T ∼ N (0 , I ) .
- 19: for denoising step t = T, . . . , 1 do
- 20: ˆ ϵ θ ← ϵ θ ( z t , t ) , ˆ ϵ ϑ ← ϵ ϑ ( z t , t ) .
- 21: Estimate ˆ z t and ˆ h t using (15) and (19).
- 22: g θ ←∇ z t log p ( z ′ | z t , h t ) , g ϑ ←∇ h t log p ( z ′ | z t , h t )
- 23:
- Compute the conditional score s θ ← ζ θ g θ -1 √ ˆ ϵ θ and s ϑ ← ζ ϑ g ϑ -1 √ ˆ ϵ ϑ .
- 24: Sample φ , φ θ ϑ ∼ N (0 , I ) .
- 25: Compute z t -1 = 1 √ α t ( z t + β t s θ ) + β φ t θ and h t -1 = 1 √ α t ( h t + β t s ϑ ) + √ β φ t ϑ .
- t 1 -¯ α t t 1 -¯ α t √
- 26: h t -1 ← h t -1 -α ( || z ′ -h t -1 z t -1 || 2 + ϕ || h t -1 || ) .

## 27: end for

## // Fine-tuning process

- 28: Freeze the parameters of the semantic encoder and semantic denoisers, then fed the denoised SI ˜ z to finetune the semantic decoder using MSE loss in (5).

## IV. PERFORMANCE EVALUATION

We consider the end-to-end transmission of image tasks from a device (i.e., NVIDIA RTX 2080TI) to a server (i.e., NVIDIA A100 80GB) over a Rayleigh fading channel. The FFHQ dataset [14], consists of 70,000 high-quality human face images at a resolution of 256×256 pixels, is used as the benchmark for this evaluation. The implementation of SDbased GSC framework is built on Ubuntu 22.04 using PyTorch. For the semantic denoiser, we set the number of time steps T = 1000 and employ a linear variance scheme to determine

.

(a) PSNR

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00428v3-figure-e7858e27-6bc4-4e0f-9ac9-fc840e9b81f0.jpg)

Fig. 2: PSNR and FID under known channel

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00428v3-figure-cb5a6ee6-6758-4587-906b-f64e3931d5a7.jpg)

the hyperparameters { β , β 1 2 , . . . , β T } . The learning rate is initialized at 0.001, and stochastic gradient descent (SGD) is used as the optimizer for the loss function.

Baselines: To demonstrate the effectiveness of our proposed frame, we perform a comparative analysis against the stateof-the-art baselines: ADJSCC [6] and Latent-Diff DNSC [9]. We also compare with MSD denoiser-based GSC (MSD-GSC) as a benchmark for channel gain estimation to highlight the effectiveness of our PSD-GSC in learning channel gains.

Metrics: We evaluate two performances: peak signal-tonoise ratio (PSNR) to evaluate image reconstruction quality, with higher values indicating better reconstruction quality; and Frechet inception distance (FID) to assess the similarity between real and reconstructed image distributions, with lower values indicating better reconstruction quality.

## A. Known Channel

Fig. 2 evaluates the PSNR and the FID performance across various SNRs under known channel. As expected, all the metrics improve as the SNR increases, since better wireless channel conditions facilitate higher-quality image reconstruction. Interestingly, SD-GSC and Latent-Diff DNSC outperform ADJSCC in both metrics, due to the diffusion model's ability in capturing wireless channel characteristics and removing noise effectively, resulting in more accurate reconstruction. Notably, SD-GSC outperforms two baselines in both metrics. Specifically, SD-GSC achieves approximately 32% and 21%

PSNR improvement, and 40% and 35% FID reduction as compared to ADJSCC and Latent-Diff DNSC, respectively. This superior performance arises from the integration of the instantaneous channel gain, which enables better characterization of channel gain and mitigation of distortion caused by wirless channel noise, resulting in a more controlled and guided image generation than the uncontrolled generation process of DDPM used in Latent-Diff DNSC.

## B. Unkown Channel

To validate the effectiveness of our proposed PSD-GSC for channel estimation as well as efficient image transmission, we also compare our proposed PSD-GSC with MSD-GSC and SD-GSC. Fig. 3 presents the PSNR and FID performance for various SNRs under unknown channel. We can see both PSD-GSC and MSD-GSC experience degradation in both metrics compared to SD-GSC with known channel gain h . Specifically, our proposed PSD-GSC and MSD-GSC experience degradation in PSNR by approximately 1.7% and 9.0%, and improvement in FID by 4.3% and 25.5%, respectively. This is because channel estimation errors result in inaccurate channel gain inputs of the diffusion model, which decreases its denoising and high-quality image reconstruction capabilities. Importantly, PSD-GSC outperforms MSD-GSC in both metrics, improving PSNR by 8% and reducing FID by 17%, respectively. This is due to the probabilistic modelingbased diffusion model used in PSD-GSC can well estimate nonlinear channels and capture the complex properties of wireless channels, for better image reconstruction.

## V. CONCLUSION

In this paper, we developed a stable diffusion-based goaloriented semantic communication framework (SD-GSC) for efficient image transmission over Rayleigh fading channels. The main goal is to reduce the bandwidth requirement while ensuring high-quality image reconstruction at the receiver. To this end, we first designed a semantic autoencoder to extract semantic information (SI) to reduce the transmitted data size while accurately reconstructing the image from the received SI. To combat the impact of channel noise on the transmitted SI, we designed an SD-based semantic denoiser to better characterize and mitigate the channel noise, leading to significant improvements in both PSNR and FID metrics compared to the state-of-the-art baselines under known channel. For unknown channel scenarios, we further designed a parallel SD-GSC (PSD-GSC) to jointly learn the channel gain and denoise the received SI, showcasing the capability of our proposed PSDGSC in channel estimation and efficient image transmission.

## REFERENCES

- [1] X. Luo, H.-H. Chen, and Q. Guo, 'Semantic communications: Overview, open issues, and future research directions,' IEEE Wireless Commun. , vol. 29, no. 1, pp. 210-219, Jan. 2022.
- [2] H. Zhou, Y. Deng, X. Liu, N. Pappas, and A. Nallanathan, 'Goaloriented semantic communications for 6g networks,' IEEE Internet Things Mag. , vol. 7, no. 5, pp. 104-110, Aug. 2024.
- [3] E. Bourtsoulatze, D. Burth Kurka, and D. G¨ und¨ uz, 'Deep joint sourcechannel coding for wireless image transmission,' IEEE Trans. Cogn. Commun. Netw. , vol. 5, no. 3, pp. 567-579, May 2019.
- [4] N. Li, A. Iosifidis, and Q. Zhang, 'Dynamic semantic compression for cnn inference in multi-access edge computing: A graph reinforcement learning-based autoencoder,' IEEE Trans. Wireless Commun. , pp. 1-1, Dec. 2024.
- [5] N. Li, M. Bennis, A. Iosifidis, and Q. Zhang, 'Spatiotemporal attentionbased semantic compression for real-time video recognition,' in Proc. IEEE Globecom Workshops (GC Wkshps) , 2023, pp. 1603-1608.
- [6] J. Xu, B. Ai, W. Chen, A. Yang, P. Sun, and M. Rodrigues, 'Wireless image transmission using deep source channel coding with attention modules,' IEEE Trans. Circ. Syst. Video Tech. , vol. 32, no. 4, pp. 23152328, May 2022.
- [7] H. Chung, J. Kim, M. T. Mccann, M. L. Klasky, and J. C. Ye, 'Diffusion posterior sampling for general noisy inverse problems,' in Proc. Int. Conf. Learn. Represent. (ICLR) , Kigali, Rwanda, May 2023.
- [8] R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer, 'High-resolution image synthesis with latent diffusion models,' in Proc. IEEE/CVF Comput. Vis. Pattern Recognit. Conf. (CVPR) , New Orleans, Louisiana, Jun. 2022, pp. 10 684-10 695.
- [9] B. Xu, R. Meng, Y. Chen, X. Xu, C. Dong, and H. Sun, 'Latent semantic diffusion-based channel adaptive de-noising semcom for future 6g systems,' in Proc. IEEE Global Commun. Conf. (GLOBECOM) , Kuala Lumpur, Malaysia, Dec. 2023, pp. 1229-1234.
- [10] O. Ronneberger, P. Fischer, and T. Brox, 'U-net: Convolutional networks for biomedical image segmentation,' in Med. Image Comput. Comput. Assist. Interv. (MICCAI) , Nov. 2015, pp. 234-241.
- [11] J. Ho, A. Jain, and P. Abbeel, 'Denoising diffusion probabilistic models,' in Adv. Neural Inf. Process. Syst. (NeurIPS) , vol. 33, Dec. 2020, pp. 6840-6851.
- [12] P. Vincent, 'A connection between score matching and denoising autoencoders,' Neural Comput. , vol. 23, no. 7, pp. 1661-1674, Jul. 2011.
- selfAdv. Neural Inf.
- [13] K. Kim and J. C. Ye, 'Noise2score: Tweedie's approach to supervised image denoising without clean images,' in Process. Syst. (NeurIPS) , vol. 34, Dec. 2021, pp. 864-874.
- [14] T. Karras, S. Laine, and T. Aila, 'A style-based generator architecture for generative adversarial networks,' in Proc. IEEE/CVF Comput. Vis. Pattern Recognit. Conf. (CVPR) , Jun. 2019, pp. 4396-4405.

(a) PSNR

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00428v3-figure-d284939e-435b-4a31-9be8-2009fd27970c.jpg)

Fig. 3: PSNR and FID under unknown channel

![Image](https://ac.marcodsn.me/arxiv-markdown-images/2408.00428v3-figure-47309cfa-b433-4573-b875-58a25efbc8a4.jpg)
Nan Li Yansha Deng
Goal-Oriented Semantic Communication for Wireless Image Transmission via Stable Diffusion
Efficient image transmission is essential for seamless communication and
collaboration within the visually-driven digital landscape. To achieve low
latency and high-quality image reconstruction over a bandwidth-constrained
noisy wireless channel, we propose a stable diffusion (SD)-based goal-oriented
semantic communication (GSC) framework. In this framework, we design a semantic
autoencoder that effectively extracts semantic information (SI) from images to
reduce the transmission data size while ensuring high-quality reconstruction.
Recognizing the impact of wireless channel noise on SI transmission, we propose
an SD-based denoiser for GSC (SD-GSC) conditional on an instantaneous channel
gain to remove the channel noise from the received noisy SI under known
channel. For scenarios with unknown channel, we further propose a parallel SD
denoiser for GSC (PSD-GSC) to jointly learn the distribution of channel gains
and denoise the received SI. It is shown that, with the known channel, our
SD-GSC outperforms state-of-the-art ADJSCC and Latent-Diff DNSC, improving Peak
Signal-to-Noise Ratio (PSNR) by 32% and 21%, and reducing Fr\'echet Inception
Distance (FID) by 40% and 35%, respectively. With the unknown channel, our
PSD-GSC improves PSNR by 8% and reduces FID by 17% compared to MMSE
equalizer-enhanced SD-GSC.