A 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning
Through deep reinforcement learning technology, the cascaded deep Q network is designed to solve the problem of resource allocation complexity in highly dynamic wireless networks, realize efficient resource allocation strategies in 5G/6G environments, and provide real-time and accurate resource allocation solutions. .
Patent Information
- Application Number
- CN202410043676.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-01-11
Smart Images

Figure CN117835441B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning. Background Art
[0002] With the development of communication technology, the realization and application of immersive communication is expected to become a reality. The purpose of immersive communication technology is to achieve interactive communication and exchange between remote participants and the surrounding environment, and to build a bridge between the physical world and the virtual world. As an important part of immersive communication technology, panoramic video transmission is increasingly valued by academia and industry.
[0003] With the advent of the 5G era, modern wireless networks are becoming more and more dense and dynamic. However, traditional resource allocation methods have high solution complexity and low efficiency, and are difficult to adapt to highly dynamic wireless network environments. Therefore, it is urgent to develop more efficient algorithms to obtain optimal or suboptimal solutions. Summary of the invention
[0004] The purpose of the present invention is to solve the problem of resource allocation which is difficult and complex and cannot be effectively solved in the prior art, and to propose a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning includes the following steps:
[0007] Step 1: Design a cascaded deep Q network;
[0008] Step 2: Construct CS training data set;
[0009] Step 3: Use the initial data in the training data set in step 2 to train the layer-by-layer deep Q network in step 1 to obtain a trained CDQ-Net model;
[0010] Step 4: Generate a current communication state matrix according to the communication link, available channels and power of the wireless network;
[0011] Step 5: Input the current communication state matrix into the trained CDQ-Net model. The CDQ-Net model outputs the corresponding maximum Q value to obtain the current resource allocation strategy.
[0012] Preferably, the design steps of the cascaded deep Q network in step 1 include:
[0013] S1. Build input data;
[0014] S2, construct the CDQ-Net network dimension-increasing structure;
[0015] S3, build CDQ-Net network dimension reduction structure;
[0016] S4. Construct the CDQ-Net network output structure.
[0017] Furthermore, when constructing the input data in step S1, the current communication state matrix is designed according to the state space and action space of the wireless network so that the subsequent network can perform feature learning; when the network has N communication links, the position coordinates of the sending node and the receiving node corresponding to a single link are (xt, yt) and (xd, yd), respectively; the power combinations of the wireless network are 4, namely [p1, p2, p3, p4], and the current available channels are 8, namely [T1, T2, T3, T4, T5, T6, T7, T8], then the action space CP-At contains 4*8=32 elements; then CSt is a 32*6-dimensional matrix composed of link information and wireless network action space, each row of the matrix is composed of [xt, yt, xd, yd, p', T'], and p' and T' in each row are non-repeating pairwise combinations of power and available channels.
[0018] Furthermore, the step S2 constructs a CDQ-Net network dimension-increasing structure for more fully extracting the two-dimensional data of the input matrix; first, the input matrix is dimensionally increased, that is, a unidirectional deconvolution operation is performed on the data, the deconvolution kernel is 1*4, the step size is 6, the number of deconvolution kernels is 32, and a three-dimensional feature map of size 32*32*32 is obtained; four consecutive deconvolution layers are used to perform layer-by-layer high-dimensional mapping on the three-dimensional feature map, the deconvolution kernels are all 2*2, the step size is 2, the number of deconvolution kernels is 16, 8, 4 and 2 respectively, and three-dimensional feature maps of sizes 64*64*16, 128*128*8, 256*256*4 and 512*512*2 are obtained respectively.
[0019] Furthermore, when constructing the CDQ-Net network dimensionality reduction structure in step S3, after obtaining feature maps at different information resolutions, feature extraction is performed layer by layer on the feature maps of each level;
[0020] After obtaining the feature maps at different information resolutions, the feature maps at each level are extracted layer by layer: a single-layer convolution operation is performed on the three-dimensional feature map with a size of 64*64*16, the convolution kernel is 3*3, the step size is 2, and the number of convolution kernels is 16, and a three-dimensional feature map with a size of 32*32*16 is obtained; a continuous two-layer convolution operation is performed on the three-dimensional feature map with a size of 128*128*8, the convolution kernel is 3*3, the step size is 2, and the number of convolution kernels is 8, and a three-dimensional feature map with a size of 128*128*8 is obtained. The three-dimensional feature map of size 32*32*8 is obtained by performing three consecutive convolution operations on the three-dimensional feature map of size 256*256*4, with the convolution kernels of 3*3, the step size of 2, and the number of convolution kernels of 4, to obtain a three-dimensional feature map of size 32*32*4; the three-dimensional feature map of size 512*512*2 is subjected to four consecutive convolution operations, with the convolution kernels of 3*3, the step size of 2, and the number of convolution kernels of 2, to obtain a three-dimensional feature map of size 32*32*2.
[0021] Furthermore, when the step S4 constructs the CDQ-Net network output structure, the features proposed in step S3 are channel-joined to obtain a three-dimensional feature map, and on this basis, a convolution kernel is used to perform convolution calculation to obtain an output vector; the four feature maps are channel-joined to obtain a three-dimensional feature map with a size of 32*32*30; 1*1 convolution is then used to perform channel dimension reduction on the feature map to obtain a two-dimensional feature map with a size of 32*32*1, and on this basis, a convolution kernel with a size of 1*3 is used to perform convolution calculation to obtain an output vector with a size of 32*1, and the vector value represents the Q value corresponding to each action in the current state; finally, the maximum Q value output is taken, which indicates that the optimal or suboptimal allocation strategy is selected.
[0022] Furthermore, when constructing the CS training data set in step 2, the training data [CSt, p*, T*, R, CSt+1] is initialized for N communication links;
[0023] Where CSt is the input data, that is, the current state; p*, T* are the corresponding actions CP-At; R is the reward obtained by completing the action; CSt+1 is the state reached by the agent after completing the corresponding action.
[0024] Furthermore, when training the cascaded deep Q network in step three, the current communication state is input as input data into a CDQ-Net network to generate a corresponding Q value; at the same time, the communication state of the next step is input as input data into another CDQ-Net network to generate a corresponding maxQ value; the label value of the current network is calculated; the damage value of the training batch is calculated based on the label value and the Q value; after training, a new parameter cluster is obtained to update the parameters of the first CDQ-Net network, and the parameters of the second CDQ-Net network are updated once after every 50 trainings; the model is trained until the loss value converges to obtain the final CDQ-Net model.
[0025] Furthermore, the label value of the current network is the sum of the maxQ value and the reward R corresponding to the action.
[0026] Furthermore, when calculating the damage value of the training batch, the loss function used is the mean square error loss function.
[0027] Compared with the prior art, the present invention provides a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning, which has the following beneficial effects:
[0028] 1. A 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning;
[0029] In order to solve the difficult and complex problem of wireless communication network resource allocation task, a cascaded deep Q network was designed based on deep learning and reinforcement learning technology. The network structure is built based on a series of hierarchical deconvolution and convolution operations. It can deeply mine the positional relationship characteristics between links in the current state and their association characteristics with the entire action space through layer-by-layer information dimensionality upscaling and dimensionality reduction, and autonomously learn and master the communication network resource allocation strategy based on basic rules and its own experience, so as to achieve real-time and accurate state value estimation and autonomously give a better resource allocation solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A flowchart of a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning proposed by the present invention;
[0031] Figure 2 A schematic diagram of the structure of a CDQ-Net network in an embodiment of a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning proposed by the present invention;
[0032] Figure 3 This is a schematic diagram of the CDQ-Net network training framework in an embodiment of a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning proposed in the present invention. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0034] Reference Figure 1-Figure 3 , a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning, comprising the following steps:
[0035] Step 1: Design a cascaded deep Q network;
[0036] Step 2: Construct CS training data set;
[0037] Step 3: Use the initial data in the training data set in step 2 to train the layer-by-layer deep Q network in step 1 to obtain a trained CDQ-Net model;
[0038] Step 4: Generate a current communication state matrix according to the communication link, available channels and power of the wireless network;
[0039] Step 5: Input the current communication state matrix CSt into the trained CDQ-Net model. The CDQ-Net network model outputs the corresponding maximum Q value. The action CP-At corresponding to the Q value, that is, the power p* and the available channel T*, is the current optimal or suboptimal resource allocation strategy.
[0040] The design steps of the cascaded deep Q network in step 1 include:
[0041] S1. Build input data;
[0042] S2, construct the CDQ-Net network dimension-increasing structure;
[0043] S3, build CDQ-Net network dimension reduction structure;
[0044] S4. Construct the CDQ-Net network output structure.
[0045] When constructing input data in step S1, the current communication state matrix is designed according to the state space and action space of the wireless network so that the subsequent network can perform feature learning.
[0046] Assume that the network has N communication links, and the position coordinates of the sending node and the receiving node corresponding to a single link are (xt, yt) and (xd, yd) respectively; there are 4 power combinations of the wireless network, set as [p1, p2, p3, p4], and there are 8 currently available channels, set as [T1, T2, T3, T4, T5, T6, T7, T8]. Then the action space CP-At contains 4*8=32 elements; then CSt is a 32*6-dimensional matrix composed of link information and wireless network action space. Each row of the matrix is composed of [xt, yt, xd, yd, p', T'], and p' and T' in each row are non-repeating pairwise combinations of power and available channels.
[0047] Step S2 constructs a CDQ-Net network dimension-increasing structure to more fully extract the two-dimensional data of the input matrix.
[0048] Since the input matrix is two-dimensional data with a size of 32*6*1, in order to extract more sufficient information, the input matrix is first dimensioned, that is, a unidirectional deconvolution operation is performed on the data, the deconvolution kernel is 1*4, the step size is 6, and the number of deconvolution kernels is 32, thereby obtaining a three-dimensional feature map with a size of 32*32*32; next, four consecutive deconvolution layers are used to perform high-dimensional mapping of the three-dimensional feature map layer by layer, the deconvolution kernels are all 2*2, the step size is 2, and the number of deconvolution kernels is 16, 8, 4 and 2 respectively, thereby obtaining three-dimensional feature maps with sizes of 64*64*16, 128*128*8, 256*256*4 and 512*512*2 respectively.
[0049] When constructing the CDQ-Net network dimensionality reduction structure in step S3, after obtaining feature maps at different information resolutions, feature extraction is performed layer by layer on the feature maps of each level.
[0050] After obtaining the feature maps at different information resolutions, the feature maps at each level are subjected to layer-by-layer feature extraction, i.e., downsampling operation: a single-layer convolution operation is performed on the three-dimensional feature map of size 64*64*16, the convolution kernel is 3*3, the step size is 2, and the number of convolution kernels is 16, thereby obtaining a three-dimensional feature map of size 32*32*16; two consecutive layers of convolution operations are performed on the three-dimensional feature map of size 128*128*8, the convolution kernel is 3*3, the step size is 2, and the number of convolution kernels is 8, and finally A three-dimensional feature map with a size of 32*32*8 is obtained; three consecutive layers of convolution operations are performed on the three-dimensional feature map with a size of 256*256*4, the convolution kernels are all 3*3, the step size is 2, and the number of convolution kernels is 4, and finally a three-dimensional feature map with a size of 32*32*4 is obtained; four consecutive layers of convolution operations are performed on the three-dimensional feature map with a size of 512*512*2, the convolution kernels are all 3*3, the step size is 2, and the number of convolution kernels is 2, and finally a three-dimensional feature map with a size of 32*32*2 is obtained.
[0051] According to the above operations, four equal-sized three-dimensional feature maps containing rich feature information have been obtained, which are 32*32*16, 32*32*8, 32*32*4 and 32*32*2 in size.
[0052] When constructing the CDQ-Net network output structure in step S4, the features proposed in step S3 are channel-joined to obtain a three-dimensional feature map, and on this basis, a convolution kernel is used to perform convolution calculation to obtain an output vector.
[0053] The above four feature maps are channel-joined to obtain a three-dimensional feature map of size 32*32*30. Then, a 1*1 convolution is used to reduce the channel dimension of the feature map to obtain a two-dimensional feature map of size 32*32*1. On this basis, a 1*3 convolution kernel is used to perform convolution calculation to obtain an output vector of size 32*1. The vector value represents the Q value corresponding to each action in the current state. Finally, the maximum Q value output is taken, which means that the optimal or suboptimal allocation strategy is selected.
[0054] In the process of layer-by-layer dimensionality increase and decrease, the network mines the positional relationship characteristics between links in the current state and their association characteristics with the entire action space based on deconvolution and convolution operations, thereby making value judgments on different actions under the input state.
[0055] When constructing the CS training data set in step 2, the training data [CSt, p*, T*, R, CSt+1] is initialized for N communication links;
[0056] Where CSt is the input data, that is, the current state; p*, T* are the corresponding actions CP-At; R is the reward obtained by completing the action; CSt+1 is the state reached by the agent after completing the corresponding action.
[0057] When training the cascaded deep Q network in step three, the current communication state is input as input data into a CDQ-Net network to generate the corresponding Q value; at the same time, the communication state of the next step is input as input data into another CDQ-Net network to generate the corresponding maxQ value; the label value of the current network is calculated; the damage value of the training batch is calculated based on the label value and the Q value; after training, a new parameter cluster is obtained to update the parameters of the first CDQ-Net network, and the parameters of the second CDQ-Net network are updated once after every 50 trainings; the model is trained until the loss value converges to obtain the final CDQ-Net model.
[0058] The label value of the current network is the sum of the maxQ value and the reward R corresponding to the action.
[0059] When calculating the damage value of the training batch, the loss function used is the mean square error loss function.
[0060] The present invention applies deep reinforcement learning technology to 5G / 6G wireless resource allocation, which can quickly and accurately output a better power and channel allocation strategy based on the current communication status, and effectively solve the resource allocation problem in a complex dynamic network environment;
[0061] In order to solve the difficult and complex problem of wireless communication network resource allocation task, a cascaded deep Q network was designed based on deep learning and reinforcement learning technology. The network structure is built based on a series of hierarchical deconvolution and convolution operations. It can deeply mine the positional relationship characteristics between links in the current state and their association characteristics with the entire action space through layer-by-layer information dimensionality upscaling and dimensionality reduction, and autonomously learn and master the communication network resource allocation strategy based on basic rules and its own experience, so as to achieve real-time and accurate state value estimation and autonomously give a better resource allocation solution.
[0062] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning, It is characterized in that The following steps are involved: Step 1: Design a cascaded deep Q network; Step 2: Construct CS training data set; Step 3: Use the initial data in the training data set in step 2 to train the layer-by-layer deep Q network in step 1 to obtain a trained CDQ-Net model; Step 4: Generate a current communication state matrix according to the communication link, available channels and power of the wireless network; Step 5: Input the current communication state matrix into the trained CDQ-Net model. The CDQ-Net model outputs the corresponding maximum Q value, and the current resource allocation strategy can be obtained. The design steps of the cascaded deep Q network in step 1 include: S1. Build input data; S2, construct the CDQ-Net network dimension-increasing structure; S3, build CDQ-Net network dimension reduction structure; S4. Construct the CDQ-Net network output structure; When constructing input data in step S1, the current communication state matrix is designed according to the state space and action space of the wireless network so that the subsequent network can perform feature learning; The step S2 constructs a CDQ-Net network dimension-increasing structure for more fully extracting two-dimensional data of the input matrix; When constructing the CDQ-Net network dimensionality reduction structure in step S3, after obtaining feature maps at different information resolutions, feature extraction is performed layer by layer on the feature maps of each level; When constructing the CDQ-Net network output structure in step S4, the features extracted in step S3 are channel-joined to obtain a three-dimensional feature map, and on this basis, a convolution kernel is used to perform convolution calculation to obtain an output vector.
2. According to claim 1, a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning, It is characterized in that When constructing the CS training data set in step 2, the training data [CSt, p*, T*, R, CSt+1] is initialized for N communication links; Where CSt is the input data, that is, the current state; p*, T* are the corresponding actions CP-At; R is the reward obtained by completing the action; CSt+1 is the state reached by the agent after completing the corresponding action.
3. According to claim 2, a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning, It is characterized in that When training the cascaded deep Q network in step 3, the current communication state is input as input data into a CDQ-Net network to generate a corresponding Q value; at the same time, the communication state of the next step is input as input data into another CDQ-Net network to generate a corresponding maxQ value; the label value of the current network is calculated; the damage value is calculated according to the label value and the Q value; After training, a new parameter cluster is obtained to update the parameters of the first CDQ-Net network. The parameters of the second CDQ-Net network are updated after every 50 trainings. The model is trained until the damage value converges to obtain the final CDQ-Net model.
4. According to claim 3, a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning, It is characterized in that The label value of the current network is the sum of the maxQ value and the reward R corresponding to the action.
5. According to claim 3, a 5G / 6G wireless resource intelligent allocation method based on deep reinforcement learning, It is characterized in that When calculating the damage value, the damage function used is the mean square error damage function.
Citation Information
Patent Citations
A D2D resource allocation method based on multi-agent deep reinforcement learning
CN109729528A
Resource management and control method for guaranteeing time coverage continuity of high-dynamic air network
CN114142912A
5G Internet of Vehicles resource allocation method based on federated learning and deep Q network
CN114885426A
Resource allocation method and apparatus for wireless backhaul network based on reinforcement learning
US20190268894A1
Priority-based joint resource allocation method and apparatus with deep q-learning
US20230199720A1
