The invention discloses a
machine learning-oriented semantic communication with a
scalable compression ratio, which mainly considers an actual semantic communication technology oriented to a
machine learning task and solves the influence of channel quality and bandwidth on semantic
transmission quality of a communication
system. The method comprises the following steps: firstly, preprocessing an image source, and extracting semantic features by using a residual
convolutional neural network; secondly, adjusting and learning semantic features according to a channel
signal-to-
noise ratio through an attention mechanism, and performing length adjustment on the semantic features by using a binary
mask vector according to a given
compression ratio; then, the optimal
bandwidth compression ratio of the communication
system is predicted through the prediction network. And finally, the receiving end inputs the compressed semantic features into networks such as a full-connection classifier to execute specific tasks. Comparison experiments prove that the performance of the method provided by the invention is improved, and compared with a fixed bandwidth, the
bandwidth compression ratio can be adaptively adjusted according to the real-time change of the
signal-to-
noise ratio of the channel and the bandwidth of the channel, so that the performance and efficiency of a semantic communication
system are effectively improved.