The invention relates to the field of adaptive semantic coding, in particular to an adaptive
relay semantic coding method based on
deep learning. According to the scheme, a
relay semantic communication
system based on the deep neural network is constructed, the
system is composed of a transmitting end, a
relay node and a receiving end and comprises a direct link from the transmitting end to the receiving end, a relay receiving link from the transmitting end to a relay and a relay forwarding link from the relay to the receiving end, and a half-duplex DF relay
system is adopted; a relay works on two orthogonal time slots or frequency bands, so that receiving and decoding of the t-th block by the relay correspond to forwarding of the t-th block on the (t + 1)-th block, a bit
stream is generated at a transmitting end through deep semantic source coding and entropy coding and is in
butt joint with
digital channel coding, and meanwhile, a half-duplex DF relay is introduced; cooperative
gain is obtained through random binning and two-stage continuous decoding, an end-to-end
distortion calculation model is established under the condition of limited code length, and finally joint optimization is carried out. The method is suitable for adaptive semantic coding.