Wireless power distribution method and system based on edge aggregation graph attention network
Through the edge aggregation graph attention network and the expanded weighted minimum mean square error iteration framework, the problem of high complexity of traditional power allocation algorithms is solved, efficient and fast wireless power allocation is achieved, and the channel capacity and model generalization ability are improved.
Patent Information
- Application Number
- CN202410209229.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2024-08-13
AI Technical Summary
Traditional iterative power allocation algorithms have high computational complexity, causing device batteries to drain quickly and being unable to adapt to time-varying channel characteristics.
Using a method based on edge aggregation graph attention network, by constructing a wireless self-organizing network, abstracting the graph neural network, training link characteristic parameters, combined with the expanded weighted minimum mean square error iterative framework, using the gradient backpropagation method to optimize model parameters, improve Algorithm convergence speed.
It significantly reduces the computational complexity, improves the channel capacity and model generalization ability, simplifies the model construction, and achieves fast convergence and efficient power allocation.
Smart Images

Figure HDA0004714323120000031 
Figure HDA0004714323120000012 
Figure HDA0004714323120000021
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power allocation optimization in wireless networks, and in particular to a wireless power allocation method and system based on an edge aggregation graph attention network. Background Art
[0002] Communication system power allocation is an important concept in the field of wireless communications, which is used to determine the proportion of signal power allocated between various components in a communication system. In wireless communications, signal power allocation is crucial to achieve reliable communication connections, optimize system performance, and improve resource utilization. The goal of power allocation is to improve the overall system throughput while ensuring the communication quality of each wireless link as much as possible. Reasonable power allocation can ensure that the bit error rate is minimized, the signal-to-noise ratio is maximized, and the impact of multipath interference is minimized during signal transmission. By allocating power to different channels, subcarriers or users and dynamically adjusting according to the requirements of the communication environment, the best performance and service quality can be provided. In wireless networks, power allocation can involve interference management and coordination between base stations to avoid or reduce signal interference and spectrum conflicts. In multi-user systems, power allocation can be optimized based on user needs and the quality of the communication channel to achieve fairness and maximize spectrum efficiency. In adaptive coding and modulation schemes, power allocation can be dynamically adjusted according to channel conditions to maximize system capacity and performance. In addition, power allocation is also closely related to factors such as energy saving and battery life. In wireless devices, reasonable power allocation can reduce power consumption, extend battery life, and improve device efficiency and reliability.
[0003] However, the power allocation problem still has many challenges, which limits its further development. Mathematically, the power allocation problem can be modeled as the problem of optimizing a utility function under limited resources. The optimization of these functions is usually non-convex and NP-hard problems, and it is very difficult to find the optimal solution. The existing classical methods all find suboptimal solutions through multiple iterations and achieve good performance. However, multiple iterative calculations will lead to high computational complexity, which will bring two serious consequences: the device battery will be exhausted more quickly; power allocation needs to be frequently recalculated in time-varying channels, making the calculation results unable to adapt to the changing channel characteristics. Summary of the invention
[0004] In view of the above-mentioned problems, the present invention is proposed.
[0005] Therefore, the technical problem solved by the present invention is: the problem of high computational complexity of the traditional iterative power allocation algorithm.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] In a first aspect, an embodiment of the present invention provides a wireless power allocation method based on an edge aggregation graph attention network, comprising:
[0008] Construct a wireless self-organizing network, determine the characteristic parameters of each communication link that has an interference relationship with each other, and abstract the wireless self-organizing network based on the characteristic parameters to form a corresponding graph neural network;
[0009] In the wireless self-organizing network, characteristic parameters of each communication link and interference link are collected to form a link training set and a link test set, which are used as basic input parameters for graph neural network training and testing respectively.
[0010] Build an overall network framework for power distribution;
[0011] Inputting the link training set into the graph neural network for training;
[0012] According to the power allocation results of each transmitter output by the graph neural network, the total channel capacity is calculated, the loss function is obtained, and the gradient backpropagation method is used to optimize the graph neural network model parameters.
[0013] As a preferred solution of the wireless power allocation method based on edge aggregation graph attention network, wherein:
[0014] The step of constructing a wireless self-organizing network, determining characteristic parameters of each communication link having an interference relationship with each other, and abstracting the wireless self-organizing network based on the characteristic parameters to form a corresponding graph neural network includes:
[0015] The characteristic parameters include the sending / receiving nodes corresponding to each communication link and their position parameters, the maximum transmission power of the transmitter, and the link model; a two-dimensional random geometric graph with M transceiver pairs is established, and each transceiver pair is used as a node of the graph neural network, where the transmitter t i (1≤i≤M) are randomly placed at t according to the uniform distribution rule. i ∈[-E,E] 2 The corresponding receiver r i Place them randomly in r according to the uniform distribution rule i ∈[t i -E / 4,t i +E / 4] 2 Within the range; all links are subject to Rayleigh fading. Under fading conditions, the link matrix is H M×M , where the element in row i and column j is For the transmitter t j With receiver i The link characteristic parameters between is the link gain, is the fading coefficient that obeys the Rayleigh distribution; the underlying topology of the network is assumed to be fixed.
[0016] As a preferred solution of the wireless power allocation method based on edge aggregation graph attention network, wherein:
[0017] The characteristic parameters of each communication link and interference link are collected in the wireless self-organizing network to form a link training set and a link test set, which are used as basic input parameters for graph neural network training and testing, respectively, including:
[0018] In the link training set, the link gain is guaranteed Change the link fading coefficient of each training example in the training set The link parameters change over time. Under this condition, sampling and training are completed once, and the training set is sampled 640,000 times.
[0019] As a preferred solution of the wireless power allocation method based on edge aggregation graph attention network, wherein:
[0020] The overall network framework for power distribution includes:
[0021] The overall network framework for power allocation is mainly composed of two parts, including an expanded weighted minimum mean square error power calculation iterative framework and an edge aggregation graph attention network training process embedded in each layer iteration; some parameter values are obtained through graph neural network training to accelerate algorithm convergence;
[0022] The expanded weighted minimum mean square error consists of K weighted minimum mean square error iterative layers, where K is an adjustable parameter, and the kth layer (1≤k≤K) consists of It consists of three parts, representing the decoding parameters, auxiliary parameters and encoding parameters of node i at this layer; definition Each layer of expanded weighted minimum mean square error is composed of an edge aggregation graph attention network graph neural network as the learning part of the model, and the learning parameters are and The formulas of weighted minimum mean square error are expressed as follows:
[0023]
[0024] in represents the slope, represents the offset, α(·) is the windowing function, Limit to the maximum available value In the first iteration, the initial value is After the last round of iteration, t i The transmit power is set to
[0025] As a preferred solution of the wireless power allocation method based on edge aggregation graph attention network, wherein:
[0026] The edge aggregation graph attention network consists of only one layer of graph neural network with attention mechanism. After the features are aggregated by the attention layer, they are output by the fully connected layer and combined with auxiliary parameters.
[0027] Model the wireless self-organizing network as a graph neural network, using Represented and input to each iterative layer; the number of iterative layers k is ignored in each parameter of the edge aggregation graph attention network; A collection of nodes It consists of a transceiver pair in the ad hoc network, where a transceiver pair represents a node; j For receiver i The interference is represented by the edge feature from node j to node i where f ξ Indicates the number of edge features, the above type of edge E ij (1≤i,j≤M,i≠j) constitutes the edge set of the graph picture Each node Each has its own eigenvector where f η Represents the number of node features; the edge aggregation graph attention network calculation formula is as follows, each expanded weighted minimum mean square error iteration layer and Corresponding to a set of independent edge aggregation graph attention network training networks and training parameters, the following formula does not distinguish between them, and omits the superscript of the iteration layer number, and the training results are all in o i express:
[0028] The calculation formula of attention coefficient is:
[0029] e ij =σ((w α ) Τ [W v η i ||W v η j ||W ρ ξ ij ])
[0030] in, and is a pre-set parameter, || represents an aggregation operation, stacking each matrix or vector up and down, σ(·) is a nonlinear activation function, and the Leaky-ReLU function is taken, which is defined as:
[0031]
[0032] where α L Take α L =0.01; e ij Normalized with the softmax function, we get:
[0033]
[0034] in, is the set of adjacent nodes of node i; the edge aggregation calculation formula is:
[0035]
[0036] in is a learnable parameter, the activation function is the Leaky-ReLU function, and the edge aggregation feature is obtained Then send it to the fully connected layer and pass through the nonlinear activation function σ o (·) After processing, the final output is:
[0037]
[0038] in σ o (·) is the Sigmoid function, defined as:
[0039]
[0040] o i The output results enter the unfolded weighted minimum mean square error backbone structure.
[0041] As a preferred solution of the wireless power allocation method based on edge aggregation graph attention network, wherein:
[0042] The inputting the link training set into the graph neural network for training comprises:
[0043] For node i, each layer of weighted minimum mean square error is embedded in two edge aggregation graph attention networks, with the input being the link matrix and the output being o i Auxiliary parameters The slope With offset All embedded edge aggregation graph attention networks are trained simultaneously, and the loss function is obtained after obtaining the power allocation vector; The batch size is 64 and the learning rate is 1×10 -3 20 epochs were trained under the condition of i ,t i ) between the communication link characteristics hii is the node feature of node i, η i =h ii ; Set the transmitter t j To receiver i The interference link characteristics h ij As the edge feature from node j to node i, ξ ij =h ij , represents the interference between nodes.
[0044] As a preferred solution of the wireless power allocation method based on edge aggregation graph attention network, wherein:
[0045] The method of calculating the total channel capacity according to the power allocation results of each transmitter output by the graph neural network, obtaining the loss function, and using the gradient backpropagation method to optimize the graph neural network model parameters includes:
[0046] Calculate the loss function and perform gradient backpropagation. The loss function is directly obtained from the optimization target and is composed of the negative mathematical expectation of the channel capacity. During the training process, the Adam optimizer is used to backpropagate the updated parameters to continuously reduce the loss function, increase the channel capacity, and obtain effective node power allocation. The loss function formula is as follows:
[0047]
[0048] in, is the distribution of the link matrix H, Φ(·) represents the power allocation algorithm, and Θ represents the set of all training parameters, i.e., 2K sets of W v , W ρ , W ε and w c Parameter set, c i (·) represents the functional relationship between the transmission power of node i, link parameters and throughput, using the Shannon expression.
[0049] In a second aspect, an embodiment of the present invention provides a wireless power distribution system based on an edge aggregation graph attention network, including:
[0050] A construction module is used to construct a wireless self-organizing network, determine the characteristic parameters of each communication link that has an interference relationship with each other, and abstract the wireless self-organizing network based on the characteristic parameters to form a corresponding graph neural network;
[0051] The parameter establishment module is used to collect characteristic parameters of each communication link and interference link in the wireless self-organizing network to form a link training set and a link test set, which are used as basic input parameters for graph neural network training and testing respectively;
[0052] A network framework generation module is used to build an overall network framework for power distribution;
[0053] A training module, used for inputting the link training set into a graph neural network for training;
[0054] The optimization module is used to calculate the total channel capacity according to the power allocation results of each transmitter output by the graph neural network, obtain the loss function, and use the gradient backpropagation method to optimize the graph neural network model parameters.
[0055] In a third aspect, an embodiment of the present invention provides a computing device, including:
[0056] Memory and processor;
[0057] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the one or more programs are executed by the one or more processors, the one or more processors implement the wireless power allocation method based on the edge aggregation graph attention network as described in any embodiment of the present invention.
[0058] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the wireless power allocation method based on an edge aggregation graph attention network.
[0059] The beneficial effects of the present invention are as follows: the present invention introduces an attention mechanism, based on an edge aggregated graph attention network (EGAT), adds first-order edge feature information, better combines with the communication system when calculating the attention coefficient, better distinguishes the different effects of channel gain and link interference, and improves the performance of training output; combines EGAT with the traditional power allocation algorithm weighted minimum mean square error (WMMSE) to accelerate the convergence speed of the objective function and improve learning efficiency; in an ad hoc network, effectively improves the channel capacity and greatly improves the generalization ability of the model; has simplicity, simple model construction, intuitive physical meaning, low computational complexity, and fast algorithm convergence. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0061] Figure 1It is an overall flow chart of the wireless power allocation method based on edge aggregation graph attention network described in the first embodiment of the present invention;
[0062] Figure 2 It is an ad hoc network topology structure model based on a graph neural network (GNN) in the wireless power allocation method based on an edge aggregation graph attention network described in the first embodiment of the present invention;
[0063] Figure 3 It is a system block diagram for implementing the Unfolded Weighted Minimum Mean Square Error (UWMMSE) method in the wireless power allocation method based on the edge aggregation graph attention network described in the first embodiment of the present invention;
[0064] Figure 4 It is a block diagram of the core algorithm (EGAT training process) in the wireless power allocation method based on edge aggregation graph attention network described in the first embodiment of the present invention;
[0065] Figure 5 This is a simulation result diagram of the total system throughput (sum-rate) in a simulation example of a wireless power allocation method based on an edge aggregation graph attention network described in the second embodiment of the present invention. DETAILED DESCRIPTION
[0066] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0067] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0068] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0069] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0070] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0071] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0072] Example 1
[0073] Reference Figure 1-Figure 4 , which is the first embodiment of the present invention, provides a wireless power allocation method based on an edge aggregation graph attention network, comprising:
[0074] S1: construct a wireless self-organizing network, determine the characteristic parameters of each communication link that has an interference relationship with each other, and abstract the wireless self-organizing network based on the characteristic parameters to form a corresponding graph neural network;
[0075] Specifically, the characteristic parameters include the sending / receiving nodes corresponding to each communication link and their position parameters, the maximum transmission power of the transmitter, and the link model; a two-dimensional random geometric graph with M transceiver pairs is established, and each transceiver pair is used as a node of the graph neural network, where the transmitter t i (1≤i≤M) are randomly placed at t according to the uniform distribution rule. i ∈[-E,E] 2 The corresponding receiver r i Place them randomly in r according to the uniform distribution rule i ∈[t i -E / 4,t i +E / 4] 2Within the range; all links are subject to Rayleigh fading. Under fading conditions, the link matrix is H M×M , where the element in row i and column j is For the transmitter t j With receiver i The link characteristic parameters between is the link gain, is the fading coefficient that obeys the Rayleigh distribution; the underlying topology of the network is assumed to be fixed.
[0076] S2: Collect characteristic parameters of each communication link and interference link in the wireless self-organizing network to form a link training set and a link test set, which are used as basic input parameters for graph neural network training and testing respectively;
[0077] Specifically, in the link training set, the link gain is guaranteed Change the link fading coefficient of each training example in the training set The link parameters change over time. Under this condition, sampling and training are completed once, and the training set is sampled 640,000 times.
[0078] S3: Build the overall network framework for power distribution;
[0079] Specifically, the overall network framework for power allocation mainly consists of two parts, including an expanded weighted minimum mean square error power calculation iterative framework and an edge aggregation graph attention network training process embedded in each layer iteration; some parameter values are obtained through graph neural network training to accelerate algorithm convergence;
[0080] The expanded weighted minimum mean square error consists of K weighted minimum mean square error iterative layers, where K is an adjustable parameter, and the kth layer (1≤k≤K) consists of It consists of three parts, representing the decoding parameters, auxiliary parameters and encoding parameters of node i at this layer; definition Each layer of expanded weighted minimum mean square error is composed of an edge aggregation graph attention network graph neural network as the learning part of the model, and the learning parameters are and The formulas of weighted minimum mean square error are expressed as follows:
[0081]
[0082] in represents the slope, represents the offset, α(·) is the windowing function, Limit to the maximum available value In the first iteration, the initial value is After the last round of iteration, t iThe transmit power is set to
[0083] It should be noted that this method uses the EGAT training network as an auxiliary parameter Calculating the slope in the formula and offset A smarter update strategy is designed to accelerate its convergence. After using this update strategy, good performance can be achieved with only K≤5 UWMMSE iterations, while the traditional WMMSE algorithm implementation system without GNN embedding requires hundreds of iterations to achieve similar performance.
[0084] Furthermore, the edge aggregation graph attention network consists of only one layer of graph neural network with attention mechanism. After the features are aggregated by the attention layer, they are output by the fully connected layer and combined with auxiliary parameters.
[0085] Model the wireless self-organizing network as a graph neural network, using Represented and input to each iterative layer; the number of iterative layers k is ignored in each parameter of the edge aggregation graph attention network; A collection of nodes It consists of a transceiver pair in the ad hoc network, where a transceiver pair represents a node; j For receiver i The interference is represented by the edge feature from node j to node i where f ξ Indicates the number of edge features, the above type of edge E ij (1≤i,j≤M,i≠j) constitutes the edge set of the graph picture Each node Each has its own eigenvector where f η Represents the number of node features; the edge aggregation graph attention network calculation formula is as follows, each expanded weighted minimum mean square error iteration layer and Corresponding to a set of independent edge aggregation graph attention network training networks and training parameters, the following formula does not distinguish between them, and omits the superscript of the iteration layer number, and the training results are all in o i express:
[0086] The calculation formula of attention coefficient is:
[0087] e ij =σ((w α ) Τ [W v η i ||W v η j ||Wρ ξ ij ])
[0088] in, and is a pre-set parameter, || represents an aggregation operation, stacking each matrix or vector up and down, σ(·) is a nonlinear activation function, and the Leaky-ReLU function is taken, which is defined as:
[0089]
[0090] where α L Take α L =0.01; e ij Normalized with the softmax function, we get:
[0091]
[0092] in, is the set of adjacent nodes of node i; the edge aggregation calculation formula is:
[0093]
[0094] in is a learnable parameter, the activation function is the Leaky-ReLU function, and the edge aggregation feature is obtained Then send it to the fully connected layer and pass through the nonlinear activation function σ o (·) After processing, the final output is:
[0095]
[0096] in σ o (·) is the Sigmoid function, defined as:
[0097]
[0098] o i The output results enter the unfolded weighted minimum mean square error backbone structure.
[0099] S4: inputting the link training set into the graph neural network for training;
[0100] Specifically, for node i, each layer of weighted minimum mean square error is embedded in two edge aggregation graph attention networks, with the input being the link matrix and the output being o i Auxiliary parameters The slope With offset All embedded edge aggregation graph attention networks are trained simultaneously, and the loss function is obtained after obtaining the power allocation vector; The batch size is 64 and the learning rate is 1×10 -3 20 epochs were trained under the condition of i ,t i ) between the communication link characteristics h ii is the node feature of node i, η i =h ii ; Set the transmitter t j To receiver i The interference link characteristics h ij As the edge feature from node j to node i, ξ ij =h ij , represents the interference between nodes.
[0101] It should be noted that the iterative convergence speed of the auxiliary parameters is accelerated by utilizing the communication link characteristics and the interference link characteristics between nodes.
[0102] S5: According to the power allocation results of each transmitter output by the graph neural network, the total channel capacity is calculated, the loss function is obtained, and the gradient backpropagation method is used to optimize the graph neural network model parameters.
[0103] Specifically, the loss function is calculated and the gradient is returned. The loss function is directly obtained from the optimization target and is composed of the negative mathematical expectation of the channel capacity. During the training process, the Adam optimizer is used to return the updated parameters to continuously reduce the loss function, increase the channel capacity, and obtain effective node power allocation. The loss function formula is as follows:
[0104]
[0105] in, is the distribution of the link matrix H, Φ(·) represents the power allocation algorithm, and Θ represents the set of all training parameters, i.e., 2K sets of W v , W ρ , W ε and w c Parameter set, c i (·) represents the functional relationship between the transmission power of node i, link parameters and throughput, using the Shannon expression.
[0106] It should be noted that since this method is an unsupervised training method and there are no traditional sample labels, the loss function is directly obtained from the optimization objective and is composed of the negative mathematical expectation of the channel capacity. During the training process, the Adam optimizer is used to feedback and update the parameters, continuously reducing the loss function and improving the channel capacity, thereby obtaining effective node power allocation.
[0107] The above is a schematic scheme of the wireless power allocation method based on the edge aggregation graph attention network of this embodiment. It should be noted that the technical scheme of the wireless power allocation system based on the edge aggregation graph attention network and the technical scheme of the wireless power allocation method based on the edge aggregation graph attention network belong to the same concept. The details of the technical scheme of the wireless power allocation system based on the edge aggregation graph attention network in this embodiment that are not described in detail can all be referred to the description of the technical scheme of the wireless power allocation method based on the edge aggregation graph attention network.
[0108] Embodiment 2
[0109] The wireless power distribution system based on the edge aggregation graph attention network in this embodiment includes:
[0110] A construction module is used to construct a wireless self-organizing network, determine the characteristic parameters of each communication link that has an interference relationship with each other, and abstract the wireless self-organizing network based on the characteristic parameters to form a corresponding graph neural network;
[0111] The parameter establishment module is used to collect characteristic parameters of each communication link and interference link in the wireless self-organizing network to form a link training set and a link test set, which are used as basic input parameters for graph neural network training and testing respectively;
[0112] A network framework generation module is used to build an overall network framework for power distribution;
[0113] A training module, used for inputting the link training set into a graph neural network for training;
[0114] The optimization module is used to calculate the total channel capacity according to the power allocation results of each transmitter output by the graph neural network, obtain the loss function, and use the gradient backpropagation method to optimize the graph neural network model parameters.
[0115] Embodiment 3
[0116] This embodiment also provides a computing device, which is applicable to the case of a wireless power allocation method based on an edge aggregation graph attention network, including:
[0117] Memory and processor; the memory is used to store computer-executable instructions, and the processor is used to execute computer-executable instructions to implement the wireless power allocation method based on edge aggregation graph attention network proposed in the above embodiment.
[0118] Embodiment 4
[0119] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the wireless power allocation method based on the edge aggregation graph attention network proposed in the above embodiment is implemented.
[0120] The storage medium proposed in this embodiment and the wireless power allocation method based on edge aggregation graph attention network proposed in the above embodiment belong to the same inventive concept. The technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0121] Embodiment 5
[0122] Reference Figure 5 , is an embodiment of the present invention, and provides a wireless power allocation method based on edge aggregation graph attention network. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through simulation experiments.
[0123] This simulation example is a dedicated Internet of Things (typically, the power communication Internet of Things) networked in an ad hoc structure. After the EGAT network is trained using a training set with 640,000 samples, the training effect is statistically analyzed using a test set with 6400 samples. The test set and the training set are sampled independently. The main parameters in the simulation are shown in the following table (some parameters are normalized dimensionless values):
[0124] EGAT simulation example parameter list
[0125]
[0126]
[0127] The simulation uses "total system throughput" (sum-rate) as the evaluation indicator and displays it in the form of a "box plot". This display method can clearly show the upper and lower extremes, upper and lower quartiles, and median values of the throughput obtained by each algorithm in the test set. Figure 5 The "EGAT" box plot is the simulation result corresponding to the algorithm used in the present invention. The control algorithms selected in the simulation include:
[0128] WMMSE algorithm (such as Figure 5 WMMSE box plot in ): The traditional weighted minimum mean square error algorithm, that is, Without introducing the GNN training mechanism, the number of simulation iteration layers is K = 100;
[0129] WMMSE-Tr algorithm (such as Figure 5 Tr box plot in ): The algorithm is the same as the traditional WMMSE, but the number of simulation iterations is limited to the same number of layers as the simulation example of the present invention (K=3);
[0130] GCN-UWMMSE (such as Figure 5GCN box plot in ): The UWMMSE algorithm introduces GNN for parameter training, but uses a 2-layer graph convolutional neural network (GCN), with a hidden layer dimension of 4 and an iteration layer number of K = 4. GCN is one of the most commonly used training architectures for GNN.
[0131] observe Figure 5 From the simulation results shown, two conclusions can be drawn:
[0132] First, compared with the traditional WMMSE algorithm and WMMSE-Tr algorithm, the UWMMSE algorithm introduced with the EGAT training mechanism proposed in the present invention has achieved significant performance improvement. Even if the number of iterations of the traditional WMMSE algorithm reaches K=100, its performance is still inferior to that of the EGAT algorithm under the condition of K=3 iterations.
[0133] Second, although the GCN algorithm also introduced the GNN training mechanism, the throughput performance of the former when the iteration number K = 4 is still significantly different from that of the EGAT algorithm when the iteration number K = 3.
[0134] Based on the above two conclusions, it can be seen that the method proposed in the present invention has a better application prospect in improving the total throughput performance of the system, whether compared with the traditional iterative optimization method or the UWMMSE optimization method based on the GCN training mechanism.
[0135] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A wireless power allocation method based on edge aggregation graph attention network, characterized in that: include: Construct a wireless self-organizing network, determine the characteristic parameters of each communication link that has an interference relationship with each other, and abstract the wireless self-organizing network based on the characteristic parameters to form a corresponding graph neural network; In the wireless self-organizing network, characteristic parameters of each communication link and interference link are collected to form a link training set and a link test set, which are used as basic input parameters for graph neural network training and testing respectively. Build an overall network framework for power distribution; Inputting the link training set into the graph neural network for training; According to the power allocation results of each transmitter output by the graph neural network, the total channel capacity is calculated, the loss function is obtained, and the gradient backpropagation method is used to optimize the graph neural network model parameters.
2. The wireless power allocation method based on edge aggregation graph attention network according to claim 1, characterized in that: The step of constructing a wireless self-organizing network, determining characteristic parameters of each communication link having an interference relationship with each other, and abstracting the wireless self-organizing network based on the characteristic parameters to form a corresponding graph neural network includes: The characteristic parameters include the sending / receiving nodes corresponding to each communication link and their position parameters, the maximum transmission power of the transmitter, and the link model; a two-dimensional random geometric graph with M transceiver pairs is established, and each transceiver pair is used as a node of the graph neural network, where the transmitter t i (1≤i≤M) are randomly placed at t according to the uniform distribution rule. i ∈[-E,E] 2 The corresponding receiver r i Place them randomly in r according to the uniform distribution rule i ∈[t i -E / 4,t i +E / 4] 2 Within the range; all links are subject to Rayleigh fading. Under fading conditions, the link matrix is H M×M , where the element in row i and column j is For the transmitter t j With receiver i The link characteristic parameters between is the link gain, is the fading coefficient that obeys the Rayleigh distribution; the underlying topology of the network is assumed to be fixed.
3. The wireless power allocation method based on edge aggregation graph attention network as claimed in claim 2 is characterized in that: include: In the link training set, the link gain is guaranteed Change the link fading coefficient of each training example in the training set The link parameters change over time. Under this condition, sampling and training are completed once, and the training set is sampled 640,000 times.
4. The wireless power allocation method based on edge aggregation graph attention network as claimed in claim 3 is characterized in that: The overall network framework for power distribution includes: The overall network framework for power allocation is mainly composed of two parts, including an expanded weighted minimum mean square error power calculation iterative framework and an edge aggregation graph attention network training process embedded in each layer iteration; some parameter values are obtained through graph neural network training to accelerate algorithm convergence; The expanded weighted minimum mean square error consists of K weighted minimum mean square error iterative layers, where K is an adjustable parameter, and the kth layer (1≤k≤K) consists of It consists of three parts, representing the decoding parameters, auxiliary parameters and encoding parameters of node i at this layer; definition Each layer of expanded weighted minimum mean square error is composed of an edge aggregation graph attention network graph neural network as the learning part of the model, and the learning parameters are and The formulas of weighted minimum mean square error are expressed as follows: in represents the slope, represents the offset, α(·) is the windowing function, Limit to the maximum available value In the first iteration, the initial value is After the last round of iteration, t i The transmit power is set to The edge aggregation graph attention network consists of only one layer of graph neural network with attention mechanism. After the features are aggregated by the attention layer, they are output by the fully connected layer and combined with auxiliary parameters. Model the wireless self-organizing network as a graph neural network, using Represented and input to each iterative layer; the number of iterative layers k is ignored in each parameter of the edge aggregation graph attention network; A collection of nodes It consists of a transceiver pair in the ad hoc network, where a transceiver pair represents a node; j For receiver i The interference is represented by the edge feature from node j to node i where f ξ Indicates the number of edge features, the above type of edge E ij (1≤i,j≤M,i≠j) constitutes the edge set of the graph picture Each node Each has its own eigenvector where f η Represents the number of node features; the edge aggregation graph attention network calculation formula is as follows, each expanded weighted minimum mean square error iteration layer and Corresponding to a set of independent edge aggregation graph attention network training networks and training parameters, the following formula does not distinguish between them, and omits the superscript of the iteration layer number, and the training results are all in o i express: The calculation formula of attention coefficient is: e ij =σ((w α ) Τ [W v or i ||W v or j ||W ρ x ij ]) in, and is a pre-set parameter, || represents an aggregation operation, stacking each matrix or vector up and down, σ(·) is a nonlinear activation function, and the Leaky-ReLU function is taken, which is defined as: where α L Take α L =0.01; e ij Normalized with the softmax function, we get: in, is the set of adjacent nodes of node i; the edge aggregation calculation formula is: in is a learnable parameter, the activation function is the Leaky-ReLU function, and the edge aggregation feature is obtained Then send it to the fully connected layer and pass through the nonlinear activation function σ o (·) After processing, the final output is: in σ o (·) is the Sigmoid function, defined as: o i The output results enter the unfolded weighted minimum mean square error backbone structure.
5. The wireless power allocation method based on edge aggregation graph attention network as claimed in claim 4 is characterized in that: Inputting the link training set into the graph neural network for training includes: For node i, each layer of weighted minimum mean square error is embedded in two edge aggregation graph attention networks, with the input being the link matrix and the output being o i Auxiliary parameters The slope With offset All embedded edge aggregation graph attention networks are trained simultaneously, and the loss function is obtained after obtaining the power allocation vector; The batch size is 64 and the learning rate is 1×10 -3 20 epochs were trained under the condition of i ,t i ) between the communication link characteristics h ii is the node feature of node i, η i =h ii ; Set the transmitter t j To receiver i The interference link characteristics h ij As the edge feature from node j to node i, ξ ij =h ij , represents the interference between nodes.
6. The wireless power allocation method based on edge aggregation graph attention network as claimed in claim 5, characterized in that: The calculation formula of the loss function is as follows: in, is the distribution of the link matrix H, Φ(·) represents the power allocation algorithm, and Θ represents the set of all training parameters, i.e., 2K sets of W v , W ρ , W ε and w c Parameter set, c i (·) represents the functional relationship between the transmission power of node i, link parameters and throughput, using the Shannon expression.
7. A wireless power distribution system based on edge aggregation graph attention network, characterized in that: include: A construction module is used to construct a wireless self-organizing network, determine the characteristic parameters of each communication link that has an interference relationship with each other, and abstract the wireless self-organizing network based on the characteristic parameters to form a corresponding graph neural network; The parameter establishment module is used to collect characteristic parameters of each communication link and interference link in the wireless self-organizing network to form a link training set and a link test set, which are used as basic input parameters for graph neural network training and testing respectively; A network framework generation module is used to build an overall network framework for power distribution; A training module, used for inputting the link training set into a graph neural network for training; The optimization module is used to calculate the total channel capacity according to the power allocation results of each transmitter output by the graph neural network, obtain the loss function, and use the gradient backpropagation method to optimize the graph neural network model parameters.
8. The wireless power distribution system based on edge aggregation graph attention network as claimed in claim 7, characterized in that: The network framework generation module builds an overall network framework for power allocation, and the overall network framework for power allocation mainly consists of two parts, including an expanded weighted minimum mean square error power calculation iteration framework, and an edge aggregation graph attention network training process embedded in each layer iteration; Obtain some parameter values through graph neural network training to accelerate algorithm convergence; The expanded weighted minimum mean square error consists of K weighted minimum mean square error iterative layers, where K is an adjustable parameter, and the kth layer (1≤k≤K) consists of It consists of three parts, representing the decoding parameters, auxiliary parameters and encoding parameters of node i at this layer; definition Each layer of expanded weighted minimum mean square error is composed of an edge aggregation graph attention network graph neural network as the learning part of the model, and the learning parameters are and The formulas of weighted minimum mean square error are expressed as follows: in represents the slope, represents the offset, α(·) is the windowing function, Limit to the maximum available value In the first iteration, the initial value is After the last round of iteration, t i The transmit power is set to The edge aggregation graph attention network consists of only one layer of graph neural network with attention mechanism. After the features are aggregated by the attention layer, they are output by the fully connected layer and combined with auxiliary parameters. Model the wireless self-organizing network as a graph neural network, using Represented and input to each iterative layer; the number of iterative layers k is ignored in each parameter of the edge aggregation graph attention network; A collection of nodes It consists of a transceiver pair in the ad hoc network, where a transceiver pair represents a node; j For receiver i The interference is represented by the edge feature from node j to node i where f ξ Indicates the number of edge features, the above type of edge E ij (1≤i,j≤M,i≠j) constitutes the edge set of the graph picture Each node Each has its own eigenvector where f η Represents the number of node features; the edge aggregation graph attention network calculation formula is as follows, each expanded weighted minimum mean square error iteration layer and Corresponding to a set of independent edge aggregation graph attention network training networks and training parameters, the following formula does not distinguish between them, and omits the superscript of the iteration layer number, and the training results are all in o i express: The calculation formula of attention coefficient is: e ij =σ((w α ) Τ [W v or i ||W v or j ||W ρ x ij ]) in, and is a pre-set parameter, || represents an aggregation operation, stacking each matrix or vector up and down, σ(·) is a nonlinear activation function, and the Leaky-ReLU function is taken, which is defined as: where α L Take α L =0.01; e ij Normalized with the softmax function, we get: in, is the set of adjacent nodes of node i; the edge aggregation calculation formula is: in is a learnable parameter, the activation function is the Leaky-ReLU function, and the edge aggregation feature is obtained Then send it to the fully connected layer and pass through the nonlinear activation function σ o (·) After processing, the final output is: in σ o (·) is the Sigmoid function, defined as: o i The output results enter the unfolded weighted minimum mean square error backbone structure.
9. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the wireless power allocation method based on the edge aggregation graph attention network described in any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the wireless power allocation method based on edge aggregation graph attention network as described in any one of claims 1 to 6.
Citation Information
Cited By
Wireless ad hoc network power control method, medium and electronic equipment
CN118647075A
Inter-cell interference modeling method based on weighted graph convolutional network
CN119136235A
Impulse noise suppression method for power line carrier communication system
CN119602832A
A method for suppressing impulse noise in power line carrier communication system
CN119602832B
Multi-user MIMO beam and power distribution method based on graph attention expansion
CN122577940A
