Task-oriented Explainable Semantic Communications
Shuai Ma, Weining Qiao, Youlong Wu, Hang Li, Guangming Shi, Dahua Gao,, Yuanming Shi, Shiyin Li, and Naofal Al-Dhahir

TL;DR
This paper introduces an explainable, robust semantic communication framework that enhances transmission efficiency by extracting and transmitting only task-relevant, interpretable features, supported by theoretical bounds and a practical prototype.
Contribution
It proposes a novel explainable semantic communication system integrating bit-level design, feature disentanglement, and task relevance, with theoretical analysis and a real-time prototype.
Findings
Significant improvement in transmission efficiency.
Effective feature selection enhances robustness.
Theoretical bounds on semantic channel capacity are established.
Abstract
Semantic communications utilize the transceiver computing resources to alleviate scarce transmission resources, such as bandwidth and energy. Although the conventional deep learning (DL) based designs may achieve certain transmission efficiency, the uninterpretability issue of extracted features is the major challenge in the development of semantic communications. In this paper, we propose an explainable and robust semantic communication framework by incorporating the well-established bit-level communication system, which not only extracts and disentangles features into independent and semantically interpretable features, but also only selects task-relevant features for transmission, instead of all extracted features. Based on this framework, we derive the optimal input for rate-distortion-perception theory, and derive both lower and upper bounds on the semantic channel capacity.…
| Variables | Meanings | |
|---|---|---|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
| Acronyms | Meanings | |
|---|---|---|
| JSCC |
|
|
| VAE |
|
|
| KL |
|
|
| ANGC |
|
|
| ELBO |
|
|
| GPU |
|
|
| PSNR |
|
| GPU | 500MHz VideoCore VI |
|---|---|
| CPU | quad-core Cortex-A72 |
| System on Chip | Broadcom BCM2711 1.5GHz |
| memory | 4GB DDR4 |
| Wi-Fi | 2.4 5.0 GHz IEEE 802.11ac wireless |
| Screen | display |
| Test SNR | Data | JPEG |
|
|
|
|||||
|---|---|---|---|---|---|---|---|---|---|---|
| SNR_test=4dB |
|
|
|
|
|
|||||
| SNR_test=8dB |
|
|
|
|
|
|||||
| SNR_test=4dB |
|
|
|
|
|
|||||
| SNR_test=8dB |
|
|
|
|
|
| Test SNR | Data | JPEG |
|
|
|
|||||
|---|---|---|---|---|---|---|---|---|---|---|
| SNR_test=4dB |
|
|
|
|
|
|||||
| SNR_test=8dB |
|
|
|
|
|
|||||
| SNR_test=4dB |
|
|
|
|
|
|||||
| SNR_test=8dB |
|
|
|
|
|
|
Skin color |
|
Gender | Hairstyle | ||||
|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
||||
|
|
|
|
|
||||
|
|
|
|
|
||||
|
|
|
|
|
|
|
PSNR |
|
|||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Original image | 18.86 | 1 | 100 |
|
||||||
| JPEG | 10.88 | 1.81 | 17.49 |
|
||||||
| -VAE | 0.30 | 78.4 | 15.79 |
|
||||||
| Robust -VAE | 0.30 | 78.4 | 16.07 |
|
|
|
PSNR |
|
|||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Original image | 28.38 | 1 | 100 |
|
||||||
| JPEG | 9.53 | 4.49 | 30.17 |
|
||||||
| -VAE | 0.18 | 384 | 17.66 |
|
||||||
| Robust -VAE | 0.18 | 384 | 19.73 |
|
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCOVID-19 diagnosis using AI · Wireless Signal Modulation Classification · Anomaly Detection Techniques and Applications
Task-oriented Explainable Semantic Communications
Shuai Ma, Weining Qiao, Youlong Wu, Hang Li, Guangming Shi, , Dahua Gao, Yuanming Shi, Shiyin Li, and Naofal Al-Dhahir Shuai Ma is with Pengcheng Laboratory, Shenzhen, 518066, China (e-mail: [email protected]).
Abstract
Semantic communications utilize the transceiver computing resources to alleviate scarce transmission resources, such as bandwidth and energy. Although the conventional deep learning (DL) based designs may achieve certain transmission efficiency, the uninterpretability issue of extracted features is the major challenge in the development of semantic communications. In this paper, we propose an explainable and robust semantic communication framework by incorporating the well-established bit-level communication system, which not only extracts and disentangles features into independent and semantically interpretable features, but also only selects task-relevant features for transmission, instead of all extracted features. Based on this framework, we derive the optimal input for rate-distortion-perception theory, and derive both lower and upper bounds on the semantic channel capacity. Furthermore, based on the -variational autoencoder (-VAE), we propose a practical explainable semantic communication system design, which simultaneously achieves semantic features selection and is robust against semantic channel noise. We further design a real-time wireless mobile semantic communication proof-of-concept prototype. Our simulations and experiments demonstrate that our proposed explainable semantic communications system can significantly improve transmission efficiency, and also verify the effectiveness of our proposed robust semantic transmission scheme.
Index Terms:
Explainable semantic communications, feature selection, semantic communications prototype
I Introduction
With the advent of augmented reality (AR), virtual reality (VR), holographic communications, autonomous vehicular networks, and industrial Internet of Things (IIoT), it is envisioned that existing networks may soon reach a resource bottleneck due to stringent requirements [1, 2], such as ultra-high data rate, ultra-reliability, and low latency. To meet the above-mentioned requirements, investigations on the sixth generation communications (6G) are well underway and promise more powerful capacities than the fifth-generation communications (5G) [3]. From the first generation communications (1G) to 5G, the communication networks primarily focus on finding new resources and technologies to expand the channel capacity[4]. One approach is to seek the usage of large bandwidth, such as terahertz (THz) communications and visible light communication (VLC). Another approach is to explore the spatial domain, like ultra-massive MIMO and intelligent metasurfaces. However, given the hardware and physical limitations, the channel capacity may not keep increasing at the rate we desire to satisfy the aforementioned beyond-5G applications [5, 6].
In recent years, semantic communications, in which only task-relevant information is extracted and transmitted to the receiver, have received increasing attention by both academia and the industry [7, 8, 9, 10, 11, 12, 13]. Rather than increasing the channel capacity as in the conventional techniques, semantic communications exploit the computing power at the transceivers to alleviate the cost of transmission resources. The classic Shannon information theory focuses on “How accurately can the symbols be transmitted?”, which ignores the meaning of the transmitted messages. Instead, semantic communications [14] consider “How precisely do the transmitted symbols convey the desired meaning?” Thus, it is possible to improve the system efficiency at the semantic level, not only at the pure bit level.
The classical separation theorem [15] states that, as the data size goes to infinity, separating source coding and channel coding can achieve the optimal performance over a memoryless communication channel. However, for finite number of bits transmission, the performance of such separated structure will degrade. This issue also arises in semantic communications. Various deep learning (DL) based joint source-channel coding (JSCC) schemes have been investigated for text [12, 16, 17], image [18, 19, 20, 21, 22, 23], speech [24, 25], and multimodal data [26] transmission. Specifically, for text semantic transmission, the JSCC schemes have been designed by exploiting architectures like the recurrent neural network (RNN) [16], Transformer [17, 27], autoencoder (AE)[28], adaptive Universal Transformer[29], and deep neural network (DNN) [30]. For image semantic transmission, a masked auto-encoder (MAE) architecture with Transformer was designed in [18] to combat adversarial samples noise. Convolutional neural networks (CNNs) based JSCC schemes were designed for the time-invariant and fading wireless channels in [19]. Neural error correcting and source trimming (NECST) codes were studied in [22]. For finite bit transmission, an attention DL based JSCC method was designed in [23]. By exploring the channel output feedback, an AE-based JSCC scheme was developed in [20] to improve the quality of image transmission. By combining an AE with orthogonal frequency division multiplexing (OFDM), a JSCC wireless image transmission scheme was presented in [21] over multipath fading channels. By leveraging reinforcement learning (RL), a joint semantics-noise coding (JSNC) mechanism was designed in [31]. A DNN based JSCC scheme was designed in [32] for adaptive rate control in wireless image transmission. Based on AE, a SNR-adaptive deep JSCC scheme is proposed in [33] for multi-user wireless image transmission. To tackle the variational information bottleneck, the authors in [34] investigated task-oriented communication for edge inference, where a low-end edge device extracts the feature vector of a local data sample and transmits to a powerful edge server for processing. Besides, for the speech semantic transmission, AE based wave-to-vector architecture and squeeze-and-excitation (SE) attention network have been developed in [24] and [25], respectively. For visual question answering, the memory-attention-composition neural network was designed in [26] for multi-modal data semantic communications.
However, most of the existing works on semantic communications [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26] are based on DL techniques, in which the DL model is basically a black box. Thus, the extracted semantic feature vectors in these works are unexplainable (hidden) representations, and the uninterpretability of the extracted features restricts further processing and exploitation of semantic features. For example, due to the uninterpretability, the unintended features will also be transmitted to the receiver, which wastes transmission resources and reduces the efficiency of semantic communications.
Moreover, most of the existing semantic communication investigations [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26] completely redesign the source and channel module over the conventional system, which are impractical and not compatible with the existing communication networks. Because there is a large number of practical standards and hardware for 5G physical layer, it will lead to a huge waste of resources and costs by replacing physical layer techniques with DL-based semantic JSCC techniques. Therefore, how to design efficient and 5G-compatible practical semantic communications is a critical issue.
To address the above the two key challenges of the semantic communications, we propose an explainable and robust semantic communication framework in this paper, which is compatible with existing communication systems. We show that the proposed framework can achieve a higher transmission efficiency than the existing inexplicable semantic communication systems. The main contributions of this paper are summarized as follows:
- •
We propose an explainable and easy-to-implement semantic communication framework based on the bit-level communication systems, which includes a novel semantic encoder, as well as the corresponding decoder, feature selection and semantic channel. The innovation of the proposed framework is threefold: i) The semantic encoder/decoder aims to, not only extract the independent and explainable semantic information as semantic source coding, but also alleviate the ambiguity of the semantic information influenced by the quantization and channel noise as semantic channel coding; ii) The feature selection module follows the semantic encoder, to choose only the task-relevant features for transmission, which can further reduce the transmission load; iii) The framework has an explicit definition of semantic channels, which incorporates the key modules of the bit-level communication systems. Specifically, the semantic channel takes both quantization error (or noise) and physical channel noise into account since those noise sources may lead to semantic information ambiguity, and the semantic channel capsulizes the conventional bit-level communication systems, which implies that the proposed framework can be more easily implemented compared to the JSCC schemes.
- •
Then, we propose two information-theoretic metrics for our semantic communication framework. In terms of the information compression of the semantic encoder, we derive the the optimal distribution of the reconstruction signal of the rate-distortion-perception function for semantic information extraction. Moreover, to quantify the semantic information transmission, we derive both upper and lower bounds for the semantic channel capacity, which are shown to be tight when the quantization noise tends to zero.
- •
Based on our framework, we further propose a feasible design of the explainable semantic communication system. Specifically, this design includes a robust -VAE lightweight unsupervised learning network, where a weighted parameter is added to the Kullback-Leibler (KL) divergence term of the variational autoencoder (VAE) network loss function, in order to make the latent representations effectively disentangled. Moreover, to enhance transmission robustness, the semantic channel noise is added to the extracted features during semantic networks training.
- •
Finally, we implement the above semantic communication design, and propose a wireless mobile semantic communication proof-of-concept prototype. Applying the portable Raspberry Pi 4 Model B and Wi-Fi, the developed prototype can run the proposed robust -VAE semantic system in real time. Our experiments demonstrate that our proposed semantic communication system can achieve better performance than existing benchmarks.
The rest of this paper is organized as follows. The explainable semantic communications framework is presented in Section II. Section III provides the information-theoretic metrics of semantic communications. In Section IV, we propose a -VAE based robust and explainable semantic communications system. In Section V, we present the semantic communication system prototype design and implementation. In Section VI, we evaluate the proposed explainable semantic communication system. Finally, we conclude the paper in Section VII. Table I and II presents the means of the key notations and key acronyms in this paper, respectively.
II Explainable Semantic Communication Framework
Most existing studies replace the traditional source coding and channel coding modules by deep learning-based studies source-channel coding, which greatly changes the structure of the existing communication systems. In this paper, we propose a semantic communication framework incorporating the key modules of the conventional communication system (e.g., 5G).
As shown in Fig. 1, the proposed explainable semantic communication framework includes a semantic source, sender knowledge base, semantic encoder, semantic channel, receiver knowledge base, semantic decoder, and semantic destination. Note that the proposed framework introduces a semantic-level transmission on the top of bit-level transmission. Clearly, such a framework does not require the extra redesign over the existing physical standards, protocols and products, which makes the application of semantic communications more practical. Next, we will describe each module in detail.
II-A Knowledge Bases
The knowledge base contains all the necessary information that can facilitate the communication at the semantic level. Specifically, the knowledge base includes background knowledge and training dataset. The background knowledge is used to facilitate the semantic feature extraction and selection in the semantic transmitter. The training dataset is used for training the parameters of the semantic encoder and decoder. The sender may choose different semantic knowledge bases according to different tasks, scenarios and recipients. For example, when the communication is triggered between people in different countries, it may be necessary to sample multiple language databases. In general, the sender and the receiver share some common knowledge, which may act as a special kind of side information to improve coding efficiency.
II-B Semantic Sources
The semantic source produces original data, such as pictures, videos, voices, and texts. The generated data contains certain semantic information to be shared with the semantic destination. Assume that the semantic information includes features (data generative factors), where denotes the th semantic feature, and the joint probability distribution is . Further, assume that the features are independent, i.e., , where denotes the probability distribution of . Thus, the entropy of the semantic source is given as
[TABLE]
The semantic source can generate the data , which can be images, text, sound or video. Generally, the generated data need to include both the intended features and some redundant features to make the whole semantic data complete. Thus, the data generation is defined as , and the probability distribution function (PDF) of data is given as
[TABLE]
The entropy of the semantic data is given as
[TABLE]
Based on (1) and (2), can be further expressed as
[TABLE]
II-C Semantic Encoder
Based on the knowledge base, the generated message will be processed by the semantic encoder, which is a joint semantic source and channel encoder. More specifically, it extracts semantic information or the semantic features of the message , and outputs the disentangled and explainable features , which can be viewed as a semantic source encoder. On the other hand, in order to reduce the ambiguity incurred by the quantization error and channel noise, the semantic encoder needs to improve the robustness against the semantic channel noise, which can be viewed as a semantic channel encoder.
The semantic encoder extracts a low-dimensional semantic features vector from the data . Let denote the conditional PDF of the feature given data . Thus, the PDF of the extracted feature (sub-vectors) is given as
[TABLE]
The encoder is required to regulate the extracted features into independent features , which satisfy
[TABLE]
where denote the PDF for feature . In summary, the extracted feature is required to have disentangled interpretable semantic features , whose corresponding neural network output is explainable and understandable by the human. For convenience, we let denote the index set of the disentangled semantic features. Note that such a requirement can be met if the semantic encoder is designed in a sophisticated manner. In Section IV, we will introduce a feasible system design that has such capability.
II-D *Feature
Selection*
It should be noted that the obtained features could contain more information than what the receiver is interested in. Thus, after extracting the disentangled features , only the subset of features that are of interest to the receiver should be transmitted, and the rest of the features can be viewed as the “redundancy”. We will present more discussions of this issue via experiments in Section VI.
Given the task requirement, let denote the selected feature index set, then the selected set of features is given as
[TABLE]
Thus, feature selection will reduce the amount of data sent, and the corresponding reduction is . Then, will be sent to the semantic channel.
II-E Semantic Channel
After the feature selection module, the task-oriented features are selected and ready to send. Since the quantization error and channel noise both could incur semantic information ambiguity, we define the semantic channel with channel law as a virtual channel including the signal quantizer and the bit-level communication system, as shown in Fig. 1. Here, represents the set of estimated features after the transmissions over the semantic channel, and denotes the estimated feature of .
Generally, the semantic noise could include various factors including source errors, feature extraction errors, knowledge base ambiguities, adversarial injections, quantization noise, physical channel noise, etc. In our framework, the semantic channel noise is the distortion between the selected semantic feature and the estimated semantic feature , which mainly depends on the quantization noise and physical channel noise.
II-E1 Quantization Noise
The quantization noise is caused by the traditional communication operation modules, such as the source encoder (or decoder) or channel encoder (or decoder), which may also lead to semantic ambiguity. In order to reduce the number of transmitted bits, the semantic feature will be converted to a compressible binary stream using few bits. To represent with a finite number of bits, we need to map it to a discrete space. Specifically, a finite quantizer maps the semantic feature to , whose values are then quantized to levels , i.e.,
[TABLE]
where is a quantization operator. Since the number of dimensions and the number of levels are finite, the entropy of quantized semantic data is given as
[TABLE]
In this paper, we consider the uniform distributed quantization noise , i.e.,
[TABLE]
where and are the lower and upper bounds of quantization noise .
II-E2 Physical Channel Noise
The physical channel noise exists ubiquitously in physical communications and is caused by physical channel impairments, such as additive white Gaussian noise (AWGN), interference, etc. It is noted that the errors caused by channel propagation usually occur before channel decoding and can be corrected by channel decoding. Assume that the physical channel noise follows a Gaussian distribution with zero-mean and variance , i.e.,
[TABLE]
II-F Feature Completion
After obtaining the estimated features through the semantic channel transmission, the destination will use the estimated features and side information in the knowledge base, to compute the target function of the task. Although the unintended features subset are not transmitted, the receiver may generate the corresponding unintended features by exploiting the knowledge base. Then, by combining intended features and unintended features , we may obtain the completed semantic features with distribution . For example, considering a semantic communication system for staff clothing image transmission, the intended semantic features of the receiver are clothing features, and the receiver is not interested in the staff’s gender, skin color, and hairstyle. Therefore, the receiver can generate unintended semantic features based on the shared knowledge base, such as the staff’s gender, skin color and hairstyle. Note that, the generated unintended semantic features at the receiver may be different from the corresponding features of the image at the transmitter. Then, the receiver combines the received clothing features with its own generated unintended features.
II-G Semantic Decoder
The semantic decoder aims to recover the data from the disentangled features that are semantic explainable, which is the inverse function of the semantic encoding. Again, this inverse function needs the help of the knowledge base for model training such that the decoder can “understand” the features .
Similar to the encoding process, we use conditional PDF to describe the semantic decoding process. The PDF of the decoded data is , and the decoded data is . The data reconstruction for a given feature vector is given as
[TABLE]
II-H Semantic Destination
Finally, the receiver recovers the semantic information based on the decoded data , and the corresponding process can be described by , where the final semantic information is denoted by . At last, the probability of such semantic information can be written as
[TABLE]
So far, we have presented the complete semantic communication framework. The key modules are the semantic encoder and the feature selection. Their functions can be realized by the careful model design. We will present a detailed system design in Section IV, which is a feasible realization of this framework.
III Information-Theoretic Metrics of Semantic Communications
In this section, we propose two metrics for the framework illustrated by Fig. 1. Here, we focus on two procedures: the encoding and the transmission.
III-A Rate-Distortion-Perception Function
The semantic encoding may include many different tasks, and these tasks may have relevant or different criteria. For example, there is data distortion for the traditional data reconstruction task, and distribution distortion for generative learning tasks.
Let be the distribution of the input source, be the distribution of the reconstruction signal, and be a conditional distribution on . The information rate-distortion-perception function [35] for a source is defined as
[TABLE]
where the distortion function satisfying if , and perception function d\big{(}p(x),r(\widehat{x})\big{)} is a non-negative divergence between probability distributions and satisfying if .
So far, for a general source, the optimal distribution of the reconstruction signal of problem (14) has not been derived yet. For a binary source, the three-way tradeoff between rate, distortion, and perception was investigated in [35] with Hamming distance distortion and total-variation distance perception. While for a Gaussian source, the achievable distortion-perception region was established in [36] under squared error distortion and squared Wasserstein-2 distance.
Hence, we investigate how to find the optimal of for a general source under the mean square distortion (i.e., ) and KL divergence perception (i.e., ). We first introduce the following lemma.
Lemma 1**.**
Consider the mean square distortion (i.e., ) and KL divergence perception (i.e., ). The corresponding optimal distribution to problem (14) for a given output distribution is
[TABLE]
where . The corresponding optimal distribution to (14) for a given conditional distribution is
[TABLE]
Proof: Please find the proof in Appendix A.∎
Using Lemma 1, we can apply a process of alternating minimization, called the Blahut–Arimoto algorithm [37]. Specifically, in the initialization setup, choose some positive values and the initial output distribution . In each iteration , compute the optimal according to (15) for given , and then compute the optimal according to (16).
III-B Lower and Upper Bounds on Semantic Channel Capacity
The channel capacity quantifies the maximum rate of information transmission for the considered system. According to the framework in Fig. 1, we define the semantic channel capacity as the maximum semantic information that can be transferred through the semantic channel . Following the standard achievability and converse proof techniques, we obtain the semantic channel capacity in our framework as:
[TABLE]
In the conventional bit-level wireless communication system, the channel capacity is usually represented by the Shannon capacity formula with additive Gaussian distributed noise. In our framework, the semantic channel noise mainly depends on the quantization noise and physical channel noise, and follows non-Gaussian distribution in general. Thus, in our framework, the semantic channel is an additive non-Gaussian noise channel (ANGC), and we assume that the estimated semantic features can be represented as
[TABLE]
Although the specific distribution of is unknown, the variance of the semantic noise can be obtained by measurement. In this paper, we assume that the covariance of the semantic noise is .
Due to the non-Gaussian distributed semantic noise , the classic Shannon capacity formula (based on Gaussian distributed noise) cannot be directly applied to the semantic channel. To derive the semantic channel capacity, we first define equivalent Gaussian distributed semantic channel noise with the same variance as . Then, based on the equivalent semantic channel noise , the received signal of semantic channel is given as
[TABLE]
Therefore, the channel capacity of the equivalent semantic channel is given as
[TABLE]
where denote the power of transmitted semantic data .
Proposition 1** (Lower and upper bounds on the semantic channel capacity).**
With the non-Gaussian distributed channel noise, the semantic channel capacity is bounded by [38]
[TABLE]
where .
At last, we illustrate our theoretical results on the semantic channel capacity via numerical simulation. Fig. 2 (a) and (b) show the lower bound and the upper bound in (22) on semantic channel capacity versus SNR with semantic noise parameters , and , and semantic noise parameters , and , respectively. Fig. 2 (b) shows that the gap between the upper bound and lower bound is less than that in Fig. 2 (a). The reason is that when the the KL divergence between semantic noise and the equivalent semantic channel noise tends to [math], i.e., , the gap between the lower bound and the upper bound in (22) tends to 0.
IV -VAE based Robust and Explainable Semantic Communication System
In this section, we present a feasible and efficient system design based on the proposed framework given in Fig. 1. Here, we propose a robust -VAE based semantic communications system, as shown in Fig. 3, which disentangles the hidden representation vector into multiple independent and semantically interpretable of features.
IV-A * Robust -VAE based Semantic Encoder/Decoder*
By exploiting a generative VAE model [39], we first optimize the semantic encoder with parameter set , and the semantic decoder for the receiver with parameter set . Mathematically, we aim to jointly optimize parameters and to maximize the log-likelihood of data as follows
[TABLE]
To efficiently handle optimization problem (22), we optimize the lower bound of the objective function [40]. Specifically, is lower bounded by
[TABLE]
where equation (23a) holds for the arbitrary distribution , and inequality (23e) holds due to .
Unfortunately, maximizing the lower bound in (23h) directly cannot achieve interpretable and robust semantic communication systems design. To address this challenge, we multiply by a weighting parameter to obtain a disentangling and explainable semantic representation [39], for . Furthermore, to combat semantic noise and achieve robust semantic communication systems design, we replace with , where , denotes fading channel gain, and denotes the semantic noise. Specifically, the log-likelihood maximization problem (22) is reformulated as follows
[TABLE]
where the prior distribution is assumed to follow a standard Gaussian distribution, i.e., .Note that, in (24), the first term is the expected likelihood with the cross entropy form, which can be regarded as reconstruction loss, while the second term regularizes to be close to prior , which can be regarded as regularization loss. To further enhance the robustness of the variational inference, we exploit -cross entropy [41, 42] as the reconstruction loss, instead of the cross entropy , where
[TABLE]
Specifically, the objective function of the proposed robust semantic communication system is given as
[TABLE]
Thus, the robust -VAE training objective (26) encourages the latent distribution to efficiently represent semantic information about the data by jointly maximizing the -cross entropy and minimizing the -weighted KL term via unsupervised learning.
More specifically, we jointly optimize the semantic encoder parameter and semantic decoder parameter to maximize the objective function (26). The first term of (26) is the probability of reconstructing the input data , which corresponds to reconstruction loss. The second term is minimizing the KL divergence, which is the distance between the approximated posterior and the fixed Gaussian distribution . By adopting the well chosen values of the parameter (usually ), the posterior is encouraged to match the Gaussian distribution , which disentangles the hidden representation into multiple independent and semantically meaningful features . The parameter balances reconstruction accuracy and learned disentanglement quality. In general, a higher value of will produce a more disentangled representation, but may lead to lower reconstruction accuracy[39].
Note that, in the robust -VAE network, we let and denote the mean and the corresponding standard deviation of the approximate posterior , respectively. Moreover, a reparametrization trick [39] is applied to estimate gradients of the objective function (24) with respect to the parameter , where random independent variables are sampled from a standard Gaussian distribution, i.e., . Then, the output features of the semantic encoder are given as follows
[TABLE]
Thus, the feature is equivalent to being sampled from distribution , where .
IV-B * Feature Selection and Completion*
With the disentangled and explainable features, the proposed semantic communications system further performs feature selection and completion at the transmitter and receiver, respectively. Specifically, since the receiver may only be interested in some of the features, the transmitter only sends the intended features according to their semantic meanings, rather than all of the extracted features , which can further reduce the amount of information transmission.
For the receiver, the proposed semantic source and channel decoder include semantic feature completion and feature reconstruction. Specifically, for the unintended features subset are not transmitted , the receiver generated the corresponding features based on the receiver knowledge base, where both the dimensions and value ranges of sets and are the same.
Then, according to the completed semantic features , the feature reconstruction module recovers the original data .
IV-C Proposed Architecture
The proposed lightweight semantic communication architecture includes a semantic encoder network and a semantic decoder network, as shown in Fig. 4, where the notation Conv2D 323232 means that the network has 32 2-D convolutional filters of size 3232, and Dense 1*256 represents a dense layer with 256 neurons. The details of the semantic encoder and the decoder network architectures are given as:
IV-C1 Semantic encoder architecture
: Conv2D 323232 Conv2D 321616 Conv2D 6488 Conv2D 6444 Dense 1256 2 parallel Dense 132 ;
IV-C2 Semantic decoder architecture
: Dense 132 Dense 1256 ConvT2D 6444 ConvT2D 3288 ConvT2D 321616 ConvT2D 33232.
Note that, based on the feature selection, the proposed semantic communication system only needs to send the features that the receiver is interested in, instead of sending all features .
V Prototype and Implementations
The proposed architecture and hardware platform design of the semantic communication system prototype are shown in Fig. 5 (a) and (b), which can be used to implement the proposed robust and explainable semantic communications system in Fig. 3. The prototype includes two semantic communication mobile users A and B. The trained robust -VAE network is implemented at the portable RaspberryPi 4 Model B processors to realize the semantic encoding/decoding and the feature selection/completion functions. The integrated Wi-Fi module fulfills the bit-level transmission. The decoded data can be shown through the display.
The detailed parameters of the prototype are provided in Table III. The Raspberry Pi is installed with an ARM Cortex-A72quad-core 1.5GHz CPU and 4GB of DDR4 RAM, and is equipped with Pytorch-CPU and torchvision software. The communication between Raspberry Pi A and B is realized through WiFi, where the socket is used to send and receive data, and Visdom is used to realize visual communication.
VI Experiments and Discussions
In this section, we evaluate the proposed explainable semantic communications system using a graphics processing unit (GPU) and Raspberry Pi prototype, respectively. The GPU experiments in this work have been performed on 32 GB RAM i5-12600H, and 8 GB Nvidia GeForce 3060Ti GTX graphics card with Pytorch powered with CUDA 11.3. The experiments are performed via two standard datasets, i.e., MNIST Dataset and CelebA Dataset.
VI-A Demonstration via GPU
First, we evaluate the robustness of the proposed semantic communication system. Specifically, the peak signal-to-noise ratio (PSNR) performance of the proposed robust -VAE scheme with and are demonstrated over the two channel models: the ANGC and a slow Rayleigh fading channel, where and mean that the trained SNRs of the schemes are and , respectively. Moreover, the PSNR performance of the deep joint source-channel coding (Deep-JSCC) scheme [19], -VAE scheme, and the JPEG compression scheme are presented for comparisons.
Fig. 6 (a) shows PSNR versus different test SNRs of the four schemes over ANGC, where semantic noise parameters , and . We observe that the PSNR of JPEG compression is the lowest among the five schemes, and the PSNR of the robust -VAE schemes are higher than those of both Deep-JSCC and -VAE. In the low SNR regions, the PSNR of the robust -VAE with is the highest, and the PSNR of the robust -VAE with is the higher than that of -VAE, which verifies the robustness of our proposed design. Since the training noise of is higher than that of , the performance of is more robust, and thus the PSNR of is higher. In the high SNR regions, the PSNR of -VAE, and robust -VAE models tend to be the same. The reason is that the effect of noise at high SNR can be ignored.
Fig. 6 (b) illustrates PSNR versus different test SNRs of the five schemes over the Rayleigh fading channel. Similar to Fig. 6 (a), the PSNR of JPEG compression is the lowest among the four schemes, and the PSNR of the robust -VAE with and are higher than those of both Deep-JSCC and -VAE. Note that for , the PSNR of the robust -VAE with is the higher than that of . This because the training SNR of is also dB. Comparing Fig. 6 (a) with ANGC, the PSNRs of the schemes in Fig. 6 (b) are lower due to Rayleigh random fading.
Table IV illustrates the transmission performance of JPEG compression, -VAE, and robust -VAE with and over ANGC with semantic noise parameters , and . The second column of Table IV shows the transmission performance of the JPEG compression scheme, where the transmitted semantics cannot be recognized from the received image. The third column shows the results of the -VAE scheme, where the transmission semantics can be recognized from the received image. The fourth and fifth columns show received images of the robust -VAE scheme with and , and the quality is better than that of the -VAE scheme.
Table V illustrates transmission performance of the four schemes over the Rayleigh fading channel with semantic noise parameters , and . The second column of table IV shows the transmission performance of the JPEG compression scheme, where the transmission semantics cannot be recognized from the received image. The third column shows the transmission performance of the -VAE scheme, where the transmission semantics can be recognized from the received image. The fourth and fifth columns show the transmission performance of the robust -VAE scheme with and , and the received image is better than that of the -VAE scheme.
VI-B *Demonstration via Prototype *
In this subsection, we demonstrate that the proposed explainable semantic communication system with feature selection can improve the transmission efficiency via our prototype.
Table VI shows the performance of the proposed explainable semantic communication system with feature selection. From Column 2 to Column 5, we present four examples to show how the explainable encoder and feature selection work in the transmission. In the second column, the intended feature to send is skin color. The proposed semantic communication system performs feature extraction on the input white-skinned women picture, and then only selects the white skin color feature for transmission. Although the woman in the receiving knowledge base has darker skin, the reconstructed image is changed to white-skin. In the third column, the intended feature is face orientation. The proposed semantic communication system can successfully reconstruct a picture with the same face orientation at the receiver. Similarly, the intended features of the third and fourth columns are gender and hairstyle, respectively, and the proposed semantic communication system can also recover the correct feature at the receiver.
Table VII compares a compression ratio, transmission time, PSNR and reconstructed image of the original image transmission scheme, JPEG compression scheme, -VAE scheme, and robust -VAE scheme over our proposed semantic communication prototype on MNIST dataset with high SNR. From Table VII, we observe that the compression ratio of the -VAE scheme and robust -VAE scheme is which is significantly higher than those of the JPEG compression scheme (1.81) and original image transmission scheme. Thus, the transmission time of the -VAE scheme and robust -VAE scheme is about ms, which is significantly lower than those of the JPEG compression scheme (10.88ms) and original image transmission scheme (18.86ms). Therefore, the proposed semantic communication system can significantly reduce the transmission load and time. Moreover, the PSNR of the robust -VAE scheme is close to that of the JPEG compression scheme, and is higher than that of the -VAE scheme. Comparing of reconstructed images, we can clearly and accurately identify the number “” from the recovered images using the proposed robust -VAE scheme.
Table VIII compares a compression ratio, transmission time, PSNR and reconstructed image of the original image transmission scheme, JPEG compression scheme, -VAE scheme, and robust -VAE scheme over our proposed semantic communication prototype on CelebA dataset with high SNR. Similar to Table VII, the compression ratio of the -VAE scheme and robust -VAE scheme is which is significantly higher than those of the JPEG compression scheme (4.49) and original image transmission scheme. Thus, the transmission time of the -VAE scheme and robust -VAE scheme is about ms, which is significantly lower than those of the JPEG compression scheme (9.53ms) and original image transmission scheme (28.38ms). Therefore, the proposed semantic communication system can significantly reduce the transmission load and time. Moreover, the PSNR of the robust -VAE scheme is close to that of the JPEG compression scheme, and is higher than that of the -VAE scheme. Note that, although the effect of the reconstructed image of proposed robust -VAE scheme is a bit blurry, the three main semantic features of the original image: female, white skin color and long hair, are all accurately transmitted, which verifies the validity and accuracy of the proposed task-oriented semantic communication scheme.
VII Conclusions
In this paper, we propose an explainable and easy-to-implement semantic communication framework that is compatible with conventional communication systems. In this new framework, the semantic encoder can extract feature vectors, disentangle the semantic information, and improve robustness against semantic information ambiguity. To further reduce the communication cost, we apply feature selection to choose only task-related semantic information to transmit. Then, we present two information theoretic metrics, namely, the rate-distortion-perception function and semantic channel capacity to characterize the semantic information compression and transmission, respectively. To quantify the semantic information transmission with the additive quantization noise and physical channel noise, we further derive upper and lower bounds on the semantic channel capacity. Then, we propose a feasible design of the explainable semantic communication system, which includes a robust -VAE lightweight unsupervised learning network. Finally, we develop a wireless mobile semantic communication proof-of-concept prototype to implement the semantic communication design. Our experiments demonstrate that the proposed semantic communication system significantly outperforms the state-of-the-art methods, and shows robustness against various noise levels on two benchmark datasets. This work attempts to provide frameworks and theoretic metrics to explain and analyze the black-box semantic communications problem, and to provide guidelines on implementing the semantic communication in practical communication systems.
VIII Appendices
Appendix A Proof of Lemma 1
We first derive the optimal conditional distribution in (14) for a given output distribution . The mutual information is convex in for fixed , and the KL divergence is also convex in for fixed . Thus, problem (14) is convex in . Then, the Lagrangian function of problem (14) is given by
[TABLE]
where , and are Lagrange multipliers attached with constraints (14b), (14c) and (14d), respectively. For given , the derivative of (28) with respect to is given as
[TABLE]
Let , then we obtain the optimal as
[TABLE]
where .
Since , we have
[TABLE]
Furthermore, we obtain
[TABLE]
Substituting (32) into (30b), we obtain the optimal as given in Lemma 1.
From [37] , we find that given a fixed conditional distribution , the optimal output distribution is . We rewrite the proof below.
[TABLE]
where the last inequality holds because of the non-negative property of KL divergence.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] L. Knud, “State of the Io T 2020: 12 billion Io T connections, surpassing non-Io T for the first time,” https://iot-analytics.com/state-of-the-iot-2020-12-billion-iot-connections-surpassing-non-iot/ , 2020.
- 2[2] J. Antoniou, “Quality of experience and emerging technologies: Considering features of 5G, Io T, cloud and AI,” in Quality of Experience and Learning in Information Systems , pp. 1–8. Springer, 2021.
- 3[3] W. Saad, M. Bennis, and M. Chen, “A vision of 6G wireless systems: Applications, trends, technologies, and open research problems,” IEEE Netw. , vol. 34, no. 3, pp. 134–142, Oct. 2020.
- 4[4] E. Calvanese Strinati, S. Barbarossa, J. L. Gonzalez-Jimenez, D. Ktenas, N. Cassiau, L. Maret, and C. Dehos, “6G: The next frontier: From holographic messaging to artificial intelligence using subterahertz and visible light communication,” IEEE Veh. Technol. Mag. , vol. 14, no. 3, pp. 42–50, Oct. 2019.
- 5[5] B. Mao, F. Tang, Y. Kawamoto, and N. Kato, “AI models for green communications towards 6G,” IEEE Commun. Surveys Tuts. , vol. 24, no. 1, pp. 210–247, Nov. 2022.
- 6[6] K. Niu, J. Dai, S. Yao, S. Wang, Z. Si, X. Qin, and P. Zhang, “Towards semantic communications: A paradigm shift,” ar Xiv preprint ar Xiv:2203.06692 , 2022.
- 7[7] P. Zhang, W. Xu, H. Gao, K. Niu, X. Xu, X. Qin, C. Yuan, Z. Qin, H. Zhao, J. Wei, et al., “Toward wisdom-evolutionary and primitive-concise 6G: A new paradigm of semantic communication networks,” Engineering , 2022.
- 8[8] M. Kountouris and N. Pappas, “Semantics-empowered communication for networked intelligent systems,” IEEE Commun. Mag. , vol. 59, no. 6, pp. 96–102, Jan. 2021.
