An adaptive broadband resource allocation method combining deep reinforcement learning and converter

By combining deep reinforcement learning and the Transformer network, we design a Markov decision problem model and a distributed multi-agent framework, which solves the adaptability problem of changes in the number of users in cloud XR video and tactile collaborative transmission scenarios, and achieves efficient resource allocation. It meets the QoS requirements of multiple users and improves resource utilization and service quality.

CN118233312BActive Publication Date: 2024-09-17TONGJI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410322773.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-20
Publication Date
2024-09-17
Estimated Expiration
2044-03-20

AI Technical Summary

Technical Problem

Existing resource allocation methods are difficult to effectively adapt to changes in the number of users in cloud XR video and haptic collaborative transmission scenarios, and are difficult to meet the video and haptic QoS requirements of multiple users. The traditional DRL model has insufficient adaptability in dynamic user scenarios.

Method used

Combining deep reinforcement learning (DRL) and Transformer network, design a Markov decision problem model, optimize resource allocation strategy through distributed multi-agent framework and reward function, adapt to changes in the number of users, prioritize transmission of tactile frames to meet QoS requirements, and Improve the efficiency of resource allocation through the Transformer network.

Benefits of technology

It realizes resource allocation that adapts to changes in the number of users in cloud XR video and haptic collaborative transmission scenarios, improves wireless bandwidth resource utilization, meets the video and haptic QoS reliability requirements of more users, and improves the service quality of XR applications. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118233312B
    Figure CN118233312B
Patent Text Reader

Abstract

The present invention belongs to the field of 5G and 6G communication technology, and is specifically an adaptive broadband resource allocation method combining deep reinforcement learning and a converter. In the scenario of video and tactile collaborative transmission of cloud-based extended reality (XR), the present invention designs an adaptive distributed multi-agent DRL combined with a converter dynamic resource allocation method based on a deep reinforcement learning method, which can adapt to the dynamic changes in the number of users accessing the system while ensuring that the quality of service (QoS) requirements of video and tactile are met, so that more users can be successfully served; the performance comparison of the average number of satisfied users of the method of the present invention with other resource allocation schemes shows that the method of the present invention converges faster and can satisfy more users on average.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of 5G and 6G communication technology, and specifically relates to a resource allocation method in a cloud-based extended reality (XR) video and tactile collaborative transmission scenario, and in particular to an adaptive broadband resource allocation method combining deep reinforcement learning (DRL) and a transformer (Transformer network). Background Art

[0002] With the widespread popularity of smartphones and head-mounted devices, extended reality (XR) technologies and applications, including immersive technologies such as virtual reality (VR), augmented reality (AR) and mixed reality (MR), are developing rapidly. Among them, cloud-based XR services use cloud servers with stronger computing power and higher energy efficiency to process XR content, and then transmit it to various user devices through 5G or 6G networks, thereby reducing the computing power requirements of XR terminals. The requirements for ultra-low latency and ultra-high reliability in XR transmission pose great challenges to 5G or 6G transmission. Due to the scarcity of wireless spectrum resources, it is not feasible to simply increase network bandwidth for XR applications. Therefore, effective resource allocation must be performed among XR users to improve resource utilization. Traditional resource allocation methods (such as game theory and meta-heuristics) have difficulty in coping with the challenges posed by complex multi-user channel characteristics and huge solution space. Therefore, researchers have turned to deep reinforcement learning (DRL) with powerful modeling and decision-making capabilities to design dynamic resource allocation strategies.

[0003] In order to provide users with a richer and more immersive quality of service (QoS) experience, the coordinated transmission of multiple service flows is an important scenario for XR applications, including the synchronous transmission of different sensory signals (such as vision and touch) for the same user. However, most current studies only focus on the service of a single video stream in XR, and how to coordinate the synchronous transmission of multiple service flows through resource allocation remains a key challenge to achieve a rich XR experience. In addition, although the current DRL model can effectively allocate resources to users according to different channel state information (CSI), most studies are limited to the scenario of serving a fixed number of users in the same base station, or treat different numbers of users as separate cases. In real-world communication systems, the number of user accesses is randomly variable, which will lead to dynamic changes in the action and state space of resource allocation. Traditional DRL models are usually limited to fixed input and output dimensions, and there are challenges in adapting to the dynamic changes in the number of users. Based on the above problems, for the cloud XR video and tactile coordinated transmission scenario, there is an urgent need for a general dynamic resource allocation model that can adapt to the changes in the number of users and ensure that QoS requirements are met, so as to maximize the number of users successfully served in the access system. Summary of the invention

[0004] The present invention aims to provide a general wireless bandwidth resource (resource block RB) allocation method in an XR video and tactile collaborative transmission scenario that can adapt to changes in the number of users, so that more users can simultaneously meet their video and tactile QoS reliability requirements, that is, the more users are successfully served, the better.

[0005] The resource allocation method in the cloud XR video and tactile collaborative transmission scenario proposed in the present invention is an adaptive bandwidth resource allocation method that combines deep reinforcement learning (DRL) and transformer (Transformer network). The specific steps are as follows:

[0006] Step 1: Design a Markov decision (MDP) problem model, that is, the model includes state space, action space and reward function, specifically:

[0007] (1.1) State space design: At any given time t, assume that there are N users in the system, where N is dynamically changing, the user numbers are U = {1, 2, ..., N}, and the current video frame success rate (FSR) of all users is O V,t = {O t,1 ,O t,2 ,...,O t,N}, the current tactile FSR of all users is 0 H,t ={O′ t,1 ,O′ t,2 ,...,O′ t,N}, the number of remaining video sub-frames to be transmitted in the current video frame is n V,t ={n t.1 ,n t,2 ...,n t,N}, the number of tactile subframes remaining to be transmitted in the current tactile frame is n H,t ={n′ t,1 ,n′ t,2 ,...,n′ t,N}, the remaining transmission delay of the current video frame is T V,t ={T t,1 ,T t,2 ,...,T t,N}, the total state space is recorded as:

[0008] S t = {U,O V,t ,O H,t ,n V,t ,n H,t ,T V,t}, (1)

[0009] Among them, the state space S t It will change dynamically with the number of users N.

[0010] (1.2) Action space design: Consider the spatial multiplexing of resource blocks (RBs) under the orthogonal frequency division multiplexing (OFDM) technology, that is, an RB is allowed to have a maximum of Users occupying Therefore, at time t, the number of all possible allocation actions for each RB is in represents the number of combinations of randomly selecting k users from N users; the allocation action of each RB is recorded as Assume that the base station has a total of M RBs. It means that at the current time t, the i-th RB is allocated to the k-th user. It means that the i-th RB is not allocated to the k-th user. The overall RB allocation strategy is expressed as:

[0011]

[0012] (1.3) Reward function design: The QoS reliability requirement of tactile frames is high and the data volume is small. The strategy of giving priority to the transmission of tactile frames is adopted. That is, after a user obtains RB resources, tactile frames are transmitted first, and the remaining resources are used to transmit video frames. The following reward function is designed from the perspective of video frame transmission:

[0013] (1.3.1) Rewards for meeting QoS requirements:

[0014] Use x k =O t,k -QoS k represents the difference between the actual video FSR and QoS requirement of the kth user. k If it is not greater than the ideal difference x′, a positive reward c is given; if x k If the value x′ exceeds the ideal value, a linearly decaying positive reward value smaller than c is given; for any user k, the reward designed to meet the QoS requirements is The formula is:

[0015]

[0016] Among them, a, b, and c are adjustable hyperparameters.

[0017] (1.3.2) Channel rate reward:

[0018] At a given time t, the video frame transmission rate of the kth user is expressed as In a time period of p v,k The transmission time window completes a transmission of size d v,k The average rate required for video frames is when Lower than When , the reward function is a quadratic function with an opening upward, Much smaller than or very close When , we give a very small penalty value, that is, a negative reward, to encourage users with extremely low channel rates to abandon or accept users with rates very close to the average rate to increase the probability of successfully serving the user. Greater than , a positive reward is given, and at this time when the user has not met the QoS requirements, that is, x k,t <0, a positive reward value with an exponential growth rate is given; if the user has met the QoS requirements, a constant positive reward value is given. For any user k, the designed user rate reward The formula is:

[0019]

[0020] Among them, a1, b1, b2, c1 are adjustable hyperparameters.

[0021] (1.3.3) Considering the dynamic changes in the number of users, the average reward of all users is used as the final reward r t :

[0022]

[0023] Step 2: Design a distributed multi-agent model framework: Assume that a base station has M RBs, and each RB is regarded as an agent, denoted as RB-Agent. At a given time t, each RB-Agent observes the external environment state S t Similarly, each RB-Agent outputs its own allocation action a i,t , Then all RB-Agent actions are integrated into the final RB allocation strategy A t =[a 1,t ,a 2,t ,…,a M,t ] T , the allocation strategy interacts with the environment and receives feedback r from the environment t and the state S at the next time t+1 t+1 This is a complete interaction between multiple agents and the environment, forming an experience [S t ,a i,t ,r t ,S t+1 ], and store it in each RB-Agent’s own experience pool D i , used to train the respective model parameters.

[0024] Step 3: Build a single RB-Agent model. Each RB-Agent model consists of three modules: state partition module, encoder, and decoder. The framework of each model is the same, only the parameters are different. The specific construction steps are as follows:

[0025] (3.1) State division module construction: For each RB-Agent state S i,t Grouped by each user, any user k contains his own number and video and tactile information, denoted as s t,k ={k,O t, k,O′ t,k ,n t,k ,n′ t,k ,T t,k}, state S i,t The dimension of (b,n agent ,N*6) dimension becomes (b,n agent ,N,6) dimension, where b is the size of a batch, n agent =1 means that each RB is an intelligent agent, N is the number of users accessing the system, which changes dynamically, and 6 refers to the number of state attributes of each user.

[0026] (3.2) Encoder module construction: divided state S i,t First, the features are mapped to the latent space through the embedding layer, and the new state is recorded as x i =Emb i (S i,t ), then x i After the following linear transformation:

[0027] Q i =query i (x i ),K i =key i (x i ),V i =value i (x i ), (6)

[0028] Among them, query i (·),key i (·),value i (·) is a linear function with the same structure but different parameters; Q i ,K i ,V i The dimension is denoted as Q i ,K i , E d,iis the size of the embedding dimension. Next, the self-attention mechanism of scaled dot product is used to calculate the correlation W between features i :

[0029]

[0030] It's K i The transpose of , and then get the new value vector V i ′=W i ×V i In order to eliminate the impact of the dynamic change of the state input dimension caused by the change in the number of users, the extracted features are weighted summed in the dimension of the number of users to generate the aggregate feature S′ i,t =Sum(V i ′, dim=2), S′ i,t The dimension is recorded as The loss function of the encoder is defined as:

[0031]

[0032] Where T represents the total number of transmission time slots; R(S i,t ,a i,t ) indicates that in state S i,t , the agent takes action a i,t After that, the reward value returned by the environment; γ is the discount factor; is the state value network, is its network parameter; is the target network of the state value network, and The network structure is the same, but the parameters are different. is the parameter of the target network, and The value of

[0033] (3.3) Decoder module construction: initial action identification First pass through the embedding layer, then pass through the masked self-attention mechanism layer (Self-Attention) to extract the relevant information of the initial action Then the state information S′ in the encoder is i,t and The mapping relationship between state and action is extracted by the occluded cross-attention layer, and then the obtained mapping relationship is sent to the fully connected network (MLP) to obtain the probability of all possible actions of the RB-Agent, and the output allocation action is obtained by random sampling based on the probability. In order to ensure the effective propagation of gradients in the network and enhance network performance, residual connections are deliberately used between sub-network structures. The loss function of the decoder is defined as:

[0034]

[0035] Among them, π θ (a i,t |s t ) is the policy function with parameter θ. In state S t Next output action a i,t ; The parameter is θ old The policy function, θ old is the parameter of θ before updating; is the ratio of the new and old actions; clip(·) is the clipping function, which keeps the ratio between [1-ε, 1+ε], where ε is a hyperparameter; A i,t (θ i ) is the advantage function.

[0036] Step 4: Train the distributed multi-agent DRL combined with the Transformer network model (ADMA-DcT) and train all RB-Agents independently and in parallel to obtain the best model.

[0037] Training is represented by Episode, and each Episode contains L S The training step length is Steps. At the beginning of each Episode, the number of users N∈[N min ,N max ], N remains unchanged in the same Episode. The experience pool D of each RB-Agent is dynamically created according to the initialized number N i , At a given training step length Stept, each RB-Agent observes the external environment state S t Similarly, each RB-Agent outputs its own allocation action a at the same time i,t , Then all RB-Agent actions are integrated into the final RB allocation strategy A t =[a 1,t ,a 2,t ,…,a M,t ] T , the allocation strategy interacts with the environment and receives feedback r from the environment t and the state S at the next time t+1 t+1 This is a complete interaction between multiple agents and the environment, forming an experience [S t ,ai,t ,r t ,S t+1 ], and store it in each RB-Agent’s own experience pool D i After the agent has finished interacting with the environment S After steps, model training begins.

[0038] During training, each RB-Agent randomly extracts a batch of data with a size of b from its own experience pool, first passes through the state partition module to extract the weighted features of the state, then passes through the encoder module to calculate the encoder's Loss function, as shown in formula (8), then passes through the decoder module to calculate the decoder's Loss function, as shown in formula (9), and finally uses the stochastic gradient descent (SGD) method to minimize the sum of the encoder and decoder's Loss functions, that is, the sum of formula (8) and formula (9). This training is repeated for P rounds (Epoch), which is the end of a training Episode. After the end, the experience pool D of all RB-Agents is released. i When the next training Episode starts, it is dynamically created again based on the number of users N. This cycle repeats L E Episodes are repeated until the model converges and training stops.

[0039] When testing or applying, load the best trained model and randomly initialize the number of users N∈[N min ,N max ], N remains unchanged in the same Episode. At this time, there is no need to create an experience pool. Given a test step length Stept, the external environment state S observed by each RB-Agent t Similarly, each RB-Agent directly outputs its own assigned action a according to the trained model i,t , Then all RB-Agent actions are integrated into the final RB allocation strategy A t =[a 1,t ,a 2,t ,…,a M,t ] T , the allocation strategy interacts with the environment and receives feedback r from the environment t and the state S at the next time t+1 t+1 , and there is no need to collect experience. The agent interacts with the environment completely. S Steps is a complete Episode, and so on. TEpisodes are tested, and the number of satisfied users in each episode is recorded. After all test episodes are completed, the average number of satisfied users is taken and compared with other resource allocation schemes.

[0040] In the scenario of video and tactile collaborative transmission of real-time cloud XR, the present invention designs a dynamic resource allocation method of adaptive distributed multi-agent DRL combined with Transformer (ADMA-DcT) based on the deep reinforcement learning method. While ensuring the QoS reliability of video and tactile, it can adaptively access the dynamic changes in the number of users in the system, so that more users can be successfully served. The method of the present invention not only improves the utilization rate of wireless bandwidth resources in cloud-based XR transmission, but also promotes the research on video and tactile collaborative transmission in XR applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 Flowchart of the present invention

[0042] Figure 2 Schematic diagram of the adaptive distributed multi-agent DRL combined with Transformer (ADMA-DcT) model of the present invention.

[0043] Figure 3 Schematic diagram of each RB-Agent model framework.

[0044] Figure 4 This is a performance comparison chart of the training method of the present invention and the currently commonly used deep reinforcement learning method.

[0045] Figure 5 This is a test performance comparison chart of the method of the present invention and currently commonly used resource allocation solutions. DETAILED DESCRIPTION

[0046] The present invention will be further described below in conjunction with the accompanying drawings.

[0047] Step 1: Establish a Markov decision (MDP) problem model, that is, design the state space, action space and reward function contained in the model, including the following process:

[0048] Step 1.1, the state space is designed as follows: At any given time t, assume that there are N users in the system, where N is randomly sampled from [5,9]. The total state space is recorded as:

[0049] S t = {U,O V,t ,O H,t ,n V,t ,n H,t ,T V,t} (1)

[0050] Step 1.2, action space design: Consider the spatial multiplexing of RB blocks, that is, an RB is allowed to have a maximum of users occupy the RB at the same time, and the maximum value of N∈[5,9] is 9 users, so the number of possible actions for each RB is , denoted as in, It means that at the current time t, the i-th RB is allocated to the k-th user. Indicates that the i-th RB is not allocated to the k-th user. The overall RB allocation strategy is expressed as

[0051]

[0052] Step 1.3, reward function design:

[0053] Step 1.3.1, reward for meeting QoS reliability:

[0054] Use x k =O t,k -QoS k represents the difference between the actual video FSR and QoS requirement of the kth user, where QoS k =99%, when x k If x is not greater than the ideal value x′=0.3%, a positive reward c is given; if x k If the ideal value x′ is exceeded, a linearly decaying positive reward value smaller than c is given; it can be expressed as:

[0055]

[0056] in, b=-ax′, c=10.

[0057] Step 1.3.2, channel rate reward:

[0058] At a given time t, the video transmission rate of the kth user is expressed as In a transmission time window (length p v,k = 20 TTIs) to transmit a video frame (size is d v,k =(42±x) subframes) the average rate required is The formula is:

[0059]

[0060] in, b1=0.55, b2=0.45, c1=1.

[0061] Step 1.3.3, in order to consider the dynamic changes in the number of users, we use the average reward of all users as the final reward:

[0062]

[0063] Step 2: Design a distributed multi-agent model framework, such as Figure 2 As shown in Figure 2, assume that a base station has a total of M = 13 RBs, and each RB is regarded as an agent, denoted as RB-Agent. At a given time t, the external environment state S observed by each RB-Agent is t The same, and each RB-Agent has its own experience pool D i , used to train the respective model parameters.

[0064] Step 3: Build a single RB-Agent model. The framework of each model is the same, but only the parameters are different.

[0065] Step 3.1, state partition module construction: Figure 3 As shown in the ① state division module in the figure, for each RB-Agent state S i,t Group by each user, and record the status of each user as s t,k ={k,O t,k ,O′ t,k ,n t,k ,n′ t,k ,T t,k}, state S i,t The dimension changes from (b, 1, 6N) to (b, 1, N, 6), where b is the size of a batch, b = 1 during the interaction with the environment, and b = 256 during the model training stage.

[0066] Step 3.2, encoder module construction: Figure 3 As shown in the ② encoder module in the figure, the divided state S i,t First, the features are mapped to the latent space through the embedding layer, denoted as x i =Emb i (S i,t ), then x i After the following linear transformation:

[0067] Q i =query i (x i ),K i =key i (x i ),V i =value i (x i ) (6)

[0068] The query i ,key i ,value i =nn.Linear(feature_dim,E d,i ), Q i ,K i , E d,i = 128 is the embedding dimension. Next, the correlation between features is calculated using the scaled dot product self-attention mechanism:

[0069]

[0070] So we get the new value vector V i ′=W i ×V i In order to eliminate the impact of the dynamic change of the state input dimension caused by the change in the number of users, we perform a weighted sum operation on the extracted features in the user number dimension to generate the aggregate feature S′ i,t =Sum(V i ′, dim=2), The loss function of the encoder is defined as:

[0071]

[0072] in, is the parameter of the target network, and The value of is copied to it.

[0073] 3.3, decoder module construction: such as Figure 3 As shown in the decoder module in ③, the initial action identifier First pass through the embedding layer, then pass through the masked self-attention mechanism layer (Self-Attention) to extract the relevant information of the initial action Then the state information S′ in the encoder is i,t and The mapping relationship between state and action is extracted by the occluded cross-attention layer, and then the obtained mapping relationship is sent to the fully connected network (MLP) to obtain the probability of all possible actions of the RB-Agent, and the output allocation action is obtained by random sampling based on the probability. In order to ensure the effective propagation of gradients in the network and enhance network performance, residual connections are deliberately used between sub-network structures. The loss function of the decoder is defined as:

[0074]

[0075] in, is the ratio of the new and old actions; the clip(·) function keeps the ratio between [1-ε, 1+ε], ε = 0.2; A i,t (θ i ) is the advantage function.

[0076] Step 4: Training and testing of the proposed distributed multi-agent DRL combined with Transformer model (ADMA-DcT). Each RB-Agent is trained independently and in parallel.

[0077] Each Episode contains L S = 2560 training steps. At the beginning of each Episode, the number of users N∈[5,9] is randomly initialized, and N remains unchanged in the same Episode. The experience pool D of each RB-Agent is dynamically created according to the initialized number N. i , At a given training step length Stept, each RB-Agent observes the external environment state S t Similarly, each RB-Agent outputs its own allocation action a at the same time i,t , Then all RB-Agent actions are integrated into the final RB allocation strategy A t =[a 1,t ,a 2,t ,…,a M,t ] T , the allocation strategy interacts with the environment and receives feedback r from the environment t and the state S at the next time t+1 t+1 This is a complete interaction between multiple agents and the environment, forming an experience [S t ,a i,t ,r t ,S t+1 ], and stored in each RB-Agent's respective experience pool D i After the agent has finished interacting with the environment S = After 2560 steps, model training begins.

[0078] During training, each RB-Agent randomly extracts a batch of data (size b = 256) from its own experience pool and first passes through Figure 3 The ① state division module in the above example extracts the weighted features of the state and then passes through Figure 3 The encoder module in ② calculates the loss function of the encoder, as shown in formula (8), and then passes through Figure 3The decoder module in ③ calculates the Loss function of the decoder, as shown in formula (9). Finally, the stochastic gradient descent (SGD) method is used to minimize the Loss function of the encoder and decoder, that is, the sum of formula (8) and formula (9). This training is repeated for P = 15 rounds, which is the end of a training episode. After the end, the experience pool D of all RB-Agents is released. i When the next training Episode starts, it is dynamically created again based on the number of users N. This cycle repeats L E = 300 Episodes, until the model converges and stops training.

[0079] During testing, the best trained model is loaded. At the beginning of each Episode, the number of users N∈[5,9] is randomly initialized, and N remains unchanged within the same Episode. The external environment state S observed by each RB-Agent is t Similarly, each RB-Agent directly outputs its own assigned action a according to the trained model i,t , Then all RB-Agent actions are integrated into the final RB allocation strategy A t =[a 1,t ,a 2,t ,…,a M,t ] T , the allocation strategy interacts with the environment and receives feedback r from the environment t and the state S at the next time t+1 t+1 , and there is no need to collect experience. The agent interacts with the environment completely. S Steps is a complete Episode, and so on. T =50 episodes, record the number of satisfied users in each episode, and after all episodes are finished, take the average value and compare it with other resource allocation algorithms.

[0080] To verify the effectiveness of the proposed method, the present invention provides a performance comparison of the average number of satisfied users of the proposed method and other resource allocation schemes. In order to make a more effective comparison, the performance of different DRL methods (the present invention, the centralized multi-agent converter algorithm (MAT), and the multiple-soft-actor-critic algorithm (MSAC)) during training is compared. Figure 4 It can be seen that the method of the present invention converges faster and can satisfy more average users. Then the performance comparison of different resource allocation schemes (the present invention, maximum signal to interference and noise ratio (MaxCI), MAT, MSAC) during the test is compared, such as Figure 5 As shown, the method of the present invention can satisfy the largest average number of users among all the solutions.

[0081] The assumed communication system parameters in the simulation are shown in the following table.

[0082] Number of resource blocks (RBs) 13 Number of users N∈[5,9] randomly changes Transmit power 43dBm Noise Power Spectral Density -64dBm System bandwidth 6M Number of base station antennas 64 Video QoS Requirements ≥99% Haptic QoS Requirements ≥99.999% Video frame delay tolerance 10ms Haptic frame delay tolerance 5ms Video Type 4K Video Transmission Time Interval TTI 0.05ms

[0083] The above describes the excellent optimization effect shown by an embodiment of the present invention. Obviously, the present invention is not limited to the above embodiment, and various modifications can be made to it without departing from the basic spirit of the present invention and without exceeding the scope of the essential content of the present invention.

Claims

1. An adaptive bandwidth resource allocation method combining deep reinforcement learning (DRL) and a converter, characterized in that: The specific steps are: Step 1: Design a Markov decision MDP problem model, which includes state space, action space and reward function, specifically: (1.1) State space design: At any given time t, assume that there are N users in the system, N is dynamically changing, the user number is U = {1, 2, ..., N}, and the current video frame success rate FSR of all users is O V,t = {O t,1 ,O t,2 ,...,O t,N }, the current tactile frame FSR of all users is 0 H,t ={O′ t,1 ,O′ t,2 ,...,O′ t,N }, the number of remaining video sub-frames to be transmitted in the current video frame is n V,t ={n t.1 ,n t,2 ...,n t,N }, the number of tactile subframes remaining to be transmitted in the current tactile frame is n H,t ={n′ t,1 ,n′ t,2 ,...,n′ t,N }, the remaining transmission delay of the current video frame is T V,t ={T t,1 ,T t,2 ,...,T t,N }, the total state space is recorded as: S t ={U,O V,t ,O H,t ,n V,t ,n H,t ,T V,t }, (1) Among them, the state space S t Dynamically changes with the number of users N; (1.2) Action Space Design: Consider the spatial multiplexing of resource blocks (RBs) in OFDM technology, that is, a RB can be used at most within the same transmission time slot (TTI). Users occupy at the same time, At time t, the number of all possible allocation actions for each RB is in represents the number of combinations of randomly selecting k users from N users; the allocation action of each RB is recorded as Assume that the base station has a total of M RBs. It means that at the current time t, the i-th RB is allocated to the k-th user. It means that the i-th RB is not allocated to the k-th user. The overall RB allocation strategy is expressed as: (1.3) Reward function design: The QoS of tactile frames has high reliability requirements and small data volume. The strategy of giving priority to the transmission of tactile frames is adopted. That is, after a user obtains RB resources, tactile frames are transmitted first, and the remaining resources are used to transmit video frames. The following reward function should be designed from the perspective of video transmission: (1.3.1) Rewards for meeting QoS requirements: Use x k =O t,k -QoS k represents the difference between the actual video frame transmission rate of the kth user and the QoS requirement. k If the difference is not greater than the ideal value x′, a positive reward c is given; if x k If the value x′ exceeds the ideal value, a linearly decaying positive reward value smaller than c is given; for any user k, the reward designed to meet the QoS requirements is The formula is: Among them, a, b, c are adjustable hyperparameters; (1.3.2) Channel rate reward: At a given time t, the video frame transmission rate of the kth user is expressed as In a time period of p v,k The transmission time window is completed with a size of d v,k The average rate required for video frames is when No more than When the reward function is a quadratic function with an opening upward; when the rate Greater than , a positive reward is given, and at this time when the user has not met the QoS requirements, that is, x k <0, a positive reward value with an exponential growth rate is given; if the user has met the QoS requirements, a constant positive reward value is given; for any user k, the reward for the designed user rate is The formula is: Among them, a1, b1, b2, c1 are adjustable hyperparameters; (1.3.3) Considering the dynamic changes in the number of users, the average reward of all users is used as the final reward r t : Step 2: Design a distributed multi-agent model framework. Assume that a base station has M RBs. Each RB is regarded as an agent, denoted as RB-Agent. At a given time t, the external environment state S observed by each RB-Agent is t Similarly, each RB-Agent outputs its own allocation action a at the same time i,t , Then all RB-Agent actions are integrated into the final RB allocation strategy A t =[a 1,t ,a 2,t ,…,a M,t ] T , the allocation strategy interacts with the environment and receives feedback r from the environment t and the state S at the next time t+1 t+1 This is a complete interaction between multiple agents and the environment, forming an experience [S t ,a i,t ,r t ,S t+1 ], and stored in each RB-Agent's respective experience pool D i , used to train the respective model parameters; Step 3: Build a single RB-Agent model, where each RB-Agent consists of three modules: state partition module, encoder, and decoder. The framework of each model is the same, only the parameters are different. The specific construction steps are as follows: (3.1) State division module construction: For each RB-Agent state S i,t , Group by each user, each user contains his own number and video and tactile information, denoted as s t,k ={k,O t,k ,O t ' ,k ,n t,k ,n t ' ,k ,T t,k }, state S i,t The dimension of (b,n agent ,N*6) dimension becomes (b,n agent ,N,6) dimension, where b is the size of a batch, n agent =1 means that each RB is an intelligent agent, N is the number of users accessing the system, which changes dynamically, and 6 refers to the number of state attributes of each user; (3.2) Encoder module construction: For the divided state S i,t First, the features are mapped to the latent space through the embedding layer, and the new state is recorded as x i =Emb i (S i,t ), then x i After the following linear transformation: Q i =query i (x i ),K i =key i (x i ),V i =value i (x i ), (6) Among them, query i (·),key i (·),value i (·) is a linear function with the same structure but different parameters; Q i ,K i ,V i The dimension is recorded as E d,i is the embedding dimension size; then, the self-attention mechanism of scaled dot product is used to calculate the correlation W between features i : It's K i The transpose of , and then get the new value vector V i ′=W i ×V i ; In order to eliminate the impact of dynamic changes in the state input dimension caused by changes in the number of users, the extracted features are weighted summed in the user number dimension to generate the aggregate feature S′ i,t =Sum(V i ′, dim=2), S′ i,t The dimension is recorded as The loss function of the encoder is defined as: Where T represents the total number of transmission time slots; R(S i,t ,a i,t ) indicates that in state S i,t , the agent takes action a i,t After that, the reward value returned by the environment; γ is the discount factor; is the state value network, is its network parameter; is the target network of the state value network, and The network structure is the same, but the parameters are different. is the parameter of the target network, and The value of is copied to it; (3.3) Decoder module construction: initial action identification First pass through the embedding layer, then pass through the occluded self-attention mechanism layer to extract the relevant information of the initial action Then the state information S in the encoder is i ' ,t and The mapping relationship between state and action is extracted by the occluded cross attention layer, and then the obtained mapping relationship is sent to the fully connected network MLP to obtain the probability of all possible allocation actions of the RB-Agent, and the output allocation action is obtained by random sampling based on the probability In order to ensure the effective propagation of gradients in the network and enhance network performance, residual connections are used between sub-network structures; the loss function of the decoder is defined as: in, is the ratio of the new and old actions; clip(·) is the clipping function, which keeps the ratio between [1-ε, 1+ε], ε is a hyperparameter; A i,t (θ i ) is the advantage function; Step 4: Training of the distributed multi-agent DRL combined with the converter model ADMA-DcT framework; each RB-Agent is trained independently and in parallel.

2. The adaptive bandwidth resource allocation method according to claim 1, characterized in that: The training or testing round of ADMA-DcT described in step 4 is represented by Episode, and each Episode contains L S The training step length is recorded as Steps. At the beginning of each Episode, the number of users N∈[N min ,N max ], N remains unchanged in the same Episode; the experience pool D of each RB-Agent is dynamically created according to the initialized number N i , At a given training step length Stept, each RB-Agent observes the external environment state S t Similarly, each RB-Agent outputs its own allocation action a at the same time i,t , Then all RB-Agent actions are integrated into the final RB allocation strategy A t =[a 1,t ,a 2,t ,…,a M,t ] T , the allocation strategy interacts with the environment and receives the reward r from the environment t and the next step state S of length t+1 t+1 This is a complete interaction between multiple agents and the environment, forming an experience [S t ,a i,t ,r t ,S t+1 ], and stored in each RB-Agent's respective experience pool D i ; Wait for the agent to complete the interaction with the environment S After steps, model training begins; During training, each RB-Agent randomly extracts a batch of data with a size of b from its own experience pool, first passes through the state partition module to extract the weighted features of the state, then passes through the encoder module to calculate the encoder's Loss function, as shown in formula (8), and then passes through the decoder module to calculate the decoder's Loss function, as shown in formula (9); finally, the stochastic gradient descent SGD method is used to minimize the sum of the encoder and decoder's Loss functions, that is, the sum of formula (8) and formula (9). This training is repeated for P rounds, which is the end of a training Episode; after the end, the experience pool D of all RB-Agents is released. i , when the next training Episode starts, it is dynamically created again based on the number of users N; This reciprocating cycle L E Episodes are repeated until the model converges.

3. The adaptive bandwidth resource allocation method according to claim 2, characterized in that: When applied, load the best trained model and randomly initialize the number of users N∈[N min ,N max ], N remains unchanged in the same Episode; At the test step Stept, each RB-Agent observes the external environment state S t Similarly, each RB-Agent directly outputs its own assigned action a according to the trained model i,t , Then all RB-Agent actions are integrated into the final RB allocation strategy A t =[a 1,t ,a 2,t ,…,a M,t ] T , the allocation strategy interacts with the environment and receives feedback r from the environment t and the state S of the next step length Step t+1 t+1 , the agent interacts with the environment S Steps is a complete Episode, and so on. T Episodes are created, and the number of satisfied users in each episode is recorded. After all episodes are completed, the average number of satisfied users is taken and compared with other resource allocation schemes.