6G supported mIoT resource allocation method and system based on reinforcement learning
By constructing a hypergraph network model and a Markov decision process based on reinforcement learning methods, the overlapping interference problem in mIoT is solved, efficient resource allocation is achieved, the transmission rate and network capacity are improved, and the overhead of obtaining channel state information is avoided.
Patent Information
- Application Number
- CN202311654032.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-12-05
AI Technical Summary
Existing resource management solutions are difficult to effectively solve the overlapping interference problem in large-scale Internet of Things (mIoT), resulting in limited network capacity and low transmission rate. Moreover, methods based on convex optimization require complete channel state information. Obtaining this information is expensive and cannot be achieved. Directly applicable to mIoT scenarios supported by 6G.
A method based on reinforcement learning is used to build a 6G-supported mIoT resource allocation system. By constructing a hypergraph network model, establishing an interference model, and constructing a conflict-free resource allocation problem, and using the Markov decision process as a guide, an asynchronous multi-thread architecture is used to train resource allocation. network to achieve interference-free resource allocation.
In mIoT scenarios, the transmission rate is significantly increased, interference is reduced, reliance on complete channel status information is avoided, and resource management efficiency and performance are improved.
Smart Images

Figure CN117676896B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of massive Internet of Things (mIoT), and in particular to a 6G-supported mIoT resource allocation method and system based on reinforcement learning. Background Art
[0002] The Internet of Things (IoT) system, which generally refers to a large-scale heterogeneous network formed by smart terminal devices connected to the Internet, aims to widely deploy interconnected IoT devices (IDs) in different environments. It enables a variety of innovative applications, including autonomous driving, remote medical systems, smart cities, and smart factories. Although 5G networks have improved the quality of service (QoS) over previous generations, it will be a challenge to fully meet emerging needs in future large-scale IoT scenarios. More specifically, the exponential growth of mobile traffic in 2030 and beyond will exceed the capacity of 5G networks. Therefore, it is necessary to develop massive Internet of Things (mIoT) technologies with 6G capabilities to meet this challenge.
[0003] Although mIoT technology can play an important role in improving network throughput and spectral efficiency by increasing the density of access points. However, this scheme often produces densely and randomly deployed base stations, which may lead to serious inter-base station interference (ICI) and co-channel interference (CCI) problems. Therefore, this will inevitably lead to increased complexity in network management and severely limit the capacity of wireless networks. Due to the frequent topology changes and high heterogeneity of devices in the network, it is ineffective to solve the interference problem using existing single-base station interference mitigation methods such as ICI coordination (ICIC) and enhanced ICIC (eICIC). In addition, ICIC achieves interference mitigation through signal exchange between adjacent base stations, but this also leads to additional consumption of coordinated interference. In addition, as the number of cells increases, the co-frequency reuse coefficient also increases. As ICIC also uses frequency reuse, the overall co-frequency interference increases significantly, which ultimately leads to limited network capacity. In summary, since the interference mitigation method based on single-cell scheduling is not enough to meet the growing wireless network density and cannot effectively handle multi-cells, considering the large number of base stations, resource management will become a key research area to improve the performance of mIoT supported by 6G.
[0004] In dense wireless networks, resource management schemes such as convex optimization, discrete optimization assisted or other heuristic methods can be used to improve network throughput and eliminate interference. Convex optimization-based methods usually transform non-convex mixed integer problems into approximately convex suboptimal problems, which can be processed locally within a limited number of iterations. In this regard, to address the challenges of ICI in IoT systems, a cooperative radio resource scheduler scheme was developed to significantly reduce the impact of ICI. By considering the uniform distribution of users between network areas, a soft frequency reuse technique was developed to handle ICI. The small cell coverage area and link distance in IoT were further analyzed by considering path loss and directional gain. A resource management scheme for cellular communication was proposed to effectively avoid ICI between small cell and macro cell layers due to the increase in base station density. To address the severe inter-cluster interference caused by dense frequency reuse between adjacent access points, an orthogonal code domain multiple access scheme was proposed. Since the resource management problem in ultra-dense networks (UDNs) is non-convex and weak, convex optimization methods cannot effectively solve this problem. In addition, convex optimization usually requires complete channel state information (CSI), which will incur huge overhead to obtain. Therefore, convex optimization-based methods cannot be directly applied to mIoT scenarios supported by 6G.
[0005] Discrete optimization-assisted methods have also been widely studied in resource allocation design of wireless networks, most of which use graph models to effectively handle joint optimization problems of limited complexity. In the field of IoT networks using device-to-device (D2D) technology, a paper proposed an enhanced graph coloring-based resource allocation scheme to solve the interference management problem. In view of dynamic topological characteristics and limited frequency resources, another paper proposed a graph coloring method for effectively allocating frequency points, and introduced a hierarchical structure with fixed and mobile control layers in the IoT system for allocation control of the IoT system. However, the graph-based interference management scheme cannot fully capture the cumulative interference in wireless networks.
[0006] There is currently a lack of proposed effective resource management schemes, and the problems of large-scale resource allocation and cumulative interference coordination in cellular and D2D communication large-scale networks remain unsolved. Summary of the invention
[0007] The present invention provides a 6G-supported mIoT resource allocation method and system based on reinforcement learning, and solves the technical problem of how to solve the overlapping interference problem of the massive Internet of Things (mIoT) supported by 6G to improve the overall transmission rate of IoT devices.
[0008] In order to solve the above technical problems, the present invention provides a 6G supported mIoT resource allocation method based on reinforcement learning, comprising the steps of:
[0009] S1. Build an mIoT communication network architecture that supports 6G functions. mIoT refers to the massive Internet of Things.
[0010] The mIoT communication network architecture includes N ES ES, N ID IDs and a cloud processor, ES refers to edge servers, and ID refers to IoT devices; ES, as a 6G base station, has computing and storage capabilities to meet the needs of multiple IDs within its communication range; some IDs directly communicate with each other in D2D; the cloud processor is responsible for baseband signal processing and communication resource management; the data generated by the ID is stored in the virtual resource management pool of the cloud processor, and then the data is distributed to a subset of the ES through the front-end link;
[0011] S2. Establishing a hypergraph network model of the mIoT communication network architecture during resource allocation;
[0012] S3, establishing a hypergraph interference model according to the interference relationship in the hypergraph network model;
[0013] S4. Establishing a conflict-free resource allocation problem of the mIoT communication network architecture based on the hypergraph interference model;
[0014] S5, constructing a resource allocation network guided by a Markov decision process based on the conflict-free resource allocation problem;
[0015] S6. Using an asynchronous multi-threaded architecture to train the resource allocation network;
[0016] S7. The trained resource allocation network performs interference-free resource allocation according to the state of the current mIoT communication network architecture.
[0017] Furthermore, in step S4, the conflict-free resource allocation problem is constructed as follows:
[0018]
[0019] st(C1):Φ=0
[0020]
[0021] Where C[m] represents the transmission rate of ID m, M represents N ID The set of IDs, Φ represents the overall interference of the mIoT communication network architecture, C min [m] represents the minimum transmission rate; constraint C1 means there is no interference with resource allocation; constraint C2 means the transmission rate of each ID is greater than the minimum transmission rate C min [m];
[0022] Φ is calculated by the following formula:
[0023]
[0024] in, represents the overall interference degree of the resource κ allocated in the hypergraph interference matrix T, the hypergraph interference matrix T is a matrix representing the relationship of the communication links in the hypergraph interference model, and K represents the set of all available communication resources;
[0025] Calculated by the following formula:
[0026]
[0027] in, Represented in vector The number of repetitions of the resource κ allocated in Represented in vector The number of repetitions of the resource κ allocated in the vector represents the row vector of the nth row of the hypergraph interference matrix T, represents the column vector of the mth column of the hypergraph interference matrix T, and N represents N ES A collection of ES.
[0028] Furthermore, in step S2, the hypergraph network model uses the initial hypergraph association matrix H T Characterization, H T The rows represent vertices, including N ES ES and N ID ID; H T The column represents the established hyperedge. The method of establishing the hyperedge is as follows: establish a hyperedge centered on the ES or ID. The IDs in the hyperedge are within the communication range and will cause mutual interference;
[0029] H T The element (x i ,d j ) can take the following values:
[0030]
[0031] (x i ,d j )=1 indicates vertex x i In the super edge j In the range of (x i ,d i )=0 indicates vertex x i Not on the super edge j within the range.
[0032] Furthermore, in step S3, the hypergraph interference matrix T is obtained by the following steps:
[0033] S31, simplifying the initial graph by deleting sub-hyperedges to obtain a simplified hypergraph association matrix Hs;
[0034] S32, removing non-overlapping information in the simplified hypergraph association matrix Hs to obtain an overlapping hypergraph association matrix Ho;
[0035] S33. The communication link relationships in the overlapping hypergraph association matrix Ho are represented by the hypergraph interference matrix T, wherein all elements that are 1 in the overlapping hypergraph association matrix Ho are represented by resources.
[0036] Furthermore, in step S5, the Markov decision process is used as a guide, specifically referring to:
[0037] Define the state s at time slot t t for:
[0038]
[0039] in, represents the set of all ID capacities γ at time slot t, Φ(t) represents Φ at time slot t, represents C at time slot t min [m], T(t) represents T at time slot t; s t ∈S, S represents the state space;
[0040] Define the resource allocation action a at time slot t t for:
[0041]
[0042] Among them, κ i,j Indicates a t The element in the i-th row and j-th column of i,j Indicates the resources allocated between the i-th ES and the j-th ID, i = 1, 2, ..., N ES ,j=1,2,…,N ID ;
[0043] Define execution action a t Instant rewards received t for:
[0044]
[0045] Among them, O(t)=(1-n k (t) / n link (t)) × 100% is the amount of resources used in time slot t, n link (t) represents the number of mIoT communication links in time slot t, n k(t) represents the amount of resources used in time slot t;
[0046] The action space and state space are learned and evaluated by calculating the cumulative reward U obtained during the training process. The cumulative reward U is:
[0047]
[0048] Among them, T L is the total working time of mIoT.
[0049] Further, in step S5, the resource allocation network includes a hypergraph interference estimation network and a resource configuration strategy network; the hypergraph interference estimation network provides a state value function V π (s) and the action-value function Q π (s, a) is used to evaluate the resource allocation scheme generated by the resource allocation policy network; the resource allocation policy network is a policy network that takes the state as input and outputs an approximation to the policy model, and aims to maximize the expected cumulative reward by updating its parameters based on the value function provided by the hypergraph interference estimation network;
[0050] In the resource allocation network, the state value function V in the hypergraph interference estimation function is defined as π (s) and the action-value function Q π (s,a) is:
[0051]
[0052] in, represents the expectation, s represents the current system state at time slot t, a represents the current system action at time slot t, λ represents the discount factor, and s′ represents the next system state at time slot t.
[0053] The Q value of the hypergraph interference estimation network is estimated by a deep neural network with parameter w, and the output of the deep neural network estimation is defined as
[0054] The parameter w is updated by:
[0055]
[0056] η represents the learning rate, J Q (ω) is the loss function, is the loss function J Q The gradient of (ω);
[0057] J Q (ω) is defined as:
[0058]
[0059] Among them, π(a|s t+1 ; θ) indicates that the resource allocation strategy network is in the next state s t+1 Assign the output of action a, Represents the hypergraph interference estimation network in the current state s t Next, perform action a t The output, Representation and The corresponding true value.
[0060] Furthermore, the goal of the resource allocation strategy network is to maximize the following expected long-term discounted reward:
[0061] J π (θ)=E[r(τ)]
[0062] Among them, τ is the sampling trajectory, θ is the parameter of the resource allocation strategy network, Discounted expected reward for finite step length.
[0063] The parameter θ is updated as follows:
[0064]
[0065] The gradient of the parameter θ is approximately:
[0066]
[0067] Among them, π(a t ∣s t ,θ) represents the resource allocation strategy network in the current state s t and action a t The output, Indicates that the resource allocation strategy network is in the current state s t The output of all actions, Represents the hypergraph interference estimation network in the current state s t The output of all actions.
[0068] Furthermore, the step S6 specifically includes the steps of:
[0069] S61. Create multiple parallel thread-specific networks, each of which has an agent with a structural copy of the resource allocation network; all agents share a global resource allocation network parameter and select an action based on the environment state to obtain a reward and a next state;
[0070] S62, initializing a shared hypergraph interference estimation network parameter w and a shared resource configuration strategy network parameter θ, and initializing a thread-specific hypergraph interference estimation network parameter ω′ and a resource configuration strategy network parameter θ′;
[0071] S63, synchronize thread-specific networks θ′=θ and ω′=ω;
[0072] S64. In each thread, execute actions, obtain rewards, and calculate cumulative gradients;
[0073] S65. Asynchronously update the shared network parameters through the accumulated gradients calculated in each thread, and then pass the updated shared parameters to each thread-specific network, and then return to step S64 to enter the next loop until convergence and end the loop.
[0074] The present invention also provides a 6G-supported mIoT resource allocation system based on reinforcement learning, the key of which is: an intelligent agent is provided, and the intelligent agent is equipped with the resource allocation network trained in the above method.
[0075] The 6G-supported mIoT resource allocation method and system based on reinforcement learning provided by the present invention first considers the large-scale dense deployment requirements and related overlapping interference, and constructs a new mIoT hypergraph interference model, which can calculate the interference degree of mIoT by converting complex interference coordination into a hypergraph strong coloring problem. Since the model is difficult to solve, the present invention proposes a new indirect solution, which models the interference coordination problem as a Markov decision process (MDP). In order to avoid overestimating the value of MDP, the present invention proposes a new value-based and policy-based resource management algorithm (asynchronous multi-threaded architecture). Simulation results show that compared with existing solutions, the solution proposed by the present invention can achieve better performance in mIoT scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] Figure 1 It is a flowchart of the steps of the 6G supported mIoT resource allocation method based on reinforcement learning provided by an embodiment of the present invention;
[0077] Figure 2 This is a diagram of a massive Internet of Things architecture supporting 6G functions provided by an embodiment of the present invention;
[0078] Figure 3 is an example diagram of a communication network architecture provided by an embodiment of the present invention;
[0079] Figure 4 is an example diagram of a hypergraph model provided by an embodiment of the present invention;
[0080] Figure 5 2 are two example diagrams of interference in mIoT provided by an embodiment of the present invention;
[0081] Figure 6 is a flow chart of non-interference resource management of mIoT using a deep RL framework provided by an embodiment of the present invention;
[0082] Figure 7 is a schematic diagram of a HIEN-RASN algorithm provided by an embodiment of the present invention;
[0083] Figure 8 is a schematic diagram of an asynchronous HIEN-RASN algorithm provided by an embodiment of the present invention;
[0084] Fig. 9 It is a line graph of the total reward of the asynchronous HIEN-RASN algorithm under different learning rates provided by an embodiment of the present invention;
[0085] Fig.10 is a line graph of total rewards of different algorithms provided by an embodiment of the present invention;
[0086] Fig.11 is a line graph of resource utilization under different numbers of IDs provided by an embodiment of the present invention;
[0087] Fig.12 It is a line graph of resource utilization under different numbers of ESs provided by an embodiment of the present invention;
[0088] Fig.13 is a line graph of resource utilization under different numbers of links provided by an embodiment of the present invention;
[0089] Fig.14 is a line chart of throughput under different numbers of IDs provided by an embodiment of the present invention;
[0090] Fig.15 is a line chart of throughput under different numbers of ESs provided in an embodiment of the present invention;
[0091] Fig.16 It is a line graph of throughput under different numbers of links provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0092] The following specifically illustrates the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limiting the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute a limitation on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.
[0093] The 6G supported mIoT resource allocation method based on reinforcement learning provided in an embodiment of the present invention is as follows: Figure 1 As shown, in this embodiment, the steps include:
[0094] S1. Build an mIoT communication network architecture that supports 6G functions. mIoT refers to the massive Internet of Things.
[0095] S2, establish a hypergraph network model for the mIoT communication network architecture in resource allocation;
[0096] S3, establishing a hypergraph interference model for the interference relationship in the hypergraph network model;
[0097] S4, conflict-free resource allocation problem for mIoT communication network architecture based on hypergraph interference model;
[0098] S5, based on the conflict-free resource allocation problem, a resource allocation network guided by the Markov decision process is constructed;
[0099] S6, using asynchronous multi-threaded architecture to train resource allocation network;
[0100] S7. The trained resource allocation network performs interference-free resource allocation according to the current state of the mIoT communication network architecture.
[0101] (1) Step S1
[0102] like Figure 1 As shown in the architecture diagram, the mIoT communication network architecture includes N ES ES (represented by set N), N ID IDs (represented by the set M) and a cloud processor (C-RAN or cloud RAN), ES refers to edge servers, and ID refers to IOT devices. ES, as a 6G base station, has computing and storage capabilities to meet the needs of multiple IDs within its communication range and is strategically deployed. Some IDs directly communicate with each other in D2D, and these D2D IDs are represented by the set The cloud processor is responsible for baseband signal processing and communication resource management. The data generated by the ID is stored in the virtual resource management pool of the cloud processor, and then the data is distributed to a subset of ESs through the front-end link. In addition, the channel fading experienced by the transmitter and receiver conforms to the quasi-static Rayleigh fading model.
[0103] Therefore, the signal-to-noise ratio (SINR) of receiver m can be expressed as:
[0104]
[0105] where Pn,m and Pn,k represent the transmission capabilities of receiver m and other receivers k, respectively; hn,m is the channel power gain corresponding to receiver m, σ2 is the noise energy, is the interference power gain of receiver k; ρn[m] is the resource allocation indicator, if the resources allocated by transmitter n to receiver m are used without interference, then ρn[m] = 1, otherwise ρn[m] = 0; is a resource allocation indicator. If receiver k is allocated resources by transmitter n and receiver m is not interfered with, then otherwise
[0106] Therefore, the maximum amount of reception at receiver m is:
[0107] C[m]=W.log(1+γ[m])
[0108] Where W is the bandwidth.
[0109] (2) Step S2: Building a hypergraph network model
[0110] When ES allocates the same resource to multiple IDs, the IDs interfere with each other, resulting in communication interruption. In this case, the traditional graph can only describe the relationship between two IDs, but cannot establish the relationship between multiple IDs. Therefore, in mIoT, the relationship between IDs is modeled using a hypergraph.
[0111] Based on the relationship between vertices and hyperedges, the method of establishing hyperedges is as follows: establish device-centric hyperedges, each of which contains many covered devices. IDs within the hyperedge are within the communication range and will cause mutual interference. Figure 3 As an example, according to the method of establishing a hyperedge, the communication network architecture is modeled as an initial hypergraph model as shown in Figure 4 As shown in (a), Figure 4 (a) We can use the matrix H T express.
[0112]
[0113] The rows represent the vertices of the hypergraph and the columns represent the hyperedges. represents the hyperedge built around ES i (the i-th ES), H represents the hyperedge established with the jth ID as the center. T The value of the element (xi,dj) in the i-th row and j-th column of is as follows:
[0114]
[0115] (xi,dj)=1 means that vertex xi is within the range of hyperedge dj, and (xi,di)=0 means that vertex xi is not within the range of hyperedge dj.
[0116] (3) Step S3: Establishing a hypergraph interference model
[0117] Due to the different communication ranges of devices, in the initial hypergraph model, a hyperedge contains another hyperedge, namely a sub-hyperedge. Therefore, the initial hypergraph can be simplified by deleting the sub-hyperedge without changing the relationship between vertices. The sub-hyperedge can be determined by the intersection of the columns. For example:
[0118]
[0119]
[0120]
[0121] Show the hyperedge yes Therefore, by deleting the columns representing sub-hyperedges, H T is simplified to Figure 4 (a) can be simplified to Figure 4 (b).
[0122]
[0123] Since this example focuses on overlapping hyperedges, we can remove the non-overlapping information to obtain the overlapping hypergraph association matrix Ho:
[0124]
[0125] Because resources cannot be reused in overlapping hyperedges. Therefore, the resource allocation problem is transformed into a vertex coloring problem. In mIoT, there is a situation where a large number of IDs reuse the same resources through the same ES, resulting in mIoT collisions. Therefore, there is a serious interference level in the SINR of the ID, which may cause data interruption due to the inability of the ID to receive data.
[0126] In order to measure the interference of ID, this example defines a hypergraph interference matrix T to represent the communication link relationship in mIoT. The specific definition is:
[0127]
[0128] where kn,m represents the communication resources used by ES n to communicate with ID m, and K represents the set of all communication resources that can be used by mIoT.
[0129] There are two types of communication interference in mIoT, such as Figure 5 The first type is generated by ES using the same resource to communicate with multiple IDs, such as k 1,1 =k 1,3The second type is generated by the ID using the same resource to communicate with multiple ES, such as k 1,1 =k 4,1 Therefore, the overall interference of mIoT can be calculated based on the hypergraph interference matrix T. Specifically, the row-column relationship of the hypergraph interference matrix T is used to quantify the overall interference of mIoT. This example defines a function f(κ,T X ), to calculate the vector T X The number of repetitions of the resource κ allocated in is as follows:
[0130]
[0131] Where nκ represents the vector T X The number of repetitions of the allocated resource κ in . For example, Figure 5 ES1 and ES4 communicate with ID1 by using the same resource 1, k 1,1 =k 4,1 =1, it will cause interference, so the interference degree is ID 1 and ID 3 use the same resource 1, k 1,3 =k 1,1 = 1 communicates with ES1, it will cause interference, so the interference degree is
[0132] The overall interference degree of the allocated resource κ can be defined as:
[0133]
[0134] in, Represented in vector The number of repetitions of the resource κ allocated in Represented in vector The number of repetitions of the resource κ allocated in the vector represents the row vector of the nth row of the hypergraph interference matrix T, Represents the column vector of the mth column of the hypergraph interference matrix T. In addition, by adding the interference degrees of all communication resources, the overall interference degree Φ of mIoT can be obtained:
[0135]
[0136] Among them, Φ=0 means there is no interference to the resource allocation of mIoT.
[0137] (4) Step S4: Constructing the optimization problem
[0138] The task of intelligent resource management is to allocate communication resources to IDs without interference under the guidance of the hypergraph interference model. Considering the minimum rate requirement of user service, it is necessary to consider that the transmission rate of each ID is greater than the minimum transmission rate Cmin[m], as shown below:
[0139]
[0140] In addition, the resource allocation problem of the mIoT system is formulated as an optimization problem as follows:
[0141]
[0142] st(C1):Φ=0
[0143]
[0144] The goal of optimization is to maximize the transmission rate of each ID. For the constraint part, constraint C1 indicates that the total interference of mIoT must be zero, in order to solve the overlapping interference problem of large-scale and dense deployment of mIoT. Constraint C2 ensures that mthID can be transmitted by setting the minimum transmission rate C min [m] to meet the transmission rate requirements.
[0145] (5) Step S5: Markov decision process framework
[0146] In order to solve the computational complexity problem of the hypergraph interference model, this example models the interference coordination problem as an MDP (Markov decision process) in densely deployed mIoT. MDP consists of state space, action space, immediate reward, value function, etc., which need to be specifically defined for densely deployed mIoT. Figure 6 Shown is a flowchart of a deep RL framework supporting non-intrusive resource management for mIoT.
[0147] A. State Space
[0148] The system state is formed by the following parameters observed by the Virtual Resource Management Pool (VRMP) from the mIoT information at time slot t:
[0149] (1) The set of all ID capacities γ at time slot t;
[0150] (2) Φ(t): the overall interference of mIoT at time slot t;
[0151] (3) represents C at time slot t min [m], the setting of the minimum transmission rate requirement;
[0152] (4) T(t): Hypergraph interference matrix T at time slot t.
[0153] At time slot t, the system state is s t ,s t ∈S, S represents the state space, s t The definition is as follows:
[0154]
[0155] By taking actions in deep RL, the mIoT dense deployment environment moves from state s t Transition to state s t+1 .
[0156] B. Action Space
[0157] In the mIoT resource management process, VRMP (Virtual Resource Management Pool) makes decisions on communication requests from ES, which includes the communication resource matrix between ES and ID. At time t, the action a executed t The matrix is defined as Where A represents the action space, and a t The definition is as follows:
[0158]
[0159] κ i,j Indicates a t The element in the i-th row and j-th column of i,j Indicates the resources allocated between the i-th ES and the j-th ID, i = 1, 2, ..., N ES ,j=1,2,…,N ID , N ES Indicates the number of ES, N ID Indicates the number of IDs.
[0160] C. Instant Rewards
[0161] Reward function r t It is crucial for non-interference resource allocation because it affects the convergence and performance of the learning algorithm. In addition, the reward function will be used to evaluate the state space and action space. The purpose of the immediate reward is to maximize resource utilization under the C1 and C2 constraints of the network in this example. Therefore, the immediate reward can be expressed as:
[0162]
[0163] O(t)=(1-n k (t) / n link (t)) × 100% is the amount of resources used in time slot t, n link (t) represents the number of mIoT communication links in time slot t, n k(t) represents the amount of resources used in time slot t.
[0164] In order to evaluate the interference coordination performance during VRMP learning, the action state space is learned and evaluated by calculating the cumulative reward U obtained during training. The cumulative reward U is:
[0165]
[0166] Among them, T L is the total working time of mIoT.
[0167] D. State transition probability
[0168] The interference state of mIoT obtained by using the hypergraph model is discrete. After that, the transition probability from the old state to the new state is written as:
[0169] p(s′|s,a)=Pr(S t+1 =s′|S t =s,A t =a)
[0170] E. Resource Allocation Strategy
[0171] In mIoT interference coordination, the resource allocation strategy π(a|s) is a guideline to specify the best action for each state to improve resource utilization. The resource allocation strategy in state s taking action a at time slot t is defined as:
[0172] π(a|s)=Pr(A t =a|S t =s)
[0173] F. Hypergraph interference estimation function
[0174] The hypergraph interference estimation function includes the state value function and the action value function. π (s) represents the expected return from state s, and the action-value function Q π The (s,a) state-value function represents the expected return from state s, while the action-value function represents the expected return after performing action a. π (s), Q π (s,a) is defined as follows:
[0175]
[0176] in, represents the expectation, for simplicity, s represents the current system state at time slot t, a represents the current system action at time slot t, λ represents the discount factor, and s′ represents the next system state at time slot t.
[0177] (6) Step S6: Human-computer interaction resource management algorithm based on value and strategy
[0178] A. Hypergraph Interference Estimation Network
[0179] The Hypergraph Interference Estimation Network (HIEN) can provide a value function to evaluate the resource allocation scheme generated by the policy network. The Q value is estimated by a deep neural network (DNN), that is, the action value function Q is approximated using the parameter w. π (s,a), which can be defined as The parameter is updated according to the following formula:
[0180]
[0181] η represents the learning rate, J Q (ω) is the loss function of the hypergraph interference estimation network, is the loss function J Q The gradient of (ω).
[0182] Loss function J Q (ω) is defined as:
[0183]
[0184] Among them, π(a|s t+1 ; θ) indicates that the resource network (resource allocation strategy network) is in the next state s t+1 Assign the output of action a, Represents the hypergraph interference estimation network in the current state s t Next, perform action a t The output, Representation and The corresponding true value.
[0185] To derive the gradient of the maximized objective, this example uses the action value function For training This paper uses the gradient descent method, and its formula is:
[0186]
[0187] In order to solve the huge data volume problem of mIoT, an asynchronous HIEN-RASN method is used, which uses the Adam optimization algorithm to update the DNN parameters, which will be introduced separately below.
[0188] B. Resource Allocation Strategy Network
[0189] During the communication process, each ID communicates with only one ES, that is, the ID selects a highly reused resource from multiple allocated resources. Unused resources are placed in a resource pool for use by ESs and non-overlapping IDs. After allocating resources to overlapping areas, ESs and non-overlapping IDs select resources from the remaining resources through a greedy algorithm.
[0190] The Resource Allocation Policy Network (RASN) is a policy network that takes states as input and outputs an approximation to the policy model π(a|s; θ), with the goal of maximizing the expected cumulative reward by updating its parameters based on the value function provided by HIEN. RASN attempts to optimize the policy π(a|s; θ), which gives the probability distribution of actions for each state to achieve the highest throughput under the interference-free constraint. To update the policy π(a|s; θ), the policy gradient method of DRL is used in this example, with the goal of maximizing the following expected long-term discounted reward. The scope of the policy-based optimization is to maximize the cumulative discounted reward from the perspective of expectation, which can be written as:
[0191] J π (θ)=E[r(τ)]
[0192] Among them, τ is the sampling trajectory, Discounted expected reward for finite step length.
[0193] Assume that the gradient policy π(a|s;θ) is differentiable in the parameter θ. The goal of the HIEN-RASN method is to find an optimal policy π θ Maximize Expected J π (θ). The gradient of parameter θ can be derived as:
[0194]
[0195] In this example, the advantage of taking action a can be measured at time interval t t For the form t , by comparing the mean and the estimated value, the advantage function is:
[0196]
[0197] The advantage function can guide the VRMP agent to understand how to update the DNN. Specifically, the advantage function evaluates the advantages or disadvantages of the policy actions from the RASN.
[0198] By minimizing J π (θ), the policy parameter θ is updated in the direction of gradient descent:
[0199]
[0200] Therefore, the parameter θ gradient can be approximated as:
[0201]
[0202] Among them, π(a t ∣s t ,θ) represents the resource allocation strategy network in the current state s t and action a t The output, Indicates that the resource allocation strategy network is in the current state s t The output of all actions, Represents the hypergraph interference estimation network in the current state s t The output of all actions.
[0203] C. HIEN-RASN Resource Management Algorithm
[0204] The present invention proposes a hypergraph interference estimation network and resource allocation strategy network resource management (HR-RM) algorithm. RASN and HIEN are two DNN models with different parameters. It combines the advantages of HIEN process and RASN process. HIEN parameters and RASN parameters are updated sequentially by VRMP. HIEN-RASN method can learn parameter randomness.
[0205] The proposed HIEN-RASN resource management algorithm has the following main steps:
[0206] (1) Parameterized random policy π(a|s;θ) and action value function approximation Initialized by HIEN and RASN respectively, and at the same time, a replay buffer D is also set;
[0207] (2) At time t, HIEN is based on the current RASNπ(a|s;θ) and the environmental state s t Produce action a t ;
[0208] (3) VRMP performs resource allocation to obtain immediate reward r t , and observe the next state s t+1 mIoT
[0209] (4) Tuple {s t ,a t ,r t ,s t+1} The VRMP agent observes the next state of the mIoT environment t+1 The post-storage is in the experience replay buffer D;
[0210] (5) Randomly extract a small batch of I-tuples from the experience replay buffer D;
[0211] (6) HIEN estimates the action state function approximation of any sample i∈I And calculate the gradient of the parameter ω. Then by using the gradient J Q (ω) Update its parameter ω to minimize the loss function;
[0212] (7) RASN uses the outputs (loss function and estimated action state function) to calculate the gradient of θ for any sample i∈I and uses the gradient J Q (θ) updates its parameters θ to adjust the action probability.
[0213] D. Asynchronous HIEN-RASN Resource Management Algorithm
[0214] The HR-RM algorithm cannot effectively handle large action state spaces. To address this problem, this paper proposes an asynchronous hypergraph interference estimation network and resource allocation strategy network resource management (AHR-RM) algorithm, which uses an asynchronous multi-threaded architecture to improve resource management performance. Figure 8 As shown. In the AHR-RM algorithm, this example creates multiple parallel environments, each with an agent with a replica of the structure. All agents share a global HIEN-RASN parameter and choose an action based on the state of the environment, resulting in a reward and the next state. Due to the low computational resource requirements, the asynchronous method can reliably train DNN policies.
[0215] The main steps of the AHR-RM algorithm are as follows:
[0216] (1) VRMP initializes all variables;
[0217] (2) VRMP initializes the parameterized random strategy π(a|s;θ,) and defines the parameterized action-value function approximation
[0218] (3) VRMP creates multiple thread-specific agents, initializing the actor network θ′ and the critic network ω′ among all thread-specific agents;
[0219] (4) Using its RASN and strategy π(a t |s t ; θ′), a thread-specific agent estimates the action a in a given time period t t ;
[0220] (5) Execute action a t The environment will change to the next state s t+1 , then get the corresponding reward rt and feed it back to the agent;
[0221] (6) The thread-specific agent will generate samples {s t ,at ,r t ,s t+1}, and store it in the replay buffer D;
[0222] (7) Repeat T by thread-specific proxy L After the time slot, the action value function is obtained from the critic network, and then T L The value estimate of each state in the time slot
[0223] (8) The thread-specific agent uses the Adam method to calculate and accumulate gradients;
[0224] (9) The network parameters of the shared mIoT network are asynchronously updated using the gradients accumulated by each agent in the thread-specific network. The updated parameters are then passed to each thread-specific network.
[0225] E. Complexity Analysis
[0226] This section analyzes the complexity of AHR-RM. The time complexity of AHR-RM algorithm mainly depends on the complexity of RASN. RASN ), HIEN complexity ο(T HIEN ), the number of agents used is N A gent, the agent and the number of training iterations is N I te, therefore, the complexity of Algorithm 2 can be expressed as:
[0227]
[0228] Compared with HR-RM algorithm O(N I T RASN +N I T HIEN ), the AHR-RM algorithm reduces the time complexity through a parallel asynchronous learning architecture. Therefore, the larger the number of agents, the faster the AHR-RM algorithm can be trained.
[0229] Based on the above method, an embodiment of the present invention also provides a 6G-supported mIoT resource allocation system based on reinforcement learning, which is provided with an intelligent agent, and the intelligent agent is equipped with a trained resource allocation network.
[0230] The following is an experimental simulation.
[0231] A. Simulation Details
[0232] This example uses Pytorch to run simulations on a Python-based simulator and on a The algorithm proposed in this example is tested on a general-purpose server with a Gold 6242R CPU @ 3.10GHz (20 CPUs), 64GB of memory, and an NVIDIA GeForce RTX3080Ti GPU.
[0233] Table 1 shows the parameters used for the experiments in this example.
[0234] Table 1
[0235] Experimental parameters parameter definition value W bandwidth 20MHZ η Learning Rate <![CDATA[10 -3 ]]> <![CDATA[N ID ]]> Number of IDs 6,20,25,…,60 <![CDATA[N ES ]]> ES quantity 4,10,15,…50 <![CDATA[N LINK ]]> Number of links 13,100,110,…,180 λ Discount Factor 0.95
[0236] B. Performance of the Algorithm
[0237] Fig. 9 The instantaneous reward graph and the total reward graph for different learning rates η in the training iteration are shown, where the horizontal axis is the number of training iterations and the vertical axis is the amount of reward obtained by the agent. Fig. 9 As shown, the HR-RM algorithm proposed in the present invention converges faster as the learning rate η increases.
[0238] Fig.10 The total reward obtained by different learning rate settings in the proposed asynchronous learning-based scheme considering the limit on the number of learning times is illustrated. In this scenario, there are 4 ESs, 6 IDs, and 13 links. The results show that the total reward obtained by the proposed AHR-RM scheme is about 2.4×10 4 , after 3000 training iterations, its performance is better than that of HR-RM and PPO based schemes, which only achieve about 1.5×10 4 In contrast, the total reward of the random allocation (RA) resource management algorithm without using parallel structures is about 0.6×10 4 The HR-RM algorithm faces challenges in exploring a large action and state space, which makes it more difficult to escape from local optima. These results highlight that the proposed AHR-RM algorithm achieves superior convergence performance by leveraging the advantages of both value-based and policy-based approaches when handling large action spaces.
[0239] C. Performance comparison with network structure complexity
[0240] 1) Resource utilization: used to evaluate the performance of the resource utilization network under the condition of non-interference resource allocation.
[0241] Fig.11 The relationship between resource utilization and the number of IDs of four algorithms is compared in Figure 1. The four algorithms are: AHR-RM proposed in this example, HR-RM proposed, PPO (Proximal Policy Optimization) and RA (Random Resource Allocation).
[0242] from Fig.11It can be seen from the figure that the resource utilization of HR-RM and PPO decreases as the number of IDs increases, indicating that these algorithms cannot handle the interference from a large number of IDs. ID =20 to N ID = 60 range of resource utilization is higher than PPO, Fig.11 It is also shown in Figure 2 that the proposed AHR-RM achieves the highest resource utilization in all scenarios with different numbers of IDs. ID =20 to N ID =60 is 49.726%, which is 7.343% higher than HR-RM, 8.665% higher than PPO, and 15.040% higher than RA.
[0243] Fig.12 It shows how the resource utilization varies with different numbers of ESs. When there are more ESs, the resource utilization of the proposed AHR-RM scheme is lower. This is because the complexity of the network structure reduces the spectrum reuse rate when other parameters are fixed.
[0244] However, under the conditions of different numbers of ESs, the average resource utilization of this scheme is still the highest, which is 50.751%. It is 3.465% higher than the HR-RM scheme, 7.148% higher than the PPO scheme, and 15.606% higher than the RA scheme.
[0245] Fig.13 It shows how resource utilization varies with the number of ESs when other parameters are fixed. When the number of links increases, the resource utilization of the proposed AHR-RM scheme is lower. ID and N ES More communication links lead to lower performance. However, the average resource utilization of this scheme under different numbers of links is still the highest, which is 47.997%.
[0246] 2) Network throughput
[0247] Fig.14 The number of IDs N under four different schemes is shown when other parameters remain unchanged ID It can be seen that the network throughput of the proposed AHR-RM scheme increases with the increase of the number of IDs. Fig.14 It can be seen that the AHR-RM scheme has higher performance than the PPO method and is better than the RA scheme. In addition, this example also found that when N IDWhen it reaches 60, the scheme can obtain the highest network throughput of 5.27 GB / s, while other network throughput schemes reach a bottleneck when the number of IDs exceeds 45. The reason is intuitive: the proposed AHR-RM scheme can effectively achieve interference-free resource allocation and ensure the normal communication of all users, so it is reasonable to increase the network throughput with the increase of the number of normal communication IDs.
[0248] Fig.15 It shows that when other parameters remain unchanged, different schemes change with the number of ES N. ES Comparison of network throughput when .It can be observed that increasing the number of ESs only affects the performance of the RA algorithm. This is because the performance of mIoT is mainly affected by the interference coordination ability of the network when the ID number is fixed, while the maximum network throughput of the information is almost constant.
[0249] Fig.16 The differences in network throughput between AHRRM, HR-RM, PPO, and RA algorithms for different numbers of links Nlink when other parameters remain unchanged are shown. It can be observed that increasing the number of links does not affect the performance of the proposed AHR-RM scheme. This is because when mIoT uses the proposed AHR-RM scheme, mIoT effectively handles the increase in complex network structure caused by the increase in communication links. Therefore, when the number of IDs remains unchanged, the proposed AHR-RM scheme can always maintain the maximum network throughput as the communication links change.
[0250] In summary, the 6G-supported mIoT resource allocation method and system based on reinforcement learning provided in this embodiment first considers the large-scale dense deployment requirements and related overlapping interference, and constructs a new mIoT hypergraph interference model, which can calculate the interference degree of mIoT by converting complex interference coordination into a hypergraph strong coloring problem. Since the model is difficult to solve, the present invention proposes a new indirect solution to model the interference coordination problem as a Markov decision process (MDP). In order to avoid overestimating the value of MDP, the present invention proposes a new value-based and policy-based resource management algorithm (asynchronous multi-threaded architecture) to solve the overlapping interference problem caused by the large-scale dense deployment of large-scale wireless devices in mIoT. Considering the overlapping interference characteristics caused by the access of a large number of devices, the relationship between network topology and overlapping interference is analyzed, and the overall interference calculation formula (hypergraph interference model) is derived based on the hypergraph model. Then, a new resource management method based on the hypergraph interference model is proposed. The simulation results verify the correctness of the theoretical results and show that the scheme is superior to other schemes.
[0251] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. 6G supported mIoT resource allocation method based on reinforcement learning, It is characterized in that Includes steps: S1. Build an mIoT communication network architecture that supports 6G functions. mIoT refers to the massive Internet of Things. The mIoT communication network architecture includes N ES ES, N ID ID and a cloud processor, ES refers to edge server, ID refers to IOT device, i.e. IoT device; ES, as a 6G base station, has computing and storage functions to meet the needs of multiple IDs within its communication range; some IDs directly communicate with each other in D2D; The cloud processor is responsible for baseband signal processing and communication resource management; the data generated by the ID is stored in the virtual resource management pool of the cloud processor, and then the data is distributed to a subset of ES through the front-end link; S2. Establishing a hypergraph network model of the mIoT communication network architecture during resource allocation; In step S2, the hypergraph network model uses the initial hypergraph association matrix H T Characterization, H T The rows represent vertices, including N ES ES and N ID ID; H T The column represents the established hyperedge. The method of establishing the hyperedge is as follows: establish a hyperedge centered on the ES or ID. The IDs in the hyperedge are within the communication range and will cause mutual interference; H T The value of the element (xi,dj) in the i-th row and j-th column of is as follows: (xi,dj)=1 means that vertex xi is within the range of hyperedge dj, (xi,di)=0 means that vertex xi is not within the range of hyperedge dj; S3, establishing a hypergraph interference model according to the interference relationship in the hypergraph network model; In step S3, the hypergraph interference matrix T is obtained by the following steps: S31, simplifying the initial hypergraph association matrix by deleting sub-hyperedges to obtain a simplified hypergraph association matrix Hs; S32, removing non-overlapping information in the simplified hypergraph association matrix Hs to obtain an overlapping hypergraph association matrix Ho; S33, the communication link relationship in the overlapping hypergraph association matrix Ho is represented by the hypergraph interference matrix T, wherein all elements that are 1 in the overlapping hypergraph association matrix Ho are represented by resources; S4. Establishing a conflict-free resource allocation problem of the mIoT communication network architecture based on the hypergraph interference model; In step S4, the conflict-free resource allocation problem is constructed as follows: Where C[m] represents the transmission rate of ID m, M represents N ID The set of IDs, Φ represents the overall interference of the mIoT communication network architecture, C min [m] represents the minimum transmission rate; constraint C1 means there is no interference with resource allocation; constraint C2 means the transmission rate of each ID is greater than the minimum transmission rate C min [m]; Φ is calculated by the following formula: in, represents the overall interference degree of the resource κ allocated in the hypergraph interference matrix T, the hypergraph interference matrix T is a matrix representing the relationship of the communication links in the hypergraph interference model, and K represents the set of all available communication resources; Calculated by the following formula: in, Represented in vector The number of repetitions of the resource κ allocated in Represented in vector The number of repetitions of resource k allocated in the vector represents the row vector of the nth row of the hypergraph interference matrix T, represents the column vector of the mth column of the hypergraph interference matrix T, and N represents N ES A collection of ES; S5, constructing a resource allocation network guided by a Markov decision process based on the conflict-free resource allocation problem; In step S5, the Markov decision process is used as a guide, specifically referring to: Define the state s at time slot t t for: in, represents the set of all ID capacities γ at time slot t, Φ(t) represents Φ at time slot t, represents C at time slot t min [m], T(t) represents T at time slot t; st∈S, S represents the state space; Define the resource allocation action a at time slot t t for: Among them, κ i,j Indicates a t The element in the i-th row and j-th column of i,j Indicates the resources allocated between the i-th ES and the j-th ID, i = 1, 2, ..., N ES ,j=1,2,…,N ID ; Define execution action a t Instant rewards received t for: Among them, O(t)=(1-n k (t) / n link (t)) × 100% is the amount of resources used in time slot t, n link (t) represents the number of mIoT communication links in time slot t, n k (t) represents the number of resources κ used in time slot t; The action space and state space are learned and evaluated by calculating the cumulative reward U obtained during the training process. The cumulative reward U is: Among them, T L is the total working time of mIoT; In step S5, the resource allocation network includes a hypergraph interference estimation network and a resource allocation strategy network; the hypergraph interference estimation network provides a state value function V π (s) and the action-value function Q π (s, a) is used to evaluate the resource allocation scheme generated by the resource allocation policy network; the resource allocation policy network is a policy network that takes the state as input and outputs an approximation to the policy model, and aims to maximize the expected cumulative reward by updating its parameters based on the value function provided by the hypergraph interference estimation network; In the resource allocation network, the state value function V in the hypergraph interference estimation function is defined as π (s) and the action-value function Q π (s,a) is: in, represents the expectation, s represents the current system state at time slot t, a represents the current system action at time slot t, λ represents the discount factor, and s′ represents the next system state at time slot t; S6. Using an asynchronous multi-threaded architecture to train the resource allocation network; The step S6 specifically comprises the following steps: S61. Create multiple parallel thread-specific networks, each of which has an agent with a structural copy of the resource allocation network; all agents share a global resource allocation network parameter and select an action based on the environment state to obtain a reward and a next state; S62, initializing a shared hypergraph interference estimation network parameter w and a shared resource configuration strategy network parameter θ, and initializing a thread-specific hypergraph interference estimation network parameter w′ and a resource configuration strategy network parameter θ′; S63, synchronize thread-specific networks θ′=θ and w′=w; S64. In each thread, execute actions, obtain rewards, and calculate cumulative gradients; S65, asynchronously updating the shared network parameters through the accumulated gradients calculated in each thread, and then passing the updated shared parameters to each thread-specific network, and then returning to step S64 to enter the next loop until the loop ends after convergence; S7. The trained resource allocation network performs interference-free resource allocation according to the state of the current mIoT communication network architecture.
2. According to claim 1, the 6G supported mIoT resource allocation method based on reinforcement learning, It is characterized in that The Q value of the hypergraph interference estimation network is estimated by a deep neural network with parameter w, and the output of the deep neural network estimation is defined as The parameter w is updated by: η represents the learning rate, J Q (w) is the loss function, is the loss function J Q The gradient of (w); J Q (w) is defined as: Among them, π(a|s t+1 ; θ) indicates that the resource allocation strategy network is in the next state s t+1 Assign the output of action a, Represents the hypergraph interference estimation network in the current state s t Next, perform action a t The output, Representation and The corresponding true value.
3. According to claim 2, the 6G supported mIoT resource allocation method based on reinforcement learning, It is characterized in that The goal of the resource allocation policy network is to maximize the following expected long-term discounted reward: J π (θ)=E[r(τ)] Among them, τ is the sampling trajectory, Discounting expected reward for finite step length; The parameter θ of the resource allocation strategy network is updated by the following formula: The gradient of the parameter θ is approximately: Among them, π(a t ∣s t ,θ) represents the output of the resource allocation strategy network at the current state st and action at, Indicates that the resource allocation strategy network is in the current state s t The output of all actions, Represents the hypergraph interference estimation network in the current state s t The output of all actions.
4. 6G-supported mIoT resource allocation system based on reinforcement learning, Features: An intelligent agent is provided, on which the resource allocation network that has been trained as described in any one of claims 1 to 3 is mounted.
Citation Information
Patent Citations
6G dense networking non-overlapping interference resource allocation method based on deep reinforcement learning
CN116193608A
User packet and resource allocation method and apparatus in noma-MEC system
WO2023179010A1
