A wireless network topology optimization control method based on multi-agent reinforcement learning

Through multi-agent reinforcement learning, the transmission power of wireless network nodes is optimized and the multi-hop wireless network topology is adjusted to solve the problem of high transmission delay, achieve fast and stable data transmission, and improve the stability of results and convergence efficiency.

CN114828049BActive Publication Date: 2024-09-03HEFEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210461382.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2024-09-03
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively optimize the topology of multi-hop wireless networks, resulting in high transmission delays and difficulty in ensuring fast and stable data transmission.

Method used

A wireless network topology optimization control method based on multi-agent reinforcement learning is adopted. By constructing a multi-hop wireless network mathematical model and a multi-agent reinforcement learning control module, Critic and Actor agents are used to optimize the transmission power of wireless network nodes and adjust the network topology. to reduce latency.

Benefits of technology

The multi-agent reinforcement learning method is used to simulate environmental interactions, which solves the problem that traditional optimization methods are difficult to control nonlinear delay, improves the stability of results and convergence efficiency, and achieves fast transmission and optimized control accuracy of multi-hop wireless networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114828049B
    Figure CN114828049B
Patent Text Reader

Abstract

The present invention discloses a wireless network topology optimization control method based on multi-agent reinforcement learning, and the steps include: 1. establishing a multi-agent reinforcement learning control module and a multi-hop wireless network mathematical model; 2. training a multi-agent reinforcement learning control module for wireless network topology optimization control; 3. applying the multi-agent reinforcement learning module for wireless network topology optimization control. The present invention can optimize the topology of the network by adjusting the transmission power of each node in the wireless network, thereby effectively optimizing the average end-to-end delay of the multi-hop wireless network to ensure the rapid transmission of multi-hop wireless network data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a wireless network topology optimization control method based on multi-agent reinforcement learning, and belongs to the field of wireless communications. Background Art

[0002] In recent years, wireless communication technology has been developing continuously. In traditional wireless access technology, point-to-point or point-to-multipoint topology is mainly used. In this topology, there is generally a central node, such as a base station in a mobile communication system, an access point (AP) in an 802.11 wireless local area network (WLAN), etc. The central node in this structure is connected to the wireless link of each wireless terminal through a single hop mode to control the access of each wireless terminal to the wireless network; at the same time, it is connected to the wired backbone network through a wired link to provide a connection to the backbone network.

[0003] Based on the single-hop network, a multi-hop wireless communication network was proposed. A "multi-hop network" is constructed by nodes, including devices such as computers and mobile phones, which are all wirelessly connected to each other and can forward data to each other through the network. Data jumps from one node to another until it reaches the destination. Unless all nodes fail, the data is always available, making this network topology reliable and scalable. This multi-hop transmission method greatly increases the transmission distance, but also increases the delay of data transmission. There is often a minimum delay requirement for the transmission between data. Therefore, how to optimize the topology of multi-hop wireless networks to reduce transmission delays has become a difficult problem in research. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a wireless network topology optimization control method based on multi-agent reinforcement learning, in order to optimize the network topology structure and reduce the end-to-end delay of the multi-hop wireless network by adjusting the transmission power of each node in the wireless network, so as to ensure the rapid transmission of multi-hop wireless network data and the accuracy and stability of the optimized control.

[0005] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme:

[0006] The invention discloses a wireless network topology optimization control method based on multi-agent reinforcement learning, which comprises the following steps:

[0007] Step 1: Establish a multi-agent reinforcement learning control module and a multi-hop wireless network mathematical model;

[0008] Step 1.1: Construct a mathematical model of a multi-hop wireless network:

[0009] Suppose a multi-hop wireless network contains M transmission nodes and 1 gateway node;

[0010] The data transmitted by any transmission node finally reaches the gateway node after multi-hop wireless transmission through other transmission nodes; the gateway node transmits the data transmitted by the transmission node to other networks via wired transmission;

[0011] Define the delay of the i-th link obtained by the i-th transmission node after executing the multi-hop wireless network mathematical model for the t-th time during the n-th training as Then the delay vectors of the M links obtained by the M transmission nodes after executing the multi-hop wireless network mathematical model for the tth time during the nth training are:

[0012] The transmission power of the i-th transmission node after executing the multi-hop wireless network mathematical model for the t-th time during the n-th training is defined as Then the transmission power vector obtained by M transmission nodes after executing the multi-hop wireless network mathematical model for the tth time during the nth training is 0<i≤M;

[0013] Step 1.2: Construct a multi-agent reinforcement learning control module, including: a Critic agent for global information distribution and an Actor agent responsible for optimizing the transmission power of each wireless network node;

[0014] The Actor agent is composed of a three-layer neural network and is represented by θ=[θ1,θ2,...,θ i ,...,θ M ] represents the parameter set of the three-layer neural network; among them, θ i Represents the parameter set of the three-layer neural network of the i-th Actor agent;

[0015] Step 2: training the multi-agent reinforcement learning control module according to the multi-hop wireless network mathematical model;

[0016] Step 2.1, randomly initialize θ; initialize n = 1;

[0017] Step 2.2, initialize t = 1, and randomly initialize the positions of M transmission nodes and 1 gateway node in the multi-hop wireless network, and initialize the transmission power vector of M transmission nodes at the tth execution under the nth training.

[0018] Step 2.3: According to the transmission power vector at the tth execution under the nth training Construct the optimal topology of a multi-hop wireless network and calculate the delay vector of M links at the tth execution under the nth training. Thus, the transmission power vector at the tth execution under the nth training is and delay vector Send to the Critic agent;

[0019] Step 2.4: The Critic agent receives and Calculate the local reward vector at the tth execution under the nth training By local reward vector and the transmit power vector Calculate the evaluation reward vector for the tth execution under the nth training And output and The corresponding elements in are given to M Actor agents respectively;

[0020] Step 2.5: For M Actor agents, initialize i=1 and perform the following operations;

[0021] Step 2.5.1: The i-th Actor receives and and by including the parameter set θ i The three-layer neural network calculates the action of the i-th Actor agent at the t-th execution under the n-th training Thus, using formula (1), we can get the trajectory of the i-th Actor agent in the n-th training:

[0022]

[0023] In formula (1), It represents the evaluation reward of the transmission power obtained by the i-th Actor agent after the t-th execution of the multi-hop wireless network mathematical model under the n-th training;

[0024] Step 2.5.2: Use formula (2) to get the expected reward R of all trajectories of the i-th Actor agent: θi :

[0025]

[0026] In formula (2), N is the maximum number of stored trajectories, t max is the maximum number of training times for a single trajectory; For the trajectory The probability of occurrence is:

[0027]

[0028] In formula (3), represents the transmission power of the i-th transmission node after executing the multi-hop wireless network mathematical model for the t+1th time during the n-th training. It represents the evaluation reward of the transmission power obtained by the ith Critic agent after the t+1th execution of the multi-hop wireless network mathematical model of the nth training. Status The mathematical model of wireless network is generated The probability of Transmit power According to the neural network parameter θ i Select Action probability;

[0029] Use formula (4) to get the expected return reward For the parameter set θ i Optimization strategy function for partial derivatives

[0030]

[0031] In formula (4), ▽ is the partial derivative operation;

[0032] Step 2.5.3: Update the neural network parameter set θ i for Among them, ε is the proportionality coefficient;

[0033] Step 2.5.4, assign i+1 to i, and determine whether i>M is true. If so, execute step 2.6; otherwise, return to step 2.5.1 and execute sequentially;

[0034] Step 2.6: Assign t+1 to t and determine whether t>t max Is it true? If so, execute step 2.7; otherwise, the i-th transmission node in the multi-hop wireless network receives and executes the action Then output the transmission power of t+1 training Then return to step 2.3 and execute sequentially;

[0035] Step 2.7, assign n+1 to n, and determine whether n≤N is true. If so, execute step 2.2; otherwise, it means that the reinforcement learning training process is over, and the final updated parameter set is saved as the optimal parameter set. in, Represents the optimal parameter set of the three-layer neural network of the i-th Actor agent;

[0036] Step 3: Apply multi-hop wireless network topology optimization control based on the multi-agent reinforcement learning control module;

[0037] Step 3.1, initialize n=1, t=1;

[0038] Step 3.2: According to the transmission power vector of each node in the multi-hop wireless network during the tth training, Construct the optimal topology of its own multi-hop wireless network, so as to calculate the delay vector of M links at the tth execution of the nth training And the transmission power vector of the tth execution during the nth training and delay vector Send to the Critic agent;

[0039] Step 3.3: The Critic agent accepts and And calculate the local reward for the tth execution during the nth training and evaluation rewards And output and The corresponding elements in are given to M Actor agents respectively;

[0040] Step 3.4, for M Actor agents, initialize i=1 and perform the following operations;

[0041] Step 3.4.1: The i-th Actor receives the transmission power of the i-th transmission node and the evaluation reward of the i-th transmission node And through the optimal parameter set The three-layer neural network calculates the tth action of the i-th Actor agent during the n-th training And pass it to the corresponding i-th transmission node;

[0042] Step 3.4.2, assign i+1 to i, and determine whether i>M is true. If so, execute step 3.5; otherwise, return to step 3.4.1 and execute sequentially;

[0043] Step 3.5: Assign t+1 to t and determine whether t>t max Is it true? If true, it means that the topology optimization of the multi-hop wireless network is completed, and the final updated transmit power is saved and used as the optimal transmit power vector for the tth execution during the nth training. Otherwise, the i-th transmission node in the multi-hop wireless network receives and executes the action performed at the t-th time during the n-th training. Then output the transmission power vector of the t+1th execution during the nth training of the multi-hop wireless network Then, return to step 3.2 and execute sequentially.

[0044] The wireless network topology optimization control method based on multi-agent reinforcement learning of the present invention is also characterized in that in step 2.4, the local reward is calculated using formula (5)

[0045]

[0046] Use equations (6) and (7) to calculate the evaluation reward vector

[0047]

[0048]

[0049] In formula (6)-(7), Indicates that the state vector Condition: nth training, t+1th execution to tth execution max The mean of the sum of the local reward discounts of the executions, Represented by the delay vector The local reward for the t+1th execution under the nth training is calculated, and λ is the discount coefficient.

[0050] Compared with the prior art, the present invention has the following beneficial effects:

[0051] The present invention performs wireless network topology optimization control through a multi-agent reinforcement learning method. Since the end-to-end delay of a multi-hop wireless network is related to the network topology structure and is nonlinear, it is difficult to control it using traditional optimization methods. However, this method performs environmental simulation through multi-agent reinforcement learning, obtains corresponding relationships through continuous interactions between environments, and solves the problem of difficulty in building corresponding mathematical models; adopts a multi-agent multiple-Actor structure to solve the problem of action dimension explosion in traditional reinforcement learning; adopts Critic to distribute rewards to each Actor, realizes global reward distribution, and increases convergence efficiency; in addition, the method used in the present invention has higher result stability in multiple experimental comparisons. The present invention is simple, practical, and easy to implement. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 This is a multi-hop wireless network optimization control multi-agent reinforcement learning training block diagram of the present invention;

[0053] Figure 2 The present invention is a flowchart of the specific steps of multi-agent reinforcement learning training for multi-hop wireless network optimization control. DETAILED DESCRIPTION

[0054] In this embodiment, a wireless network topology optimization control method based on multi-agent reinforcement learning is described. Figure 1-Figure 2 , including the following steps:

[0055] Step 1: Figure 1 As shown, a multi-agent reinforcement learning control module and a multi-hop wireless network mathematical model are established;

[0056] Step 1.1: Construct a mathematical model of a multi-hop wireless network:

[0057] Suppose a multi-hop wireless network contains M=7 transmission nodes and 1 gateway node;

[0058] The data transmitted by any transmission node finally reaches the gateway node after multi-hop wireless transmission through other transmission nodes; the gateway node transmits the data transmitted by the transmission node to other networks via wired transmission;

[0059] Define the delay of the i-th link obtained by the i-th transmission node after executing the multi-hop wireless network mathematical model for the t-th time during the n-th training as Then the delay vectors of the 7 links obtained by the 7 transmission nodes after executing the multi-hop wireless network mathematical model for the tth time during the nth training are:

[0060] The transmission power of the i-th transmission node after executing the multi-hop wireless network mathematical model for the t-th time during the n-th training is defined as Then the transmission power vector obtained by the 7 transmission nodes after executing the multi-hop wireless network mathematical model for the tth time during the nth training is

[0061] Step 1.2: Construct a multi-agent reinforcement learning control module, including: a Critic agent for global information distribution and an Actor agent responsible for optimizing the transmission power of each wireless network node;

[0062] The Actor agent is composed of a three-layer neural network and is represented by θ=[θ1,θ2,...,θ i ,...,θ7] represents the parameter set of the three-layer neural network; among them, θ i Represents the parameter set of the three-layer neural network of the i-th Actor agent;

[0063] Step 2: Figure 2 As shown, the multi-agent reinforcement learning control module is trained according to the mathematical model of multi-hop wireless network;

[0064] Step 2.1, randomly initialize θ; initialize n = 1;

[0065] Step 2.2, initialize t = 1, and randomly initialize the positions of 7 transmission nodes and 1 gateway node in the multi-hop wireless network, and initialize the transmission power vector of the 7 transmission nodes at the tth execution under the nth training.

[0066] Step 2.3: According to the transmission power vector at the tth execution under the nth training Construct the optimal topology of a multi-hop wireless network and calculate the delay vectors of the seven links at the tth execution under the nth training. Thus, the transmission power vector at the tth execution under the nth training is and delay vector Send to the Critic agent;

[0067] Step 2.4: The Critic agent receives and Use formula (1) to calculate the local reward at the tth execution under the nth training

[0068]

[0069] Use equation (2)-(3) to calculate the evaluation reward vector

[0070]

[0071]

[0072] In formula (2)-formula (3), Indicates that the state vector Condition: nth training, t+1th execution to tth execution max The mean of the sum of the local reward discounts of the executions, Represented by the delay vector Calculate the local reward for the t+1th execution under the nth training; and output and The corresponding elements in are given to 7 Actor agents respectively;

[0073] Step 2.5: For the 7 Actor agents, initialize i=1 and perform the following operations;

[0074] Step 2.5.1: The i-th Actor receives and and by including the parameter set θ i The three-layer neural network calculates the action of the i-th Actor agent at the t-th execution of the n-th training Thus, using formula (4), we can get the trajectory of the i-th Actor agent in the n-th training:

[0075]

[0076] In formula (4), It represents the evaluation reward of the transmission power obtained by the i-th Actor after executing the multi-hop wireless network mathematical model for the t-th time in the n-th training;

[0077] Step 2.5.2: Use formula (5) to get the expected reward of all trajectories of the i-th Actor agent:

[0078]

[0079] In formula (5), For the trajectory The probability of occurrence is:

[0080]

[0081] In formula (6), represents the transmission power of the i-th transmission node after executing the multi-hop wireless network mathematical model for the t+1th time during the n-th training. It represents the evaluation reward of the transmission power obtained by the i-th Actor agent after executing the multi-hop wireless network mathematical model for the t+1th time in the nth training. Status The mathematical model of wireless network is generated The probability of Transmit power According to the neural network parameter θ i Select Action The probability of ,

[0082] Use formula (7) to get the expected reward For the parameter set θ i Optimization strategy function for partial derivatives

[0083]

[0084] In formula (7), ▽ is the partial derivative operation;

[0085] Step 2.5.3: Update the neural network parameter set θ i for Among them, ε is the proportionality coefficient, ε = 0.01;

[0086] Step 2.5.4, assign i+1 to i, and determine whether i>7 is true. If so, execute step 2.6; otherwise, return to step 2.5.1 and execute sequentially;

[0087] Step 2.6: Assign t+1 to t and determine whether t>t max=200 is true, if true, then execute step 2.7; otherwise, the i-th transmission node in the multi-hop wireless network receives and executes the action Then output the transmission power of t+1 training Then return to step 2.3 and execute sequentially;

[0088] Step 2.7, assign n+1 to n, and determine whether n≤N=2000 holds. If so, execute step 2.2; otherwise, it means that the reinforcement learning training process is over, and the final updated parameter set is saved as the optimal parameter set. in, Represents the optimal parameter set of the three-layer neural network of the i-th Actor agent;

[0089] Step 3: Apply multi-hop wireless network topology optimization control based on the multi-agent reinforcement learning control module;

[0090] Step 3.1, initialize n=1, t=1;

[0091] Step 3.2: According to the transmission power vector of each node in the multi-hop wireless network during the tth training, Construct the optimal topology of its own multi-hop wireless network, and calculate the delay vector of the 7 links at the tth execution of the nth training. And the transmission power vector of the tth execution during the nth training and the optimal delay vector Send to the Critic agent;

[0092] Step 3.3: The Critic agent accepts and And calculate the local reward obtained by the tth execution during the nth training and evaluation rewards And output and The corresponding elements in are given to 7 Actor agents respectively;

[0093] Step 3.4, for 7 Actor agents, initialize i=1 and perform the following operations;

[0094] Step 3.4.1: The i-th Actor receives the transmission power of the i-th transmission node and the evaluation reward of the i-th transmission node And through the optimal parameter set The three-layer neural network calculates the tth action of the i-th Actor agent during the n-th training And pass it to the corresponding i-th transmission node;

[0095] Step 3.4.2, assign i+1 to i, and determine whether i>7 is true. If so, execute step 3.5; otherwise, return to step 3.4.1 and execute sequentially;

[0096] Step 3.5, assign t+1 to t, and determine whether t>200 is true. If so, it means that the topology optimization of the multi-hop wireless network is completed, and the final updated transmission power is saved and used as the optimal transmission power vector for the 200th optimization during the nth training. Otherwise, the tth action when the i-th transmission node in the multi-hop wireless network receives and executes the n-th training Then output the transmission power vector of the t+1th time in the nth training of the multi-hop wireless network Return to step 3.2 and execute sequentially.

Claims

1. A wireless network topology optimization control method based on multi-agent reinforcement learning, characterized in that: The following steps are involved: Step 1: Establish a multi-agent reinforcement learning control module and a multi-hop wireless network mathematical model; Step 1.1: Construct a mathematical model of a multi-hop wireless network: Suppose a multi-hop wireless network contains M transmission nodes and 1 gateway node; The data transmitted by any transmission node finally reaches the gateway node after multi-hop wireless transmission through other transmission nodes; The gateway node transmits the data transmitted by the transmission node to other networks via wired transmission; Define the i-th transmission node in The first training After executing the multi-hop wireless network mathematical model for the first time, the delay of the i-th link is ; then the M transmission nodes are in the first The first training The delay vectors of the M links obtained after executing the multi-hop wireless network mathematical model are: ; Define the i-th transmission node in The first training The transmission power after executing the multi-hop wireless network mathematical model is ; then the M transmission nodes are in the first The first training The transmission power vector obtained after executing the multi-hop wireless network mathematical model is: ; ; Step 1.2: Construct a multi-agent reinforcement learning control module, including: a Critic agent for global information distribution and an Actor agent responsible for optimizing the transmission power of each wireless network node; The Actor agent consists of a three-layer neural network and uses Represents the parameter set of a three-layer neural network; among them, Indicates The parameter set of the three-layer neural network of an Actor agent; Step 2: training the multi-agent reinforcement learning control module according to the multi-hop wireless network mathematical model; Step 2.1: Random initialization ;initialization ; Step 2.2, Initialization , and randomly initialize the positions of M transmission nodes and 1 gateway node in the multi-hop wireless network, and initialize the Next training The transmission power vector of the M transmission nodes in the execution ; Step 2.3: According to Next training The transmit power vector at the execution time Construct the optimal topology of a multi-hop wireless network and calculate the Next training The delay vectors of the M links in the execution , thus Next training The transmit power vector at the execution time and delay vector Send to the Critic agent; Step 2.4: The Critic agent receives and , calculate the Next training The local reward vector at execution time , through the local reward vector and the transmit power vector Calculate the Next training Evaluation reward vector for execution , and output and The corresponding elements in are given to M Actor agents respectively; Calculate the local reward using formula (5) : (5) Use equations (6) and (7) to calculate the evaluation reward vector : (6) (7) In formula (6)-(7), Indicates that the state vector Conditional Next training Execute to The mean of the sum of the local reward discounts of the executions, Represented by the delay vector Calculate the first Next training Local rewards for execution, is the discount factor; Step 2.5: For M Actor agents, initialize , and perform the following operations; Step 2.5.1: The i-th Actor receives and , and by including a parameter set The three-layer neural network calculation Next training The action of the i-th Actor agent at the execution time , and thus use formula (1) to get the i-th Actor agent in the The training track : (1); In formula (1), Indicates that the i-th Actor agent is in Next training The evaluation reward of the transmission power obtained after the multi-hop wireless network mathematical model is executed; Step 2.5.2: Use formula (2) to get the expected reward of all trajectories of the i-th Actor agent: : (2) In formula (2), is the maximum number of stored trajectories, is the maximum number of training times for a single trajectory; For the trajectory The probability of occurrence is: (3) In formula (3), Indicates that the i-th transmission node is in The first training The transmission power after executing the mathematical model of multi-hop wireless network for the first time, Represents the ith Critic agent's The first training The evaluation reward of the transmission power obtained after executing the multi-hop wireless network mathematical model, Status The mathematical model of wireless network is generated The probability of is the transmission power According to the neural network parameters Select Action probability; Use formula (4) to get the expected return reward For parameter set Optimization strategy function for partial derivatives : (4) In formula (4), is the partial derivative operation; Step 2.5.3: Update the neural network parameter set for ,in, is the proportionality coefficient; Step 2.5.4: Assign to ,judge Is it true? If so, go to step 2.6; otherwise, go back to step 2.5.1 and execute sequentially; Step 2.6: Assign to ,judge Is it true? If so, execute step 2.7; otherwise, the i-th transmission node in the multi-hop wireless network receives and executes the action Post Output Transmit power for training , then return to step 2.3 and execute sequentially; Step 2.7: Assign to ,judge Is it true? If so, execute step 2.2; otherwise, it means that the reinforcement learning training process is over, and the final updated parameter set is saved as the optimal parameter set ;in, Indicates The optimal parameter set of the three-layer neural network of an Actor agent; Step 3: Apply multi-hop wireless network topology optimization control based on the multi-agent reinforcement learning control module; Step 3.1: Initialization , ; Step 3.2, according to the multi-hop wireless network nodes in the The first training The transmit power vector of the execution , build the optimal topology of its own multi-hop wireless network, and then calculate the first The first training The delay vector of M links in the execution , and the The first training The transmit power vector of the execution and delay vector Send to the Critic agent; Step 3.3: The Critic agent accepts and , and calculate the The first training Local rewards for execution and evaluation rewards , and output and The corresponding elements in are given to M Actor agents respectively; Step 3.4: For M Actor agents, initialize And perform the following operations; Step 3.4.1: The i-th Actor receives the transmission power of the i-th transmission node and the evaluation reward of the i-th transmission node , and through the optimal parameter set The three-layer neural network calculates the i-th Actor agent The first training Secondary action And pass it to the corresponding i-th transmission node; Step 3.4.2: Assign to ,judge Is it true? If so, execute step 3.5; otherwise, return to step 3.4.1 and execute sequentially; Step 3.5: Assign to ,judge Is it true? If true, it means that the topology optimization of the multi-hop wireless network is completed, and the final updated transmission power is saved and used as the first The first training The optimal transmit power vector for this execution Otherwise, the i-th transmission node in the multi-hop wireless network receives and executes the The first training Actions performed Then output the multi-hop wireless network The first training The transmit power vector of the execution Then, return to step 3.2 and execute sequentially.